/external/skia/legacy/src/ports/ |
SkFontHost_sandbox_none.cpp | 12 void SkFontHost::EnsureTypefaceAccessible(const SkTypeface& typeface) {
|
/external/skia/src/ports/ |
SkFontHost_sandbox_none.cpp | 12 void SkFontHost::EnsureTypefaceAccessible(const SkTypeface& typeface) {
|
/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/skia/include/ports/ |
SkTypeface_win.h | 17 * Like the other Typeface create methods, this returns a new reference to the 18 * corresponding typeface for the specified logfont. The caller is responsible 24 * Copy the LOGFONT associated with this typeface into the lf parameter. Note 25 * that the lfHeight will need to be set afterwards, since the typeface does 27 * typeface may be NULL, in which case we return the logfont for the default font. 29 SK_API void SkLOGFONTFromTypeface(const SkTypeface* typeface, LOGFONT* lf);
|
/external/skia/legacy/include/ports/ |
SkTypeface_win.h | 17 * Like the other Typeface create methods, this returns a new reference to the 18 * corresponding typeface for the specified logfont. The caller is responsible 24 * Copy the LOGFONT associated with this typeface into the lf parameter. Note 25 * that the lfHeight will need to be set afterwards, since the typeface does 27 * typeface may be NULL, in which case we return the logfont for the default font. 29 SK_API void SkLOGFONTFromTypeface(const SkTypeface* typeface, LOGFONT* lf);
|
/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...] |
/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();
|
/external/skia/src/pdf/ |
SkPDFFontImpl.h | 32 SkPDFType0Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface); 45 SkPDFCIDFont(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, 61 SkPDFType1Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, 78 SkPDFType3Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface,
|
SkPDFFont.h | 86 /** Returns the typeface represented by this class. Returns NULL for the 87 * default typeface. 89 SkTypeface* typeface(); 114 /** Get the font resource for the passed typeface and glyphID. The 119 * @param typeface The typeface to find. 122 static SkPDFFont* GetFontResource(SkTypeface* typeface, 135 SkPDFFont(SkAdvancedTypefaceMetrics* fontInfo, SkTypeface* typeface, 166 SkTypeface* typeface, uint16_t glyphID,
|
SkPDFFont.cpp | 544 const SkTypeface* typeface, 548 SkFontHost::OpenStream(SkTypeface::UniqueID(typeface))); 723 SkTypeface* SkPDFFont::typeface() { 756 SkPDFFont* SkPDFFont::GetFontResource(SkTypeface* typeface, uint16_t glyphID) { 758 const uint32_t fontID = SkTypeface::UniqueID(typeface); 808 SkPDFFont* font = Create(fontMetrics.get(), typeface, glyphID, 847 SkPDFFont::SkPDFFont(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, 850 fTypeface(typeface), 854 SkSafeRef(typeface); 867 SkTypeface* typeface, uint16_t glyphID [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
FontCustomPlatformData.h | 49 SkTypeface* typeface() const { return m_typeface; } function in class:WebCore::FontCustomPlatformData
|
FontPlatformData.h | 61 FontPlatformData(const FontPlatformData& src, SkTypeface* typeface); 94 SkTypeface* typeface() const { return m_typeface; } function in class:WebCore::FontPlatformData
|
/external/skia/include/core/ |
SkFontHost.h | 29 underlying font file/data, not unique per typeface instance. Thus it is 30 possible/common to request a typeface for the same font more than once 32 return seperate typeface instances in that case, or it may choose to use a 33 cache and return the same instance (but calling typeface->ref(), since the 43 a typeface that allows access to that data. 44 3) Each typeface instance carries a 32bit ID for its corresponding font. 52 /** Return a new, closest matching typeface given either an existing family 53 (specified by a typeface in that family) or by a familyName and a 63 /** Return a new typeface given the data buffer. If the data does not 66 If a typeface instance is returned, the caller is responsible fo [all...] |
/external/skia/legacy/src/animator/ |
SkPaintParts.cpp | 71 // Typeface 87 if (fPaint->typeface != (SkDrawTypeface*) -1) 89 fPaint->typeface = this; 96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str());
|
SkDrawPaint.cpp | 60 SK_MEMBER(typeface, Typeface), 75 textSkewX(SK_ScalarNaN), typeface((SkDrawTypeface*) -1), 90 delete typeface; 143 typeface->dump(maker); 210 if (fOwnsTypeface && maker.resolveID(typeface, original->typeface) == false) 261 if (typeface == NULL) 263 else if (typeface != (SkDrawTypeface*) -1) 264 SkSafeUnref(paint->setTypeface(typeface->getTypeface())) [all...] |
/external/skia/src/animator/ |
SkPaintParts.cpp | 71 // Typeface 87 if (fPaint->typeface != (SkDrawTypeface*) -1) 89 fPaint->typeface = this; 96 SkDebugf("%*s<typeface fontName=\"%s\" ", SkDisplayList::fIndent, "", fontName.c_str());
|
SkDrawPaint.cpp | 60 SK_MEMBER(typeface, Typeface), 75 textSkewX(SK_ScalarNaN), typeface((SkDrawTypeface*) -1), 90 delete typeface; 143 typeface->dump(maker); 210 if (fOwnsTypeface && maker.resolveID(typeface, original->typeface) == false) 261 if (typeface == NULL) 263 else if (typeface != (SkDrawTypeface*) -1) 264 SkSafeUnref(paint->setTypeface(typeface->getTypeface())) [all...] |
/external/webkit/Source/WebCore/platform/graphics/skia/ |
FontCustomPlatformData.h | 63 explicit FontCustomPlatformData(SkTypeface* typeface) 64 : m_fontReference(typeface)
|
FontCustomPlatformData.cpp | 192 SkTypeface* typeface = SkTypeface::CreateFromStream(stream); 193 if (!typeface) 195 return new FontCustomPlatformData(typeface);
|
/frameworks/base/core/jni/android/graphics/ |
TextLayoutCache.cpp | 221 dirFlags(0), typeface(NULL), textSize(0), textSkewX(0), textScaleX(0), flags(0), 230 typeface = paint->getTypeface(); 246 typeface(other.typeface), 266 if (lhs.typeface < rhs.typeface) return -1; 267 if (lhs.typeface > rhs.typeface) return +1; 304 hash = JenkinsHashMix(hash, hash_type(typeface)); 771 * Return the first typeface in the logical change, starting with this typeface 806 SkTypeface* typeface = paint->getTypeface(); local [all...] |
/external/skia/legacy/src/core/ |
SkTypefaceCache.cpp | 99 SkTypeface* typeface = Get().findByProc(proc, ctx); local 100 SkSafeRef(typeface); 101 return typeface;
|
/frameworks/base/libs/hwui/ |
TextDropShadowCache.h | 34 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL), 46 typeface = paint->getTypeface(); 86 SkTypeface* typeface; member in struct:android::uirenderer::ShadowText
|
TextDropShadowCache.cpp | 37 hash = JenkinsHashMix(hash, android::hash_type(typeface)); 62 if (lhs.typeface < rhs.typeface) return -1; 63 if (lhs.typeface > rhs.typeface) return +1;
|
/external/skia/src/core/ |
SkTypefaceCache.cpp | 123 SkTypeface* typeface = Get().findByProcAndRef(proc, ctx); local 124 return typeface;
|
/external/skia/legacy/include/core/ |
SkFontHost.h | 30 underlying font file/data, not unique per typeface instance. Thus it is 31 possible/common to request a typeface for the same font more than once 33 return seperate typeface instances in that case, or it may choose to use a 34 cache and return the same instance (but calling typeface->ref(), since the 44 a typeface that allows access to that data. 45 3) Each typeface instance carries a 32bit ID for its corresponding font. 53 /** Return a new, closest matching typeface given either an existing family 54 (specified by a typeface in that family) or by a familyName and a 66 /** Return a new typeface given the data buffer. If the data does not 69 If a typeface instance is returned, the caller is responsible fo [all...] |