Example usage for android.view.accessibility AccessibilityNodeInfo setBoundsInScreen

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

Introduction

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

Prototype

public void setBoundsInScreen(Rect bounds) 

Source Link

Document

Sets the node bounds in screen coordinates.

Usage

From source file:com.android.switchaccess.test.ShadowAccessibilityNodeInfoCompat.java

@Implementation
public void setBoundsInScreen(Rect bounds) {
    final AccessibilityNodeInfo info = (AccessibilityNodeInfo) mRealObject.getInfo();
    info.setBoundsInScreen(bounds);
}