Home
last modified time | relevance | path

Searched refs:textSize (Results 1 – 7 of 7) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DLabelView.java76 int textSize = a.getDimensionPixelOffset(R.styleable.LabelView_textSize, 0); in LabelView() local
77 if (textSize > 0) { in LabelView()
78 setTextSize(textSize); in LabelView()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPurgeableBitmapView.java50 private final int textSize = 32; field in PurgeableBitmapView
63 mPaint.setTextSize(textSize); in PurgeableBitmapView()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java217 context.getTheme().resolveAttribute(android.R.attr.textSize, typedValue, true); in BaseToggleButton()
218 final int textSize = (int) typedValue.getDimension( in BaseToggleButton() local
220 mTextPaint.setTextSize(textSize); in BaseToggleButton()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DFitStepsWatchFaceService.java299 float textSize = resources.getDimension(isRound in onApplyWindowInsets() local
304 mHourPaint.setTextSize(textSize); in onApplyWindowInsets()
305 mMinutePaint.setTextSize(textSize); in onApplyWindowInsets()
306 mSecondPaint.setTextSize(textSize); in onApplyWindowInsets()
308 mColonPaint.setTextSize(textSize); in onApplyWindowInsets()
DFitDistanceWatchFaceService.java303 float textSize = resources.getDimension(isRound in onApplyWindowInsets() local
308 mHourPaint.setTextSize(textSize); in onApplyWindowInsets()
309 mMinutePaint.setTextSize(textSize); in onApplyWindowInsets()
310 mSecondPaint.setTextSize(textSize); in onApplyWindowInsets()
312 mColonPaint.setTextSize(textSize); in onApplyWindowInsets()
DInteractiveWatchFaceService.java122 float textSize = resources.getDimension( in onApplyWindowInsets() local
125 mTextPaint.setTextSize(textSize); in onApplyWindowInsets()
DDigitalWatchFaceService.java303 float textSize = resources.getDimension(isRound in onApplyWindowInsets() local
309 mHourPaint.setTextSize(textSize); in onApplyWindowInsets()
310 mMinutePaint.setTextSize(textSize); in onApplyWindowInsets()
311 mSecondPaint.setTextSize(textSize); in onApplyWindowInsets()
313 mColonPaint.setTextSize(textSize); in onApplyWindowInsets()