/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | FloatingContentCoordinatorTest.kt | 85 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/ |
D | PipSnapAlgorithm.java | 96 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/ |
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() 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/ |
D | FloatProperties.kt | 42 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/ |
D | Rect.h | 180 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/ |
D | Rect.h | 180 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/ |
D | Rect.h | 180 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/ |
D | WindowMagnificationController.java | 363 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/ |
D | WindowChangeAnimationSpec.java | 127 startClip.offsetTo(0, 0); in createBoundsInterpolator() 128 endClip.offsetTo(0, 0); in createBoundsInterpolator()
|
D | SurfaceFreezer.java | 130 cropBounds.offsetTo(0, 0); in createSnapshotBuffer()
|
D | RecentsAnimationController.java | 910 mLocalBounds.offsetTo(tmpPos.x, tmpPos.y); 946 mTmpRect.offsetTo(0, 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | FloatingContentCoordinator.kt | 336 proposedNewBounds.offsetTo( in <lambda>()
|
/frameworks/native/libs/ui/ |
D | Rect.cpp | 59 Rect& Rect::offsetTo(int32_t x, int32_t y) { in offsetTo() function in android::Rect
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ShadowGenerator.java | 134 bounds.offsetTo(center - width / 2f, center - height / 2f); in createPill()
|
/frameworks/base/core/java/android/window/ |
D | TaskOrganizerTaskEmbedder.java | 162 screenBounds.offsetTo(0, 0); in notifyBoundsChanged()
|
/frameworks/base/core/java/android/transition/ |
D | Explode.java | 115 bounds.offsetTo(interruptedPosition[0], interruptedPosition[1]); in onDisappear()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | GLFunctorDrawable.cpp | 115 clipBounds.offsetTo(0, 0); in onDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipAccessibilityInteractionConnection.java | 129 mTmpBounds.offsetTo(newX, newY); in performAccessibilityAction()
|
D | PipTouchHandler.java | 429 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/ |
D | DividerView.java | 685 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/ |
D | InsetsAnimationControlImplTest.java | 257 rect.offsetTo(0, 0); in assertPosition()
|
/frameworks/native/libs/renderengine/tests/ |
D | RenderEngineTest.cpp | 197 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/ |
D | RectF.java | 257 public void offsetTo(float newLeft, float newTop) { in offsetTo() method in RectF
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowStateTests.java | 634 win0.getFrameLw().offsetTo(PARENT_WINDOW_OFFSET, 0); in testGetTransformationMatrix() 645 win1.getFrameLw().offsetTo(WINDOW_OFFSET, 0); in testGetTransformationMatrix()
|
/frameworks/native/libs/gui/tests/ |
D | RegionSampling_test.cpp | 368 sampleArea.offsetTo(600, 600); in TEST_F()
|