/frameworks/base/core/java/android/widget/ |
D | SmartSelectSprite.java | 77 RectangleWithTextSelectionLayout(RectF rectangle, int textSelectionLayout) { in RectangleWithTextSelectionLayout() argument 78 mRectangle = Preconditions.checkNotNull(rectangle); in RectangleWithTextSelectionLayout() 255 for (RoundedRectangleShape rectangle : mReversedRectangles) { in setLeftBoundary() 256 final float rectangleLeftBoundary = boundarySoFar - rectangle.getBoundingWidth(); in setLeftBoundary() 258 rectangle.setStartBoundary(0); in setLeftBoundary() 260 rectangle.setStartBoundary(rectangle.getBoundingWidth()); in setLeftBoundary() 262 rectangle.setStartBoundary( in setLeftBoundary() 263 rectangle.getBoundingWidth() - boundarySoFar + leftBoundary); in setLeftBoundary() 272 for (RoundedRectangleShape rectangle : mRectangles) { in setRightBoundary() 273 final float rectangleRightBoundary = rectangle.getBoundingWidth() + boundarySoFar; in setRightBoundary() [all …]
|
D | SelectionActionModeHelper.java | 405 final RectF rectangle = extractor.apply(list.get(index)); in mergeRectangleIntoList() local 406 if (rectangle.isEmpty()) { in mergeRectangleIntoList() 425 final RectF rectangle = extractor.apply(list.get(index)); in movePointInsideNearestRectangle() local 426 final float candidateY = rectangle.centerY(); in movePointInsideNearestRectangle() 429 if (point.x > rectangle.right) { in movePointInsideNearestRectangle() 430 candidateX = rectangle.right; in movePointInsideNearestRectangle() 431 } else if (point.x < rectangle.left) { in movePointInsideNearestRectangle() 432 candidateX = rectangle.left; in movePointInsideNearestRectangle()
|
D | ScrollView.java | 1631 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, in requestChildRectangleOnScreen() argument 1634 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 1637 return scrollToChildRect(rectangle, immediate); in requestChildRectangleOnScreen()
|
D | HorizontalScrollView.java | 1592 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, in requestChildRectangleOnScreen() argument 1595 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 1598 return scrollToChildRect(rectangle, immediate); in requestChildRectangleOnScreen()
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
D | trace_creator.py | 119 change.crop.rectangle.left, change.crop.rectangle.top, \ 120 change.crop.rectangle.right, change.crop.rectangle.bottom = crop() 122 change.final_crop.rectangle.left, \ 123 change.final_crop.rectangle.top, \ 124 change.final_crop.rectangle.right,\ 125 change.final_crop.rectangle.bottom = final_crop() 217 return rectangle() 220 return rectangle() 238 return [rectangle() in range(x)] 278 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 | 483 cc.rectangle().left(), cc.rectangle().top(), cc.rectangle().right(), in setCrop() 484 cc.rectangle().bottom()); in setCrop() 486 Rect r = Rect(cc.rectangle().left(), cc.rectangle().top(), cc.rectangle().right(), in setCrop() 487 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/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 164 public void onRectangleOnScreenRequestedLocked(int displayId, Rect rectangle) { in onRectangleOnScreenRequestedLocked() argument 167 displayMagnifier.onRectangleOnScreenRequestedLocked(rectangle); in onRectangleOnScreenRequestedLocked() 339 public void onRectangleOnScreenRequestedLocked(Rect rectangle) { in onRectangleOnScreenRequestedLocked() argument 341 Slog.i(LOG_TAG, "Rectangle on screen requested: " + rectangle); in onRectangleOnScreenRequestedLocked() 348 if (magnifiedRegionBounds.contains(rectangle)) { in onRectangleOnScreenRequestedLocked() 352 args.argi1 = rectangle.left; in onRectangleOnScreenRequestedLocked() 353 args.argi2 = rectangle.top; in onRectangleOnScreenRequestedLocked() 354 args.argi3 = rectangle.right; in onRectangleOnScreenRequestedLocked() 355 args.argi4 = rectangle.bottom; in onRectangleOnScreenRequestedLocked()
|
D | Session.java | 404 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { in onRectangleOnScreenRequested() argument 408 mService.onRectangleOnScreenRequested(token, rectangle); in onRectangleOnScreenRequested()
|
D | WindowManagerService.java | 1945 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { in onRectangleOnScreenRequested() argument 1951 window.getDisplayId(), rectangle); in onRectangleOnScreenRequested() local
|
/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 | 194 public boolean requestRectangleOnScreen(Rect rectangle, boolean immediate) { in update() 195 return anchor.requestRectangleOnScreen(rectangle, immediate); in update()
|
/frameworks/base/core/java/android/view/ |
D | ViewParent.java | 340 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, in requestChildRectangleOnScreen() argument
|
D | IWindowSession.aidl | 230 void onRectangleOnScreenRequested(IBinder token, in Rect rectangle); in onRectangleOnScreenRequested() argument
|
D | ViewRootImpl.java | 3863 boolean scrollToRectOrFocus(Rect rectangle, boolean immediate) { in scrollToRectOrFocus() argument 3891 rectangle = null; in scrollToRectOrFocus() 3894 + " rectangle=" + rectangle + " ci=" + ci in scrollToRectOrFocus() 3896 if (focus == lastScrolledFocus && !mScrollMayChange && rectangle == null) { in scrollToRectOrFocus() 3915 if (rectangle == null) { in scrollToRectOrFocus() 3928 mTempRect.set(rectangle); in scrollToRectOrFocus() 8202 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { in requestChildRectangleOnScreen() argument 8203 if (rectangle == null) { in requestChildRectangleOnScreen() 8206 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 8208 final boolean scrolled = scrollToRectOrFocus(rectangle, immediate); in requestChildRectangleOnScreen() [all …]
|
D | View.java | 7554 public boolean requestRectangleOnScreen(Rect rectangle) { 7555 return requestRectangleOnScreen(rectangle, false); 7575 public boolean requestRectangleOnScreen(Rect rectangle, boolean immediate) { 7583 position.set(rectangle); 7588 rectangle.set((int) position.left, (int) position.top, 7591 scrolled |= parent.requestChildRectangleOnScreen(child, rectangle, immediate);
|
D | ViewGroup.java | 1058 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) { in requestChildRectangleOnScreen() argument
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SurfaceInterceptor_test.cpp | 465 bool hasLeft(change.crop().rectangle().left() == CROP_UPDATE.left); in cropUpdateFound() 466 bool hasTop(change.crop().rectangle().top() == CROP_UPDATE.top); in cropUpdateFound() 467 bool hasRight(change.crop().rectangle().right() == CROP_UPDATE.right); in cropUpdateFound() 468 bool hasBottom(change.crop().rectangle().bottom() == CROP_UPDATE.bottom); in cropUpdateFound()
|
/frameworks/native/cmds/surfacereplayer/proto/src/ |
D | trace.proto | 75 required Rectangle rectangle = 1; field
|
/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 | 577 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
|