Home
last modified time | relevance | path

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

123

/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.java88 mTmpSourceRectF.offsetTo(0, 0); in scale()
/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/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/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/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/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java50 mTmpDestinationRectF.offsetTo(0, 0); in scale()
66 mTmpDestinationRectF.offsetTo(0, 0); in scale()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowChangeAnimationSpec.java127 startClip.offsetTo(0, 0); in createBoundsInterpolator()
128 endClip.offsetTo(0, 0); in createBoundsInterpolator()
DSurfaceFreezer.java135 cropBounds.offsetTo(0, 0); in createSnapshotBuffer()
DTaskSnapshotController.java388 bounds.offsetTo(0, 0);
422 mTmpRect.offsetTo(0, 0);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizer.java240 mLastVisualDisplayBounds.offsetTo(0, 0); in resetWindowsOffset()
266 mLastVisualDisplayBounds.offsetTo(0, Math.round(mLastVisualOffset)); in finishOffset()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DResizeTasksSyncTest.kt90 secondBounds.offsetTo(0, 0) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java583 mTmpRect.offsetTo(mMagnificationFrameBoundary.left, mTmpRect.top); in updateMagnificationFramePosition()
586 mTmpRect.offsetTo(leftOffset, mTmpRect.top); in updateMagnificationFramePosition()
590 mTmpRect.offsetTo(mTmpRect.left, mMagnificationFrameBoundary.top); in updateMagnificationFramePosition()
593 mTmpRect.offsetTo(mTmpRect.left, topOffset); in updateMagnificationFramePosition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DFloatingContentCoordinator.kt353 proposedNewBounds.offsetTo( in <lambda>()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DShadowGenerator.java148 bounds.offsetTo(center - width / 2f, center - height / 2f); in createPill()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DFakeSession.java128 page.offsetTo(0, 0); in requestTile()
/frameworks/native/libs/ui/
DRect.cpp60 Rect& Rect::offsetTo(int32_t x, int32_t y) { in offsetTo() function in android::Rect
/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp100 clipBounds.offsetTo(0, 0); in onDraw()
/frameworks/base/core/java/android/transition/
DExplode.java115 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]); in onDisappear()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DDividerView.java690 mTmpRect.offsetTo(mHandle.getLeft(), mDividerPositionY); in notifySplitScreenBoundsChanged()
692 mTmpRect.offsetTo(mDividerPositionX, mHandle.getTop()); in notifySplitScreenBoundsChanged()
1040 crop.offsetTo(-Math.min(dockedTaskRect.left - dockedRect.left, 0), in resizeSplitSurfaces()
1045 crop.offsetTo(-(otherTaskRect.left - otherRect.left), in resizeSplitSurfaces()

123