Home
last modified time | relevance | path

Searched refs:rtlLayout (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/tests/unittest/
DLayoutTest.cpp342 Layout rtlLayout(text, range, Bidi::FORCE_RTL, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local
345 ASSERT_EQ(ltrLayout.nGlyphs(), rtlLayout.nGlyphs()); in TEST_F()
350 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(nGlyphs - i - 1)); in TEST_F()
351 EXPECT_EQ(ltrLayout.getGlyphId(i), rtlLayout.getGlyphId(nGlyphs - i - 1)); in TEST_F()
365 Layout rtlLayout(text, range, Bidi::RTL, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local
374 ASSERT_EQ(nGlyphs, rtlLayout.nGlyphs()); in TEST_F()
378 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(i)); in TEST_F()
379 EXPECT_EQ(ltrLayout.getGlyphId(i), rtlLayout.getGlyphId(i)); in TEST_F()
/frameworks/base/core/java/com/android/internal/widget/
DEmphasizedNotificationButton.java320 final boolean rtlLayout = layoutDirection == LAYOUT_DIRECTION_RTL; in glueIconAndLabel()
328 + "rtlLayout = " + rtlLayout); in glueIconAndLabel()
338 builder.append(rtlLayout ? RIGHT_TO_LEFT_ISOLATE : LEFT_TO_RIGHT_ISOLATE); in glueIconAndLabel()