Home
last modified time | relevance | path

Searched refs:getLabelWidth (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DCountingTimerView.java148 public float getLabelWidth() { in getLabelWidth() method in CountingTimerView.UnsignedTime
168 return x + getLabelWidth(); in draw()
182 return drawTime(canvas, time, 0, x + getLabelWidth(), y); in draw()
228 return x + getLabelWidth(); in draw()
410 float fixedWidths = mBigHours.getLabelWidth() + mBigMinutes.getLabelWidth() in setTotalTextWidth()
411 + mBigThinSeconds.getLabelWidth() + mMedHundredths.getLabelWidth(); in setTotalTextWidth()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java297 mLabelSize = Math.max(getLabelWidth(this), getLabelWidth(mValidAfterDynamic)); in invalidateLabelOffset()
303 mLabelSize = Math.max(getLabelWidth(this), getLabelWidth(mValidBeforeDynamic)); in invalidateLabelOffset()
309 mLabelSize = getLabelWidth(this); in invalidateLabelOffset()
741 public static float getLabelWidth(ChartSweepView view) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java383 labelWidth = TypefaceUtils.getLabelWidth(label, paint) + icon.getIntrinsicWidth() in onDrawKeyTopVisuals()
388 labelWidth = TypefaceUtils.getLabelWidth(label, paint) + icon.getIntrinsicWidth() in onDrawKeyTopVisuals()
398 (keyWidth * MAX_LABEL_RATIO) / TypefaceUtils.getLabelWidth(label, paint))); in onDrawKeyTopVisuals()
DTypefaceUtils.java86 public static float getLabelWidth(final String label, final Paint paint) { in getLabelWidth() method in TypefaceUtils
DMainKeyboardView.java1365 final float textWidth = TypefaceUtils.getLabelWidth(text, paint); in fitsTextIntoWidth()
1376 return TypefaceUtils.getLabelWidth(text, paint) < width; in fitsTextIntoWidth()
DMoreKeysKeyboard.java337 (int)(TypefaceUtils.getLabelWidth(label, paint) + padding)); in getMaxKeyWidth()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java78 mWidths[pos] = (int)(TypefaceUtils.getLabelWidth(word, paint) + padding); in layout()