Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java372 final RectF topRectangle = rectangles.get(0); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() local
376 assertFalse(topRectangle.intersect(bottomLineStartRectangle)); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
377 assertTrue(topRectangle.top < bottomLineStartRectangle.top); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
378 assertTrue(topRectangle.left == bottomLineStartRectangle.left); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
380 assertFalse(topRectangle.intersect(topToEndOfLineRectangle)); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
382 assertTrue(topRectangle.top == topToEndOfLineRectangle.top); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
383 assertTrue(topRectangle.right == topToEndOfLineRectangle.left); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
384 assertTrue(topRectangle.bottom == topToEndOfLineRectangle.bottom); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
419 final RectF topRectangle = rectangles.get(0); local
424 assertTrue(topRectangle.top == topToEndOfLineRectangle.top);