Home
last modified time | relevance | path

Searched refs:displayId (Results 1 – 14 of 14) sorted by relevance

/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DUiDevice.java582 public @Px int getDisplayWidth(int displayId) { in getDisplayWidth() argument
583 return getDisplaySize(displayId).x; in getDisplayWidth()
604 public @Px int getDisplayHeight(int displayId) { in getDisplayHeight() argument
605 return getDisplaySize(displayId).y; in getDisplayHeight()
833 private boolean isNaturalOrientation(int displayId) { in isNaturalOrientation() argument
834 int ret = getDisplayRotation(displayId); in isNaturalOrientation()
853 public int getDisplayRotation(int displayId) { in getDisplayRotation() argument
855 Display display = getDisplayById(displayId); in getDisplayRotation()
858 + "accessible", displayId)); in getDisplayRotation()
880 public void freezeRotation(int displayId) { in freezeRotation() argument
[all …]
DGestureController.java172 int displayId = pending.peek().displayId(); in performGesture() local
173 Display display = mDevice.getDisplayById(displayId); in performGesture()
207 coordinates, gesture.displayId()); in performGesture()
222 active.peek().displayId()); in performGesture()
244 coordinates, gesture.displayId()); in performGesture()
279 List<PointerProperties> properties, List<PointerCoords> coordinates, int displayId) { in getMotionEvent() argument
286 if (displayId != Display.DEFAULT_DISPLAY) { in getMotionEvent()
288 Log.e(TAG, "Action on display " + displayId + " requested, " in getMotionEvent()
289 + "but can't inject MotionEvent to display " + displayId); in getMotionEvent()
292 sMotionEvent_setDisplayId.invoke(ev, displayId); in getMotionEvent()
[all …]
DPointerGesture.java40 PointerGesture(Point startPoint, int displayId, int windowId) { in PointerGesture() argument
41 this(startPoint, 0, displayId, windowId); in PointerGesture()
49 PointerGesture(Point startPoint, long initialDelay, int displayId, int windowId) { in PointerGesture() argument
55 mDisplayId = displayId; in PointerGesture()
59 public int displayId() { in displayId() method in PointerGesture
DAccessibilityWindowInfoExt.kt106 val displayId = in waitForStable() constant
107 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) displayId in waitForStable()
109 @Suppress("DEPRECATION") displayManager.getDisplay(displayId).getRectSize(this) in waitForStable()
DBy.java365 public static @NonNull BySelector displayId(int displayId) { in displayId() method in By
366 return new BySelector().displayId(displayId); in displayId()
DAccessibilityNodeInfoExt.kt120 val displayId = in waitForStable() constant
121 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) window.displayId in waitForStable()
123 @Suppress("DEPRECATION") displayManager.getDisplay(displayId).getRectSize(this) in waitForStable()
DGestures.java44 Gestures(int displayId, int windowId) { in Gestures() argument
45 mDisplayId = displayId; in Gestures()
DBySelector.java661 public @NonNull BySelector displayId(int displayId) { in displayId() argument
665 mDisplayId = displayId; in displayId()
/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DMultiDisplayTest.java68 By.res(TEST_APP, "nested_elements").displayId(secondaryDisplayId))); in testMultiDisplay_selector()
70 mDevice.hasObject(By.res(TEST_APP, "focusable_text_view").displayId( in testMultiDisplay_selector()
76 By.res(TEST_APP, "nested_elements").displayId(Display.DEFAULT_DISPLAY))); in testMultiDisplay_selector()
78 By.res(TEST_APP, "focusable_text_view").displayId(secondaryDisplayId))); in testMultiDisplay_selector()
87 By.res(TEST_APP, "button1").displayId(secondaryDisplayId)); in testMultiDisplay_click()
99 BySelector invalidChildSelector = By.res(TEST_APP, "tree_N3").displayId( in testMultiDisplay_treeRelationship()
103 By.hasChild(invalidChildSelector).displayId(secondaryDisplayId)); in testMultiDisplay_treeRelationship()
108 By.res(TEST_APP, "tree_N1").displayId(secondaryDisplayId); in testMultiDisplay_treeRelationship()
110 mDevice.findObject(By.hasAncestor(validAncestorSelector).displayId( in testMultiDisplay_treeRelationship()
161 int displayId) { in launchTestActivityOnDisplay() argument
[all …]
/test/uiautomator/uiautomator/src/androidTest/java/androidx/test/uiautomator/
DBySelectorTest.java177 () -> By.displayId(0).displayId(1)); in testDisplayId_alreadyDefined()
/test/uiautomator/uiautomator/api/
Drestricted_2.3.0-beta01.txt19 method @RequiresApi(30) public static androidx.test.uiautomator.BySelector displayId(int);
64 method @RequiresApi(30) public androidx.test.uiautomator.BySelector displayId(int);
D2.3.0-beta01.txt19 method @RequiresApi(30) public static androidx.test.uiautomator.BySelector displayId(int);
64 method @RequiresApi(30) public androidx.test.uiautomator.BySelector displayId(int);
Dcurrent.txt71 method @RequiresApi(30) public static androidx.test.uiautomator.BySelector displayId(int);
116 method @RequiresApi(30) public androidx.test.uiautomator.BySelector displayId(int);
Drestricted_current.txt71 method @RequiresApi(30) public static androidx.test.uiautomator.BySelector displayId(int);
116 method @RequiresApi(30) public androidx.test.uiautomator.BySelector displayId(int);