Searched refs:typeface (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java25 * The Typeface class specifies the typeface and intrinsic style of a font.
32 /** The default NORMAL typeface object */
35 * The default BOLD typeface object. Note: this may be not actually be
40 /** The NORMAL style of the default sans serif typeface. */
42 /** The NORMAL style of the default serif typeface. */
44 /** The NORMAL style of the default monospace typeface. */
61 /** Returns the typeface's intrinsic style attributes */
77 * Create a typeface object given a family name, and option style information.
79 * The resulting typeface object can be queried (getStyle()) to discover what
83 * @param style The style (normal, bold, italic) of the typeface
[all...]
H A DPaint.java1063 * Get the paint's typeface object.
1065 * The typeface object identifies which font to use when drawing or
1068 * @return the paint's typeface (or null)
1075 * Set or clear the typeface object.
1077 * Pass null to clear any previous typeface.
1080 * @param typeface May be null. The typeface to be installed in the paint
1081 * @return typeface
1083 public Typeface setTypeface(Typeface typeface) { argument
1085 if (typeface !
2232 native_setTypeface(int native_object, int typeface) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp220 dirFlags(0), typeface(NULL), textSize(0), textSkewX(0), textScaleX(0), flags(0),
230 typeface = paint->getTypeface();
245 typeface(other.typeface),
264 if (lhs.typeface < rhs.typeface) return -1;
265 if (lhs.typeface > rhs.typeface) return +1;
299 hash = JenkinsHashMix(hash, hash_type(typeface));
777 * Return the first typeface i
780 typefaceForScript(const SkPaint* paint, SkTypeface* typeface, hb_script_t script) argument
812 SkTypeface* typeface = paint->getTypeface(); local
876 referenceCachedHBFace(SkTypeface* typeface) argument
[all...]
H A DHarfBuzzNGFaceSkia.cpp140 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);
H A DTextLayoutCache.h100 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);
H A DPaint.cpp247 static SkTypeface* setTypeface(JNIEnv* env, jobject clazz, SkPaint* obj, SkTypeface* typeface) { argument
248 return obj->setTypeface(typeface);
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h36 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL),
48 typeface = paint->getTypeface();
88 SkTypeface* typeface; member in struct:android::uirenderer::ShadowText
H A DTextDropShadowCache.cpp38 hash = JenkinsHashMix(hash, android::hash_type(typeface));
63 if (lhs.typeface < rhs.typeface) return -1;
64 if (lhs.typeface > rhs.typeface) return +1;
/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java189 public void setTypeface(Typeface typeface) { argument
190 if (mTextPaint.getTypeface() != typeface) {
191 mTextPaint.setTypeface(typeface);
274 final Typeface typeface = style.getTypeface();
275 setTypeface(typeface);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java82 public static List<Font> getFonts(Typeface typeface) { argument
83 return getFonts(typeface.native_instance);
H A DPaint_Delegate.java858 /*package*/ static int native_setTypeface(int native_object, int typeface) { argument
865 delegate.mTypeface = Typeface_Delegate.getDelegate(typeface);
867 return typeface;
1128 * Update the {@link Font} object from the typeface, text size and scaling
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialTextsView.java268 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, argument
271 mPaint.setTypeface(typeface);

Completed in 294 milliseconds