Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java73 private final Formatter mFormatter; field in CalendarViewAdapter
98 mFormatter = new Formatter(mStringBuilder, Locale.getDefault()); in CalendarViewAdapter()
322 DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek()
326 DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek()
330 DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek()
333 dayOfWeek = DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek()
347 String date = DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildFullDate()
356 mFormatter, in buildMonthYearDate()
366 String date = DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildMonthDayDate()
375 mFormatter, in buildMonthDate()
[all …]
DDayView.java197 protected static Formatter mFormatter = new Formatter(mStringBuilder, Locale.getDefault()); field in DayView
1732 b.append(mFormatter.format(mEventCountTemplate, i++, numEvents)); in sendAccessibilityEventAsNeeded()
1741 b.append(mFormatter.format(mEventCountTemplate, mSelectedEvents in sendAccessibilityEventAsNeeded()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractHtmlTemplates.java44 protected Formatter mFormatter; field in AbstractHtmlTemplates
53 final String out = mFormatter.toString(); in emit()
55 mFormatter = null; in emit()
62 mFormatter = new Formatter(mBuilder, null /* no localization */); in reset()
93 mFormatter.format(template, args); in append()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java32 private LevenshteinSuggestionFormatter mFormatter; field in LevenshteinFormatterTest
38 mFormatter = new LevenshteinSuggestionFormatter(new MockTextAppearanceFactory()); in setUp()
44 Token[] tokens = mFormatter.tokenize(input); in verifyTokenizeResult()
94 Token[] sourceTokens = mFormatter.tokenize(source); in verifyFindMatches()
95 Token[] targetTokens = mFormatter.tokenize(target); in verifyFindMatches()
97 int[] matches = mFormatter.findMatches(sourceTokens, targetTokens); in verifyFindMatches()
152 Spanned s = mFormatter.formatSuggestion(query, suggestion); in verifyFormatSuggestion()
/packages/apps/UnifiedEmail/src/com/android/mail/text/
DFolderSpan.java39 private final BidiFormatter mFormatter; field in FolderSpan
51 mFormatter = formatter; in FolderSpan()
86 mBgColor, mRes, mFormatter, mWorkPaint); in draw()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaAdapter.java49 private final Formatter mFormatter; field in AgendaAdapter
93 mFormatter = new Formatter(mStringBuilder, Locale.getDefault()); in AgendaAdapter()
209 whenString = DateUtils.formatDateRange(context, mFormatter, begin, end, flags, tzString) in bindView()
DAgendaByDayAdapter.java54 private final Formatter mFormatter; field in AgendaByDayAdapter
78 mFormatter = new Formatter(mStringBuilder, Locale.getDefault()); in AgendaByDayAdapter()
236 String dateViewText = DateUtils.formatDateRange(mContext, mFormatter, millis, millis, in getView()
DAgendaWindowAdapter.java193 private final Formatter mFormatter; field in AgendaWindowAdapter
354 mFormatter = new Formatter(mStringBuilder, Locale.getDefault()); in AgendaWindowAdapter()
945 return DateUtils.formatDateRange(mContext, mFormatter, millis, millis, in formatDateString()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java120 private Formatter mFormatter = new Formatter(mFormatBuilder, Locale.getDefault()); field in ActivityMusic
685 mFormatter.format(format, args); in format()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java241 private final BidiFormatter mFormatter; field in ConversationItemView.ConversationItemFolderDisplayer
246 mFormatter = formatter; in ConversationItemFolderDisplayer()
331 mFolderDrawableResources, mFormatter, sFoldersPaint); in drawFolders()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java123 protected static Formatter mFormatter = new Formatter(mStringBuilder, Locale.getDefault()); field in MonthWeekEventsView
938 text = DateUtils.formatDateRange(getContext(), mFormatter, event.startMillis, in drawEvent()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java196 private final Formatter mFormatter = new Formatter(mBuilder); field in Camera
643 mFormatter.format("%+1.1f", mFormatterArgs); in updateExposureOnScreenIndicator()
644 String exposure = mFormatter.toString(); in updateExposureOnScreenIndicator()