Searched refs:CHAR_WIDTH (Results 1 – 3 of 3) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | GreedyLineBreakerTest.cpp | 664 constexpr float CHAR_WIDTH = 0.0; in TEST_F() local 677 builder.addCustomRun<ConstantRun>(Range(0, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F() 697 builder.addCustomRun<ConstantRun>(Range(0, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F() 713 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 727 builder.addCustomRun<ConstantRun>(Range(0, 18), "en-US", CHAR_WIDTH, ASCENT, DESCENT); in TEST_F() 728 builder.addCustomRun<ConstantRun>(Range(18, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F() 748 builder.addCustomRun<ConstantRun>(Range(0, 18), "en-US", CHAR_WIDTH, ASCENT, DESCENT); in TEST_F() 749 builder.addCustomRun<ConstantRun>(Range(18, textBuf.size()), "fr-FR", CHAR_WIDTH, ASCENT, in TEST_F() 797 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 812 builder.addCustomRun<ConstantRun>(Range(0, 18), "en-US", CHAR_WIDTH, ASCENT, DESCENT); in TEST_F() [all …]
|
D | OptimalLineBreakerTest.cpp | 930 constexpr float CHAR_WIDTH = 0.0; in TEST_F() local 943 builder.addCustomRun<ConstantRun>(Range(0, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F() 962 builder.addCustomRun<ConstantRun>(Range(0, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F() 977 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 992 builder.addCustomRun<ConstantRun>(Range(0, 18), "en-US", CHAR_WIDTH, ASCENT, DESCENT); in TEST_F() 993 builder.addCustomRun<ConstantRun>(Range(18, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F() 1011 builder.addCustomRun<ConstantRun>(Range(0, 18), "en-US", CHAR_WIDTH, ASCENT, DESCENT); in TEST_F() 1012 builder.addCustomRun<ConstantRun>(Range(18, textBuf.size()), "fr-FR", CHAR_WIDTH, ASCENT, in TEST_F() 1096 constexpr float CHAR_WIDTH = 10.0; in TEST_F() local 1109 builder.addCustomRun<ConstantRun>(Range(0, 18), "en-US", CHAR_WIDTH, ASCENT, DESCENT); in TEST_F() [all …]
|
D | MeasuredTextTest.cpp | 28 constexpr float CHAR_WIDTH = 10.0; // Mock implementation always returns 10.0 for advance. variable 54 std::vector<float> expectedWidths = {CHAR_WIDTH, CHAR_WIDTH, REPLACEMENT_WIDTH, in TEST() 55 0, CHAR_WIDTH, CHAR_WIDTH}; in TEST()
|