/frameworks/minikin/tests/unittest/ |
D | LayoutLetterSpacingTest.cpp | 112 LayoutTest({15}, {5}, "I", LTR, RIGHT_EDGE); in TEST_F() 118 LayoutTest({20, 15}, {5, 25}, "II", LTR, RIGHT_EDGE); in TEST_F() 124 LayoutTest({20, 20, 15}, {5, 25, 45}, "III", LTR, RIGHT_EDGE); in TEST_F() 137 LayoutTest({15, 0}, {5}, "fi", LTR, RIGHT_EDGE); in TEST_F() 143 LayoutTest({20, 0, 15, 0}, {5, 25}, "fifi", LTR, RIGHT_EDGE); in TEST_F() 149 LayoutTest({20, 0, 20, 0, 15, 0}, {5, 25, 45}, "fififi", LTR, RIGHT_EDGE); in TEST_F() 164 LayoutTest({20, 20, 20, 20, 20, 15}, {5, 25, 45, 65, 85, 105}, LLRRLL, LTR, RIGHT_EDGE); in TEST_F() 170 LayoutTest({20, 15, 20, 20, 20, 20}, {5, 25, 45, 65, 85, 105}, LLRRLL, RTL, RIGHT_EDGE); in TEST_F() 176 LayoutTest({20, 20, 20, 20, 15, 20}, {5, 25, 45, 65, 85, 105}, RRLLRR, LTR, RIGHT_EDGE); in TEST_F() 182 LayoutTest({15, 20, 20, 20, 20, 20}, {5, 25, 45, 65, 85, 105}, RRLLRR, RTL, RIGHT_EDGE); in TEST_F() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextLineLetterSpacingTest.kt | 31 const val RIGHT_EDGE = Paint.TEXT_RUN_FLAG_RIGHT_EDGE constant 33 const val WHOLE_LINE = LEFT_EDGE or RIGHT_EDGE 58 .isEqualTo(RIGHT_EDGE) in calculateRunFlagTest() 61 .isEqualTo(RIGHT_EDGE) in calculateRunFlagTest() 75 .isEqualTo(RIGHT_EDGE) in calculateRunFlagTest() 78 .isEqualTo(RIGHT_EDGE) in calculateRunFlagTest() 101 RIGHT_EDGE, false, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 102 .isEqualTo(RIGHT_EDGE) in resolveRunFlagForSubSequenceTest() 104 RIGHT_EDGE, true, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 105 .isEqualTo(RIGHT_EDGE) in resolveRunFlagForSubSequenceTest() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 76 if (runFlag & RunFlag::RIGHT_EDGE) { in adjustGlyphLetterSpacingEdge() 139 if (runFlag & RunFlag::RIGHT_EDGE) { in adjustAdvanceLetterSpacingEdge() 188 if (runFlag & RunFlag::RIGHT_EDGE) { in adjustBoundsLetterSpacingEdge()
|
/frameworks/base/libs/hwui/hwui/ |
D | PaintImpl.cpp | 193 if (mRunFlag & minikin::RunFlag::RIGHT_EDGE) { in getJavaFlags() 212 rawFlag |= minikin::RunFlag::RIGHT_EDGE; in setJavaFlags()
|
/frameworks/minikin/include/minikin/ |
D | Layout.h | 79 RIGHT_EDGE = 2, enumerator 81 WHOLE_LINE = LEFT_EDGE | RIGHT_EDGE,
|