/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | CaptionFragment.java | 249 final float textSize = Settings.Secure.getFloat(getContext().getContentResolver(), in getCaptionsTextSize() local 252 if (0 <= textSize && textSize < .375) { in getCaptionsTextSize() 254 } else if (textSize < .75) { in getCaptionsTextSize() 256 } else if (textSize < 1.25) { in getCaptionsTextSize() 258 } else if (textSize < 1.75) { in getCaptionsTextSize() 260 } else if (textSize < 2.5) { in getCaptionsTextSize() 267 private void setCaptionsTextSize(String textSize) { in setCaptionsTextSize() argument 269 Settings.Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, Float.parseFloat(textSize)); in setCaptionsTextSize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | StringTexture.java | 44 public static TextPaint getDefaultPaint(float textSize, int color) { in getDefaultPaint() argument 46 paint.setTextSize(textSize); in getDefaultPaint() 54 String text, float textSize, int color) { in newInstance() argument 55 return newInstance(text, getDefaultPaint(textSize, color)); in newInstance() 59 String text, float textSize, int color, in newInstance() argument 61 TextPaint paint = getDefaultPaint(textSize, color); in newInstance()
|
D | MultiLineTexture.java | 39 String text, int maxWidth, float textSize, int color, in newInstance() argument 41 TextPaint paint = StringTexture.getDefaultPaint(textSize, color); in newInstance()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | TextSizeHelper.java | 92 float textSize = mMaxTextSize; in adjustTextSize() local 107 textSize = midTextSize; in adjustTextSize() 113 if (mTextView.getTextSize() != textSize) { in adjustTextSize() 115 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in adjustTextSize()
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | TerminalView.java | 92 public void setTextSize(float textSize) { in setTextSize() argument 95 textPaint.setTextSize(textSize); in setTextSize() 300 public void setTextSize(float textSize) { in setTextSize() argument 301 mMetrics.setTextSize(textSize); in setTextSize()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/ |
D | ScaleSpan.java | 41 public void setTextSize(float textSize) { in setTextSize() argument 42 mTextSize = textSize; in setTextSize()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/ |
D | SubtitleView.java | 93 android.R.attr.textSize, in SubtitleView() 99 int textSize = a.getDimensionPixelSize(1, 15); in SubtitleView() local 124 setTextSize(textSize); in SubtitleView()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | AbstractDialpadFragment.java | 177 float textSize = in appendDialedNumber() 179 mScaleSpan.setTextSize(textSize); in appendDialedNumber()
|
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
D | AutoResizeTextView.java | 162 float textSize = computeTextSize( in adjustTextSize() local 164 super.setTextSize(resizeStepUnit, textSize); in adjustTextSize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumLabelMaker.java | 78 private static TextPaint getTextPaint(int textSize, int color, boolean isBold) { in getTextPaint() argument 80 paint.setTextSize(textSize); in getTextPaint()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | DialpadView.java | 222 int textSize = in setupKeypad() local 226 primaryLettersView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in setupKeypad() 227 secondaryLettersView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in setupKeypad()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 156 int textSize = getContext().getResources().getDimensionPixelSize( in getUsageText() local 160 usageNumberText.setSpan(new AbsoluteSizeSpan(textSize), /* start= */ 0, in getUsageText()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | DialogUiTest.java | 259 final float textSize = paint.getTextSize(); in getInputTextHeight() local 261 return Math.round(textSize + textSpace); in getInputTextHeight()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreference.java | 243 final int textSize = in updateDataUsageLabels() local 245 usageNumberText.setSpan(new AbsoluteSizeSpan(textSize), 0, usageNumberText.length(), in updateDataUsageLabels()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummaryPreference.java | 243 final int textSize = in updateDataUsageLabels() local 245 usageNumberText.setSpan(new AbsoluteSizeSpan(textSize), 0, usageNumberText.length(), in updateDataUsageLabels()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | CaptionAppearanceFragment.java | 176 final float textSize = context.getResources().getDimension( in applyCaptionProperties() local 178 previewText.setTextSize(textSize * fontScale); in applyCaptionProperties()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 546 float textSize = mResources.getDimension(sizeRes); 547 if (textView.getTextSize() != textSize) { 548 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | CaptionPropertiesFragment.java | 224 final float textSize = context.getResources().getDimension( in applyCaptionProperties() local 226 previewText.setTextSize(textSize * fontScale); in applyCaptionProperties()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripLayoutHelper.java | 180 private static Drawable getMoreSuggestionsHint(final Resources res, final float textSize, in getMoreSuggestionsHint() argument 185 paint.setTextSize(textSize); in getMoreSuggestionsHint()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ViewPagerTabs.java | 70 android.R.attr.textSize,
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 56 android.R.attr.textSize,
|