Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DStringTexture.java45 public static TextPaint getDefaultPaint(float textSize, int color) { in getDefaultPaint() argument
47 paint.setTextSize(textSize); in getDefaultPaint()
55 String text, float textSize, int color) { in newInstance() argument
56 return newInstance(text, getDefaultPaint(textSize, color)); in newInstance()
60 String text, float textSize, int color, in newInstance() argument
62 TextPaint paint = getDefaultPaint(textSize, color); in newInstance()
DMultiLineTexture.java38 String text, int maxWidth, float textSize, int color, in newInstance() argument
40 TextPaint paint = StringTexture.getDefaultPaint(textSize, color); in newInstance()
DAlbumLabelMaker.java87 private static TextPaint getTextPaint(int textSize, int color, boolean isBold) { in getTextPaint() argument
89 paint.setTextSize(textSize); in getTextPaint()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DCandidateView.java370 int textSize = 1; in onSizeChanged() local
371 mCandidatesPaint.setTextSize(textSize); in onSizeChanged()
374 textSize++; in onSizeChanged()
375 mCandidatesPaint.setTextSize(textSize); in onSizeChanged()
379 mImeCandidateTextSize = textSize; in onSizeChanged()
380 mRecommendedCandidateTextSize = textSize * 3 / 4; in onSizeChanged()
392 textSize = 1; in onSizeChanged()
393 mFootnotePaint.setTextSize(textSize); in onSizeChanged()
396 textSize++; in onSizeChanged()
397 mFootnotePaint.setTextSize(textSize); in onSizeChanged()
[all …]
DSoftKeyboardView.java243 float textSize; in onKeyPress() local
255 textSize = env in onKeyPress()
263 textSize, true, mSoftKeyDown.getColorHl(), in onKeyPress() local
289 textSize = env in onKeyPress()
297 textSize, mSoftKeyDown.needBalloon(), mSoftKeyDown in onKeyPress() local
DBalloonHint.java140 public void setBalloonConfig(String label, float textSize, in setBalloonConfig() argument
142 mBalloonView.setTextConfig(label, textSize, textBold, textColor); in setBalloonConfig()
/packages/apps/VideoEditor/src/com/android/videoeditor/util/
DStringUtils.java180 final int textSize = (int)p.measureText(text); in trimText() local
181 if (textSize > maxSize) { in trimText()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryChart.java209 int textSize = 15; in BatteryHistoryChart() local
231 textSize = appearance.getDimensionPixelSize(attr, textSize); in BatteryHistoryChart()
276 textSize = a.getDimensionPixelSize(attr, textSize); in BatteryHistoryChart()
292 mTextPaint.setTextSize(textSize); in BatteryHistoryChart()
/packages/apps/Browser/src/com/android/browser/
DBrowserSettings.java614 String textSize = mPrefs.getString(PREF_TEXT_SIZE, "NORMAL"); in getTextSize() local
615 return TextSize.valueOf(textSize); in getTextSize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionsView.java262 private static Drawable getMoreSuggestionsHint(Resources res, float textSize, int color) { in getMoreSuggestionsHint() argument
266 paint.setTextSize(textSize); in getMoreSuggestionsHint()
/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()