Home
last modified time | relevance | path

Searched refs:allDigits (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DCountingTimerView.java105 public UnsignedTime(Paint paint, float spacingRatio, String allDigits) { in UnsignedTime() argument
109 if (TextUtils.isEmpty(allDigits)) { in UnsignedTime()
111 allDigits = "0123456789"; in UnsignedTime()
114 float widths[] = new float[allDigits.length()]; in UnsignedTime()
115 int ll = mPaint.getTextWidths(allDigits, widths); in UnsignedTime()
124 mWidest = allDigits.substring(largest, largest + 1); in UnsignedTime()
196 public Hundredths(Paint paint, float spacingRatio, final String allDigits) { in Hundredths() argument
197 super(paint, spacingRatio, allDigits); in Hundredths()
291 final String allDigits = String.format("%010d", 123456789); in CountingTimerView() local
292 mBigSeconds = new UnsignedTime(mPaintBigThin, 0.f, allDigits); in CountingTimerView()
[all …]
DTimerView.java82 String allDigits = String.format("%010d", 123456789); in addStartPadding() local
87 float widths[] = new float[allDigits.length()]; in addStartPadding()
88 int ll = paint.getTextWidths(allDigits, widths); in addStartPadding()