Home
last modified time | relevance | path

Searched refs:newBounds (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DFloatingContentCoordinator.kt190 val newBounds = content.calculateNewBoundsOnOverlap( in <lambda>() constant
203 if (!newBounds.isEmpty) { in <lambda>()
204 content.moveToBounds(newBounds) in <lambda>()
284 val newBounds = if (usePositionBelow) newContentBoundsBelow else newContentBoundsAbove in <lambda>() constant
290 return if (allowedBounds.contains(newBounds)) newBounds else Rect() in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DDisplayRotationUtil.java83 Rect[] newBounds = new Rect[BOUNDS_POSITION_LENGTH]; in getRotatedBounds() local
92 newBounds[getBoundIndexFromRotation(i, rotation)] = rect; in getRotatedBounds()
94 return newBounds; in getRotatedBounds()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMultiProducerActivity.java159 Rect newBounds = new Rect(); in run() local
198 newBounds.set(surfaceOrigin[0], surfaceOrigin[1], in run()
201 if (!currentFrameBounds.equals(newBounds)) { in run()
202 currentFrameBounds.set(newBounds); in run()
220 newBounds.set(surfaceOrigin[0], surfaceOrigin[1], in run()
223 if (!currentBackBounds.equals(newBounds)) { in run()
224 currentBackBounds.set(newBounds); in run()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DWindowCallbacksCompat.java29 public void onWindowSizeIsChanging(Rect newBounds, boolean fullscreen, Rect systemInsets,
31 WindowCallbacksCompat.this.onWindowSizeIsChanging(newBounds, fullscreen, systemInsets,
69 public void onWindowSizeIsChanging(Rect newBounds, boolean fullscreen, Rect systemInsets, in onWindowSizeIsChanging() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/pip/
DPipBoundsHandlerTest.java276 final Rect newBounds = new Rect(defaultBounds); in onResetReentryBounds_useDefaultBounds() local
277 newBounds.offset(0, -100); in onResetReentryBounds_useDefaultBounds()
278 mPipBoundsHandler.onSaveReentryBounds(mTestComponentName1, newBounds); in onResetReentryBounds_useDefaultBounds()
291 final Rect newBounds = new Rect(defaultBounds); in onResetReentryBounds_componentMismatch_restoreLastPosition() local
292 newBounds.offset(0, -100); in onResetReentryBounds_componentMismatch_restoreLastPosition()
293 mPipBoundsHandler.onSaveReentryBounds(mTestComponentName1, newBounds); in onResetReentryBounds_componentMismatch_restoreLastPosition()
299 assertBoundsInclusionWithMargin("restoreLastPosition", newBounds, actualBounds); in onResetReentryBounds_componentMismatch_restoreLastPosition()
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java300 private void redrawLocked(Rect newBounds, boolean fullscreen) { in redrawLocked() argument
323 final int left = mLastXOffset + newBounds.left; in redrawLocked()
324 final int top = mLastYOffset + newBounds.top; in redrawLocked()
325 final int width = newBounds.width(); in redrawLocked()
326 final int height = newBounds.height(); in redrawLocked()
DDecorView.java2276 public void onWindowSizeIsChanging(Rect newBounds, boolean fullscreen, Rect systemInsets, in onWindowSizeIsChanging() argument
2279 mBackdropFrameRenderer.setTargetRect(newBounds, fullscreen, systemInsets); in onWindowSizeIsChanging()
/frameworks/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java105 Rect newBounds = new Rect(clipBounds); in drawShadow() local
106 newBounds.inset((int)-elevation, (int)-elevation); in drawShadow()
107 canvas.clipRectUnion(newBounds); in drawShadow()
/frameworks/base/core/java/android/view/
DWindowCallbacks.java48 void onWindowSizeIsChanging(Rect newBounds, boolean fullscreen, Rect systemInsets, in onWindowSizeIsChanging() argument
DViewRootImpl.java8705 final Rect newBounds = mAccessibilityFocusedVirtualView.getBoundsInScreen(); in handleWindowContentChangedEvent() local
8706 if (!oldBounds.equals(newBounds)) { in handleWindowContentChangedEvent()
8707 oldBounds.union(newBounds); in handleWindowContentChangedEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayLayout.java366 final Rect[] newBounds = new Rect[cutoutRects.length]; in calculateDisplayCutoutForRotation() local
373 newBounds[getBoundIndexFromRotation(i, rotation)] = rect; in calculateDisplayCutoutForRotation()
376 DisplayCutout.fromBoundsAndWaterfall(newBounds, waterfallInsets), in calculateDisplayCutoutForRotation()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java463 final Rect newBounds = new Rect(newAppConfig.windowConfiguration.getAppBounds()); in testHandleConfigurationChanged_DoesntOverrideActivityConfig() local
464 newBounds.bottom += 100; in testHandleConfigurationChanged_DoesntOverrideActivityConfig()
465 newAppConfig.windowConfiguration.setAppBounds(newBounds); in testHandleConfigurationChanged_DoesntOverrideActivityConfig()
466 newAppConfig.windowConfiguration.setBounds(newBounds); in testHandleConfigurationChanged_DoesntOverrideActivityConfig()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaHierarchyManager.kt445 val newBounds = endHost.currentBounds in updateTargetState() constant
447 targetBounds = interpolateBounds(previousBounds, newBounds, progress) in updateTargetState()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java442 private void updateDraggedBounds(Rect newBounds) { in updateDraggedBounds() argument
443 mWindowDragBounds.set(newBounds); in updateDraggedBounds()
DActivityStack.java581 final Rect newBounds = mTmpRect; in onConfigurationChanged() local
584 getBounds(newBounds); in onConfigurationChanged()
615 newBounds); in onConfigurationChanged() local
625 setBounds(newBounds); in onConfigurationChanged()
628 resize(new Rect(newBounds), PRESERVE_WINDOWS, true /* deferResume */); in onConfigurationChanged()
DDisplayContent.java1848 final Rect[] newBounds = mRotationUtil.getRotatedBounds( in calculateDisplayCutoutForRotationUncached() local
1852 DisplayCutout.fromBoundsAndWaterfall(newBounds, waterfallInsets), in calculateDisplayCutoutForRotationUncached()
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java2973 final Rect newBounds = mTempBounds; in notifyViewEntered() local
2974 node.getBoundsInScreen(newBounds); in notifyViewEntered()
2975 if (newBounds.equals(focusedBounds)) { in notifyViewEntered()
2978 focusedBounds.set(newBounds); in notifyViewEntered()
2979 AutofillManager.this.notifyViewEntered(view, virtualId, newBounds); in notifyViewEntered()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowOrganizerTests.java351 Rect newBounds = new Rect(10, 10, 100, 100); in testTransaction() local
354 assertEquals(newBounds, wc.getBounds()); in testTransaction()