/frameworks/minikin/tests/unittest/ |
D | LayoutLetterSpacingTest.cpp | 111 LayoutTest({15}, {0}, "I", LTR, LEFT_EDGE); in TEST_F() 117 LayoutTest({15, 20}, {0, 20}, "II", LTR, LEFT_EDGE); in TEST_F() 123 LayoutTest({15, 20, 20}, {0, 20, 40}, "III", LTR, LEFT_EDGE); in TEST_F() 136 LayoutTest({15, 0}, {0}, "fi", LTR, LEFT_EDGE); in TEST_F() 142 LayoutTest({15, 0, 20, 0}, {0, 20}, "fifi", LTR, LEFT_EDGE); in TEST_F() 148 LayoutTest({15, 0, 20, 0, 20, 0}, {0, 20, 40}, "fififi", LTR, LEFT_EDGE); in TEST_F() 163 LayoutTest({15, 20, 20, 20, 20, 20}, {0, 20, 40, 60, 80, 100}, LLRRLL, LTR, LEFT_EDGE); in TEST_F() 169 LayoutTest({20, 20, 20, 20, 15, 20}, {0, 20, 40, 60, 80, 100}, LLRRLL, RTL, LEFT_EDGE); in TEST_F() 175 LayoutTest({20, 15, 20, 20, 20, 20}, {0, 20, 40, 60, 80, 100}, RRLLRR, LTR, LEFT_EDGE); in TEST_F() 181 LayoutTest({20, 20, 20, 20, 20, 15}, {0, 20, 40, 60, 80, 100}, RRLLRR, RTL, LEFT_EDGE); in TEST_F() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextLineLetterSpacingTest.kt | 30 const val LEFT_EDGE = Paint.TEXT_RUN_FLAG_LEFT_EDGE constant 33 const val WHOLE_LINE = LEFT_EDGE or RIGHT_EDGE 55 .isEqualTo(LEFT_EDGE) in calculateRunFlagTest() 64 .isEqualTo(LEFT_EDGE) in calculateRunFlagTest() 69 .isEqualTo(LEFT_EDGE) in calculateRunFlagTest() 84 .isEqualTo(LEFT_EDGE) in calculateRunFlagTest() 95 LEFT_EDGE, false, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 96 .isEqualTo(LEFT_EDGE) in resolveRunFlagForSubSequenceTest() 98 LEFT_EDGE, true, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 99 .isEqualTo(LEFT_EDGE) in resolveRunFlagForSubSequenceTest() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 56 if (runFlag & RunFlag::LEFT_EDGE) { in adjustGlyphLetterSpacingEdge() 109 if (runFlag & RunFlag::LEFT_EDGE) { in adjustAdvanceLetterSpacingEdge() 183 if (runFlag & RunFlag::LEFT_EDGE) { in adjustBoundsLetterSpacingEdge()
|
/frameworks/base/libs/hwui/hwui/ |
D | PaintImpl.cpp | 190 if (mRunFlag & minikin::RunFlag::LEFT_EDGE) { in getJavaFlags() 209 rawFlag |= minikin::RunFlag::LEFT_EDGE; in setJavaFlags()
|
/frameworks/minikin/include/minikin/ |
D | Layout.h | 77 LEFT_EDGE = 1, enumerator 81 WHOLE_LINE = LEFT_EDGE | RIGHT_EDGE,
|