Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java113 intersectStackBounds.offsetTo(intersect.x, intersect.y); in findClosestSnapBounds()
225 newBounds.offsetTo(snapTarget.x, snapTarget.y); in findClosestSnapBounds()
242 newBounds.offsetTo(snapTarget.x, snapTarget.y); in findClosestSnapBounds()
253 stackBounds.offsetTo(stableInsets.left + mMinimizedVisibleSize - stackBounds.width(), in applyMinimizedOffset()
256 stackBounds.offsetTo(displaySize.x - stableInsets.right - mMinimizedVisibleSize, in applyMinimizedOffset()
307 stackBounds.offsetTo(offset, movementBounds.top); in applySnapFraction()
311 stackBounds.offsetTo(movementBounds.right, offset); in applySnapFraction()
315 stackBounds.offsetTo(offset, movementBounds.bottom); in applySnapFraction()
319 stackBounds.offsetTo(movementBounds.left, offset); in applySnapFraction()
400 boundsOut.offsetTo(boundedLeft, boundedTop); in snapRectToClosestEdge()
[all …]
/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/native/libs/ui/include/ui/
DRect.h178 Rect& offsetTo(const Point& p) { in offsetTo() function
179 return offsetTo(p.x, p.y); in offsetTo()
185 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h178 Rect& offsetTo(const Point& p) { in offsetTo() function
179 return offsetTo(p.x, p.y); in offsetTo()
185 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/base/services/core/java/com/android/server/wm/
DWindowChangeAnimationSpec.java132 startClip.offsetTo(0, 0); in createBoundsInterpolator()
133 endClip.offsetTo(0, 0); in createBoundsInterpolator()
DRemoteAnimationController.java330 mTmpRect.offsetTo(0, 0); in RemoteAnimationRecord()
406 mTmpRect.offsetTo(0, 0); in startAnimation()
DTask.java429 mTmpRect2.offsetTo(adjustedBounds.left, adjustedBounds.top); in alignToAdjustedBounds()
755 mTmpDimBoundsRect.offsetTo(0, 0); in prepareSurfaces()
DTaskSnapshotController.java258 mTmpRect.offsetTo(0, 0); in createTaskSnapshot()
DInputMonitor.java495 mTmpRect.offsetTo(0, 0); in accept()
DTaskPositioner.java649 mWindowDragBounds.offsetTo( in updateWindowDragBounds()
DAppTransition.java1128 mTmpToClipRect.offsetTo(0, 0); in createThumbnailAspectScaleAnimationLocked()
1259 mTmpFromClipRect.offsetTo(0, 0); in createAspectScaledThumbnailEnterExitAnimationLocked()
1260 mTmpToClipRect.offsetTo(0, 0); in createAspectScaledThumbnailEnterExitAnimationLocked()
DTaskSnapshotSurface.java405 frame.offsetTo((int) (-crop.left / scale), (int) (-crop.top / scale)); in calculateSnapshotFrame()
/frameworks/native/libs/ui/
DRect.cpp59 Rect& Rect::offsetTo(int32_t x, int32_t y) { in offsetTo() function in android::Rect
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAccessibilityInteractionConnection.java99 mTmpBounds.offsetTo(newX, newY); in performAccessibilityAction()
DPipMotionHelper.java390 toBounds.offsetTo(p.x, p.y); in animateDismiss()
/frameworks/base/core/java/android/transition/
DExplode.java115 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]); in onDisappear()
DChangeBounds.java76 mBounds.offsetTo(Math.round(value.x), Math.round(value.y));
/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp122 clipBounds.offsetTo(0, 0); in onDraw()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsAnimationControlImplTest.java174 rect.offsetTo(0, 0); in assertPosition()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java501 win0.getFrameLw().offsetTo(1, 0); in testGetTransformationMatrix()
513 win1.getFrameLw().offsetTo(3, 0); in testGetTransformationMatrix()
DBoundsAnimationControllerTests.java622 sTmpRect.offsetTo(stackBounds.left, stackBounds.top); in assertEqualSizeAtOffset()
/frameworks/base/graphics/java/android/graphics/
DRectF.java257 public void offsetTo(float newLeft, float newTop) { in offsetTo() method in RectF
DRect.java398 public void offsetTo(int newLeft, int newTop) { in offsetTo() method in Rect
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java195 mCropRectangle.offsetTo((mActiveArray.width() - mCropRectangle.width()) / 2, in setZoomRatio()
/frameworks/base/libs/hwui/
DVectorDrawable.cpp445 tmpBounds.offsetTo(0, 0); in draw()

12