Home
last modified time | relevance | path

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

/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.java246 private RectangleList(final List<RoundedRectangleShape> rectangles) { in RectangleList() argument
247 mRectangles = new ArrayList<>(rectangles); in RectangleList()
248 mReversedRectangles = new ArrayList<>(rectangles); in RectangleList()
250 mOutlinePolygonPath = generateOutlinePolygonPath(rectangles); in RectangleList()
318 final List<RoundedRectangleShape> rectangles) { in generateOutlinePolygonPath() argument
320 for (final RoundedRectangleShape shape : rectangles) { in generateOutlinePolygonPath()
514 final List<RectangleWithTextSelectionLayout> rectangles) { in generateDirections() argument
515 final @RoundedRectangleShape.ExpansionDirection int[] result = new int[rectangles.size()]; in generateDirections()
517 final int centerRectangleIndex = rectangles.indexOf(centerRectangle); in generateDirections()
523 if (rectangles.size() == 1) { in generateDirections()
[all …]
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp79 std::vector<std::unique_ptr<FrameRect>> rectangles; member in __anon4c64c0100111::Frame
392 newFrame->rectangles.push_back(std::move(rect)); in presentDisplay()
394 std::sort(newFrame->rectangles.begin(), newFrame->rectangles.end(), layerZOrdering); in presentDisplay()
550 return extractRenderState(mFrames[frame]->rectangles); in getFrameRects()
555 return extractRenderState(mFrames[mFrames.size() - 1]->rectangles); in getLatestFrame()
/frameworks/base/data/keyboards/
DVendor_0e6f_Product_02a4.kl48 # Two overlapping rectangles
DVendor_045e_Product_02e0.kl53 # Two overlapping rectangles
DVendor_045e_Product_02e3.kl50 # Two overlapping rectangles
DVendor_045e_Product_02ea.kl51 # Two overlapping rectangles
DVendor_045e_Product_02d1.kl51 # Two overlapping rectangles
DVendor_045e_Product_02dd.kl51 # Two overlapping rectangles
DVendor_045e_Product_02fd.kl51 # Two overlapping rectangles
/frameworks/rs/script_api/
Drs_graphics.spec563 summary: Draw rectangles in screenspace
565 Low performance function for drawing rectangles in screenspace. This
/frameworks/rs/script_api/include/
Drs_graphics.rsh862 * rsgDrawSpriteScreenspace: Draw rectangles in screenspace
866 * Low performance function for drawing rectangles in screenspace. This