Home
last modified time | relevance | path

Searched refs:getUiDataModel (Results 1 – 25 of 25) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.java265 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 1)); in formatTime()
267 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2)); in formatTime()
269 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hours, 1)); in formatTime()
271 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2)); in formatTime()
273 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hours, 2)); in formatTime()
275 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2)); in formatTime()
277 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hours, 3)); in formatTime()
279 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2)); in formatTime()
284 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(seconds, 2)); in formatTime()
286 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hundredths, 2)); in formatTime()
DStopwatchFragment.java196 UiDataModel.getUiDataModel().addTabListener(mTabWatcher); in onStart()
207 UiDataModel.getUiDataModel().removeTabListener(mTabWatcher); in onStop()
DStopwatchService.java67 UiDataModel.getUiDataModel().setSelectedTab(STOPWATCH); in onStartCommand()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java166 final int tabCount = UiDataModel.getUiDataModel().getTabCount(); in onCreate()
170 final UiDataModel.Tab tabModel = UiDataModel.getUiDataModel().getTab(i); in onCreate()
225 final long duration = UiDataModel.getUiDataModel().getShortAnimationDuration(); in onCreate()
293 UiDataModel.getUiDataModel().setSelectedTab((UiDataModel.Tab) tab.getTag()); in onCreate()
306 UiDataModel.getUiDataModel().addTabListener(mTabChangeWatcher); in onCreate()
321 mDropShadowController = new DropShadowController(dropShadow, UiDataModel.getUiDataModel(), in onResume()
368 UiDataModel.getUiDataModel().removeTabListener(mTabChangeWatcher); in onDestroy()
470 final UiDataModel.Tab selectedTab = UiDataModel.getUiDataModel().getSelectedTab(); in updateCurrentTab()
501 final UiDataModel.Tab selectedTab = UiDataModel.getUiDataModel().getSelectedTab(); in getSelectedDeskClockFragment()
DHandleApiCalls.java115 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in handleDismissAlarm()
328 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in handleSetAlarm()
390 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in handleShowAlarms()
406 UiDataModel.getUiDataModel().setSelectedTab(TIMERS); in handleShowTimers()
414 UiDataModel.getUiDataModel().setSelectedTab(TIMERS); in handleSetTimer()
459 UiDataModel.getUiDataModel().setSelectedTab(TIMERS); in handleSetTimer()
473 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in setupInstance()
DDeskClockFragment.java101 return UiDataModel.getUiDataModel().getSelectedTab() == mTab; in isTabSelected()
108 UiDataModel.getUiDataModel().setSelectedTab(mTab); in selectTab()
117 UiDataModel.getUiDataModel().setTabScrolledToTop(mTab, scrolledToTop); in setTabScrolledToTop()
DFragmentTabPagerAdapter.java63 return UiDataModel.getUiDataModel().getTabCount(); in getCount()
72 final UiDataModel.Tab tab = UiDataModel.getUiDataModel().getTabAt(position); in getDeskClockFragment()
112 final UiDataModel.Tab tab = UiDataModel.getUiDataModel().getTabAt(position); in instantiateItem()
DAlarmClockFragment.java199 UiDataModel.getUiDataModel().addMidnightCallback(mMidnightUpdater, 100); in onResume()
208 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in onResume()
217 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in onResume()
237 UiDataModel.getUiDataModel().removePeriodicCallback(mMidnightUpdater); in onPause()
DHandleShortcuts.java46 UiDataModel.getUiDataModel().setSelectedTab(STOPWATCH); in onCreate()
55 UiDataModel.getUiDataModel().setSelectedTab(STOPWATCH); in onCreate()
DMoveScreensaverRunnable.java81 UiDataModel.getUiDataModel().addMinuteCallback(this, -FADE_TIME); in start()
88 UiDataModel.getUiDataModel().removePeriodicCallback(this); in stop()
DScreensaver.java135 UiDataModel.getUiDataModel().addMidnightCallback(mMidnightUpdater, 100); in onAttachedToWindow()
147 UiDataModel.getUiDataModel().removePeriodicCallback(mMidnightUpdater); in onDetachedFromWindow()
DScreensaverActivity.java166 UiDataModel.getUiDataModel().addMidnightCallback(mMidnightUpdater, 100); in onResume()
176 UiDataModel.getUiDataModel().removePeriodicCallback(mMidnightUpdater); in onPause()
DClockFragment.java138 UiDataModel.getUiDataModel().addQuarterHourCallback(mQuarterHourUpdater, 100); in onCreateView()
196 UiDataModel.getUiDataModel().removePeriodicCallback(mQuarterHourUpdater); in onDestroyView()
DStopwatchTextController.java59 mHundredthsTextView.setText(UiDataModel.getUiDataModel().getFormattedNumber( in setTimeString()
DDeskClockApplication.java41 UiDataModel.getUiDataModel().init(applicationContext, prefs); in onCreate()
DDropShadowController.java98 .setDuration(UiDataModel.getUiDataModel().getShortAnimationDuration()); in DropShadowController()
DUtils.java353 nextAlarmIconView.setTypeface(UiDataModel.getUiDataModel().getAlarmIconTypeface()); in setClockIconTypeface()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.java88 final String setAlarmShortcut = UiDataModel.getUiDataModel() in createNewAlarmShortcut()
105 final String setTimerShortcut = UiDataModel.getUiDataModel() in createNewTimerShortcut()
120 final String shortcutId = UiDataModel.getUiDataModel() in createStopwatchShortcut()
150 final String screensaverShortcut = UiDataModel.getUiDataModel() in createScreensaverShortcut()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerSetupView.java121 final UiDataModel uidm = UiDataModel.getUiDataModel(); in onFinishInflate()
209 final UiDataModel uidm = UiDataModel.getUiDataModel(); in updateTime()
256 UiDataModel.getUiDataModel().getFormattedNumber(digit))); in append()
280 UiDataModel.getUiDataModel().getFormattedNumber(mInput[0]))); in delete()
DTimerFragment.java551 final long duration = UiDataModel.getUiDataModel().getShortAnimationDuration(); in animateTimerRemove()
594 final long animationDuration = UiDataModel.getUiDataModel().getLongAnimationDuration(); in animateToView()
DTimerService.java151 UiDataModel.getUiDataModel().setSelectedTab(TIMERS); in onStartCommand()
/packages/apps/DeskClock/src/com/android/deskclock/events/
DShortcutEventTracker.java39 final UiDataModel uidm = UiDataModel.getUiDataModel(); in ShortcutEventTracker()
49 final String shortcutId = UiDataModel.getUiDataModel().getShortcutId(category, action); in sendEvent()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.java102 dayButton.setText(UiDataModel.getUiDataModel().getShortWeekday(weekday)); in ExpandedAlarmViewHolder()
103 dayButton.setContentDescription(UiDataModel.getUiDataModel().getLongWeekday(weekday)); in ExpandedAlarmViewHolder()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DUiDataModel.java65 public static UiDataModel getUiDataModel() { in getUiDataModel() method in UiDataModel
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java313 nextAlarmIcon.setTypeface(UiDataModel.getUiDataModel().getAlarmIconTypeface()); in optimizeSizes()