Home
last modified time | relevance | path

Searched refs:typeface (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DTypeface.java113 Typeface typeface; in create() local
117 typeface = styles.get(style); in create()
118 if (typeface != null) { in create()
119 return typeface; in create()
123 typeface = new Typeface(nativeCreateFromTypeface(ni, style)); in create()
128 styles.put(style, typeface); in create()
130 return typeface; in create()
210 Typeface typeface = (Typeface) o; in equals()
212 return mStyle == typeface.mStyle && native_instance == typeface.native_instance; in equals()
DPaint.java981 public Typeface setTypeface(Typeface typeface) { in setTypeface() argument
983 if (typeface != null) { in setTypeface()
984 typefaceNative = typeface.native_instance; in setTypeface()
987 mTypeface = typeface; in setTypeface()
988 return typeface; in setTypeface()
2131 int typeface); in native_setTypeface() argument
/frameworks/base/core/jni/android/graphics/
DTextLayoutCache.cpp221 dirFlags(0), typeface(NULL), textSize(0), textSkewX(0), textScaleX(0), flags(0), in TextLayoutCacheKey()
230 typeface = paint->getTypeface(); in TextLayoutCacheKey()
246 typeface(other.typeface), in TextLayoutCacheKey()
266 if (lhs.typeface < rhs.typeface) return -1; in compare()
267 if (lhs.typeface > rhs.typeface) return +1; in compare()
304 hash = JenkinsHashMix(hash, hash_type(typeface)); in hash()
774 SkTypeface* TextLayoutShaper::typefaceForScript(const SkPaint* paint, SkTypeface* typeface, in typefaceForScript() argument
777 if (typeface) { in typefaceForScript()
778 currentStyle = typeface->style(); in typefaceForScript()
780 typeface = SkCreateTypefaceForScriptNG(script, currentStyle); in typefaceForScript()
[all …]
DTextLayoutCache.h101 SkTypeface* typeface; variable
204 SkTypeface* typefaceForScript(const SkPaint* paint, SkTypeface* typeface,
219 … SkTypeface* setCachedTypeface(SkTypeface** typeface, hb_script_t script, SkTypeface::Style style);
220 hb_face_t* referenceCachedHBFace(SkTypeface* typeface);
DHarfBuzzNGFaceSkia.cpp140 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); in harfbuzzSkiaReferenceTable() local
141 SkFontID uniqueID = typeface->uniqueID(); in harfbuzzSkiaReferenceTable()
DPaint.cpp243 static SkTypeface* setTypeface(JNIEnv* env, jobject clazz, SkPaint* obj, SkTypeface* typeface) { in setTypeface() argument
244 return obj->setTypeface(typeface); in setTypeface()
/frameworks/base/libs/hwui/
DTextDropShadowCache.cpp37 hash = JenkinsHashMix(hash, android::hash_type(typeface)); in hash()
62 if (lhs.typeface < rhs.typeface) return -1; in compare()
63 if (lhs.typeface > rhs.typeface) return +1; in compare()
DTextDropShadowCache.h34 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL), in ShadowText()
46 typeface = paint->getTypeface(); in ShadowText()
86 SkTypeface* typeface; member
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java82 public static List<Font> getFonts(Typeface typeface) { in getFonts() argument
83 return getFonts(typeface.native_instance); in getFonts()
DPaint_Delegate.java859 /*package*/ static int native_setTypeface(int native_object, int typeface) { in native_setTypeface() argument
866 delegate.mTypeface = Typeface_Delegate.getDelegate(typeface); in native_setTypeface()
868 return typeface; in native_setTypeface()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialTextsView.java257 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, in drawTexts() argument
260 mPaint.setTypeface(typeface); in drawTexts()
/frameworks/base/docs/html/
Dlicense.jd67 style="margin:0;padding:0 2px;vertical-align:baseline" /> stylized typeface logo) are not included
Dlegal.jd26 You may not use the logo or the logo's custom typeface.</p>
/frameworks/base/docs/html/distribute/googleplay/promote/
Dbrand.jd80 <p>The custom typeface may not be used.</p>
/frameworks/base/docs/html/guide/topics/ui/
Dthemes.jd52 android:typeface="monospace"
98 &lt;item name="android:typeface"&gt;monospace&lt;/item&gt;
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd227 <li>Draw text using {@link android.graphics.Canvas#drawText drawText()}. Specify the typeface by
/frameworks/base/docs/html/about/versions/
Dandroid-4.0-highlights.jd80 <strong>new typeface</strong> optimized for high-resolution screens improves
/frameworks/base/api/
Dcurrent.txt1121 field public static final int typeface = 16842902; // 0x1010096