/external/skia/tools/shape/ |
SkShaper_harfbuzz.cpp | 225 sk_sp<SkTypeface> typeface, 230 ret.init(utf8, utf8Bytes, std::move(typeface), hbFace, std::move(fallbackMgr)); 233 FontRunIterator(const char* utf8, size_t utf8Bytes, sk_sp<SkTypeface> typeface, 237 , fHBFont(hbFace), fTypeface(std::move(typeface)) 244 // If the starting typeface can handle this character, use it. 247 // If not, try to find a fallback typeface 267 // If using a fallback and the initial typeface has this character, stop fallback. 274 // If the current typeface cannot handle this character, stop using it.
|
/external/skqp/src/pdf/ |
SkPDFDevice.h | 244 int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID);
|
SkPDFDevice.cpp | 1417 SkTypeface* typeface = paint.getTypeface(); local [all...] |
/external/skqp/tools/debugger/ |
SkJsonWriteBuffer.cpp | 153 void SkJsonWriteBuffer::writeTypeface(SkTypeface* typeface) { 155 this->append("typeface", Json::Value());
|
/external/skqp/tools/shape/ |
SkShaper_harfbuzz.cpp | 223 sk_sp<SkTypeface> typeface, 228 ret.init(utf8, utf8Bytes, std::move(typeface), hbFace, std::move(fallbackMgr)); 231 FontRunIterator(const char* utf8, size_t utf8Bytes, sk_sp<SkTypeface> typeface, 235 , fHBFont(hbFace), fTypeface(std::move(typeface)) 242 // If the starting typeface can handle this character, use it. 245 // If not, try to find a fallback typeface 265 // If using a fallback and the initial typeface has this character, stop fallback. 272 // If the current typeface cannot handle this character, stop using it.
|
/frameworks/minikin/libs/minikin/ |
Layout.cpp | 617 new SkiaArguments({fakedFont.font->typeface().get(), &paint, fakedFont.fakery}), 624 fakedFont.font->typeface()->GetFontExtent(&verticalExtent, paint, fakedFont.fakery); [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
SwitchCompat.java | 28 import android.graphics.Typeface; 66 * setTypeface() methods control the typeface and style of label text, whereas the 93 // Enum for the "typeface" XML parameter. 336 Typeface tf = null; 339 tf = Typeface.SANS_SERIF; 343 tf = Typeface.SERIF; 347 tf = Typeface.MONOSPACE; 355 * Sets the typeface and style in which the text should be displayed on the 357 * Typeface that you provided does not have all the bits in the 360 public void setSwitchTypeface(Typeface tf, int style) [all...] |
/external/skia/src/core/ |
SkPaint.cpp | 192 DEFINE_REF_FOO(Typeface) 358 MOVE_FIELD(Typeface) [all...] |
/external/skqp/src/core/ |
SkPaint.cpp | 192 DEFINE_REF_FOO(Typeface) 358 MOVE_FIELD(Typeface) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Paint.java | 64 private Typeface mTypeface; 163 * simulated bold effect when drawing a {@link Typeface} that is not [all...] |
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/ |
DigitalWatchFaceService.java | 27 import android.graphics.Typeface; 73 private static final Typeface BOLD_TYPEFACE = 74 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 75 private static final Typeface NORMAL_TYPEFACE = 76 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 235 private Paint createTextPaint(int defaultInteractiveColor, Typeface typeface) [all...] |
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/ |
DigitalWatchFaceService.java | 27 import android.graphics.Typeface; 73 private static final Typeface BOLD_TYPEFACE = 74 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 75 private static final Typeface NORMAL_TYPEFACE = 76 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 235 private Paint createTextPaint(int defaultInteractiveColor, Typeface typeface) [all...] |
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
DigitalWatchFaceService.java | 27 import android.graphics.Typeface; 67 private static final Typeface BOLD_TYPEFACE = 68 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 69 private static final Typeface NORMAL_TYPEFACE = 70 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 229 private Paint createTextPaint(int defaultInteractiveColor, Typeface typeface) [all...] |
FitStepsWatchFaceService.java | 40 import android.graphics.Typeface; 74 private static final Typeface BOLD_TYPEFACE = 75 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 76 private static final Typeface NORMAL_TYPEFACE = 77 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 232 private Paint createTextPaint(int color, Typeface typeface) [all...] |
/external/skia/src/ports/ |
SkFontMgr_android.cpp | 333 virtual SkTypeface* onMatchFaceStyle(const SkTypeface* typeface, 337 if (fStyleSets[i]->fStyles[j].get() == typeface) { 478 // named typeface so that the system/app can provide their own recovery 479 // mechanism. On other platforms we'd provide a typeface from the
|
SkFontHost_FreeType.cpp | 330 static SkFaceRec* ref_ft_face(const SkTypeface* typeface) { 333 const SkFontID fontID = typeface->uniqueID(); 344 std::unique_ptr<SkFontData> data = typeface->makeFontData(); 751 SkScalerContext_FreeType::SkScalerContext_FreeType(sk_sp<SkTypeface> typeface, 754 : SkScalerContext_FreeType_Base(std::move(typeface), effects, desc) [all...] |
/external/skqp/src/ports/ |
SkFontMgr_android.cpp | 333 virtual SkTypeface* onMatchFaceStyle(const SkTypeface* typeface, 337 if (fStyleSets[i]->fStyles[j].get() == typeface) { 478 // named typeface so that the system/app can provide their own recovery 479 // mechanism. On other platforms we'd provide a typeface from the
|
SkFontHost_FreeType.cpp | 330 static SkFaceRec* ref_ft_face(const SkTypeface* typeface) { 333 const SkFontID fontID = typeface->uniqueID(); 344 std::unique_ptr<SkFontData> data = typeface->makeFontData(); 751 SkScalerContext_FreeType::SkScalerContext_FreeType(sk_sp<SkTypeface> typeface, 754 : SkScalerContext_FreeType_Base(std::move(typeface), effects, desc) [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowTextViewTest.java | 18 import android.graphics.Typeface; 370 Typeface typeface = Shadow.newInstanceOf(Typeface.class); local 371 textView.setTypeface(typeface); 372 assertSame(typeface, textView.getTypeface());
|
/external/skqp/tools/ |
sk_tool_utils.cpp | 40 sk_sp<SkTypeface> typeface(fm->matchFamilyStyle(colorEmojiFontName, SkFontStyle())); 41 if (typeface) { 42 return typeface;
|
/frameworks/base/core/java/android/content/res/ |
Resources.java | 46 import android.graphics.Typeface; 352 * Return the Typeface value associated with a particular resource ID. 361 * @return Typeface The Typeface data associated with the resource. 363 @NonNull public Typeface getFont(@FontRes int id) throws NotFoundException { 368 Typeface typeface = impl.loadFont(this, value, id); local 369 if (typeface != null) { 370 return typeface; 380 Typeface getFont(@NonNull TypedValue value, @FontRes int id) throws NotFoundException [all...] |
/external/skia/src/pdf/ |
SkPDFDevice.cpp | 1417 SkTypeface* typeface = paint.getTypeface(); local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
ViewInflater.java | 23 import android.graphics.Typeface; 521 int style = getInteger(Typeface.class, value); 523 textview.setTypeface(Typeface.DEFAULT); 527 } else if (attr.equals("typeface")) { 529 Typeface typeface = textview.getTypeface(); local 530 int style = typeface == null ? 0 : typeface.getStyle(); 531 textview.setTypeface(Typeface.create(value, style)); [all...] |
/external/skia/include/core/ |
SkPaint.h | 463 /** Use increased stroke width when creating glyph bitmaps to approximate a bold typeface. 877 /** Sets SkTypeface to typeface, decreasing SkRefCnt of the previous SkTypeface [all...] |
/external/skqp/include/core/ |
SkPaint.h | 464 /** Use increased stroke width when creating glyph bitmaps to approximate a bold typeface. 872 /** Sets SkTypeface to typeface, decreasing SkRefCnt of the previous SkTypeface. 873 Pass nullptr to clear SkTypeface and use the default typeface. Increments 874 typeface SkRefCnt by one. 876 @param typeface font and style used to draw text [all...] |