Example usage for android.view.accessibility AccessibilityNodeInfo getBoundsInParent

List of usage examples for android.view.accessibility AccessibilityNodeInfo getBoundsInParent

Introduction

In this page you can find the example usage for android.view.accessibility AccessibilityNodeInfo getBoundsInParent.

Prototype

public void getBoundsInParent(Rect outBounds) 

Source Link

Document

Gets the node bounds in parent coordinates.

Usage

From source file:Main.java

public static Rect getBoundsInParent(AccessibilityNodeInfo nodeInfo) {
    Rect rect = new Rect();
    nodeInfo.getBoundsInParent(rect);
    return rect;/*from   w w  w  .  ja  v a  2s  .c o  m*/
}