Searched refs:activityBounds (Results 1 – 6 of 6) sorted by relevance
286 Rect activityBounds = new Rect(); in onCreate() local294 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()
317 final Rect activityBounds = in assertMetricsValidityForNonresizableActivity() local322 + "activity bounds, when sandboxed", activityBounds, maxBounds); in assertMetricsValidityForNonresizableActivity()
821 final Rect activityBounds = getWindowManager().getCurrentWindowMetrics().getBounds(); in getActivityTestableRegion() local824 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() argument833 final Rect innerRectangle = new Rect(activityBounds); in cropRoundedCornersRegions()853 activityBounds.setIntersect(activityBounds, innerRectangle); in cropRoundedCornersRegions()
104 final Rect activityBounds = mOwnerActivity.getWindowManager().getCurrentWindowMetrics() in initializeSplitActivities() local106 updateSplitBounds(activityBounds); in initializeSplitActivities()
384 final Rect activityBounds = mActivity.getWindowManager() in testClickWhenMagnified_matchesActualTouch() local386 final PointF activityCenterPoint = new PointF(activityBounds.centerX(), in testClickWhenMagnified_matchesActualTouch()387 activityBounds.centerY()); in testClickWhenMagnified_matchesActualTouch()
1734 final Rect activityBounds = activity.getBounds(); in assertSandboxedByBounds() local1741 activityBounds, maxBounds); in assertSandboxedByBounds()