Home
last modified time | relevance | path

Searched refs:setTypeface (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java143 paint.setTypeface(TYPEFACE); in testMeasure_LTR()
156 paint.setTypeface(TYPEFACE); in testMeasure_RTL()
169 paint.setTypeface(TYPEFACE); in testMeasure_BiDi()
186 paint.setTypeface(TYPEFACE); in testMeasure_BiDi2()
199 paint.setTypeface(TYPEFACE); in testMeasure_BiDi3()
214 paint.setTypeface(TYPEFACE); in testMeasure_Tab_LTR()
229 paint.setTypeface(TYPEFACE); in testMeasure_Tab_RTL()
244 paint.setTypeface(TYPEFACE); in testMeasure_Tab_BiDi()
259 paint.setTypeface(TYPEFACE); in testMeasure_Tab_BiDi2()
272 paint.setTypeface(TYPEFACE); in testMeasure_wordSpacing()
[all …]
DFontFallbackSetup.java99 paint.setTypeface(getTypefaceFor(fontName)); in getPaintFor()
DLayoutBidiCursorPathTest.java54 mTextPaint.setTypeface( in setup()
DMeasuredParagraphTest.java55 PAINT.setTypeface(Typeface.createFromAsset(context.getAssets(), in Typeface.createFromAsset()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceSystemFallbackTest.java108 paint.setTypeface(new Typeface.Builder(am, "fonts/a3em.ttf").build()); in paint.setTypeface()
112 paint.setTypeface(new Typeface.Builder(am, "fonts/all2em.ttf").build()); in paint.setTypeface()
287 paint.setTypeface(sansSerifTypeface); in testBuildSystemFallback_NamedFamily()
294 paint.setTypeface(testTypeface); in testBuildSystemFallback_NamedFamily()
301 paint.setTypeface(test2Typeface); in testBuildSystemFallback_NamedFamily()
333 paint.setTypeface(sansSerifTypeface); in testBuildSystemFallback_defaultFallback()
340 paint.setTypeface(testTypeface); in testBuildSystemFallback_defaultFallback()
378 paint.setTypeface(sansSerifTypeface); in testBuildSystemFallback_namedFallbackFamily()
385 paint.setTypeface(testTypeface); in testBuildSystemFallback_namedFallbackFamily()
392 paint.setTypeface(test2Typeface); in testBuildSystemFallback_namedFallbackFamily()
[all …]
DPaintTest.java83 paint.setTypeface(fontTypeface); in testHintingWidth()
126 p.setTypeface(fontTypeface); in testHasGlyph_variationSelectors()
350 p.setTypeface(fontTypeface); in testGetUnderlinePositionAndThickness()
DTypefaceTest.java119 p.setTypeface(mFaces[j]); in testUniformY()
276 paint.setTypeface(typeface); in measureText()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DAndroidPaintContext.java354 mPaint.setTypeface(Typeface.DEFAULT); in applyPaint()
356 mPaint.setTypeface(Typeface.create(Typeface.DEFAULT, in applyPaint()
363 mPaint.setTypeface(Typeface.SERIF); in applyPaint()
365 mPaint.setTypeface(Typeface.create(Typeface.SERIF, in applyPaint()
372 mPaint.setTypeface(Typeface.SANS_SERIF); in applyPaint()
374 mPaint.setTypeface( in applyPaint()
382 mPaint.setTypeface(Typeface.MONOSPACE); in applyPaint()
384 mPaint.setTypeface( in applyPaint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java145 public void setTypeface(Typeface tf) { in setTypeface() method in QSDualTileLabel
146 mFirstLine.setTypeface(tf); in setTypeface()
147 mSecondLine.setTypeface(tf); in setTypeface()
/frameworks/base/core/java/android/text/style/
DTypefaceSpan.java157 paint.setTypeface(mTypeface); in updateTypeface()
181 paint.setTypeface(styledTypeface); in applyFontFamily()
DStyleSpan.java186 paint.setTypeface(tf); in apply()
DTextAppearanceSpan.java503 readyTypeface = ds.setTypeface(Typeface.create(styledTypeface, weight, italic)); in updateMeasureState()
518 ds.setTypeface(readyTypeface); in updateMeasureState()
/frameworks/base/tests/UpdatableSystemFontTest/EmojiRenderingTestApp/src/com/android/emojirenderingtestapp/
DEmojiRenderingTestActivity.java42 serifTextView.setTypeface(Typeface.create(TEST_NOTO_SERIF, Typeface.NORMAL)); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java197 public void setTypeface(Typeface typeface) { in setTypeface() method in SubtitleView
199 mTextPaint.setTypeface(typeface); in setTypeface()
289 setTypeface(typeface); in setStyle()
/frameworks/base/services/core/java/com/android/server/input/debug/
DRotaryInputValueView.java68 setTypeface(null, Typeface.BOLD); in RotaryInputValueView()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/
DLinkSpan.java142 drawState.setTypeface(TYPEFACE_MEDIUM); in updateDrawState()
/frameworks/base/startop/apps/test/src/
DInteractiveMicrobenchmarkActivity.java57 header.setTypeface(header.getTypeface(), Typeface.BOLD); in addHeader()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java94 title.setTypeface(null, Typeface.BOLD); in getGroupView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSegmentedButtons.java74 textView.setTypeface(selected ? MEDIUM : REGULAR); in setSelectedStyle()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewFallbackLineSpacingTest.java97 textView.setTypeface(setup.getTypefaceFor("sans-serif")); in testFallbackLineSpacing()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DOtfFontFileParser.java94 p.setTypeface(typeface); in tryToCreateTypeface()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DMailAdapter.java64 paint.setTypeface(Typeface.DEFAULT_BOLD); in draw()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java226 p.setTypeface(Typeface.create(fontFamily, 0)); in applyTextAppearance()
288 mMonthPaint.setTypeface(Typeface.create(monthTypeface, 0)); in initPaints()
294 mDayOfWeekPaint.setTypeface(Typeface.create(dayOfWeekTypeface, 0)); in initPaints()
309 mDayPaint.setTypeface(Typeface.create(dayTypeface, 0)); in initPaints()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java89 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD)); in Watermark()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp173 skFont->setTypeface(reinterpret_cast<const MinikinFontSkia*>(font)->RefSkTypeface()); in populateSkFont()

123