Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionFragment.java226 final float textSize = Settings.Secure.getFloat(getContext().getContentResolver(), in getCaptionsTextSize() local
229 if (0 <= textSize && textSize < .375) { in getCaptionsTextSize()
231 } else if (textSize < .75) { in getCaptionsTextSize()
233 } else if (textSize < 1.25) { in getCaptionsTextSize()
235 } else if (textSize < 1.75) { in getCaptionsTextSize()
237 } else if (textSize < 2.5) { in getCaptionsTextSize()
244 private void setCaptionsTextSize(String textSize) { in setCaptionsTextSize() argument
246 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/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/TV/src/com/android/exoplayer/text/
DSubtitleView.java98 int[] viewAttr = {android.R.attr.text, android.R.attr.textSize, in SubtitleView()
102 int textSize = a.getDimensionPixelSize(1, 15); in SubtitleView() local
127 setTextSize(textSize); in SubtitleView()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorFormula.java114 final float textSize = getVariableTextSize(getText()); in onMeasure() local
115 if (getTextSize() != textSize) { in onMeasure()
116 setTextSizeInternal(TypedValue.COMPLEX_UNIT_PX, textSize, false /* notifyListener */); in onMeasure()
DDragController.java336 final float textSize = mDisplayResult.getTextSize() * mDisplayResult.getScaleX(); in initializeScales() local
337 mResultScale = textSize / result.getTextSize(); in initializeScales()
DCalculator.java1146 float textSize = mFormulaText.getMinimumTextSize(); in onResult() local
1148 textSize = mFormulaText.getVariableTextSize(mResultText.getText().toString()); in onResult()
1153 final float resultScale = textSize / mResultText.getTextSize(); in onResult()
/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/incallui/autoresizetext/
DAutoResizeTextView.java213 float textSize = computeTextSize( in adjustTextSize() local
215 super.setTextSize(resizeStepUnit, textSize); in adjustTextSize()
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java510 float textSize = mResources.getDimension(sizeRes);
511 if (textView.getTextSize() != textSize) {
512 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/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.java51 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/libs/
Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...