/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | StringTexture.java | 44 public static TextPaint getDefaultPaint(float textSize, int color) { argument 46 paint.setTextSize(textSize); 54 String text, float textSize, int color) { 55 return newInstance(text, getDefaultPaint(textSize, color)); 59 String text, float textSize, int color, 61 TextPaint paint = getDefaultPaint(textSize, color); 53 newInstance( String text, float textSize, int color) argument 58 newInstance( String text, float textSize, int color, float lengthLimit, boolean isBold) argument
|
H A D | MultiLineTexture.java | 39 String text, int maxWidth, float textSize, int color, 41 TextPaint paint = StringTexture.getDefaultPaint(textSize, color); 38 newInstance( String text, int maxWidth, float textSize, int color, Layout.Alignment alignment) argument
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
H A D | TextSizeHelper.java | 92 float textSize = mMaxTextSize; 107 textSize = midTextSize; 113 if (mTextView.getTextSize() != textSize) { 115 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
H A D | CaptionFragment.java | 230 final float textSize = Settings.Secure.getFloat(getContext().getContentResolver(), 233 if (0 <= textSize && textSize < .375) { 235 } else if (textSize < .75) { 237 } else if (textSize < 1.25) { 239 } else if (textSize < 1.75) { 241 } else if (textSize < 2.5) { 248 private void setCaptionsTextSize(String textSize) { argument 250 Settings.Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, Float.parseFloat(textSize));
|
/packages/apps/Terminal/src/com/android/terminal/ |
H A D | TerminalView.java | 92 public void setTextSize(float textSize) { argument 95 textPaint.setTextSize(textSize); 300 public void setTextSize(float textSize) { argument 301 mMetrics.setTextSize(textSize);
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
H A D | CalculatorFormula.java | 98 // Prevent shrinking/resizing with our variable textSize. 111 // Re-calculate our textSize based on new width. 114 final float textSize = getVariableTextSize(getText()); 115 if (getTextSize() != textSize) { 116 setTextSizeInternal(TypedValue.COMPLEX_UNIT_PX, textSize, false /* notifyListener */);
|
H A D | DragController.java | 336 final float textSize = mDisplayResult.getTextSize() * mDisplayResult.getScaleX(); 337 mResultScale = textSize / result.getTextSize();
|
H A D | Calculator.java | 1140 // Calculate the textSize that would be used to display the result in the formula. 1141 // For scrollable results just use the minimum textSize to maximize the number of digits 1143 float textSize = mFormulaText.getMinimumTextSize(); 1145 textSize = mFormulaText.getVariableTextSize(mResultText.getText().toString()); 1148 // Scale the result to match the calculated textSize, minimizing the jump-cut transition 1150 final float resultScale = textSize / mResultText.getTextSize();
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/ |
H A D | SubtitleView.java | 93 android.R.attr.textSize, 99 int textSize = a.getDimensionPixelSize(1, 15); 124 setTextSize(textSize);
|
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
H A D | AutoResizeTextView.java | 214 float textSize = computeTextSize( 216 super.setTextSize(resizeStepUnit, textSize);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumLabelMaker.java | 78 private static TextPaint getTextPaint(int textSize, int color, boolean isBold) { argument 80 paint.setTextSize(textSize);
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
H A D | DialpadView.java | 217 int textSize = 221 primaryLettersView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); 222 secondaryLettersView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
H A D | DataUsageSummaryPreference.java | 220 final int textSize = 222 usageNumberText.setSpan(new AbsoluteSizeSpan(textSize), 0, usageNumberText.length(),
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | BatteryHistoryChart.java | 238 int textSize = 15; field in class:BatteryHistoryChart.TextAttrs 260 textSize = appearance.getDimensionPixelSize(attr, textSize); 283 paint.setTextSize(textSize); 434 mainTextAttrs.textSize = a.getDimensionPixelSize(attr, mainTextAttrs.textSize); 435 headTextAttrs.textSize = a.getDimensionPixelSize(attr, headTextAttrs.textSize);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | ViewPagerTabs.java | 70 android.R.attr.textSize,
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | CaptionPropertiesFragment.java | 223 final float textSize = context.getResources().getDimension( 225 previewText.setTextSize(textSize * fontScale);
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ViewPagerTabs.java | 56 android.R.attr.textSize,
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | ChannelBannerView.java | 476 float textSize = mResources.getDimension(sizeRes); 477 if (textView.getTextSize() != textSize) { 478 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
H A D | SuggestionStripLayoutHelper.java | 180 private static Drawable getMoreSuggestionsHint(final Resources res, final float textSize, argument 185 paint.setTextSize(textSize);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | OpenWnnJAJP.java | 1663 int textSize = composingText.size(ComposingText.LAYER1); 1664 if (composingText.getCursor(ComposingText.LAYER1) == textSize) {
|