/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
H A D | FloatingContentCoordinatorTest.kt | 86 rect200px.offsetTo(0, 500) 90 rect200px.offsetTo(0, 0) 102 rect200px.offsetTo(0, 275) 112 rect200px.offsetTo(0, 110) 140 rect200px.offsetTo(0, 150) 154 rect200px.offsetTo(0, 500) 160 rect200px.offsetTo(0, 90) 172 rect100px.offsetTo(0, screenBounds.bottom - 100) 178 rect200px.offsetTo(0, 800)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
H A D | PipSnapAlgorithm.java | 91 stackBounds.offsetTo(offset, movementBounds.top); in applySnapFraction() 95 stackBounds.offsetTo(movementBounds.right, offset); in applySnapFraction() 99 stackBounds.offsetTo(offset, movementBounds.bottom); in applySnapFraction() 103 stackBounds.offsetTo(movementBounds.left, offset); in applySnapFraction() 117 stackBounds.offsetTo(stashType == STASH_TYPE_LEFT in applySnapFraction() 150 boundsOut.offsetTo(movementBounds.left, boundedTop); in snapRectToClosestEdge() 152 boundsOut.offsetTo(boundedLeft, movementBounds.top); in snapRectToClosestEdge() 154 boundsOut.offsetTo(movementBounds.right, boundedTop); in snapRectToClosestEdge() 156 boundsOut.offsetTo(boundedLeft, movementBounds.bottom); in snapRectToClosestEdge()
|
H A D | PhonePipKeepClearAlgorithm.java | 97 pipBounds.offsetTo(pipBounds.left, in adjust() 101 pipBounds.offsetTo(insets.right - pipBounds.width(), pipBounds.top); in adjust() 103 pipBounds.offsetTo(insets.left, pipBounds.top); in adjust() 164 rectToMove.offsetTo(tmp.left, tmp.top); in tryOffset()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/ |
H A D | FloatProperties.kt | 42 rect?.offsetTo(value.toInt(), rect.top) 61 rect?.offsetTo(rect.left, value.toInt()) 114 rect?.offsetTo(value, rect.top) 133 rect?.offsetTo(rect.left, value)
|
/aosp14/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
H A D | GeometryTests.kt | 146 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top) 171 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top) 194 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top) 218 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top)
|
H A D | SharedBufferModeScreenRecordTests.kt | 48 svBounds.offsetTo(position.left, position.top)
|
H A D | SharedBufferModeTests.kt | 78 svBounds.offsetTo(position.left, position.top)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipKeepClearAlgorithmTest.kt | 286 expectedBounds.offsetTo(expectedBounds.left, SCREEN_SIZE.height - STASH_OFFSET) 328 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) 377 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) 408 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) 440 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) 549 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) 572 sidebar.offsetTo(SCREEN_SIZE.width - width, 0)
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | WindowMagnificationManagerTest.java | 332 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingDisabledByOnDrag_withoutMovingMagnifier() 354 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingDisabledByScroll_withoutMovingMagnifier() 389 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_imeVisibilityDefaultInvisible_withoutMovingMagnifier() 407 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingEnabledByDefault_movingMagnifier() 426 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_imeInvisible_withoutMovingMagnifier() 447 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingEnabledByDragAndReset_movingMagnifier() 465 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_followTypingIsDisabled_withoutMovingMagnifier() 485 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingDisabled_withoutMovingMagnifier() 505 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingDisabledAndEnabledMagnifier_movingMagnifier()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipSurfaceTransactionHelper.java | 96 mTmpSourceRectF.offsetTo(0, 0); in scale() 116 mTmpDestinationRect.offsetTo(0, 0); in scaleAndCrop()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/ |
H A D | PipSurfaceTransactionHelper.java | 52 mTmpDestinationRectF.offsetTo(0, 0); in scale() 69 mTmpDestinationRectF.offsetTo(0, 0); in scale()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowChangeAnimationSpec.java | 127 startClip.offsetTo(0, 0); in createBoundsInterpolator() 128 endClip.offsetTo(0, 0); in createBoundsInterpolator()
|
H A D | SurfaceFreezer.java | 192 cropBounds.offsetTo(0, 0); in createSnapshotBuffer()
|
H A D | TaskSnapshotController.java | 224 bounds.offsetTo(0, 0); in createImeSnapshot()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
H A D | WindowMagnificationController.java | 933 mSourceBounds.offsetTo(0, mSourceBounds.top); in calculateSourceBounds() 935 mSourceBounds.offsetTo(mWindowBounds.width() - mSourceBounds.width(), in calculateSourceBounds() 940 mSourceBounds.offsetTo(mSourceBounds.left, 0); in calculateSourceBounds() 942 mSourceBounds.offsetTo(mSourceBounds.left, in calculateSourceBounds() 995 mTmpRect.offsetTo(mMagnificationFrameBoundary.left, mTmpRect.top); in updateMagnificationFramePosition() 998 mTmpRect.offsetTo(leftOffset, mTmpRect.top); in updateMagnificationFramePosition() 1002 mTmpRect.offsetTo(mTmpRect.left, mMagnificationFrameBoundary.top); in updateMagnificationFramePosition() 1005 mTmpRect.offsetTo(mTmpRect.left, topOffset); in updateMagnificationFramePosition()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipKeepClearAlgorithm.kt | 358 downPosition.offsetTo(bounds.left, newTop) 371 upPosition.offsetTo(bounds.left, newTop) 387 rightPosition.offsetTo(newLeft, bounds.top) 400 leftPosition.offsetTo(newLeft, bounds.top)
|
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
H A D | TaskFragmentAnimationSpec.java | 191 startClip.offsetTo(0, 0); in createChangeBoundsChangeAnimations() 192 endClip.offsetTo(0, 0); in createChangeBoundsChangeAnimations()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
H A D | OneHandedDisplayAreaOrganizer.java | 251 mLastVisualDisplayBounds.offsetTo(0, 0); in resetWindowsOffset() 276 mLastVisualDisplayBounds.offsetTo(0, Math.round(mLastVisualOffset)); in finishOffset()
|
/aosp14/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/ |
H A D | ResizeTasksSyncTest.kt | 92 secondBounds.offsetTo(0, 0)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | FloatingContentCoordinator.kt | 353 proposedNewBounds.offsetTo(
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenshot/ |
H A D | FakeSession.java | 128 page.offsetTo(0, 0); in requestTile()
|
/aosp14/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | GLFunctorDrawable.cpp | 114 clipBounds.offsetTo(0, 0); in onDraw()
|
/aosp14/frameworks/base/core/java/android/transition/ |
H A D | Explode.java | 115 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]); in onDisappear()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | MenuViewAppearance.java | 158 draggableBounds.offsetTo(/* newLeft= */ 0, /* newTop= */ 0); in getMenuDraggableBoundsWith()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | InsetsAnimationControlImplTest.java | 256 rect.offsetTo(0, 0); in assertPosition()
|