/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | FloatingContentCoordinator.kt | 190 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/ |
D | DisplayRotationUtil.java | 83 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/ |
D | MultiProducerActivity.java | 159 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/ |
D | WindowCallbacksCompat.java | 29 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/ |
D | PipBoundsHandlerTest.java | 276 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/ |
D | BackdropFrameRenderer.java | 300 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()
|
D | DecorView.java | 2276 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/ |
D | ViewGroup_Delegate.java | 105 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/ |
D | WindowCallbacks.java | 48 void onWindowSizeIsChanging(Rect newBounds, boolean fullscreen, Rect systemInsets, in onWindowSizeIsChanging() argument
|
D | ViewRootImpl.java | 8705 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/ |
D | DisplayLayout.java | 366 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/ |
D | ActivityThreadTest.java | 463 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/ |
D | MediaHierarchyManager.kt | 445 val newBounds = endHost.currentBounds in updateTargetState() constant 447 targetBounds = interpolateBounds(previousBounds, newBounds, progress) in updateTargetState()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioner.java | 442 private void updateDraggedBounds(Rect newBounds) { in updateDraggedBounds() argument 443 mWindowDragBounds.set(newBounds); in updateDraggedBounds()
|
D | ActivityStack.java | 581 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()
|
D | DisplayContent.java | 1848 final Rect[] newBounds = mRotationUtil.getRotatedBounds( in calculateDisplayCutoutForRotationUncached() local 1852 DisplayCutout.fromBoundsAndWaterfall(newBounds, waterfallInsets), in calculateDisplayCutoutForRotationUncached()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillManager.java | 2973 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/ |
D | WindowOrganizerTests.java | 351 Rect newBounds = new Rect(10, 10, 100, 100); in testTransaction() local 354 assertEquals(newBounds, wc.getBounds()); in testTransaction()
|