Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java121 finalStackBounds.offsetTo(mScroller.getFinalX(), mScroller.getFinalY()); in findClosestSnapBounds()
149 newBounds.offsetTo(snapTarget.x, snapTarget.y); in findClosestSnapBounds()
166 newBounds.offsetTo(snapTarget.x, snapTarget.y); in findClosestSnapBounds()
177 stackBounds.offsetTo(stableInsets.left + mMinimizedVisibleSize - stackBounds.width(), in applyMinimizedOffset()
180 stackBounds.offsetTo(displaySize.x - stableInsets.right - mMinimizedVisibleSize, in applyMinimizedOffset()
231 stackBounds.offsetTo(offset, movementBounds.top); in applySnapFraction()
235 stackBounds.offsetTo(movementBounds.right, offset); in applySnapFraction()
239 stackBounds.offsetTo(offset, movementBounds.bottom); in applySnapFraction()
243 stackBounds.offsetTo(movementBounds.left, offset); in applySnapFraction()
324 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/include/ui/
DRect.h156 Rect& offsetTo(const Point& p) { in offsetTo() function
157 return offsetTo(p.x, p.y); in offsetTo()
163 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java282 bounds.offsetTo(bounds.left, toMovementBounds.bottom); in onMovementBoundsChanged()
290 bounds.offsetTo(bounds.left, toMovementBounds.bottom); in onMovementBoundsChanged()
594 mTmpBounds.offsetTo((int) left, (int) top);
DPipAccessibilityInteractionConnection.java99 mTmpBounds.offsetTo(newX, newY); in performAccessibilityAction()
DPipMotionHelper.java376 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/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/support/transition/src/android/support/transition/
DExplode.java116 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.java311 public void offsetTo(int newLeft, int newTop) { in offsetTo() method in Rect
/frameworks/base/services/core/java/com/android/server/wm/
DStackWindowController.java298 config.appBounds.offsetTo(0, 0); in adjustConfigurationForBounds()
DTask.java413 mTmpRect2.offsetTo(adjustedBounds.left, adjustedBounds.top); in alignToAdjustedBounds()
DAppTransition.java1025 mTmpToClipRect.offsetTo(0, 0); in createThumbnailAspectScaleAnimationLocked()
1155 mTmpFromClipRect.offsetTo(0, 0); in createAspectScaledThumbnailEnterExitAnimationLocked()
1156 mTmpToClipRect.offsetTo(0, 0); in createAspectScaledThumbnailEnterExitAnimationLocked()
DTaskSnapshotSurface.java344 frame.offsetTo(-crop.left, -crop.top); in calculateSnapshotFrame()
DTaskPositioner.java617 mWindowDragBounds.offsetTo( in updateWindowDragBounds()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java572 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()
/frameworks/base/libs/hwui/
DVectorDrawable.cpp443 tmpBounds.offsetTo(0, 0); in draw()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java156 bounds.offsetTo(0, 0); in nDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsImpl.java705 windowRect.offsetTo(0, 0); in updateDummyStackViewLayout()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java332 mTmpBounds.offsetTo(0, 0); in draw()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java432 cropHint.offsetTo(0, 0); in generateCrop()

12