Searched refs:RunFlag (Results 1 – 10 of 10) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 72 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() 91 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() 110 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() 129 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() 160 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() 179 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() 199 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() 220 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() 254 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() 273 EndHyphenEdit::NO_EDIT, RunFlag::NONE); in TEST_F() [all …]
|
D | LayoutLetterSpacingTest.cpp | 42 bool isRtl, RunFlag runFlag) { in LayoutTest()
|
D | GreedyLineBreakerTest.cpp | 249 nullptr, nullptr, RunFlag::WHOLE_LINE); in TEST_F()
|
D | OptimalLineBreakerTest.cpp | 1960 nullptr /* bounds */, nullptr /* cluster count */, RunFlag::NONE); in TEST_F()
|
/frameworks/base/libs/hwui/hwui/ |
D | PaintImpl.cpp | 97 mRunFlag = minikin::RunFlag::NONE; in reset() 190 if (mRunFlag & minikin::RunFlag::LEFT_EDGE) { in getJavaFlags() 193 if (mRunFlag & minikin::RunFlag::RIGHT_EDGE) { in getJavaFlags() 207 std::underlying_type<minikin::RunFlag>::type rawFlag = minikin::RunFlag::NONE; in setJavaFlags() 209 rawFlag |= minikin::RunFlag::LEFT_EDGE; in setJavaFlags() 212 rawFlag |= minikin::RunFlag::RIGHT_EDGE; in setJavaFlags() 214 mRunFlag = static_cast<minikin::RunFlag>(rawFlag); in setJavaFlags()
|
D | Paint.h | 148 minikin::RunFlag getRunFlag() const { return mRunFlag; } in getRunFlag() 149 void setRunFlag(minikin::RunFlag runFlag) { mRunFlag = runFlag; } in setRunFlag() 195 minikin::RunFlag mRunFlag = minikin::RunFlag::NONE;
|
D | MinikinUtils.cpp | 75 const minikin::RunFlag minikinRunFlag = text_feature::letter_spacing_justification() in doLayout() 77 : minikin::RunFlag::NONE; in doLayout() 108 const minikin::RunFlag minikinRunFlag = text_feature::letter_spacing_justification() in measureText() 110 : minikin::RunFlag::NONE; in measureText()
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 51 RunFlag runFlag, std::vector<LayoutGlyph>* glyphs) { in adjustGlyphLetterSpacingEdge() 56 if (runFlag & RunFlag::LEFT_EDGE) { in adjustGlyphLetterSpacingEdge() 76 if (runFlag & RunFlag::RIGHT_EDGE) { in adjustGlyphLetterSpacingEdge() 101 RunFlag runFlag, float advance, float* advances) { in adjustAdvanceLetterSpacingEdge() 109 if (runFlag & RunFlag::LEFT_EDGE) { in adjustAdvanceLetterSpacingEdge() 139 if (runFlag & RunFlag::RIGHT_EDGE) { in adjustAdvanceLetterSpacingEdge() 173 void adjustBoundsLetterSpacingEdge(const MinikinPaint& paint, RunFlag runFlag, in adjustBoundsLetterSpacingEdge() 183 if (runFlag & RunFlag::LEFT_EDGE) { in adjustBoundsLetterSpacingEdge() 188 if (runFlag & RunFlag::RIGHT_EDGE) { in adjustBoundsLetterSpacingEdge() 195 EndHyphenEdit endHyphen, RunFlag runFlag) { in doLayout() [all …]
|
/frameworks/minikin/include/minikin/ |
D | Layout.h | 73 enum RunFlag : uint8_t { enum 93 static_cast<RunFlag>(runFlag)); in Layout() 100 doLayout(str, range, bidiFlags, paint, startHyphen, endHyphen, RunFlag::NONE); in Layout() 112 nullptr, RunFlag::NONE); in measureText() 121 clusterCount, RunFlag::NONE); in measureText() 127 uint32_t* clusterCount, RunFlag runFlag); 180 RunFlag runFlag);
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 647 const minikin::RunFlag originalRunFlag = paint->getRunFlag(); in drawTextChars() 648 paint->setRunFlag(minikin::RunFlag::WHOLE_LINE); in drawTextChars() 670 const minikin::RunFlag originalRunFlag = paint->getRunFlag(); in drawTextString() 671 paint->setRunFlag(minikin::RunFlag::WHOLE_LINE); in drawTextString() 728 const minikin::RunFlag originalRunFlag = paint->getRunFlag(); in drawTextOnPathChars() 729 paint->setRunFlag(minikin::RunFlag::WHOLE_LINE); in drawTextOnPathChars() 750 const minikin::RunFlag originalRunFlag = paint->getRunFlag(); in drawTextOnPathString() 751 paint->setRunFlag(minikin::RunFlag::WHOLE_LINE); in drawTextOnPathString()
|