Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionFragment.java223 final float textSize = Settings.Secure.getFloat(getContext().getContentResolver(), in getCaptionsTextSize() local
226 if (0 <= textSize && textSize < .375) { in getCaptionsTextSize()
228 } else if (textSize < .75) { in getCaptionsTextSize()
230 } else if (textSize < 1.25) { in getCaptionsTextSize()
232 } else if (textSize < 1.75) { in getCaptionsTextSize()
234 } else if (textSize < 2.5) { in getCaptionsTextSize()
241 private void setCaptionsTextSize(String textSize) { in setCaptionsTextSize() argument
243 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/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/TV/usbtuner/src/com/google/android/exoplayer/text/
DSubtitleView.java94 int[] viewAttr = {android.R.attr.text, android.R.attr.textSize, in SubtitleView()
98 int textSize = a.getDimensionPixelSize(1, 15); in SubtitleView() local
123 setTextSize(textSize); in SubtitleView()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryChart.java237 int textSize = 15; field in BatteryHistoryChart.TextAttrs
259 textSize = appearance.getDimensionPixelSize(attr, textSize); in retrieve()
282 paint.setTextSize(textSize); in apply()
432 mainTextAttrs.textSize = a.getDimensionPixelSize(attr, mainTextAttrs.textSize); in BatteryHistoryChart()
433 headTextAttrs.textSize = a.getDimensionPixelSize(attr, headTextAttrs.textSize); in BatteryHistoryChart()
/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/TV/src/com/android/tv/ui/
DChannelBannerView.java481 float textSize = mResources.getDimension(sizeRes);
482 if (textView.getTextSize() != textSize) {
483 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionPropertiesFragment.java221 final float textSize = context.getResources().getDimension( in applyCaptionProperties() local
223 previewText.setTextSize(textSize * fontScale); in applyCaptionProperties()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculator.java785 float textSize = mFormulaText.getMinimumTextSize(); in onResult() local
787 textSize = mFormulaText.getVariableTextSize(mResultText.getText().toString()); in onResult()
792 final float resultScale = textSize / mResultText.getTextSize(); in onResult()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java70 android.R.attr.textSize,
/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/ContactsCommon/src/com/android/contacts/common/list/
DViewPagerTabs.java83 android.R.attr.textSize,
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnJAJP.java1663 int textSize = composingText.size(ComposingText.LAYER1); in processRightKeyEvent() local
1664 if (composingText.getCursor(ComposingText.LAYER1) == textSize) { in processRightKeyEvent()
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...