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.h168 Rect& offsetTo(const Point& p) { in offsetTo() function
169 return offsetTo(p.x, p.y); in offsetTo()
175 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h168 Rect& offsetTo(const Point& p) { in offsetTo() function
169 return offsetTo(p.x, p.y); in offsetTo()
175 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DTaskLaunchParamsModifierTests.java243 bounds.offsetTo(horizontalInset * 2, 0); in getDefaultBounds()
245 bounds.offsetTo(0, 0); in getDefaultBounds()
248 bounds.offsetTo(horizontalInset * 2, verticalInset * 2); in getDefaultBounds()
250 bounds.offsetTo(0, verticalInset * 2); in getDefaultBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAccessibilityInteractionConnection.java99 mTmpBounds.offsetTo(newX, newY); in performAccessibilityAction()
DPipMotionHelper.java373 toBounds.offsetTo(p.x, p.y); in animateDismiss()
/frameworks/native/libs/ui/
DRect.cpp59 Rect& Rect::offsetTo(int32_t x, int32_t y) { in offsetTo() function in android::Rect
/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp124 clipBounds.offsetTo(0, 0); in onDraw()
/frameworks/support/transition/src/main/java/androidx/transition/
DExplode.java117 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]); in onDisappear()
DChangeBounds.java75 mBounds.offsetTo(Math.round(value.x), Math.round(value.y));
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java107 mTmpRect.offsetTo(mPosition.x, mPosition.y); in apply()
DTask.java371 mTmpRect2.offsetTo(adjustedBounds.left, adjustedBounds.top); in alignToAdjustedBounds()
695 mTmpDimBoundsRect.offsetTo(0, 0); in prepareSurfaces()
DStackWindowController.java298 config.windowConfiguration.getAppBounds().offsetTo(0, 0); in adjustConfigurationForBounds()
DRemoteAnimationController.java350 mTmpRect.offsetTo(0, 0); in startAnimation()
DTaskSnapshotController.java266 mTmpRect.offsetTo(0, 0); in snapshotTask()
DTaskSnapshotSurface.java379 frame.offsetTo((int) (-crop.left / scale), (int) (-crop.top / scale)); in calculateSnapshotFrame()
DTaskPositioner.java617 mWindowDragBounds.offsetTo( in updateWindowDragBounds()
DRecentsAnimationController.java603 mTmpRect.offsetTo(0, 0); in startAnimation()
/frameworks/base/core/java/android/transition/
DExplode.java115 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]); in onDisappear()
DChangeBounds.java74 mBounds.offsetTo(Math.round(value.x), Math.round(value.y));
/frameworks/base/graphics/java/android/graphics/
DRectF.java251 public void offsetTo(float newLeft, float newTop) { in offsetTo() method in RectF
DRect.java340 public void offsetTo(int newLeft, int newTop) { in offsetTo() method in Rect
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java592 mTmpRect.offsetTo(stackBounds.left, stackBounds.top); in assertEqualSizeAtOffset()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java195 mCropRectangle.offsetTo((mActiveArray.width() - mCropRectangle.width()) / 2, in setZoomRatio()

12