Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DFloatingContentCoordinatorTest.kt85 rect200px.offsetTo(0, 500) in testOnContentMoved_twoRects()
89 rect200px.offsetTo(0, 0) in testOnContentMoved_twoRects()
101 rect200px.offsetTo(0, 275) in testOnContentMoved_twoRects()
111 rect200px.offsetTo(0, 110) in testOnContentMoved_twoRects()
139 rect200px.offsetTo(0, 150) in testOnContentMoved_threeRects()
153 rect200px.offsetTo(0, 500) in testOnContentMoved_respectsUpperBounds()
159 rect200px.offsetTo(0, 90) in testOnContentMoved_respectsUpperBounds()
171 rect100px.offsetTo(0, screenBounds.bottom - 100) in testOnContentMoved_respectsLowerBounds()
177 rect200px.offsetTo(0, 800) in testOnContentMoved_respectsLowerBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/
DPipSnapAlgorithm.java96 stackBounds.offsetTo(offset, movementBounds.top); in applySnapFraction()
100 stackBounds.offsetTo(movementBounds.right, offset); in applySnapFraction()
104 stackBounds.offsetTo(offset, movementBounds.bottom); in applySnapFraction()
108 stackBounds.offsetTo(movementBounds.left, offset); in applySnapFraction()
201 boundsOut.offsetTo(movementBounds.left, boundedTop); in snapRectToClosestEdge()
203 boundsOut.offsetTo(boundedLeft, movementBounds.top); in snapRectToClosestEdge()
205 boundsOut.offsetTo(movementBounds.right, boundedTop); in snapRectToClosestEdge()
207 boundsOut.offsetTo(boundedLeft, movementBounds.bottom); in snapRectToClosestEdge()
/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/base/packages/SystemUI/src/com/android/systemui/util/animation/
DFloatProperties.kt42 rect?.offsetTo(value.toInt(), rect.top) in setValue()
61 rect?.offsetTo(rect.left, value.toInt()) in setValue()
114 rect?.offsetTo(value, rect.top) in setValue()
133 rect?.offsetTo(rect.left, value) in setValue()
/frameworks/native/libs/ui/include/ui/
DRect.h180 Rect& offsetTo(const Point& p) { in offsetTo() function
181 return offsetTo(p.x, p.y); in offsetTo()
187 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/native/include/ui/
DRect.h180 Rect& offsetTo(const Point& p) { in offsetTo() function
181 return offsetTo(p.x, p.y); in offsetTo()
187 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h180 Rect& offsetTo(const Point& p) { in offsetTo() function
181 return offsetTo(p.x, p.y); in offsetTo()
187 Rect& offsetTo(int32_t x, int32_t y);
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java363 mTmpRect.offsetTo(mMagnificationFrameBoundary.left, mTmpRect.top); in updateMagnificationFramePosition()
366 mTmpRect.offsetTo(leftOffset, mTmpRect.top); in updateMagnificationFramePosition()
370 mTmpRect.offsetTo(mTmpRect.left, mMagnificationFrameBoundary.top); in updateMagnificationFramePosition()
373 mTmpRect.offsetTo(mTmpRect.left, topOffset); in updateMagnificationFramePosition()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowChangeAnimationSpec.java127 startClip.offsetTo(0, 0); in createBoundsInterpolator()
128 endClip.offsetTo(0, 0); in createBoundsInterpolator()
DSurfaceFreezer.java130 cropBounds.offsetTo(0, 0); in createSnapshotBuffer()
DRecentsAnimationController.java910 mLocalBounds.offsetTo(tmpPos.x, tmpPos.y);
946 mTmpRect.offsetTo(0, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DFloatingContentCoordinator.kt336 proposedNewBounds.offsetTo( in <lambda>()
/frameworks/native/libs/ui/
DRect.cpp59 Rect& Rect::offsetTo(int32_t x, int32_t y) { in offsetTo() function in android::Rect
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DShadowGenerator.java134 bounds.offsetTo(center - width / 2f, center - height / 2f); in createPill()
/frameworks/base/core/java/android/window/
DTaskOrganizerTaskEmbedder.java162 screenBounds.offsetTo(0, 0); in notifyBoundsChanged()
/frameworks/base/core/java/android/transition/
DExplode.java115 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]); in onDisappear()
/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp115 clipBounds.offsetTo(0, 0); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAccessibilityInteractionConnection.java129 mTmpBounds.offsetTo(newX, newY); in performAccessibilityAction()
DPipTouchHandler.java429 outBounds.offsetTo(outBounds.left, toMovementBounds.bottom); in adjustBoundsForRotation()
946 mTmpBounds.offsetTo((int) left, (int) top); in onMove()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java685 mTmpRect.offsetTo(0, mDividerPositionY); in notifySplitScreenBoundsChanged()
687 mTmpRect.offsetTo(mDividerPositionX, 0); in notifySplitScreenBoundsChanged()
1047 crop.offsetTo(-Math.min(dockedTaskRect.left - dockedRect.left, 0), in resizeSplitSurfaces()
1052 crop.offsetTo(-(otherTaskRect.left - otherRect.left), in resizeSplitSurfaces()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsAnimationControlImplTest.java257 rect.offsetTo(0, 0); in assertPosition()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp197 casterRegion.subtractSelf(cornerRect.offsetTo(casterRect.left, casterRect.top)); in expectShadowColor()
199 cornerRect.offsetTo(casterRect.right - casterCornerRadius, casterRect.top)); in expectShadowColor()
201 cornerRect.offsetTo(casterRect.left, casterRect.bottom - casterCornerRadius)); in expectShadowColor()
202 casterRegion.subtractSelf(cornerRect.offsetTo(casterRect.right - casterCornerRadius, in expectShadowColor()
/frameworks/base/graphics/java/android/graphics/
DRectF.java257 public void offsetTo(float newLeft, float newTop) { in offsetTo() method in RectF
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java634 win0.getFrameLw().offsetTo(PARENT_WINDOW_OFFSET, 0); in testGetTransformationMatrix()
645 win1.getFrameLw().offsetTo(WINDOW_OFFSET, 0); in testGetTransformationMatrix()
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp368 sampleArea.offsetTo(600, 600); in TEST_F()

12