Searched refs:CHAR_WIDTH (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/minikin/tests/unittest/ |
H A D | GreedyLineBreakerTest.cpp | 691 constexpr float CHAR_WIDTH = 0.0; in TEST_F() local 740 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 824 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 881 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 900 TabStops tabStops(nullptr, 0, CHAR_WIDTH); in TEST_F() 1049 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1144 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1156 builder.addReplacementRun(5, 11, 5 * CHAR_WIDTH, LocaleListCache::getId("en-US")); in TEST_F() 1231 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1244 builder.addReplacementRun(3, 5, 5 * CHAR_WIDTH, LocaleListCache::getId("ja-JP")); in TEST_F() [all …]
|
H A D | OptimalLineBreakerTest.cpp | 930 constexpr float CHAR_WIDTH = 0.0; in TEST_F() local 977 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1096 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1319 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1412 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1500 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1510 builder.addReplacementRun(0, 5, 5 * CHAR_WIDTH, LocaleListCache::getId("en-US")); in TEST_F() 1511 builder.addReplacementRun(5, 8, 3 * CHAR_WIDTH, LocaleListCache::getId("en-US")); in TEST_F() 1575 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1731 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local [all …]
|
H A D | MeasuredTextTest.cpp | 29 constexpr float CHAR_WIDTH = 10.0; // Mock implementation always returns 10.0 for advance. variable 55 std::vector<float> expectedWidths = {CHAR_WIDTH, CHAR_WIDTH, REPLACEMENT_WIDTH, in TEST() 56 0, CHAR_WIDTH, CHAR_WIDTH}; in TEST()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | VariableDateViewControllerTest.kt | 50 private const val CHAR_WIDTH = 10f 174 return text.length * CHAR_WIDTH
|