Searched defs:typeface (Results 1 - 10 of 10) sorted by relevance

/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/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/core/jni/android/graphics/
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 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 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
/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);
/frameworks/base/graphics/java/android/graphics/
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...]

Completed in 371 milliseconds