Home
last modified time | relevance | path

Searched refs:rectangles (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java318 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/
DSmartSelectSprite.java245 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/
DFakeComposerClient.cpp83 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/
DVendor_0e6f_Product_02a4.kl48 # Two overlapping rectangles
DVendor_045e_Product_02e3.kl50 # Two overlapping rectangles
DVendor_045e_Product_02e0.kl53 # Two overlapping rectangles
DVendor_0738_Product_4718.kl52 # Two overlapping rectangles
DVendor_1532_Product_0a03.kl52 # Two overlapping rectangles
DVendor_0e6f_Product_0133.kl52 # Two overlapping rectangles
DVendor_1bad_Product_0002.kl52 # Two overlapping rectangles
DVendor_1bad_Product_f900.kl52 # Two overlapping rectangles
DVendor_1bad_Product_f025.kl52 # Two overlapping rectangles
DVendor_0738_Product_cb29.kl52 # Two overlapping rectangles
DVendor_0e6f_Product_0147.kl52 # Two overlapping rectangles
DVendor_24c6_Product_5303.kl52 # Two overlapping rectangles
DVendor_24c6_Product_5b02.kl52 # Two overlapping rectangles
DVendor_0e6f_Product_f900.kl52 # Two overlapping rectangles
DVendor_045e_Product_02dd.kl51 # Two overlapping rectangles
DVendor_0079_Product_18d4.kl52 # Two overlapping rectangles
DVendor_24c6_Product_542a.kl52 # Two overlapping rectangles
DVendor_0e6f_Product_02a6.kl52 # Two overlapping rectangles
DVendor_0e6f_Product_0246.kl52 # Two overlapping rectangles
DVendor_0e6f_Product_021f.kl52 # Two overlapping rectangles
DVendor_1430_Product_4748.kl52 # Two overlapping rectangles
DVendor_1532_Product_0037.kl52 # Two overlapping rectangles

12345