Home
last modified time | relevance | path

Searched refs:widths (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerView.java87 float widths[] = new float[allDigits.length()]; in addStartPadding() local
88 int ll = paint.getTextWidths(allDigits, widths); in addStartPadding()
91 if (widths[ii] > widths[largest]) { in addStartPadding()
96 textView.setPadding((int) (gapPadding * widths[largest]), 0, 0, 0); in addStartPadding()
DCountingTimerView.java114 float widths[] = new float[allDigits.length()]; in UnsignedTime() local
115 int ll = mPaint.getTextWidths(allDigits, widths); in UnsignedTime()
118 if (widths[ii] > widths[largest]) { in UnsignedTime()
123 mEm = widths[largest]; in UnsignedTime()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewView.java104 final float[] widths = new float[len]; in getTextWidth() local
105 final int count = paint.getTextWidths(text, 0, len, widths); in getTextWidth()
108 width += widths[i]; in getTextWidth()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCursorAnchorInfoUtils.java176 final float[] widths = new float[offsetEnd - offsetStart]; in extractFromTextViewInternal() local
177 layout.getPaint().getTextWidths(text, offsetStart, offsetEnd, widths); in extractFromTextViewInternal()
181 final float charWidth = widths[offset - offsetStart]; in extractFromTextViewInternal()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalView.java101 final float[] widths = new float[1]; in setTextSize() local
102 textPaint.getTextWidths("X", widths); in setTextSize()
103 charWidth = (int) Math.ceil(widths[0]); in setTextSize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java631 final float[] widths = new float[length]; in getTextWidth() local
636 count = paint.getTextWidths(text, 0, length, widths); in getTextWidth()
642 width += Math.round(widths[i] + 0.5f); in getTextWidth()
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DVideoChatTestActivity.java188 final int widths[] = new int[] {320, 640}; in doInBackground() local
234 TestCamera(whichCamera, widths[whichResolution], in doInBackground()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz