/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceSystemFallbackTest.java | 94 paint.setTypeface(new Typeface.Builder(am, "fonts/a3em.ttf").build()); in paint.setTypeface() 98 paint.setTypeface(new Typeface.Builder(am, "fonts/all2em.ttf").build()); in paint.setTypeface() 229 paint.setTypeface(sansSerifTypeface); in testBuildSystemFallback_NamedFamily() 236 paint.setTypeface(testTypeface); in testBuildSystemFallback_NamedFamily() 243 paint.setTypeface(test2Typeface); in testBuildSystemFallback_NamedFamily() 277 paint.setTypeface(sansSerifTypeface); in testBuildSystemFallback_defaultFallback() 284 paint.setTypeface(testTypeface); in testBuildSystemFallback_defaultFallback() 324 paint.setTypeface(sansSerifTypeface); in testBuildSystemFallback_namedFallbackFamily() 331 paint.setTypeface(testTypeface); in testBuildSystemFallback_namedFallbackFamily() 338 paint.setTypeface(test2Typeface); in testBuildSystemFallback_namedFallbackFamily() [all …]
|
D | PaintTest.java | 82 paint.setTypeface(fontTypeface); in testHintingWidth() 125 p.setTypeface(fontTypeface); in testHasGlyph_variationSelectors() 349 p.setTypeface(fontTypeface); in testGetUnderlinePositionAndThickness()
|
D | TypefaceTest.java | 96 p.setTypeface(mFaces[j]); in testUniformY()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextLineTest.java | 131 paint.setTypeface(TYPEFACE); in testMeasure_LTR() 144 paint.setTypeface(TYPEFACE); in testMeasure_RTL() 157 paint.setTypeface(TYPEFACE); in testMeasure_BiDi() 174 paint.setTypeface(TYPEFACE); in testMeasure_BiDi2() 187 paint.setTypeface(TYPEFACE); in testMeasure_BiDi3() 202 paint.setTypeface(TYPEFACE); in testMeasure_Tab_LTR() 217 paint.setTypeface(TYPEFACE); in testMeasure_Tab_RTL() 232 paint.setTypeface(TYPEFACE); in testMeasure_Tab_BiDi() 247 paint.setTypeface(TYPEFACE); in testMeasure_Tab_BiDi2() 260 paint.setTypeface(TYPEFACE); in testMeasure_wordSpacing()
|
D | FontFallbackSetup.java | 97 paint.setTypeface(getTypefaceFor(fontName)); in getPaintFor()
|
D | LayoutBidiCursorPathTest.java | 54 mTextPaint.setTypeface( in setup()
|
D | MeasuredParagraphTest.java | 54 PAINT.setTypeface(Typeface.createFromAsset(context.getAssets(), in Typeface.createFromAsset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDualTileLabel.java | 141 public void setTypeface(Typeface tf) { in setTypeface() method in QSDualTileLabel 142 mFirstLine.setTypeface(tf); in setTypeface() 143 mSecondLine.setTypeface(tf); in setTypeface()
|
/frameworks/base/core/java/android/text/style/ |
D | TypefaceSpan.java | 157 paint.setTypeface(mTypeface); in updateTypeface() 181 paint.setTypeface(styledTypeface); in applyFontFamily()
|
D | StyleSpan.java | 142 paint.setTypeface(tf); in apply()
|
D | TextAppearanceSpan.java | 495 readyTypeface = ds.setTypeface(Typeface.create(styledTypeface, weight, italic)); in updateMeasureState() 510 ds.setTypeface(readyTypeface); in updateMeasureState()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 196 public void setTypeface(Typeface typeface) { in setTypeface() method in SubtitleView 198 mTextPaint.setTypeface(typeface); in setTypeface() 288 setTypeface(typeface); in setStyle()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/ |
D | LinkSpan.java | 142 drawState.setTypeface(TYPEFACE_MEDIUM); in updateDrawState()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | BenchmarkListAdapter.java | 94 title.setTypeface(null, Typeface.BOLD); in getGroupView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SegmentedButtons.java | 74 textView.setTypeface(selected ? MEDIUM : REGULAR); in setSelectedStyle()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewFallbackLineSpacingTest.java | 97 textView.setTypeface(setup.getTypefaceFor("sans-serif")); in testFallbackLineSpacing()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthView.java | 216 p.setTypeface(Typeface.create(fontFamily, 0)); in applyTextAppearance() 278 mMonthPaint.setTypeface(Typeface.create(monthTypeface, 0)); in initPaints() 284 mDayOfWeekPaint.setTypeface(Typeface.create(dayOfWeekTypeface, 0)); in initPaints() 299 mDayPaint.setTypeface(Typeface.create(dayTypeface, 0)); in initPaints()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UserDetailItemView.java | 142 mName.setTypeface(activated ? mActivatedTypeface : mRegularTypeface); in updateTypeface()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Watermark.java | 90 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD)); in Watermark()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.cpp | 175 skFont->setTypeface(reinterpret_cast<const MinikinFontSkia*>(font)->RefSkTypeface()); in populateSkFont()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBase.java | 142 mTextPaint.setTypeface(font); in BatteryMeterDrawableBase() 147 mWarningTextPaint.setTypeface(font); in BatteryMeterDrawableBase()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 724 paint.setTypeface(Typeface.DEFAULT_BOLD); in onBufferDraw() 727 paint.setTypeface(Typeface.DEFAULT); in onBufferDraw() 938 mPreviewText.setTypeface(Typeface.DEFAULT_BOLD); in showKey() 941 mPreviewText.setTypeface(Typeface.DEFAULT); in showKey()
|
/frameworks/base/media/java/android/media/ |
D | Cea708CaptionRenderer.java | 1921 paint.setTypeface(mCaptionStyle.getTypeface()); in initWindow() 1998 paint.setTypeface(mCaptionStyle.getTypeface()); in updateWidestChar() 2023 paint.setTypeface(mCaptionStyle.getTypeface()); in updateTextSize() 2148 setTypeface(style.getTypeface()); in setCaptionStyle()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1418 public Typeface setTypeface(Typeface typeface) { in setTypeface() method in Paint 1902 setTypeface(Typeface.createFromTypefaceWithVariation(mTypeface, in setFontVariationSettings() 1921 setTypeface(Typeface.createFromTypefaceWithVariation(targetTypeface, filteredAxes)); in setFontVariationSettings()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardLayout.java | 640 button.setTypeface(typeface); in setButtonTypeFace()
|