Searched refs:getFont (Results 1 - 22 of 22) sorted by relevance

/frameworks/support/compat/tests/java/android/support/v4/content/res/
H A DResourcesCompatTest.java292 ResourcesCompat.getFont(mContext, -1);
297 Typeface font = ResourcesCompat.getFont(mContext, R.font.samplefont);
305 Typeface font = ResourcesCompat.getFont(mContext, R.font.samplexmlfont);
315 ResourcesCompat.getFont(mContext, R.font.invalid_xmlfamily));
321 assertNull(ResourcesCompat.getFont(mContext, R.font.invalid_xmlempty));
329 Typeface font = ResourcesCompat.getFont(mContext, R.font.samplefont);
330 Typeface font2 = ResourcesCompat.getFont(mContext, R.font.samplefont);
337 Typeface font = ResourcesCompat.getFont(mContext, R.font.samplexmlfont);
338 Typeface font2 = ResourcesCompat.getFont(mContext, R.font.samplexmlfont);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatTextViewTest.java162 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont);
170 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplexmlfont);
194 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont);
202 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplexmlfont);
210 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplefont);
218 Typeface expected = ResourcesCompat.getFont(mActivity, R.font.samplexmlfont);
/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.h63 const minikin::MinikinFont* nextFont = layout.getFont(i);
/frameworks/support/compat/java/android/support/v4/content/res/
H A DResourcesCompat.java193 public static Typeface getFont(@NonNull Context context, @FontRes int id) method in class:ResourcesCompat
200 return context.getResources().getFont(id);
207 public static Typeface getFont(@NonNull Context context, @FontRes int id, TypedValue value, method in class:ResourcesCompat
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTintTypedArray.java112 public Typeface getFont(@StyleableRes int index, int style, @NonNull TextView targetView) { method in class:TintTypedArray
114 return mWrapped.getFont(index);
123 return ResourcesCompat.getFont(mContext, resourceId, mTypedValue, style, targetView);
H A DAppCompatTextHelper.java208 mFontTypeface = a.getFont(fontFamilyId, mStyle, mView);
/frameworks/minikin/include/minikin/
H A DLayout.h84 const MinikinFont* getFont(int i) const;
H A DFontFamily.h139 const std::shared_ptr<MinikinFont>& getFont(size_t index) const { function in class:minikin::FontFamily
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java102 Font font = ffd.getFont(weight, isItalic);
116 Font font2 = ffd2.getFont(weight, isItalic);
H A DFontFamily_Delegate.java178 public Font getFont(int desiredWeight, boolean isItalic) { method in class:FontFamily_Delegate
211 * {@link #getFont(int, boolean)} returns an empty list, it means that an error occurred while
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java375 public static Typeface getFont(String fontName, BridgeContext context, Theme theme, boolean method in class:ResourceHelper
446 public static Typeface getFont(ResourceValue value, BridgeContext context, Theme theme) { method in class:ResourceHelper
451 return getFont(value.getValue(), context, theme, value.isFramework());
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java792 static Typeface getFont(Resources resources, int id) throws method in class:Resources_Delegate
796 return ResourceHelper.getFont(value.getSecond(), resources.mContext, null);
806 static Typeface getFont(Resources resources, TypedValue outValue, int id) throws method in class:Resources_Delegate
810 return ResourceHelper.getFont(outValue.string.toString(), resources.mContext, null,
H A DBridgeTypedArray.java710 public Typeface getFont(int index) { method in class:BridgeTypedArray
716 return ResourceHelper.getFont(value, mContext, mTheme);
/frameworks/rs/
H A DrsContext.h142 Font * getFont() {return mFont.get();} function in class:android::renderscript::Context
H A DrsContext.cpp78 mFont.set(con->getFont());
219 ObjectBaseRef<Font> lastFont(getFont());
H A DrsFont.cpp752 Font *currentFont = mRSC->getFont();
/frameworks/minikin/tests/unittest/
H A DLayoutTest.cpp368 EXPECT_EQ(ltrLayout.getFont(i), rtlLayout.getFont(nGlyphs - i - 1));
/frameworks/base/core/java/android/content/res/
H A DResources.java354 @NonNull public Typeface getFont(@FontRes int id) throws NotFoundException { method in class:Resources
371 Typeface getFont(@NonNull TypedValue value, @FontRes int id) throws NotFoundException { method in class:Resources
383 array.getFont(i);
H A DTypedArray.java972 public Typeface getFont(@StyleableRes int index) { method in class:TypedArray
983 return mResources.getFont(value, value.resourceId);
/frameworks/minikin/libs/minikin/
H A DLayout.cpp1067 const MinikinFont* Layout::getFont(int i) const { function in class:minikin::Layout
/frameworks/base/core/java/android/widget/
H A DTextView.java918 fontTypeface = appearance.getFont(attr);
1238 fontTypeface = a.getFont(attr);
3422 fontTypeface = ta.getFont(R.styleable.TextAppearance_fontFamily);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 470 milliseconds