Home
last modified time | relevance | path

Searched refs:activityBounds (Results 1 – 6 of 6) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DHideOverlayWindowsTest.java286 Rect activityBounds = new Rect(); in onCreate() local
294 getWindow().getDecorView().getBoundsOnScreen(activityBounds, true); in onCreate()
299 params.x = activityBounds.left; in onCreate()
300 params.y = activityBounds.top; in onCreate()
301 params.width = (activityBounds.right - activityBounds.left) / 3; in onCreate()
302 params.height = (activityBounds.bottom - activityBounds.top) / 3; in onCreate()
DWindowMetricsActivityTests.java317 final Rect activityBounds = in assertMetricsValidityForNonresizableActivity() local
322 + "activity bounds, when sandboxed", activityBounds, maxBounds); in assertMetricsValidityForNonresizableActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java821 final Rect activityBounds = getWindowManager().getCurrentWindowMetrics().getBounds(); in getActivityTestableRegion() local
824 activityBounds.inset(insets); in getActivityTestableRegion()
825 cropRoundedCornersRegions(activityBounds); in getActivityTestableRegion()
826 return new Rect(activityBounds); in getActivityTestableRegion()
829 private void cropRoundedCornersRegions(Rect activityBounds) { in cropRoundedCornersRegions() argument
833 final Rect innerRectangle = new Rect(activityBounds); in cropRoundedCornersRegions()
853 activityBounds.setIntersect(activityBounds, innerRectangle); in cropRoundedCornersRegions()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DSplitActivityLifecycleTest.java104 final Rect activityBounds = mOwnerActivity.getWindowManager().getCurrentWindowMetrics() in initializeSplitActivities() local
106 updateSplitBounds(activityBounds); in initializeSplitActivities()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java384 final Rect activityBounds = mActivity.getWindowManager() in testClickWhenMagnified_matchesActualTouch() local
386 final PointF activityCenterPoint = new PointF(activityBounds.centerX(), in testClickWhenMagnified_matchesActualTouch()
387 activityBounds.centerY()); in testClickWhenMagnified_matchesActualTouch()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DCompatChangeTests.java1734 final Rect activityBounds = activity.getBounds(); in assertSandboxedByBounds() local
1741 activityBounds, maxBounds); in assertSandboxedByBounds()