/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
GlyphPageTreeNodeSkia.cpp | 53 SkTypeface* typeface = fontData->platformData().typeface(); local 54 typeface->charsToGlyphs(buffer, SkTypeface::kUTF16_Encoding, glyphs, length);
|
FontCustomPlatformDataSkia.cpp | 47 FontCustomPlatformData::FontCustomPlatformData(PassRefPtr<SkTypeface> typeface) 48 : m_typeface(typeface) 76 RefPtr<SkTypeface> typeface = adoptRef(SkTypeface::CreateFromName(name.c_str(), static_cast<SkTypeface::Style>(style))); local 79 return FontPlatformData(typeface.release(), "", size, syntheticBold, syntheticItalic, orientation); 97 RefPtr<SkTypeface> typeface = adoptRef(FontCache::fontCache()->fontManager()->createFromStream(stream.get())); local 99 RefPtr<SkTypeface> typeface = adoptRef(SkTypeface::CreateFromStream(stream.get())); local 101 if (!typeface) 104 return adoptPtr(new FontCustomPlatformData(typeface.release()));
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
FontCustomPlatformDataMac.cpp | 35 FontCustomPlatformData::FontCustomPlatformData(CGFontRef cgFont, PassRefPtr<SkTypeface> typeface) 37 , m_typeface(typeface) 71 RefPtr<SkTypeface> typeface = adoptRef(SkTypeface::CreateFromStream(stream.get())); local 72 if (!typeface) 75 return adoptPtr(new FontCustomPlatformData(cgFontRef.leakRef(), typeface.release()));
|
FontMac.cpp | 66 SkTypeface* typeface = SkCreateTypefaceFromCTFont(platformData.ctFont()); local 67 SkAutoUnref autoUnref(typeface); 68 paint->setTypeface(typeface);
|
/external/chromium/chrome/common/ |
badge_util.cc | 30 SkTypeface* typeface = SkTypeface::CreateFromName( local 33 // typeface will be NULL. If we don't do manual fallback then we'll crash. 34 if (typeface) { 43 typeface = SkTypeface::CreateFromName( 45 DCHECK(typeface); 48 text_paint->setTypeface(typeface); 50 typeface->unref();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
TypefaceTest.java | 20 import android.graphics.Typeface; 24 import android.graphics.Typeface; 41 // list of family names to try when attempting to find a typeface with a given style 46 * Create a typeface of the given style. If the default font does not support the style, 48 * @return The typeface or null, if no typeface with the given style can be found. 50 private Typeface createTypeface(int style) { 52 Typeface tf = Typeface.create(family, style); 62 Typeface typeface = createTypeface(Typeface.BOLD) local 92 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); local 106 Typeface typeface = Typeface.defaultFromStyle(Typeface.NORMAL); local 133 Typeface typeface = Typeface.createFromAsset(getContext().getAssets(), "samplefont.ttf"); local 146 Typeface typeface = Typeface.createFromFile(file); local 159 Typeface typeface = Typeface.createFromFile(obtainPath()); local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
FontPlatformDataHarfBuzz.h | 92 SkTypeface* typeface() const { return m_typeface.get(); } function in class:WebCore::FontPlatformData
|
HarfBuzzFaceSkia.cpp | 147 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); local 149 const size_t tableSize = typeface->getTableSize(tag); 156 size_t actualSize = typeface->getTableData(tag, 0, tableSize, buffer); 173 hb_face_t* face = hb_face_create_for_tables(harfBuzzSkiaGetTable, m_platformData->typeface(), 0);
|
/external/chromium_org/third_party/skia/src/ports/ |
SkHarfBuzzFont.cpp | 169 SkTypeface* typeface = font->getTypeface(); local 171 const size_t tableSize = typeface->getTableSize(tag); 185 typeface->getTableData(tag, 0, tableSize, buffer);
|
SkFontConfigInterface_android.cpp | 495 // look for it in the typeface cache 867 SkTypeface* typeface; member in struct:TypefaceLookupStruct [all...] |
/external/skia/src/ports/ |
SkHarfBuzzFont.cpp | 169 SkTypeface* typeface = font->getTypeface(); local 171 const size_t tableSize = typeface->getTableSize(tag); 185 typeface->getTableData(tag, 0, tableSize, buffer);
|
/external/chromium_org/chrome/common/ |
badge_util.cc | 71 skia::RefPtr<SkTypeface> typeface = skia::AdoptRef( local 74 // typeface will be NULL. If we don't do manual fallback then we'll crash. 75 if (typeface) { 84 typeface = skia::AdoptRef(SkTypeface::CreateFromName( 86 DCHECK(typeface); 89 text_paint->setTypeface(typeface.get());
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
FontPlatformDataWin.h | 55 // Return a typeface associated with the hfont, and return its size and 96 SkTypeface* typeface() const { return m_typeface.get(); } function in class:WebCore::FontPlatformData
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawPaint.h | 64 SkDrawTypeface* typeface; member in class:SkDrawPaint
|
/external/chromium_org/third_party/skia/src/core/ |
SkTypefaceCache.cpp | 136 SkTypeface* typeface = Get().findByProcAndRef(proc, ctx); local 137 return typeface;
|
/external/skia/src/animator/ |
SkDrawPaint.h | 64 SkDrawTypeface* typeface; member in class:SkDrawPaint
|
/external/skia/src/core/ |
SkTypefaceCache.cpp | 136 SkTypeface* typeface = Get().findByProcAndRef(proc, ctx); local 137 return typeface;
|
/frameworks/base/core/jni/android/graphics/ |
HarfBuzzNGFaceSkia.cpp | 140 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); local 142 const size_t tableSize = typeface->getTableSize(tag); 149 size_t actualSize = typeface->getTableData(tag, 0, tableSize, buffer);
|
TextLayoutCache.h | 100 SkTypeface* typeface; member in class:android::TextLayoutCacheKey 208 SkTypeface* typefaceForScript(const SkPaint* paint, SkTypeface* typeface, 223 SkTypeface* setCachedTypeface(SkTypeface** typeface, hb_script_t script, SkTypeface::Style style); 224 hb_face_t* referenceCachedHBFace(SkTypeface* typeface);
|
TextLayoutCache.cpp | 221 dirFlags(0), typeface(NULL), textSize(0), textSkewX(0), textScaleX(0), flags(0), 231 typeface = paint->getTypeface(); 246 typeface(other.typeface), 265 if (lhs.typeface < rhs.typeface) return -1; 266 if (lhs.typeface > rhs.typeface) return +1; 300 hash = JenkinsHashMix(hash, hash_type(typeface)); 778 * Return the first typeface in the logical change, starting with this typeface 813 SkTypeface* typeface = paint->getTypeface(); local [all...] |
/frameworks/base/libs/hwui/ |
TextDropShadowCache.h | 36 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL), 48 typeface = paint->getTypeface(); 88 SkTypeface* typeface; member in struct:android::uirenderer::ShadowText
|
/external/chromium_org/chrome/renderer/pepper/ |
pepper_flash_renderer_host.cc | 205 // Set up the typeface. 212 skia::RefPtr<SkTypeface> typeface = skia::AdoptRef( local 215 if (!typeface) 266 paint.setTypeface(typeface.get()); // Takes a ref and manages lifetime.
|
/external/chromium_org/ui/gfx/ |
platform_font_pango.cc | 153 // Fast path, we just use the same typeface at a different size 167 skia::RefPtr<SkTypeface> typeface = skia::AdoptRef( local 172 return Font(new PlatformFontPango(typeface, 261 PlatformFontPango::PlatformFontPango(const skia::RefPtr<SkTypeface>& typeface, 265 InitWithTypefaceNameSizeAndStyle(typeface, name, size, style); 302 skia::RefPtr<SkTypeface> typeface = skia::AdoptRef( local 304 if (!typeface) { 307 typeface = skia::AdoptRef( 310 CHECK(typeface) << "Could not find any font: " 316 InitWithTypefaceNameSizeAndStyle(typeface, [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Typeface.java | 25 * The Typeface class specifies the typeface and intrinsic style of a font. 30 public class Typeface { 32 /** The default NORMAL typeface object */ 33 public static final Typeface DEFAULT; 35 * The default BOLD typeface object. Note: this may be not actually be 39 public static final Typeface DEFAULT_BOLD; 40 /** The NORMAL style of the default sans serif typeface. */ 41 public static final Typeface SANS_SERIF; 42 /** The NORMAL style of the default serif typeface. * 113 Typeface typeface; local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
SubtitleView.java | 30 import android.graphics.Typeface; 189 public void setTypeface(Typeface typeface) { 190 if (mTextPaint.getTypeface() != typeface) { 191 mTextPaint.setTypeface(typeface); 274 final Typeface typeface = style.getTypeface(); local 275 setTypeface(typeface);
|