Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DLayoutTest.cpp385 Layout ltrLayout; in TEST_F() local
386 ltrLayout.doLayout(text, range, Bidi::FORCE_LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
393 ASSERT_EQ(ltrLayout.nGlyphs(), rtlLayout.nGlyphs()); in TEST_F()
394 ASSERT_EQ(6u, ltrLayout.nGlyphs()); in TEST_F()
396 size_t nGlyphs = ltrLayout.nGlyphs(); in TEST_F()
398 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(nGlyphs - i - 1)); in TEST_F()
399 EXPECT_EQ(ltrLayout.getGlyphId(i), rtlLayout.getGlyphId(nGlyphs - i - 1)); in TEST_F()
410 Layout ltrLayout; in TEST_F() local
411 ltrLayout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
422 const size_t nGlyphs = ltrLayout.nGlyphs(); in TEST_F()
[all …]