Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DFloatingContentCoordinatorTest.kt86 rect200px.offsetTo(0, 500) in testOnContentMoved_twoRects()
90 rect200px.offsetTo(0, 0) in testOnContentMoved_twoRects()
102 rect200px.offsetTo(0, 275) in testOnContentMoved_twoRects()
112 rect200px.offsetTo(0, 110) in testOnContentMoved_twoRects()
140 rect200px.offsetTo(0, 150) in testOnContentMoved_threeRects()
154 rect200px.offsetTo(0, 500) in testOnContentMoved_respectsUpperBounds()
160 rect200px.offsetTo(0, 90) in testOnContentMoved_respectsUpperBounds()
172 rect100px.offsetTo(0, screenBounds.bottom - 100) in testOnContentMoved_respectsLowerBounds()
178 rect200px.offsetTo(0, 800) in testOnContentMoved_respectsLowerBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
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()
DPipSurfaceTransactionHelper.java96 mTmpSourceRectF.offsetTo(0, 0); in scale()
116 mTmpDestinationRect.offsetTo(0, 0); in scaleAndCrop()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java258 flapCornerRectF.offsetTo(left, top); in draw()
263 flapCornerRectF.offsetTo(right - mCornerFlapSide, top); in draw()
268 flapCornerRectF.offsetTo(right - mCornerFlapSide, bottom - mCornerFlapSide); in draw()
273 flapCornerRectF.offsetTo(left, bottom - mCornerFlapSide); in draw()
313 fakeCornerRectF.offsetTo(left, top); in drawFakeCornersForCompatibilityMode()
322 fakeCornerRectF.offsetTo(right - fakeCornerRectF.width(), top); in drawFakeCornersForCompatibilityMode()
332 .offsetTo(right - fakeCornerRectF.width(), bottom - fakeCornerRectF.height()); in drawFakeCornersForCompatibilityMode()
341 fakeCornerRectF.offsetTo(left, bottom - fakeCornerRectF.height()); in drawFakeCornersForCompatibilityMode()
414 roundedCornerRectF.offsetTo(left, top); in recalculatePath()
428 roundedCornerRectF.offsetTo(right - roundedCornerRectF.width(), top); in recalculatePath()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DFloatProperties.kt42 rect?.offsetTo(value.toInt(), rect.top) in setValue()
61 rect?.offsetTo(rect.left, value.toInt()) in setValue()
114 rect?.offsetTo(value, rect.top) in setValue()
133 rect?.offsetTo(rect.left, value) in setValue()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPhonePipKeepClearAlgorithm.java80 pipBounds.offsetTo(pipBounds.left, in adjust()
84 pipBounds.offsetTo(insets.right - pipBounds.width(), pipBounds.top); in adjust()
86 pipBounds.offsetTo(insets.left, pipBounds.top); in adjust()
147 rectToMove.offsetTo(tmp.left, tmp.top); in tryOffset()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DGeometryTests.kt143 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top) in <lambda>()
168 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top) in <lambda>()
191 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top) in <lambda>()
215 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top) in <lambda>()
DSharedBufferModeScreenRecordTests.kt49 svBounds.offsetTo(position.left, position.top) in testAutoRefresh()
DSharedBufferModeTests.kt78 svBounds.offsetTo(position.left, position.top) in <lambda>()
/frameworks/native/include/ui/
DRect.h181 Rect& offsetTo(const Point& p) { in offsetTo() function
182 return offsetTo(p.x, p.y); in offsetTo()
188 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h181 Rect& offsetTo(const Point& p) { in offsetTo() function
182 return offsetTo(p.x, p.y); in offsetTo()
188 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/native/libs/ui/include/ui/
DRect.h181 Rect& offsetTo(const Point& p) { in offsetTo() function
182 return offsetTo(p.x, p.y); in offsetTo()
188 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithmTest.kt261 expectedBounds.offsetTo(expectedBounds.left, SCREEN_SIZE.height - STASH_OFFSET) in test_AnchorBottomRight_RestrictedBottomSheet_StashDownAtAnchor()
301 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) in test_AnchorBottomRight_UnrestrictedBottomSheet_RestrictedSidebar_StashAboveBottomSheet()
348 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) in test_Stashed_UnstashBoundsBecomeUnobstructed_Unstashes()
378 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) in test_Stashed_UnstashBoundsStaysObstructed_DoesNotTriggerStash()
409 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) in test_Stashed_UnstashBoundsObstructionChanges_UnstashTimeExtended()
503 sidebar.offsetTo(SCREEN_SIZE.width - width, 0) in makeSideBar()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DWindowMagnificationManagerTest.java317 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingDisabledByOnDrag_withoutMovingMagnifier()
339 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingDisabledByScroll_withoutMovingMagnifier()
374 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_imeVisibilityDefaultInvisible_withoutMovingMagnifier()
392 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingEnabledByDefault_movingMagnifier()
411 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_imeInvisible_withoutMovingMagnifier()
432 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingEnabledByDragAndReset_movingMagnifier()
450 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_followTypingIsDisabled_withoutMovingMagnifier()
470 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingDisabled_withoutMovingMagnifier()
490 requestedRect.offsetTo(requestedRect.right + 10, requestedRect.bottom + 10); in onRectangleOnScreenRequested_trackingDisabledAndEnabledMagnifier_movingMagnifier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java771 mSourceBounds.offsetTo(0, mSourceBounds.top); in calculateSourceBounds()
773 mSourceBounds.offsetTo(mWindowBounds.width() - mSourceBounds.width(), in calculateSourceBounds()
778 mSourceBounds.offsetTo(mSourceBounds.left, 0); in calculateSourceBounds()
780 mSourceBounds.offsetTo(mSourceBounds.left, in calculateSourceBounds()
833 mTmpRect.offsetTo(mMagnificationFrameBoundary.left, mTmpRect.top); in updateMagnificationFramePosition()
836 mTmpRect.offsetTo(leftOffset, mTmpRect.top); in updateMagnificationFramePosition()
840 mTmpRect.offsetTo(mTmpRect.left, mMagnificationFrameBoundary.top); in updateMagnificationFramePosition()
843 mTmpRect.offsetTo(mTmpRect.left, topOffset); in updateMagnificationFramePosition()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowChangeAnimationSpec.java127 startClip.offsetTo(0, 0); in createBoundsInterpolator()
128 endClip.offsetTo(0, 0); in createBoundsInterpolator()
DBackNaviAnimationController.java327 mLocalBounds.offsetTo(tmpPos.x, tmpPos.y); in TaskAnimationAdapter()
377 tmpRect.offsetTo(0, 0); in startAnimation()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java52 mTmpDestinationRectF.offsetTo(0, 0); in scale()
69 mTmpDestinationRectF.offsetTo(0, 0); in scale()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationSpec.java186 startClip.offsetTo(0, 0); in createChangeBoundsChangeAnimations()
187 endClip.offsetTo(0, 0); in createChangeBoundsChangeAnimations()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithm.kt358 downPosition.offsetTo(bounds.left, newTop) in <lambda>()
371 upPosition.offsetTo(bounds.left, newTop) in <lambda>()
387 rightPosition.offsetTo(newLeft, bounds.top) in <lambda>()
400 leftPosition.offsetTo(newLeft, bounds.top) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizer.java249 mLastVisualDisplayBounds.offsetTo(0, 0); in resetWindowsOffset()
274 mLastVisualDisplayBounds.offsetTo(0, Math.round(mLastVisualOffset)); in finishOffset()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationSpec.java191 startClip.offsetTo(0, 0); in createChangeBoundsChangeAnimations()
192 endClip.offsetTo(0, 0); in createChangeBoundsChangeAnimations()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DResizeTasksSyncTest.kt90 secondBounds.offsetTo(0, 0) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DFloatingContentCoordinator.kt353 proposedNewBounds.offsetTo( in <lambda>()
/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp111 clipBounds.offsetTo(0, 0); in onDraw()

1234