/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 | 448 final RectF rectangle = extractor.apply(list.get(index)); in mergeRectangleIntoList() local 449 if (rectangle.isEmpty()) { in mergeRectangleIntoList() 468 final RectF rectangle = extractor.apply(list.get(index)); in movePointInsideNearestRectangle() local 469 final float candidateY = rectangle.centerY(); in movePointInsideNearestRectangle() 472 if (point.x > rectangle.right) { in movePointInsideNearestRectangle() 473 candidateX = rectangle.right; in movePointInsideNearestRectangle() 474 } else if (point.x < rectangle.left) { in movePointInsideNearestRectangle() 475 candidateX = rectangle.left; in movePointInsideNearestRectangle()
|
D | HorizontalScrollView.java | 1691 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, in requestChildRectangleOnScreen() argument 1694 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 1697 return scrollToChildRect(rectangle, immediate); in requestChildRectangleOnScreen()
|
D | ScrollView.java | 1793 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, in requestChildRectangleOnScreen() argument 1796 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 1799 return scrollToChildRect(rectangle, immediate); in requestChildRectangleOnScreen()
|
/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 218 public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream) { in compressToJpeg() argument 228 if (!wholeImage.contains(rectangle)) { in compressToJpeg() 241 adjustRectangle(rectangle); in compressToJpeg() 242 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); in compressToJpeg() 244 return nativeCompressToJpeg(mData, mFormat, rectangle.width(), in compressToJpeg() 245 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/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/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/tests/coretests/src/android/text/ |
D | LayoutTest.java | 355 final RectF rectangle = rectangles.get(0); in testGetSelectionWithASingleLineSelection() local 357 assertEquals(0, rectangle.left, 0.0f); in testGetSelectionWithASingleLineSelection() 358 assertEquals(0, rectangle.top, 0.0f); in testGetSelectionWithASingleLineSelection() 359 assertTrue(rectangle.right > 0); in testGetSelectionWithASingleLineSelection() 360 assertTrue(rectangle.bottom > 0); in testGetSelectionWithASingleLineSelection() 475 final RectF rectangle = rectangles.get(0); in testGetSelectionPathWithASingleLineSelection() local 483 assertEquals(rectangle, pathRectangle); in testGetSelectionPathWithASingleLineSelection()
|
/frameworks/base/libs/hwui/aconfig/ |
D | hwui_flags.aconfig | 38 description: "Draw a solid rectangle background behind text instead of a stroke outline"
|
/frameworks/base/core/java/android/view/ |
D | ViewParent.java | 343 public boolean requestChildRectangleOnScreen(@NonNull View child, Rect rectangle, in requestChildRectangleOnScreen() argument
|
D | IWindowSession.aidl | 262 oneway void onRectangleOnScreenRequested(IBinder token, in Rect rectangle); in onRectangleOnScreenRequested() argument
|
D | WindowlessWindowManager.java | 584 android.graphics.Rect rectangle) { in onRectangleOnScreenRequested() argument
|
D | ViewRootImpl.java | 6044 boolean scrollToRectOrFocus(Rect rectangle, boolean immediate) { in scrollToRectOrFocus() argument 6072 rectangle = null; in scrollToRectOrFocus() 6075 + " rectangle=" + rectangle + " ci=" + ci in scrollToRectOrFocus() 6077 if (focus == lastScrolledFocus && !mScrollMayChange && rectangle == null) { in scrollToRectOrFocus() 6096 if (rectangle == null) { in scrollToRectOrFocus() 6109 mTempRect.set(rectangle); in scrollToRectOrFocus() 11033 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { in requestChildRectangleOnScreen() argument 11034 if (rectangle == null) { in requestChildRectangleOnScreen() 11037 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 11039 final boolean scrolled = scrollToRectOrFocus(rectangle, immediate); in requestChildRectangleOnScreen() [all …]
|
D | View.java | 8449 public boolean requestRectangleOnScreen(Rect rectangle) { 8450 return requestRectangleOnScreen(rectangle, false); 8470 public boolean requestRectangleOnScreen(Rect rectangle, boolean immediate) { 8478 position.set(rectangle); 8483 rectangle.set((int) position.left, (int) position.top, 8486 scrolled |= parent.requestChildRectangleOnScreen(child, rectangle, immediate);
|
D | ViewGroup.java | 1083 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { in requestChildRectangleOnScreen() argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 2124 public void onRectangleOnScreenRequested(int displayId, Rect rectangle) { in onRectangleOnScreenRequested() argument 2129 "rectangle={" + rectangle + "}"); in onRectangleOnScreenRequested() 2132 mCallbacksDispatcher.onRectangleOnScreenRequested(displayId, rectangle); in onRectangleOnScreenRequested() 2158 void onRectangleOnScreenRequested(int displayId, Rect rectangle) { in onRectangleOnScreenRequested() argument 2161 FLAGS_MAGNIFICATION_CALLBACK, "rectangle={" + rectangle + "}"); in onRectangleOnScreenRequested() 2164 Slog.i(LOG_TAG, "Rectangle on screen requested: " + rectangle); in onRectangleOnScreenRequested() 2167 mCallbacks::onRectangleOnScreenRequested, displayId, rectangle.left, in onRectangleOnScreenRequested() 2168 rectangle.top, rectangle.right, rectangle.bottom); in onRectangleOnScreenRequested()
|
D | Session.java | 716 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { in onRectangleOnScreenRequested() argument 720 mService.onRectangleOnScreenRequested(token, rectangle); in onRectangleOnScreenRequested()
|
D | WindowManagerService.java | 2222 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { in onRectangleOnScreenRequested() argument 2230 window.getDisplayId(), rectangle); in onRectangleOnScreenRequested() local
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 1046 public boolean requestRectangleOnScreen(Rect rectangle) { in requestRectangleOnScreen() argument
|
/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
|