Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/
DPhoneNumberFormattingTextWatcher.java54 private AsYouTypeFormatter mFormatter; field in PhoneNumberFormattingTextWatcher
72 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode); in PhoneNumberFormattingTextWatcher()
111 int rememberedPos = mFormatter.getRememberedPosition(); in afterTextChanged()
133 mFormatter.clear(); in reformat()
157 return hasCursor ? mFormatter.inputDigitAndRememberPosition(lastNonSeparator) in getFormattedNumber()
158 : mFormatter.inputDigit(lastNonSeparator); in getFormattedNumber()
163 mFormatter.clear(); in stopFormatting()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerDataHelper.java32 protected IFormatter mFormatter; field in TrackerDataHelper
61 mFormatter = formatter; in TrackerDataHelper()
147 return mFormatter.getHeader(); in getOutputHeader()
154 return mFormatter.getFooter(); in getOutputFooter()
169 String output = mFormatter.getOutput(TrackerEntry.createEntry(cursor)); in getNextOutput()
DTrackerListHelper.java70 String rowText = mFormatter.getOutput(TrackerEntry in bindView()
/frameworks/base/core/java/android/widget/
DChronometer.java82 private Formatter mFormatter; field in Chronometer
306 if (mFormatter == null || !loc.equals(mFormatterLocale)) { in updateText()
308 mFormatter = new Formatter(mFormatBuilder, loc); in updateText()
313 mFormatter.format(mFormat, mFormatterArgs); in updateText()
DMediaController.java104 Formatter mFormatter; field in MediaController
324 mFormatter = new Formatter(mFormatBuilder, Locale.getDefault()); in initControllerView()
448 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString(); in stringForTime()
450 return mFormatter.format("%02d:%02d", minutes, seconds).toString(); in stringForTime()
DNumberPicker.java324 private Formatter mFormatter; field in NumberPicker
1250 if (formatter == mFormatter) { in setFormatter()
1253 mFormatter = formatter; in setFormatter()
2020 return (mFormatter != null) ? mFormatter.format(value) : formatNumberWithLocale(value); in formatNumber()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java54 private static Formatter mFormatter = new Formatter(mSB, Locale.getDefault()); field in TimeZoneInfo
159 DateUtils.formatDateRange(context, mFormatter, now, now, flags, mTzId); in getGmtDisplayName()
/frameworks/base/core/java/android/os/
DBatteryStats.java397 private final Formatter mFormatter = new Formatter(mFormatBuilder); field in BatteryStats
3158 mFormatter.format("%.1f%%", perc); in formatRatioLocked()
3168 mFormatter.format("%.2fKB", bytes / (double) BYTES_PER_KB); in formatBytesLocked()
3171 mFormatter.format("%.2fMB", bytes / (double) BYTES_PER_MB); in formatBytesLocked()
3174 mFormatter.format("%.2fGB", bytes / (double) BYTES_PER_GB); in formatBytesLocked()