/frameworks/base/core/java/android/widget/ |
D | SmartSelectSprite.java | 74 RectangleWithTextSelectionLayout(RectF rectangle, int textSelectionLayout) { in RectangleWithTextSelectionLayout() argument 75 mRectangle = Objects.requireNonNull(rectangle); in RectangleWithTextSelectionLayout() 252 for (RoundedRectangleShape rectangle : mReversedRectangles) { in setLeftBoundary() 253 final float rectangleLeftBoundary = boundarySoFar - rectangle.getBoundingWidth(); in setLeftBoundary() 255 rectangle.setStartBoundary(0); in setLeftBoundary() 257 rectangle.setStartBoundary(rectangle.getBoundingWidth()); in setLeftBoundary() 259 rectangle.setStartBoundary( in setLeftBoundary() 260 rectangle.getBoundingWidth() - boundarySoFar + leftBoundary); in setLeftBoundary() 269 for (RoundedRectangleShape rectangle : mRectangles) { in setRightBoundary() 270 final float rectangleRightBoundary = rectangle.getBoundingWidth() + boundarySoFar; in setRightBoundary() [all …]
|
D | SelectionActionModeHelper.java | 438 final RectF rectangle = extractor.apply(list.get(index)); in mergeRectangleIntoList() local 439 if (rectangle.isEmpty()) { in mergeRectangleIntoList() 458 final RectF rectangle = extractor.apply(list.get(index)); in movePointInsideNearestRectangle() local 459 final float candidateY = rectangle.centerY(); in movePointInsideNearestRectangle() 462 if (point.x > rectangle.right) { in movePointInsideNearestRectangle() 463 candidateX = rectangle.right; in movePointInsideNearestRectangle() 464 } else if (point.x < rectangle.left) { in movePointInsideNearestRectangle() 465 candidateX = rectangle.left; in movePointInsideNearestRectangle()
|
D | HorizontalScrollView.java | 1616 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, in requestChildRectangleOnScreen() argument 1619 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 1622 return scrollToChildRect(rectangle, immediate); in requestChildRectangleOnScreen()
|
D | ScrollView.java | 1659 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, in requestChildRectangleOnScreen() argument 1662 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 1665 return scrollToChildRect(rectangle, immediate); in requestChildRectangleOnScreen()
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
D | trace_creator.py | 118 change.crop.rectangle.left, change.crop.rectangle.top, \ 119 change.crop.rectangle.right, change.crop.rectangle.bottom = crop() 121 change.final_crop.rectangle.left, \ 122 change.final_crop.rectangle.top, \ 123 change.final_crop.rectangle.right,\ 124 change.final_crop.rectangle.bottom = final_crop() 213 return rectangle() 216 return rectangle() 229 return [rectangle() in range(x)] 269 change.projection.viewport.bottom = rectangle() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 123 public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream) { in compressToJpeg() argument 125 if (!wholeImage.contains(rectangle)) { in compressToJpeg() 138 adjustRectangle(rectangle); in compressToJpeg() 139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); in compressToJpeg() 141 return nativeCompressToJpeg(mData, mFormat, rectangle.width(), in compressToJpeg() 142 rectangle.height(), offsets, mStrides, quality, stream, in compressToJpeg()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcRects.cpp | 164 list<Rectangle> rectangle; variable 300 rectangle.push_back(rect); in main() 309 list = hwcTestCreateLayerList(rectangle.size()); in main() 316 for (std::list<Rectangle>::iterator it = rectangle.begin(); in main() 317 it != rectangle.end(); ++it, ++layer) { in main()
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | Replayer.cpp | 485 cc.rectangle().left(), cc.rectangle().top(), cc.rectangle().right(), in setCrop() 486 cc.rectangle().bottom()); in setCrop() 488 Rect r = Rect(cc.rectangle().left(), cc.rectangle().top(), cc.rectangle().right(), in setCrop() 489 cc.rectangle().bottom()); in setCrop()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2Settings.java | 299 Rect rectangle = source.rect; in legacyAreasToMeteringRectangles() local 303 double oldLeft = (rectangle.left + 1000) / 2000.0; in legacyAreasToMeteringRectangles() 304 double oldTop = (rectangle.top + 1000) / 2000.0; in legacyAreasToMeteringRectangles() 305 double oldRight = (rectangle.right + 1000) / 2000.0; in legacyAreasToMeteringRectangles() 306 double oldBottom = (rectangle.bottom + 1000) / 2000.0; in legacyAreasToMeteringRectangles()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 335 final RectF rectangle = rectangles.get(0); in testGetSelectionWithASingleLineSelection() local 337 assertEquals(0, rectangle.left, 0.0f); in testGetSelectionWithASingleLineSelection() 338 assertEquals(0, rectangle.top, 0.0f); in testGetSelectionWithASingleLineSelection() 339 assertTrue(rectangle.right > 0); in testGetSelectionWithASingleLineSelection() 340 assertTrue(rectangle.bottom > 0); in testGetSelectionWithASingleLineSelection() 455 final RectF rectangle = rectangles.get(0); in testGetSelectionPathWithASingleLineSelection() local 463 assertEquals(rectangle, pathRectangle); in testGetSelectionPathWithASingleLineSelection()
|
/frameworks/native/opengl/tests/testViewport/ |
D | README | 18 Actual: screen is blue with offset white rectangle.
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillPopupWindow.java | 196 public boolean requestRectangleOnScreen(Rect rectangle, boolean immediate) { in update() 197 return anchor.requestRectangleOnScreen(rectangle, immediate); in update()
|
/frameworks/base/core/java/android/view/ |
D | ViewParent.java | 342 public boolean requestChildRectangleOnScreen(@NonNull View child, Rect rectangle, in requestChildRectangleOnScreen() argument
|
D | IWindowSession.aidl | 248 oneway void onRectangleOnScreenRequested(IBinder token, in Rect rectangle); in onRectangleOnScreenRequested() argument
|
D | WindowlessWindowManager.java | 471 android.graphics.Rect rectangle) { in onRectangleOnScreenRequested() argument
|
D | ViewRootImpl.java | 5094 boolean scrollToRectOrFocus(Rect rectangle, boolean immediate) { in scrollToRectOrFocus() argument 5122 rectangle = null; in scrollToRectOrFocus() 5125 + " rectangle=" + rectangle + " ci=" + ci in scrollToRectOrFocus() 5127 if (focus == lastScrolledFocus && !mScrollMayChange && rectangle == null) { in scrollToRectOrFocus() 5146 if (rectangle == null) { in scrollToRectOrFocus() 5159 mTempRect.set(rectangle); in scrollToRectOrFocus() 9982 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { in requestChildRectangleOnScreen() argument 9983 if (rectangle == null) { in requestChildRectangleOnScreen() 9986 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 9988 final boolean scrolled = scrollToRectOrFocus(rectangle, immediate); in requestChildRectangleOnScreen() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 1857 public void onRectangleOnScreenRequested(int displayId, Rect rectangle) { in onRectangleOnScreenRequested() argument 1862 "rectangle={" + rectangle + "}"); in onRectangleOnScreenRequested() 1865 mCallbacksDispatcher.onRectangleOnScreenRequested(displayId, rectangle); in onRectangleOnScreenRequested() 1891 void onRectangleOnScreenRequested(int displayId, Rect rectangle) { in onRectangleOnScreenRequested() argument 1894 FLAGS_MAGNIFICATION_CALLBACK, "rectangle={" + rectangle + "}"); in onRectangleOnScreenRequested() 1897 Slog.i(LOG_TAG, "Rectangle on screen requested: " + rectangle); in onRectangleOnScreenRequested() 1900 mCallbacks::onRectangleOnScreenRequested, displayId, rectangle.left, in onRectangleOnScreenRequested() 1901 rectangle.top, rectangle.right, rectangle.bottom); in onRectangleOnScreenRequested()
|
D | Session.java | 652 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { in onRectangleOnScreenRequested() argument 656 mService.onRectangleOnScreenRequested(token, rectangle); in onRectangleOnScreenRequested()
|
/frameworks/native/cmds/surfacereplayer/proto/src/ |
D | trace.proto | 86 required Rectangle rectangle = 1; field
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SurfaceInterceptor_test.cpp | 541 bool hasLeft(change.crop().rectangle().left() == CROP_UPDATE.left); in cropUpdateFound() 542 bool hasTop(change.crop().rectangle().top() == CROP_UPDATE.top); in cropUpdateFound() 543 bool hasRight(change.crop().rectangle().right() == CROP_UPDATE.right); in cropUpdateFound() 544 bool hasBottom(change.crop().rectangle().bottom() == CROP_UPDATE.bottom); in cropUpdateFound()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rscript | 59 int mWidth = (((int) (8 + width)) & ~3); // bounding rectangle that is a power of 8 big
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rscript | 75 (((int)(8 + width)) & ~3); // bounding rectangle that is a power of 8 big
|
/frameworks/rs/script_api/ |
D | rs_graphics.spec | 546 summary: Draw a rectangle 548 Low performance utility function for drawing a simple rectangle. Not
|
/frameworks/rs/script_api/include/ |
D | rs_graphics.rsh | 843 * rsgDrawRect: Draw a rectangle 847 * Low performance utility function for drawing a simple rectangle. Not
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 1091 public boolean requestRectangleOnScreen(Rect rectangle) { in requestRectangleOnScreen() argument
|