/frameworks/minikin/libs/minikin/ |
MinikinFontFreeType.cpp | 33 mTypeface(typeface) { 38 FT_Done_Face(mTypeface); 42 FT_UInt glyph_index = FT_Get_Char_Index(mTypeface, codepoint); 49 FT_Set_Pixel_Sizes(mTypeface, 0, paint.size); 52 FT_Get_Advance(mTypeface, glyph_id, flags, &advance); 63 FT_Error error = FT_Load_Sfnt_Table(mTypeface, tag, 0, buf, &ftsize); 79 error = FT_Load_Glyph(mTypeface, glyph_id, load_flags); 83 error = FT_Render_Glyph(mTypeface->glyph, FT_RENDER_MODE_NORMAL); 87 FT_Bitmap &bitmap = mTypeface->glyph->bitmap; 91 result->left = mTypeface->glyph->bitmap_left [all...] |
/frameworks/minikin/sample/ |
MinikinSkia.cpp | 10 mTypeface(typeface) { 14 SkSafeUnref(mTypeface); 19 paint.setTypeface(mTypeface); 40 MinikinFontSkia_SetSkiaPaint(mTypeface, &skPaint, paint); 43 ALOGD("width for typeface %d glyph %d = %f", mTypeface->uniqueID(), glyph_id 53 MinikinFontSkia_SetSkiaPaint(mTypeface, &skPaint, paint); 63 const size_t tableSize = mTypeface->getTableSize(tag); 67 const size_t actualSize = mTypeface->getTableData(tag, 0, *size, buf); 74 return mTypeface; 78 return mTypeface->uniqueID() [all...] |
MinikinSkia.h | 25 SkTypeface *mTypeface;
|
/frameworks/base/core/java/android/text/style/ |
TextAppearanceSpan.java | 33 private final String mTypeface; 73 mTypeface = family; 79 mTypeface = "sans"; 83 mTypeface = "serif"; 87 mTypeface = "monospace"; 91 mTypeface = null; 115 mTypeface = family; 123 mTypeface = src.readString(); 157 dest.writeString(mTypeface); 179 return mTypeface; [all...] |
/frameworks/base/core/jni/android/graphics/ |
MinikinSkia.cpp | 28 mTypeface(typeface) { 32 SkSafeUnref(mTypeface); 37 paint.setTypeface(mTypeface); 63 ALOGD("width for typeface %d glyph %d = %f", mTypeface->uniqueID(), glyph_id, skWidth); 83 const size_t tableSize = mTypeface->getTableSize(tag); 87 const size_t actualSize = mTypeface->getTableData(tag, 0, *size, buf); 94 return mTypeface; 98 return mTypeface->uniqueID();
|
MinikinSkia.h | 52 SkTypeface *mTypeface;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyDrawParams.java | 28 public Typeface mTypeface = Typeface.DEFAULT; 57 mTypeface = copyFrom.mTypeface; 89 if (attr.mTypeface != null) { 90 mTypeface = attr.mTypeface;
|
KeyVisualAttributes.java | 31 public final Typeface mTypeface; 103 mTypeface = Typeface.defaultFromStyle( 106 mTypeface = null;
|
/frameworks/minikin/include/minikin/ |
MinikinFontFreeType.h | 67 FT_Face mTypeface;
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
CaptionPropertiesFragment.java | 85 private ListPreference mTypeface; 316 mTypeface = (ListPreference) mCustom.findPreference(PREF_TYPEFACE); 330 mTypeface.setOnPreferenceChangeListener(this); 360 mTypeface.setValue(rawTypeface == null ? "" : rawTypeface); 454 if (mTypeface == preference) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Paint_Delegate.java | 81 private Typeface_Delegate mTypeface; 900 delegate.mTypeface = Typeface_Delegate.getDelegate(typeface); [all...] |
/frameworks/base/core/java/android/widget/ |
RadialTimePickerView.java | 133 private final Typeface mTypeface; 317 mTypeface = Typeface.create("sans-serif", Typeface.NORMAL); 672 drawTextElements(canvas, mTextSize[HOURS], mTypeface, mTextColor[HOURS], 678 drawTextElements(canvas, mTextSize[HOURS_INNER], mTypeface, mTextColor[HOURS_INNER], 695 drawTextElements(canvas, mTextSize[MINUTES], mTypeface, mTextColor[MINUTES], 704 drawTextElements(canvas, mTextSize[MINUTES], mTypeface, mTextColor[MINUTES], [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Paint.java | 46 private Typeface mTypeface; 468 mTypeface = null; 506 mTypeface = paint.mTypeface; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardView.java | 520 paint.setTypeface(params.mTypeface); 542 paint.setTypeface(mKeyDrawParams.mTypeface);
|
Key.java | 645 return params.mTypeface; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiPalettesView.java | 371 alphabetKey.setTypeface(params.mTypeface);
|