/external/skia/tests/ |
FontMgrTest.cpp | 58 * (e.g. sans -> Arial) then we want to at least get the same typeface back 632 SkAutoTUnref<SkTypeface> typeface(test.styleSet.matchStyle(testCase.pattern)); 633 if (typeface) { 634 REPORTER_ASSERT(reporter, typeface->fontStyle() == testCase.expectedResult);
|
TextBlobTest.cpp | 181 SkAutoTUnref<SkTypeface> typeface(SkTypeface::RefDefault()); 186 font.setTypeface(typeface);
|
/frameworks/base/graphics/java/android/graphics/ |
Paint.java | 63 private Typeface mTypeface; 156 * simulated bold effect when drawing a {@link Typeface} that is not [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Paint_Delegate.java | 889 /*package*/ static long nSetTypeface(long native_object, long typeface) { 896 Typeface_Delegate typefaceDelegate = Typeface_Delegate.getDelegate(typeface); 897 if (delegate.mTypeface != typefaceDelegate || delegate.mNativeTypeface != typeface) { 898 delegate.mTypeface = Typeface_Delegate.getDelegate(typeface); 899 delegate.mNativeTypeface = typeface; 902 return typeface; 979 // typeface object associated with the Paint. Since, we follow the new framework way, 980 // we store the typeface with the paint and use it directly. [all...] |
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
FitDistanceWatchFaceService.java | 28 import android.graphics.Typeface; 80 private static final Typeface BOLD_TYPEFACE = 81 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 82 private static final Typeface NORMAL_TYPEFACE = 83 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 235 private Paint createTextPaint(int color, Typeface typeface) [all...] |
DigitalWatchFaceService.java | 27 import android.graphics.Typeface; 66 private static final Typeface BOLD_TYPEFACE = 67 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 68 private static final Typeface NORMAL_TYPEFACE = 69 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 225 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...] |
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
FitDistanceWatchFaceService.java | 28 import android.graphics.Typeface; 80 private static final Typeface BOLD_TYPEFACE = 81 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 82 private static final Typeface NORMAL_TYPEFACE = 83 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 235 private Paint createTextPaint(int color, Typeface typeface) [all...] |
DigitalWatchFaceService.java | 27 import android.graphics.Typeface; 66 private static final Typeface BOLD_TYPEFACE = 67 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 68 private static final Typeface NORMAL_TYPEFACE = 69 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 225 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...] |
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
FitDistanceWatchFaceService.java | 28 import android.graphics.Typeface; 80 private static final Typeface BOLD_TYPEFACE = 81 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 82 private static final Typeface NORMAL_TYPEFACE = 83 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 235 private Paint createTextPaint(int color, Typeface typeface) [all...] |
DigitalWatchFaceService.java | 27 import android.graphics.Typeface; 66 private static final Typeface BOLD_TYPEFACE = 67 Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD); 68 private static final Typeface NORMAL_TYPEFACE = 69 Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL); 225 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_custom.cpp | 59 * Used as the last resort fallback typeface. 126 void appendTypeface(SkTypeface_Custom* typeface) { 127 fStyles.push_back().reset(typeface);
|
SkFontHost_FreeType.cpp | 304 static FT_Face ref_ft_face(const SkTypeface* typeface) { 307 const SkFontID fontID = typeface->uniqueID(); 318 SkAutoTDelete<SkFontData> data(typeface->createFontData()); 791 SkScalerContext_FreeType::SkScalerContext_FreeType(SkTypeface* typeface, const SkDescriptor* desc) 792 : SkScalerContext_FreeType_Base(typeface, desc) 805 skstd::unique_ptr<skstd::remove_pointer_t<FT_Face>, UnrefFTFace> ftFace(ref_ft_face(typeface)); [all...] |
SkFontMgr_android.cpp | 232 /** Find the typeface in this style set that most closely matches the given pattern. 355 virtual SkTypeface* onMatchFaceStyle(const SkTypeface* typeface, 359 if (fFontStyleSets[i]->fStyles[j] == typeface) { 497 // named typeface so that the system/app can provide their own recovery 498 // mechanism. On other platforms we'd provide a typeface from the
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialTextsView.java | 28 import android.graphics.Typeface; 46 private Typeface mTypefaceLight; 47 private Typeface mTypefaceRegular; 93 mTypefaceLight = Typeface.create(typefaceFamily, Typeface.NORMAL); 95 mTypefaceRegular = Typeface.create(typefaceFamilyRegular, Typeface.NORMAL); 268 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, 271 mPaint.setTypeface(typeface); [all...] |
/external/skia/src/device/xps/ |
SkXPSDevice.cpp | 2120 TypefaceUse* typeface; local 2180 TypefaceUse* typeface; local [all...] |
/external/skia/src/pdf/ |
SkPDFDevice.h | 288 int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID);
|
SkPDFDevice.cpp | 119 static int max_glyphid_for_typeface(SkTypeface* typeface) { 120 SkAutoResolveDefaultTypeface autoResolve(typeface); 121 typeface = autoResolve.get(); 122 return typeface->countGlyphs() - 1; 2181 SkTypeface* typeface = paint.getTypeface(); local [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
CollapsingToolbarLayout.java | 24 import android.graphics.Typeface; [all...] |
/external/skia/src/gpu/text/ |
GrAtlasTextBlob.h | 260 SkTypeface** typeface, GrFontScaler** scaler, 492 SkTypeface** typeface, GrFontScaler** scaler,
|
/frameworks/minikin/libs/minikin/ |
FontCollection.cpp | 93 MinikinFont* typeface = family->getClosestMatch(defaultStyle).font; local 94 if (typeface == NULL) { 112 "Font collection must have at least one valid typeface");
|
/external/skia/tools/json/ |
SkJSONCanvas.cpp | 408 SkTypeface* typeface = paint.getTypeface(); local 409 if (typeface != nullptr) { 413 typeface->serialize(&buffer); [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...] |