Home
last modified time | relevance | path

Searched refs:offsetTo (Results 1 – 25 of 70) sorted by relevance

123

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DFloatingContentCoordinatorTest.kt86 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 DPipSnapAlgorithm.java91 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 DPhonePipKeepClearAlgorithm.java97 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 DFloatProperties.kt42 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 DGeometryTests.kt146 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 DSharedBufferModeScreenRecordTests.kt48 svBounds.offsetTo(position.left, position.top)
H A DSharedBufferModeTests.kt78 svBounds.offsetTo(position.left, position.top)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
H A DTvPipKeepClearAlgorithmTest.kt286 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 DWindowMagnificationManagerTest.java332 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 DPipSurfaceTransactionHelper.java96 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 DPipSurfaceTransactionHelper.java52 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 DWindowChangeAnimationSpec.java127 startClip.offsetTo(0, 0); in createBoundsInterpolator()
128 endClip.offsetTo(0, 0); in createBoundsInterpolator()
H A DSurfaceFreezer.java192 cropBounds.offsetTo(0, 0); in createSnapshotBuffer()
H A DTaskSnapshotController.java224 bounds.offsetTo(0, 0); in createImeSnapshot()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationController.java933 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 DTvPipKeepClearAlgorithm.kt358 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 DTaskFragmentAnimationSpec.java191 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 DOneHandedDisplayAreaOrganizer.java251 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 DResizeTasksSyncTest.kt92 secondBounds.offsetTo(0, 0)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DFloatingContentCoordinator.kt353 proposedNewBounds.offsetTo(
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenshot/
H A DFakeSession.java128 page.offsetTo(0, 0); in requestTile()
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DGLFunctorDrawable.cpp114 clipBounds.offsetTo(0, 0); in onDraw()
/aosp14/frameworks/base/core/java/android/transition/
H A DExplode.java115 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]); in onDisappear()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuViewAppearance.java158 draggableBounds.offsetTo(/* newLeft= */ 0, /* newTop= */ 0); in getMenuDraggableBoundsWith()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DInsetsAnimationControlImplTest.java256 rect.offsetTo(0, 0); in assertPosition()

123