/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/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()
|
/aosp12/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)
|
/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | StyledCornersBitmapDrawable.java | 258 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 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)
|
/aosp12/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
H A D | GeometryTests.kt | 143 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 D | SharedBufferModeScreenRecordTests.kt | 49 svBounds.offsetTo(position.left, position.top)
|
H A D | SharedBufferModeTests.kt | 78 svBounds.offsetTo(position.left, position.top)
|
/aosp12/frameworks/native/libs/ui/include/ui/ |
H A D | Rect.h | 181 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 D | Rect.h | 181 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 D | Rect.h | 181 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 D | PipSurfaceTransactionHelper.java | 50 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 D | WindowChangeAnimationSpec.java | 127 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 D | TaskFragmentAnimationSpec.java | 168 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 D | OneHandedDisplayAreaOrganizer.java | 226 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 D | WindowMagnificationController.java | 644 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 D | TaskThumbnailView.java | 574 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 D | ResizeTasksSyncTest.kt | 90 secondBounds.offsetTo(0, 0)
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | ClipIconView.java | 255 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 D | FloatingContentCoordinator.kt | 353 proposedNewBounds.offsetTo(
|
/aosp12/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 60 Rect& Rect::offsetTo(int32_t x, int32_t y) { in offsetTo() function in android::Rect
|
/aosp12/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | GLFunctorDrawable.cpp | 100 clipBounds.offsetTo(0, 0); in onDraw()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | FakeSession.java | 128 page.offsetTo(0, 0); in requestTile()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
H A D | CurrentWallpaperAssetVN.java | 142 cropRect.offsetTo(0, 0); in adjustCropRect()
|
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
H A D | ShadowGenerator.java | 148 bounds.offsetTo(center - width / 2f, center - height / 2f); in createPill()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | BubbleTextView.java | 601 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()
|