/external/chromium_org/third_party/skia/src/core/ |
SkGlyphCache.h | 28 This class represents a strike: a specific combination of typeface, size, 157 static SkGlyphCache* DetachCache(SkTypeface* typeface, 159 return VisitCache(typeface, desc, DetachProc, NULL); 272 SkAutoGlyphCache(SkTypeface* typeface, const SkDescriptor* desc) { 273 fCache = SkGlyphCache::DetachCache(typeface, desc);
|
SkTypefaceCache.cpp | 121 SkTypeface* typeface = Get().findByProcAndRef(proc, ctx); local 122 return typeface;
|
SkGlyphCache.cpp | 56 SkGlyphCache::SkGlyphCache(SkTypeface* typeface, const SkDescriptor* desc, SkScalerContext* ctx) 58 SkASSERT(typeface); 554 SkGlyphCache* SkGlyphCache::VisitCache(SkTypeface* typeface, 558 if (!typeface) { 559 typeface = SkTypeface::GetDefaultTypeface(); 599 SkScalerContext* ctx = typeface->createScalerContext(desc, true); 602 ctx = typeface->createScalerContext(desc, false); 605 cache = SkNEW_ARGS(SkGlyphCache, (typeface, desc, ctx));
|
/external/skia/src/core/ |
SkGlyphCache.h | 28 This class represents a strike: a specific combination of typeface, size, 157 static SkGlyphCache* DetachCache(SkTypeface* typeface, 159 return VisitCache(typeface, desc, DetachProc, NULL); 272 SkAutoGlyphCache(SkTypeface* typeface, const SkDescriptor* desc) { 273 fCache = SkGlyphCache::DetachCache(typeface, desc);
|
SkTypefaceCache.cpp | 121 SkTypeface* typeface = Get().findByProcAndRef(proc, ctx); local 122 return typeface;
|
SkGlyphCache.cpp | 56 SkGlyphCache::SkGlyphCache(SkTypeface* typeface, const SkDescriptor* desc, SkScalerContext* ctx) 58 SkASSERT(typeface); 554 SkGlyphCache* SkGlyphCache::VisitCache(SkTypeface* typeface, 558 if (!typeface) { 559 typeface = SkTypeface::GetDefaultTypeface(); 599 SkScalerContext* ctx = typeface->createScalerContext(desc, true); 602 ctx = typeface->createScalerContext(desc, false); 605 cache = SkNEW_ARGS(SkGlyphCache, (typeface, desc, ctx));
|
/external/skia/tests/ |
FontNamesTest.cpp | 155 SkAutoTUnref<SkTypeface> typeface(set->createTypeface(j)); 156 if (NULL == typeface.get()) { 162 typeface->getFamilyName(&familyName); 168 typeface->createFamilyNameIterator()); 177 size_t nameTableSize = typeface->getTableSize(nameTag); 182 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get());
|
/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());
|
/frameworks/base/libs/hwui/ |
TextDropShadowCache.cpp | 38 hash = JenkinsHashMix(hash, android::hash_type(typeface)); 63 if (lhs.typeface < rhs.typeface) return -1; 64 if (lhs.typeface > rhs.typeface) return +1;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/ |
FontMac.cpp | 66 SkTypeface* typeface = SkCreateTypefaceFromCTFont(platformData.ctFont()); local 67 SkAutoUnref autoUnref(typeface); 68 paint->setTypeface(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);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/harfbuzz/ |
FontPlatformDataHarfBuzz.h | 89 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/sfnt/ |
SkOTUtils.h | 50 /** Creates an iterator over all the family names in the 'name' table of a typeface. 53 static LocalizedStrings_NameTable* CreateForFamilyNames(const SkTypeface& typeface);
|
SkOTUtils.cpp | 165 SkOTUtils::LocalizedStrings_NameTable::CreateForFamilyNames(const SkTypeface& typeface) { 167 size_t nameTableSize = typeface.getTableSize(nameTag); 172 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get());
|
/external/skia/src/animator/ |
SkDrawPaint.h | 64 SkDrawTypeface* typeface; member in class:SkDrawPaint
|
/external/skia/src/sfnt/ |
SkOTUtils.h | 50 /** Creates an iterator over all the family names in the 'name' table of a typeface. 53 static LocalizedStrings_NameTable* CreateForFamilyNames(const SkTypeface& typeface);
|
SkOTUtils.cpp | 165 SkOTUtils::LocalizedStrings_NameTable::CreateForFamilyNames(const SkTypeface& typeface) { 167 size_t nameTableSize = typeface.getTableSize(nameTag); 172 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get());
|
/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);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintTest.java | 31 import android.graphics.Typeface; 41 private static final Typeface[] TYPEFACES = new Typeface[] { 42 Typeface.DEFAULT, 43 Typeface.DEFAULT_BOLD, 44 Typeface.MONOSPACE, 45 Typeface.SANS_SERIF, 46 Typeface.SERIF, 154 Typeface t = Typeface.DEFAULT [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Typeface_Delegate.java | 33 * Delegate implementing the native methods of android.graphics.Typeface 35 * Through the layoutlib_create tool, the original native methods of Typeface have been replaced 40 * it and the original Typeface class. 82 public static List<Font> getFonts(Typeface typeface) { 83 return getFonts(typeface.native_instance); 143 "Typeface.createFromAsset() is not supported.", null /*throwable*/, null /*data*/); 166 "Typeface.createFromFile() can only work with platform fonts located in " + 200 mStyle = Typeface.NORMAL;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/ |
FontPlatformDataChromiumWin.h | 56 // Return a typeface associated with the hfont, and return its size and 90 SkTypeface* typeface() const { return m_typeface.get(); } function in class:WebCore::FontPlatformData
|
/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);
|
/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);
|