/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarBoundsProviderTest.kt | 82 val newBounds = Rect(START_SIDE_BOUNDS).apply { left += 1 } in <lambda>() constant 84 startSideContent.setBoundsOnScreen(newBounds) in <lambda>() 91 val newBounds = Rect(START_SIDE_BOUNDS).apply { left += 1 } in <lambda>() constant 93 startSideContent.setBoundsOnScreen(newBounds) in <lambda>() 102 val newBounds = Rect(START_SIDE_BOUNDS).apply { left += 1 } in <lambda>() constant 104 startSideContent.setBoundsOnScreen(newBounds) in <lambda>() 112 val newBounds = Rect(START_SIDE_BOUNDS).apply { left += 1 } in <lambda>() constant 114 startSideContent.layout(newBounds) in <lambda>() 122 val newBounds = Rect(START_SIDE_BOUNDS).apply { right += 1 } in <lambda>() constant 124 endSideContent.setBoundsOnScreen(newBounds) in <lambda>() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | ResizeVeil.kt | 285 private fun relayout(newBounds: Rect, t: SurfaceControl.Transaction) { in relayout() 286 val iconPosition = calculateAppIconPosition(newBounds) in relayout() 290 t.setWindowCrop(veil, newBounds.width(), newBounds.height()) in relayout() 292 .setPosition(parentSurface, newBounds.left.toFloat(), newBounds.top.toFloat()) in relayout() 293 .setWindowCrop(parentSurface, newBounds.width(), newBounds.height()) in relayout() 300 fun updateResizeVeil(newBounds: Rect) { in updateResizeVeil() 305 updateResizeVeil(t, newBounds) in updateResizeVeil() 316 fun updateResizeVeil(t: SurfaceControl.Transaction, newBounds: Rect) { in updateResizeVeil() 327 relayout(newBounds, t) in updateResizeVeil()
|
D | DesktopModeWindowDecoration.java | 628 public void updateResizeVeil(Rect newBounds) { 629 mResizeVeil.updateResizeVeil(newBounds); 635 public void updateResizeVeil(SurfaceControl.Transaction tx, Rect newBounds) { 636 mResizeVeil.updateResizeVeil(tx, newBounds);
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | FloatingContentCoordinator.kt | 202 val newBounds = content.calculateNewBoundsOnOverlap( in <lambda>() constant 215 if (!newBounds.isEmpty) { in <lambda>() 216 content.moveToBounds(newBounds) in <lambda>() 300 val newBounds = if (usePositionBelow) newContentBoundsBelow else newContentBoundsAbove in <lambda>() constant 306 return if (allowedBounds.contains(newBounds)) newBounds else Rect() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarBoundsProvider.kt | 60 val newBounds = BoundsPair(start = visibleStartSideBounds, end = visibleEndSideBounds) in <lambda>() constant 61 if (previousBounds != newBounds) { in <lambda>() 62 previousBounds = newBounds in <lambda>() 63 changeListeners.forEach { it.onStatusBarBoundsChanged(newBounds) } in <lambda>()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/ |
D | RegionSampler.kt | 246 val newBounds = RectF() in convertBounds() constant 248 newBounds.left = ((originalBounds.left / screenWidth) + wallpaperPageNum) / numScreens in convertBounds() 249 newBounds.right = ((originalBounds.right / screenWidth) + wallpaperPageNum) / numScreens in convertBounds() 251 newBounds.top = originalBounds.top / screenHeight in convertBounds() 252 newBounds.bottom = originalBounds.bottom / screenHeight in convertBounds() 254 return newBounds in convertBounds()
|
/frameworks/base/tests/graphics/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/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | SplitDecorManager.java | 202 public void onResizing(ActivityManager.RunningTaskInfo resizingTask, Rect newBounds, in onResizing() argument 211 mOldMainBounds.set(newBounds); in onResizing() 214 mResizingBounds.set(newBounds); in onResizing() 224 newBounds.width() > mOldMainBounds.width() in onResizing() 225 || newBounds.height() > mOldMainBounds.height(); in onResizing() 242 final boolean isLandscape = newBounds.height() == sideBounds.height(); in onResizing() 267 newBounds.width() / 2 - mIconSize / 2, in onResizing() 268 newBounds.height() / 2 - mIconSize / 2); in onResizing()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/tv/ |
D | TvPipBasicTest.kt | 58 testApp.ui?.visibleBounds?.let { newBounds -> in <lambda>() method 59 assertEquals("Pip window ratio has changed", actualRatio, newBounds.ratio) in <lambda>()
|
/frameworks/base/core/java/android/window/ |
D | ConfigurationHelper.java | 112 final Rect newBounds = newConfig.windowConfiguration.getBounds(); in shouldUpdateWindowMetricsBounds() local 117 return !currentBounds.equals(newBounds) || !currentMaxBounds.equals(newMaxBounds); in shouldUpdateWindowMetricsBounds()
|
/frameworks/base/core/java/android/view/ |
D | PrivacyIndicatorBounds.java | 71 Rect[] newBounds = ArrayUtils.cloneOrNull(mStaticBounds); in updateBoundsForRotation() local 72 newBounds[rotation] = bounds; in updateBoundsForRotation() 73 return updateStaticBounds(newBounds); in updateBoundsForRotation()
|
D | WindowCallbacks.java | 44 void onWindowSizeIsChanging(Rect newBounds, boolean fullscreen, Rect systemInsets, in onWindowSizeIsChanging() argument
|
D | DisplayCutout.java | 1324 final Rect[] newBounds = getBoundingRectsAll(); 1326 for (int i = 0; i < newBounds.length; ++i) { 1327 if (newBounds[i].isEmpty()) continue; 1328 RotationUtils.rotateBounds(newBounds[i], displayBounds, rotation); 1332 Collections.rotate(Arrays.asList(newBounds), 1333 getRotationToOverride(override, newBounds, defaultRotation)); 1343 DisplayCutout.constructDisplayCutout(newBounds, waterfallInsets, newInfo);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/docking/ui/viewmodel/ |
D | KeyboardDockingIndicationViewModelTest.kt | 77 val newBounds = Rect(10, 10, 20, 20) in onConfigurationChanged_createsNewConfig() constant 90 doReturn(WindowMetrics(newBounds, inset, density)) in onConfigurationChanged_createsNewConfig()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | ProjectionSpace.h | 90 void setBounds(ui::Size newBounds) { mBounds = std::move(newBounds); } in setBounds() argument
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipBoundsStateTest.java | 226 final Rect newBounds = new Rect(50, 50, 100, 75); in testSetBounds_updatesPipExclusionBounds() local 233 mPipBoundsState.setBounds(newBounds); in testSetBounds_updatesPipExclusionBounds() 235 verify(callback).accept(newBounds); in testSetBounds_updatesPipExclusionBounds()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMotionHelper.java | 129 private final Consumer<Rect> mUpdateBoundsCallback = (Rect newBounds) -> { 130 if (mPipBoundsState.getBounds().equals(newBounds)) { 134 mMenuController.updateMenuLayout(newBounds); 135 mPipBoundsState.setBounds(newBounds); 260 (Rect newBounds) -> { in movePip() 261 mMenuController.updateMenuLayout(newBounds); in movePip()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardInteractor.kt | 109 _notificationPlaceholderBounds.pairwise().flatMapLatest { (oldBounds, newBounds) -> in <lambda>() method 121 val top = interpolate(oldBounds.top, newBounds.top, adjustedProgress) in <lambda>() 125 newBounds.bottom, in <lambda>() 130 newBounds in <lambda>() 134 flow { emit(newBounds) } in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | FluidResizeTaskPositionerTest.kt | 541 val newBounds = Rect( in <lambda>() constant 547 newBounds.right.toFloat(), in <lambda>() 548 newBounds.bottom.toFloat() in <lambda>() 554 newBounds.left, in <lambda>() 555 newBounds.top, in <lambda>() 556 newBounds.right + 10, in <lambda>() 569 token == taskBinder && change.ofBounds(newBounds) in <lambda>() 587 newBounds.bottom // Stayed at the first resize destination. in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipMotionHelper.java | 132 private final Consumer<Rect> mUpdateBoundsCallback = (Rect newBounds) -> { 133 if (mPipBoundsState.getBounds().equals(newBounds)) { 137 mMenuController.updateMenuLayout(newBounds); 138 mPipBoundsState.setBounds(newBounds);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MagnificationModeSwitch.java | 412 final Rect newBounds = getDraggableWindowBounds(); in onWindowInsetChanged() local 413 if (mDraggableWindowBounds.equals(newBounds)) { in onWindowInsetChanged() 416 mDraggableWindowBounds.set(newBounds); in onWindowInsetChanged()
|
D | WindowMagnificationSettings.java | 603 final Rect newBounds = getDraggableWindowBounds(); in onWindowInsetChanged() local 604 if (mDraggableWindowBounds.equals(newBounds)) { in onWindowInsetChanged() 607 mDraggableWindowBounds.set(newBounds); in onWindowInsetChanged()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ConfigurationContainer.java | 327 final Rect newBounds = mRequestedOverrideConfiguration.windowConfiguration.getBounds(); in updateRequestedOverrideConfiguration() local 329 && diffRequestedOverrideMaxBounds(newBounds) != BOUNDS_CHANGE_NONE) { in updateRequestedOverrideConfiguration() 330 mRequestedOverrideConfiguration.windowConfiguration.setMaxBounds(newBounds); in updateRequestedOverrideConfiguration()
|
D | TaskPositioner.java | 419 private void updateDraggedBounds(Rect newBounds) { 420 mWindowDragBounds.set(newBounds);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | ImageTileSet.java | 74 int arg, Rect newBounds) { in addOnContentChangedListener()
|