/frameworks/base/core/java/android/widget/ |
D | SmartSelectSprite.java | 243 private RectangleList(final List<RoundedRectangleShape> rectangles) { in RectangleList() argument 244 mRectangles = new ArrayList<>(rectangles); in RectangleList() 245 mReversedRectangles = new ArrayList<>(rectangles); in RectangleList() 247 mOutlinePolygonPath = generateOutlinePolygonPath(rectangles); in RectangleList() 315 final List<RoundedRectangleShape> rectangles) { in generateOutlinePolygonPath() argument 317 for (final RoundedRectangleShape shape : rectangles) { in generateOutlinePolygonPath() 486 final List<RectangleWithTextSelectionLayout> rectangles) { in generateDirections() argument 487 final @RoundedRectangleShape.ExpansionDirection int[] result = new int[rectangles.size()]; in generateDirections() 489 final int centerRectangleIndex = rectangles.indexOf(centerRectangle); in generateDirections() 495 if (rectangles.size() == 1) { in generateDirections() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 338 final List<RectF> rectangles = new ArrayList<>(); in testGetSelectionWithASingleLineSelection() local 341 (left, top, right, bottom, textSelectionLayout) -> rectangles.add( in testGetSelectionWithASingleLineSelection() 353 assertEquals(1, rectangles.size()); in testGetSelectionWithASingleLineSelection() 355 final RectF rectangle = rectangles.get(0); in testGetSelectionWithASingleLineSelection() 369 final List<RectF> rectangles = new ArrayList<>(); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() local 372 (left, top, right, bottom, textSelectionLayout) -> rectangles.add( in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 390 assertEquals(3, rectangles.size()); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 392 final RectF topRectangle = rectangles.get(0); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 393 final RectF topToEndOfLineRectangle = rectangles.get(1); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 394 final RectF bottomLineStartRectangle = rectangles.get(2); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() [all …]
|
/frameworks/base/data/keyboards/ |
D | Vendor_0e6f_Product_02a4.kl | 48 # Two overlapping rectangles
|
D | Vendor_045e_Product_02e0.kl | 53 # Two overlapping rectangles
|
D | Vendor_045e_Product_02e3.kl | 50 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_0401.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_0139.kl | 52 # Two overlapping rectangles
|
D | Vendor_1532_Product_0a03.kl | 52 # Two overlapping rectangles
|
D | Vendor_24c6_Product_5d04.kl | 52 # Two overlapping rectangles
|
D | Vendor_146b_Product_0601.kl | 52 # Two overlapping rectangles
|
D | Vendor_0f0d_Product_0067.kl | 52 # Two overlapping rectangles
|
D | Vendor_12ab_Product_0301.kl | 52 # Two overlapping rectangles
|
D | Vendor_045e_Product_02dd.kl | 51 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_0246.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_0147.kl | 52 # Two overlapping rectangles
|
D | Vendor_0738_Product_4718.kl | 52 # Two overlapping rectangles
|
D | Vendor_24c6_Product_5300.kl | 52 # Two overlapping rectangles
|
D | Vendor_24c6_Product_5397.kl | 52 # Two overlapping rectangles
|
D | Vendor_1bad_Product_f028.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_0346.kl | 52 # Two overlapping rectangles
|
D | Vendor_0e6f_Product_0131.kl | 52 # Two overlapping rectangles
|
D | Vendor_1bad_Product_f900.kl | 52 # Two overlapping rectangles
|
D | Vendor_15e4_Product_3f10.kl | 52 # Two overlapping rectangles
|
D | Vendor_1430_Product_4748.kl | 52 # Two overlapping rectangles
|
D | Vendor_11c9_Product_55f0.kl | 52 # Two overlapping rectangles
|