Searched refs:originalBounds (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/policy/ |
D | TaskResizingAlgorithm.java | 74 Rect originalBounds, int ctrlType, int minVisibleWidth, int minVisibleHeight, in resizeDrag() argument 83 int left = originalBounds.left; in resizeDrag() 84 int top = originalBounds.top; in resizeDrag() 85 int right = originalBounds.right; in resizeDrag() 86 int bottom = originalBounds.bottom; in resizeDrag()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SizeCompatTests.java | 246 final Rect originalBounds = new Rect(mActivity.getBounds()); in testFixedScreenConfigurationWhenMovingToDisplay() local 252 assertEquals(originalBounds.width(), mActivity.getBounds().width()); in testFixedScreenConfigurationWhenMovingToDisplay() 253 assertEquals(originalBounds.height(), mActivity.getBounds().height()); in testFixedScreenConfigurationWhenMovingToDisplay() 406 final Rect originalBounds = new Rect(mActivity.getWindowConfiguration().getBounds()); in testMoveToDifferentOrientationDisplay() local 415 assertEquals(originalBounds.width(), currentBounds.width()); in testMoveToDifferentOrientationDisplay() 416 assertEquals(originalBounds.height(), currentBounds.height()); in testMoveToDifferentOrientationDisplay() 424 (int) ((float) mActivity.getBounds().width() * originalBounds.height() in testMoveToDifferentOrientationDisplay() 425 / originalBounds.width())); in testMoveToDifferentOrientationDisplay() 495 final Rect originalBounds = new Rect(mActivity.getBounds()); in testFixedAspectRatioOrientationChangeOrientation() local 498 assertEquals((int) (originalBounds.width() * maxAspect), originalBounds.height()); in testFixedAspectRatioOrientationChangeOrientation() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMotionHelper.java | 546 void animateToOffset(Rect originalBounds, int offset) { 548 Log.d(TAG, "animateToOffset: originalBounds=" + originalBounds + " offset=" + offset 552 mPipTaskOrganizer.scheduleOffsetPip(originalBounds, offset, SHIFT_DURATION,
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTaskOrganizer.java | 1141 public void scheduleOffsetPip(Rect originalBounds, int offset, int duration, in scheduleOffsetPip() argument 1150 offsetPip(originalBounds, 0 /* xOffset */, offset, duration); in scheduleOffsetPip() 1151 Rect toBounds = new Rect(originalBounds); in scheduleOffsetPip() 1158 private void offsetPip(Rect originalBounds, int xOffset, int yOffset, int durationMs) { in offsetPip() argument 1163 final Rect destinationBounds = new Rect(originalBounds); in offsetPip() 1165 animateResizePip(originalBounds, destinationBounds, null /* sourceHintRect */, in offsetPip()
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 1392 final Rect originalBounds = new Rect(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); in updateCurrentContentForTesting() local 1393 canvas.drawBitmap(mBitmap, originalBounds, bounds, null); in updateCurrentContentForTesting()
|