Home
last modified time | relevance | path

Searched refs:getLocationOnScreen (Results 1 – 25 of 83) sorted by relevance

1234

/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarBaseActivity.java49 return mContent.getLocationOnScreen()[0]; in getLeft()
53 return mContent.getLocationOnScreen()[1]; in getTop()
57 return mContent.getLocationOnScreen()[1] + mContent.getHeight(); in getBottom()
61 return mContent.getLocationOnScreen()[0] + mContent.getWidth(); in getRight()
/cts/tests/tests/view/src/android/view/cts/
DView_LayoutPositionTest.java77 parent.getLocationOnScreen(pLocation); in testPositionInParent()
78 view.getLocationOnScreen(vLocation); in testPositionInParent()
105 parent.getLocationOnScreen(pLocation); in testPositionInParent()
106 view.getLocationOnScreen(vLocation); in testPositionInParent()
/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt46 view.getLocationOnScreen(locationOnScreen) in fling()
76 view.getLocationOnScreen(locationOnScreen) in dragStretches()
110 view.getLocationOnScreen(locationOnScreen) in dragAndHoldExecute()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsLayoutTests.java169 overlayWindowRoot1.getLocationOnScreen(locationAndSize1); in testSetFitInsetsIgnoringVisibility()
184 overlayWindowRoot2.getLocationOnScreen(locationAndSize2); in testSetFitInsetsIgnoringVisibility()
242 rootView.getLocationOnScreen(locationOnScreen); in assertMatchesWindowBounds()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java340 view.getLocationOnScreen(xy); in injectStylusDownEvent()
380 view.getLocationOnScreen(xy); in injectStylusEvent()
400 view.getLocationOnScreen(xy); in injectFingerEventOnViewCenter()
424 view.getLocationOnScreen(xy); in injectFingerEventOnViewCenter()
458 view.getLocationOnScreen(xy); in injectStylusMoveEvents()
494 view.getLocationOnScreen(xy); in injectStylusMoveEvents()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java559 popup.getContentView().getLocationOnScreen(viewOnScreenXY); in testShowAsDropDown_ClipToScreen_Overlap_OutOfScreen()
662 anchor.getLocationOnScreen(anchorOnScreenXY); in verifyPositionY()
669 content.getLocationOnScreen(contentOnScreenXY); in verifyPositionY()
681 anchor.getLocationOnScreen(anchorOnScreenXY); in verifyPositionX()
688 content.getLocationOnScreen(contentOnScreenXY); in verifyPositionX()
738 mPopupWindow.getContentView().getLocationOnScreen(popupContentViewOnScreenXY); in testShowAtLocation()
757 upperAnchor.getLocationOnScreen(anchorXY); in testShowAsDropDownWithOffsets()
766 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testShowAsDropDownWithOffsets()
782 upperAnchor.getLocationOnScreen(anchorXY); in testOverlapAnchor()
791 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testOverlapAnchor()
[all …]
DListPopupWindowTest.java284 listView.getLocationOnScreen(listViewOnScreenXY); in verifyAnchoring()
285 upperAnchor.getLocationOnScreen(anchorXY); in verifyAnchoring()
592 promptView.getLocationOnScreen(promptViewOnScreenXY); in testPromptViewAbove()
595 firstListChild.getLocationOnScreen(firstChildOnScreenXY); in testPromptViewAbove()
625 promptView.getLocationOnScreen(promptViewOnScreenXY); in testPromptViewBelow()
628 lastListChild.getLocationOnScreen(lastChildOnScreenXY); in testPromptViewBelow()
933 anchor.getLocationOnScreen(anchorOnScreenXY); in testCreateOnDragListener()
DPointerIconTest.java98 mTopView.getLocationOnScreen(topPos); in assertPointerIcon()
100 target.getLocationOnScreen(targetPos); in assertPointerIcon()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsMouseUtil.java65 anchor.getLocationOnScreen(screenPos); in obtainMouseEvent()
87 anchor.getLocationOnScreen(screenPos); in emulateHoverOnView()
DCtsTouchUtils.java112 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateTapOnView()
159 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateDoubleTapOnView()
568 view.getLocationOnScreen(viewOnScreenXY); in emulateFlingGesture()
646 viewGroup.getLocationOnScreen(viewGroupOnScreenXY); in emulateScrollToBottom()
711 view.getLocationOnScreen(viewOnScreenXY); in emulateLongPressOnViewCenter()
733 view.getLocationOnScreen(viewOnScreenXY); in emulateLongPressOnView()
DShellUtils.java99 view.getLocationOnScreen(xy); in tap()
/cts/tests/tests/widget29/src/android/widget/cts29/
DToastTest.java331 view.getLocationOnScreen(xy1); in testAccessMargin()
351 view.getLocationOnScreen(xy2); in testAccessMargin()
386 view.getLocationOnScreen(centerXY);
401 view.getLocationOnScreen(bottomXY);
423 view.getLocationOnScreen(bottomOffsetXY);
/cts/tests/app/app/src/android/app/stubs/
DInstrumentationTestActivity.java89 public void getLocationOnScreen(int[] location) { in getLocationOnScreen() method in InstrumentationTestActivity.MockTextView
90 super.getLocationOnScreen(location); in getLocationOnScreen()
/cts/tests/framework/base/windowmanager/appCompatViewSandboxOptout/src/android/server/wm/optoutsandboxingviewboundsapis/
DTestCompatViewSandboxOptOutActivity.java85 mView.getLocationOnScreen(location); in onDraw()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfaceControlTestCase.java66 boundsView.getLocationOnScreen(topLeft); in getBoundsToCheck()
/cts/tests/framework/base/windowmanager/appCompatViewSandboxAllowed/src/android/server/wm/allowsandboxingviewboundsapis/
DTestCompatAllowViewSandboxActivity.java87 mView.getLocationOnScreen(location); in onDraw()
/cts/tests/tests/transition/src/android/transition/cts/
DPropagationTest.java59 redValues.view.getLocationOnScreen(pos); in testCircularPropagation()
69 redValues.view.getLocationOnScreen(offset); in testCircularPropagation()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeLayoutInfo.java96 v.getLocationOnScreen(viewOriginArray); in fromLayoutListenerCallback()
/cts/tests/input/InputInjectionApp/src/com/android/test/inputinjection/
DInputInjectionActivity.kt143 val location = IntArray(2).also { getLocationOnScreen(it) } in getCenterOnScreen()
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/
DMultiDisplaySecurityImeTests.java87 editText.getLocationOnScreen(location); in testNoInputConnectionForUntrustedVirtualDisplay()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DLayoutTests.java300 view1.getLocationOnScreen(locations[0]); in assertLayoutEquals()
301 view2.getLocationOnScreen(locations[1]); in assertLayoutEquals()
DDisplayShapeTests.java110 decorView.getLocationOnScreen(location); in testDisplayShapeFromWindowInsets()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DDialogLauncherActivity.java69 view.getLocationOnScreen(location); in assertInDialogBounds()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java294 mTempActivity.getWindow().getDecorView().getLocationOnScreen(location); in launchActivityOnSpecifiedDisplayAndWaitForItToBeOnscreen()
316 mTempActivity.getWindow().getDecorView().getLocationOnScreen(location); in launchActivityOnSpecifiedDisplayAndWaitForItToBeOnscreen()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java419 public int[] getLocationOnScreen() {
422 mWebView.getLocationOnScreen(location);

1234