Searched refs:precision (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | Logic.java | 237 for (int precision = mLineLength; precision > 6; precision--) { 238 result = tryFormattingWithPrecision(value, precision); 246 private String tryFormattingWithPrecision(double value, int precision) { argument 249 String result = String.format(Locale.US, "%" + mLineLength + "." + precision + "g", value);
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
H A D | CalendarUtilities.java | 740 * @param precision the number of milliseconds of precision in TimeZone determination 744 static TimeZone tziStringToTimeZone(String timeZoneString, int precision) { argument 752 timeZone = tziStringToTimeZoneImpl(timeZoneString, precision); 765 * The standard entry to EAS time zone conversion, using one minute as the precision 774 * we don't find a match, and we're using standard precision, we try again with lenient 775 * precision, which is a bit better than guessing 779 static TimeZone tziStringToTimeZoneImpl(String timeZoneString, int precision) { argument 845 Date before = new Date(millisAtTransition - precision); 846 Date after = new Date(millisAtTransition + precision); [all...] |
Completed in 166 milliseconds