Home
last modified time | relevance | path

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

1234

/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/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()
/aosp12/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)
/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A 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()
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()
442 roundedCornerRectF.offsetTo(right - roundedCornerRectF.width(), in recalculatePath()
[all …]
/aosp12/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)
/aosp12/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
H A DGeometryTests.kt143 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top)
168 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top)
191 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top)
215 svBounds.offsetTo(surfaceViewPosition.left, surfaceViewPosition.top)
H A DSharedBufferModeScreenRecordTests.kt49 svBounds.offsetTo(position.left, position.top)
H A DSharedBufferModeTests.kt78 svBounds.offsetTo(position.left, position.top)
/aosp12/frameworks/native/libs/ui/include/ui/
H A 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);
/aosp12/frameworks/native/libs/ui/include_vndk/ui/
H A 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);
/aosp12/frameworks/native/include/ui/
H A 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);
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
H A DPipSurfaceTransactionHelper.java50 mTmpDestinationRectF.offsetTo(0, 0); in scale()
66 mTmpDestinationRectF.offsetTo(0, 0); in scale()
/aosp12/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()
/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DTaskFragmentAnimationSpec.java168 startClip.offsetTo(0, 0); in createChangeBoundsChangeAnimations()
169 endClip.offsetTo(0, 0); in createChangeBoundsChangeAnimations()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedDisplayAreaOrganizer.java226 mLastVisualDisplayBounds.offsetTo(0, 0); in resetWindowsOffset()
252 mLastVisualDisplayBounds.offsetTo(0, Math.round(mLastVisualOffset)); in finishOffset()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationController.java644 mTmpRect.offsetTo(mMagnificationFrameBoundary.left, mTmpRect.top); in updateMagnificationFramePosition()
647 mTmpRect.offsetTo(leftOffset, mTmpRect.top); in updateMagnificationFramePosition()
651 mTmpRect.offsetTo(mTmpRect.left, mMagnificationFrameBoundary.top); in updateMagnificationFramePosition()
654 mTmpRect.offsetTo(mTmpRect.left, topOffset); in updateMagnificationFramePosition()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DTaskThumbnailView.java574 mClippedInsets.offsetTo(splitScreenInsets.left * scale, in updateThumbnailMatrix()
577 mClippedInsets.offsetTo(thumbnailClipHint.left * scale, in updateThumbnailMatrix()
654 mClippedInsets.offsetTo(newLeftInset * scale, newTopInset * scale); in setThumbnailRotation()
/aosp12/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
H A DResizeTasksSyncTest.kt90 secondBounds.offsetTo(0, 0)
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/
H A DClipIconView.java255 sTmpRect.offsetTo((int) (mFinalDrawableBounds.left * scale), sTmpRect.top); in setBackgroundDrawableBounds()
257 sTmpRect.offsetTo(sTmpRect.left, (int) (mFinalDrawableBounds.top * scale)); in setBackgroundDrawableBounds()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DFloatingContentCoordinator.kt353 proposedNewBounds.offsetTo(
/aosp12/frameworks/native/libs/ui/
H A DRect.cpp60 Rect& Rect::offsetTo(int32_t x, int32_t y) { in offsetTo() function in android::Rect
/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A DGLFunctorDrawable.cpp100 clipBounds.offsetTo(0, 0); in onDraw()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DFakeSession.java128 page.offsetTo(0, 0); in requestTile()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
H A DCurrentWallpaperAssetVN.java142 cropRect.offsetTo(0, 0); in adjustCropRect()
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
H A DShadowGenerator.java148 bounds.offsetTo(center - width / 2f, center - height / 2f); in createPill()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DBubbleTextView.java601 outBounds.offsetTo(getWidth() - iconSize - getPaddingRight(), outBounds.top); in getIconBounds()
603 outBounds.offsetTo(getPaddingLeft(), outBounds.top); in getIconBounds()
606 outBounds.offsetTo(outBounds.left, getPaddingTop()); in getIconBounds()

1234