/frameworks/minikin/tests/unittest/ |
D | MeasuredTextTest.cpp | 241 EXPECT_TRUE(layout.getFont(0)); in TEST() 254 EXPECT_TRUE(layout.getFont(0) && layout.getFont(0) == layout.getFont(1)); in TEST() 270 EXPECT_TRUE(layout.getFont(0)); in TEST() 283 EXPECT_TRUE(layout.getFont(0)); in TEST() 285 EXPECT_EQ(layout.getFont(0), layout.getFont(i)) << i; in TEST() 329 EXPECT_TRUE(layout.getFont(0)); in TEST() 342 EXPECT_TRUE(layout.getFont(0) && layout.getFont(0) == layout.getFont(1)); in TEST() 358 EXPECT_TRUE(layout.getFont(0)); in TEST() 377 EXPECT_TRUE(layout.getFont(0)); in TEST() 415 EXPECT_TRUE(layout.getFont(0)); in TEST() [all …]
|
D | FontCollectionItemizeTest.cpp | 1535 EXPECT_EQ(familyA->getFont(0), runs[0].fakedFont.font.get()); in TEST() 1538 EXPECT_EQ(familyB->getFont(0), runs[0].fakedFont.font.get()); in TEST() 1558 EXPECT_EQ(hasCmapFormat14Family->getFont(0), runs[0].fakedFont.font.get()); in TEST() 1561 EXPECT_EQ(noCmapFormat14Family->getFont(0), runs[0].fakedFont.font.get()); in TEST() 1575 EXPECT_EQ(textEmojiFamily->getFont(0), runs[0].fakedFont.font.get()); in TEST() 1577 EXPECT_EQ(textEmojiFamily->getFont(0), runs[0].fakedFont.font.get()); in TEST() 1580 EXPECT_EQ(colorEmojiFamily->getFont(0), runs[0].fakedFont.font.get()); in TEST() 1582 EXPECT_EQ(colorEmojiFamily->getFont(0), runs[0].fakedFont.font.get()); in TEST() 1585 EXPECT_EQ(textEmojiFamily->getFont(0), runs[0].fakedFont.font.get()); in TEST() 1587 EXPECT_EQ(textEmojiFamily->getFont(0), runs[0].fakedFont.font.get()); in TEST() [all …]
|
D | LayoutTest.cpp | 350 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(nGlyphs - i - 1)); in TEST_F() 378 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(i)); in TEST_F() 380 EXPECT_EQ(ltrLayout.getFont(i), defaultRtlLayout.getFont(i)); in TEST_F()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 143 res.getFont(R.font.samplefont), in testMultithreadCacheStressTest() 144 res.getFont(R.font.samplefont2), in testMultithreadCacheStressTest() 145 res.getFont(R.font.samplefont3), in testMultithreadCacheStressTest() 146 res.getFont(R.font.samplefont4), in testMultithreadCacheStressTest() 147 res.getFont(R.font.samplexmlfont), in testMultithreadCacheStressTest() 235 "sans-serif", Typeface.create(res.getFont(R.font.samplefont), Typeface.NORMAL), in testSetSystemFontMap() 236 "serif", Typeface.create(res.getFont(R.font.samplefont2), Typeface.NORMAL), in testSetSystemFontMap() 237 "monospace", Typeface.create(res.getFont(R.font.samplefont3), Typeface.NORMAL), in testSetSystemFontMap() 238 "sample", Typeface.create(res.getFont(R.font.samplefont4), Typeface.NORMAL), in testSetSystemFontMap() 239 "sample-italic", Typeface.create(res.getFont(R.font.samplefont4), Typeface.ITALIC)); in testSetSystemFontMap()
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | PositionedGlyphs.java | 133 public Font getFont(@IntRange(from = 0) int index) { in getFont() method in PositionedGlyphs 307 if (!getFont(i).equals(that.getFont(i))) return false; in equals() 318 getGlyphId(i), getGlyphX(i), getGlyphY(i), getFont(i)); in hashCode() 332 + " font = " + getFont(i) + " ]"); in toString()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextShaperTest.java | 41 Font font = glyphs.getFont(0); in testFontWithPath() 44 assertWithMessage(message).that(glyphs.getFont(0).getFile()) in testFontWithPath()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | TextInterpolator.kt | 299 var baseFont = base.getFont(start) in <lambda>() 300 var targetFont = target.getFont(start) in <lambda>() 306 val nextBaseFont = base.getFont(i) in <lambda>() 307 val nextTargetFont = target.getFont(i) in <lambda>() 439 val newFont = newGlyphs.getFont(run.start) in <lambda>() 444 require(newFont === newGlyphs.getFont(i)) { in <lambda>()
|
/frameworks/minikin/tests/stresstest/ |
D | FontFamilyTest.cpp | 43 hb_font_t* hbFont = family->getFont(0)->baseFont().get(); in TEST_P()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | ResourcesPerfTest.java | 115 public void getFont() { in getFont() method in ResourcesPerfTest 118 mRes.getFont(R.font.samplefont); in getFont()
|
/frameworks/minikin/include/minikin/ |
D | FontFamily.h | 69 const Font* getFont(size_t index) const { return mFonts[index].get(); } in getFont() function
|
D | Layout.h | 133 const Font* getFont(int i) const { return mGlyphs[i].font.font.get(); } in getFont() function
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | FontInterpolatorTest.kt | 35 .getFont(0) in <lambda>()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | TypefaceCreatePerfTest.java | 144 Typeface face = r.getFont(R.font.samplefont); in testCreate_fromResources()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFamily.java | 350 public @NonNull Font getFont(@IntRange(from = 0) int index) { in getFont() method in FontFamily
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.cpp | 186 … Typeface::resolveDefault(nullptr)->fFontCollection->getFamilyAt(0)->getFont(0)->baseTypeface(); in defaultFont()
|
/frameworks/base/libs/hwui/jni/text/ |
D | TextShaper.cpp | 59 const minikin::Font* font = layout.getFont(i); in shapeTextRun()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 482 public static Typeface getFont(String fontName, BridgeContext context, Theme theme, boolean in getFont() method in ResourceHelper 502 public static Typeface getFont(ResourceValue value, BridgeContext context, Theme theme) { in getFont() method in ResourceHelper 507 return getFont(value.getValue(), context, theme, value.isFramework()); in getFont()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 867 static Typeface getFont(Resources resources, int id) throws in getFont() method in Resources_Delegate 871 return ResourceHelper.getFont(value.second, getContext(resources), null); in getFont() 881 static Typeface getFont(Resources resources, TypedValue outValue, int id) throws in getFont() method in Resources_Delegate 885 return ResourceHelper.getFont(resVal, getContext(resources), null); in getFont()
|
D | BridgeTypedArray.java | 717 public Typeface getFont(int index) { in getFont() method in BridgeTypedArray 723 return ResourceHelper.getFont(value, mContext, mTheme); in getFont()
|
/frameworks/rs/ |
D | rsContext.h | 142 Font * getFont() {return mFont.get();} in getFont() function
|
D | rsContext.cpp | 78 mFont.set(con->getFont()); in PushState() 219 ObjectBaseRef<Font> lastFont(getFont()); in displayDebugStats()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 703 Font bestFont = family.getFont(0); in buildTypeface() 706 final Font candidate = family.getFont(i); in buildTypeface()
|
/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 1040 public Typeface getFont(@StyleableRes int index) { in getFont() method in TypedArray 1052 return mResources.getFont(value, value.resourceId); in getFont()
|
D | Resources.java | 481 @NonNull public Typeface getFont(@FontRes int id) throws NotFoundException { in getFont() method in Resources 498 Typeface getFont(@NonNull TypedValue value, @FontRes int id) throws NotFoundException { in getFont() method in Resources 510 array.getFont(i); in preloadFonts()
|
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 118 mTypeface = a.getFont(com.android.internal.R.styleable.TextAppearance_fontFamily); in TextAppearanceSpan()
|