/frameworks/minikin/tests/unittest/ |
D | MeasuredTextTest.cpp | 168 EXPECT_TRUE(layout.getFont(0)); in TEST() 179 EXPECT_TRUE(layout.getFont(0) && layout.getFont(0) == layout.getFont(1)); in TEST() 193 EXPECT_TRUE(layout.getFont(0)); in TEST() 204 EXPECT_TRUE(layout.getFont(0)); in TEST() 206 EXPECT_EQ(layout.getFont(0), layout.getFont(i)) << i; in TEST() 242 EXPECT_TRUE(layout.getFont(0)); in TEST() 253 EXPECT_TRUE(layout.getFont(0) && layout.getFont(0) == layout.getFont(1)); in TEST() 267 EXPECT_TRUE(layout.getFont(0)); in TEST() 284 EXPECT_TRUE(layout.getFont(0)); in TEST() 315 EXPECT_TRUE(layout.getFont(0)); in TEST() [all …]
|
D | FontCollectionItemizeTest.cpp | 1524 EXPECT_EQ(familyA->getFont(0), runs[0].fakedFont.font); in TEST() 1527 EXPECT_EQ(familyB->getFont(0), runs[0].fakedFont.font); in TEST() 1547 EXPECT_EQ(hasCmapFormat14Family->getFont(0), runs[0].fakedFont.font); in TEST() 1550 EXPECT_EQ(noCmapFormat14Family->getFont(0), runs[0].fakedFont.font); in TEST() 1564 EXPECT_EQ(textEmojiFamily->getFont(0), runs[0].fakedFont.font); in TEST() 1566 EXPECT_EQ(textEmojiFamily->getFont(0), runs[0].fakedFont.font); in TEST() 1569 EXPECT_EQ(colorEmojiFamily->getFont(0), runs[0].fakedFont.font); in TEST() 1571 EXPECT_EQ(colorEmojiFamily->getFont(0), runs[0].fakedFont.font); in TEST() 1574 EXPECT_EQ(textEmojiFamily->getFont(0), runs[0].fakedFont.font); in TEST() 1576 EXPECT_EQ(textEmojiFamily->getFont(0), runs[0].fakedFont.font); in TEST() [all …]
|
D | LayoutTest.cpp | 331 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(nGlyphs - i - 1)); in TEST_F() 359 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(i)); in TEST_F() 361 EXPECT_EQ(ltrLayout.getFont(i), defaultRtlLayout.getFont(i)); in TEST_F()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 120 res.getFont(R.font.samplefont), in testMultithreadCacheStressTest() 121 res.getFont(R.font.samplefont2), in testMultithreadCacheStressTest() 122 res.getFont(R.font.samplefont3), in testMultithreadCacheStressTest() 123 res.getFont(R.font.samplefont4), in testMultithreadCacheStressTest() 124 res.getFont(R.font.samplexmlfont), in testMultithreadCacheStressTest()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Delegate.java | 372 font = ffd.getFont(weight, isItalic); in next() 379 font = ffd.getFont(weight, isItalic); in next() 403 return ffd2.getFont(weight, isItalic); in next() 409 return ffd2.getFont(weight, isItalic); in next()
|
D | BidiRenderer.java | 339 return Font.getFont(Font.SERIF); in getScriptFont()
|
D | FontFamily_Delegate.java | 208 public Font getFont(int desiredWeight, boolean isItalic) { in getFont() method in FontFamily_Delegate
|
/frameworks/minikin/include/minikin/ |
D | FontFamily.h | 48 const Font* getFont(size_t index) const { return &mFonts[index]; } in getFont() function
|
D | Layout.h | 87 const MinikinFont* getFont(int i) const { return mGlyphs[i].font.font->typeface().get(); } in getFont() function
|
/frameworks/minikin/tests/stresstest/ |
D | FontFamilyTest.cpp | 43 hb_font_t* hbFont = family->getFont(0)->baseFont().get(); in TEST_P()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.h | 72 const minikin::MinikinFont* nextFont = layout.getFont(i); in forFontRun()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFamily.java | 155 public @NonNull Font getFont(@IntRange(from = 0) int index) { in getFont() method in FontFamily
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | TypefaceCreatePerfTest.java | 117 Typeface face = r.getFont(R.font.samplefont); in testCreate_fromResources()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 413 public static Typeface getFont(String fontName, BridgeContext context, Theme theme, boolean in getFont() method in ResourceHelper 433 public static Typeface getFont(ResourceValue value, BridgeContext context, Theme theme) { in getFont() method in ResourceHelper 438 return getFont(value.getValue(), context, theme, value.isFramework()); in getFont()
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | FontFamily_Builder_Delegate.java | 115 public Font getFont(int desiredWeight, boolean isItalic) {
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 859 static Typeface getFont(Resources resources, int id) throws in getFont() method in Resources_Delegate 863 return ResourceHelper.getFont(value.getSecond(), getContext(resources), null); in getFont() 873 static Typeface getFont(Resources resources, TypedValue outValue, int id) throws in getFont() method in Resources_Delegate 877 return ResourceHelper.getFont(resVal, getContext(resources), null); in getFont()
|
D | BridgeTypedArray.java | 693 public Typeface getFont(int index) { in getFont() method in BridgeTypedArray 699 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()
|
D | rsFont.cpp | 752 Font *currentFont = mRSC->getFont(); in renderText()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 672 Font bestFont = family.getFont(0); in buildTypeface() 675 final Font candidate = family.getFont(i); in buildTypeface()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 382 @NonNull public Typeface getFont(@FontRes int id) throws NotFoundException { in getFont() method in Resources 399 Typeface getFont(@NonNull TypedValue value, @FontRes int id) throws NotFoundException { in getFont() method in Resources 411 array.getFont(i); in preloadFonts()
|
D | TypedArray.java | 1024 public Typeface getFont(@StyleableRes int index) { in getFont() method in TypedArray 1035 return mResources.getFont(value, value.resourceId); in getFont()
|
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 118 mTypeface = a.getFont(com.android.internal.R.styleable.TextAppearance_fontFamily); in TextAppearanceSpan()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 276 Font bestFont = family.getFont(0); in createFromResources() 279 final Font candidate = family.getFont(i); in createFromResources()
|