Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionFragment.java249 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/
DStringTexture.java44 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()
DMultiLineTexture.java39 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/
DTextSizeHelper.java92 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/
DTerminalView.java92 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/
DScaleSpan.java41 public void setTextSize(float textSize) { in setTextSize() argument
42 mTextSize = textSize; in setTextSize()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java93 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/
DAbstractDialpadFragment.java177 float textSize = in appendDialedNumber()
179 mScaleSpan.setTextSize(textSize); in appendDialedNumber()
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java162 float textSize = computeTextSize( in adjustTextSize() local
164 super.setTextSize(resizeStepUnit, textSize); in adjustTextSize()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumLabelMaker.java78 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/
DDialpadView.java222 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/
DDataUsageSummaryPreferenceController.java156 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/
DDialogUiTest.java259 final float textSize = paint.getTextSize(); in getInputTextHeight() local
261 return Math.round(textSize + textSpace); in getInputTextHeight()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreference.java243 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/
DDataUsageSummaryPreference.java243 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/
DCaptionAppearanceFragment.java176 final float textSize = context.getResources().getDimension( in applyCaptionProperties() local
178 previewText.setTextSize(textSize * fontScale); in applyCaptionProperties()
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java546 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/
DCaptionPropertiesFragment.java224 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/
DSuggestionStripLayoutHelper.java180 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/
DViewPagerTabs.java70 android.R.attr.textSize,
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabs.java56 android.R.attr.textSize,