Searched refs:typeface (Results 1 - 9 of 9) 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.java963 * Get the paint's typeface object.
965 * The typeface object identifies which font to use when drawing or
968 * @return the paint's typeface (or null)
975 * Set or clear the typeface object.
977 * Pass null to clear any previous typeface.
980 * @param typeface May be null. The typeface to be installed in the paint
981 * @return typeface
983 public Typeface setTypeface(Typeface typeface) { argument
985 if (typeface !
2207 native_setTypeface(int native_object, int typeface) argument
[all...]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h35 ShadowText(): radius(0), len(0), textSize(0.0f), typeface(NULL) {
45 typeface = paint->getTypeface();
65 SkTypeface* typeface; member in struct:android::uirenderer::ShadowText
88 LTE_INT(typeface) {
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp226 dirFlags(0), typeface(NULL), textSize(0), textSkewX(0), textScaleX(0), flags(0),
235 typeface = paint->getTypeface();
251 typeface(other.typeface),
271 if (lhs.typeface < rhs.typeface) return -1;
272 if (lhs.typeface > rhs.typeface) return +1;
754 * Return the first typeface in the logical change, starting with this typeface,
761 typefaceForScript(const SkPaint* paint, SkTypeface* typeface, HB_Script script) argument
794 SkTypeface* typeface = paint->getTypeface(); local
900 getCachedHBFace(SkTypeface* typeface) argument
[all...]
H A DHarfbuzzSkia.cpp193 SkTypeface* typeface = static_cast<SkTypeface*>(font); local
195 if (!typeface) {
199 const size_t tableSize = SkFontHost::GetTableSize(typeface->uniqueID(), tag);
210 SkFontHost::GetTableData(typeface->uniqueID(), tag, 0, tableSize, buffer);
H A DTextLayoutCache.h94 SkTypeface* typeface; member in class:android::TextLayoutCacheKey
194 * Skia default typeface to be returned if we cannot resolve script
221 SkTypeface* typefaceForScript(const SkPaint* paint, SkTypeface* typeface,
236 SkTypeface* getCachedTypeface(SkTypeface** typeface, HB_Script script, SkTypeface::Style style);
237 HB_Face getCachedHBFace(SkTypeface* typeface);
H A DPaint.cpp243 static SkTypeface* setTypeface(JNIEnv* env, jobject clazz, SkPaint* obj, SkTypeface* typeface) { argument
244 return obj->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;
1157 * Update the {@link Font} object from the typeface, text size and scaling

Completed in 797 milliseconds