/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 318 final List<RectF> rectangles = new ArrayList<>(); in testGetSelectionWithASingleLineSelection() local 321 (left, top, right, bottom, textSelectionLayout) -> rectangles.add( in testGetSelectionWithASingleLineSelection() 333 assertEquals(1, rectangles.size()); in testGetSelectionWithASingleLineSelection() 335 final RectF rectangle = rectangles.get(0); in testGetSelectionWithASingleLineSelection() 349 final List<RectF> rectangles = new ArrayList<>(); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() local 352 (left, top, right, bottom, textSelectionLayout) -> rectangles.add( in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 370 assertEquals(3, rectangles.size()); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 372 final RectF topRectangle = rectangles.get(0); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 373 final RectF topToEndOfLineRectangle = rectangles.get(1); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 374 final RectF bottomLineStartRectangle = rectangles.get(2); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SmartSelectSprite.java | 245 private RectangleList(final List<RoundedRectangleShape> rectangles) { in RectangleList() argument 246 mRectangles = new ArrayList<>(rectangles); in RectangleList() 247 mReversedRectangles = new ArrayList<>(rectangles); in RectangleList() 249 mOutlinePolygonPath = generateOutlinePolygonPath(rectangles); in RectangleList() 317 final List<RoundedRectangleShape> rectangles) { in generateOutlinePolygonPath() argument 319 for (final RoundedRectangleShape shape : rectangles) { in generateOutlinePolygonPath() 513 final List<RectangleWithTextSelectionLayout> rectangles) { in generateDirections() argument 514 final @RoundedRectangleShape.ExpansionDirection int[] result = new int[rectangles.size()]; in generateDirections() 516 final int centerRectangleIndex = rectangles.indexOf(centerRectangle); in generateDirections() 522 if (rectangles.size() == 1) { in generateDirections() [all …]
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.cpp | 83 std::vector<std::unique_ptr<FrameRect>> rectangles; member in __anon4c64c0100111::Frame 399 newFrame->rectangles.push_back(std::move(rect)); in presentDisplay() 401 std::sort(newFrame->rectangles.begin(), newFrame->rectangles.end(), layerZOrdering); in presentDisplay() 854 return extractRenderState(mFrames[frame]->rectangles); in getFrameRects() 859 return extractRenderState(mFrames[mFrames.size() - 1]->rectangles); in getLatestFrame()
|
/frameworks/base/data/keyboards/ |
D | Vendor_0e6f_Product_02a4.kl | 48 # Two overlapping rectangles
|
D | Vendor_045e_Product_02e3.kl | 50 # Two overlapping rectangles
|
D | Vendor_045e_Product_02e0.kl | 53 # Two overlapping rectangles
|
D | Vendor_0738_Product_4718.kl | 52 # Two overlapping rectangles
|
D | Vendor_1532_Product_0a03.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_0133.kl | 52 # Two overlapping rectangles
|
D | Vendor_1bad_Product_0002.kl | 52 # Two overlapping rectangles
|
D | Vendor_1bad_Product_f900.kl | 52 # Two overlapping rectangles
|
D | Vendor_1bad_Product_f025.kl | 52 # Two overlapping rectangles
|
D | Vendor_0738_Product_cb29.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_0147.kl | 52 # Two overlapping rectangles
|
D | Vendor_24c6_Product_5303.kl | 52 # Two overlapping rectangles
|
D | Vendor_24c6_Product_5b02.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_f900.kl | 52 # Two overlapping rectangles
|
D | Vendor_045e_Product_02dd.kl | 51 # Two overlapping rectangles
|
D | Vendor_0079_Product_18d4.kl | 52 # Two overlapping rectangles
|
D | Vendor_24c6_Product_542a.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_02a6.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_0246.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_021f.kl | 52 # Two overlapping rectangles
|
D | Vendor_1430_Product_4748.kl | 52 # Two overlapping rectangles
|
D | Vendor_1532_Product_0037.kl | 52 # Two overlapping rectangles
|