Home
last modified time | relevance | path

Searched refs:ALARMS (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.java49 private static final int ALARMS = 1; field in ClockProvider
116 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms", ALARMS); in sURIMatcher.addURI() argument
156 case ALARMS: in query()
196 case ALARMS: in getType()
241 case ALARMS: in insert()
262 case ALARMS: in delete()
302 if (match == ALARMS || match == INSTANCES || match == ALARMS_ID || match == INSTANCES_ID) { in notifyChange()
DClockProvider.kt48 private const val ALARMS = 1 constant
119 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms", ALARMS)
161 ALARMS -> qb.setTables(ALARMS_TABLE_NAME) in query()
193 ALARMS -> "vnd.android.cursor.dir/alarms" in getType()
235 ALARMS -> mOpenHelper.fixAlarmInsert(initialValues!!) in insert()
251 ALARMS -> count = in delete()
288 if (match == ALARMS || match == INSTANCES || match == ALARMS_ID || match == INSTANCES_ID) { in notifyChange()
/packages/apps/DeskClock/tests/src/com/android/deskclock/uidata/
DTabModelTest.java30 import static com.android.deskclock.uidata.UiDataModel.Tab.ALARMS;
46 assertSame(ALARMS, tabModel.getTabAt(0)); in ltrTabLayoutIndex()
59 assertSame(ALARMS, tabModel.getTabAt(3)); in rtlTabLayoutIndex()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java55 import static com.android.deskclock.uidata.UiDataModel.Tab.ALARMS;
99 super(ALARMS); in AlarmClockFragment()
208 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in onResume()
217 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in onResume()
DHandleApiCalls.java56 import static com.android.deskclock.uidata.UiDataModel.Tab.ALARMS;
118 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in handleDismissAlarm()
331 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in handleSetAlarm()
435 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in handleShowAlarms()
518 UiDataModel.getUiDataModel().setSelectedTab(ALARMS); in setupInstance()
DAlarmClockFragment.kt59 class AlarmClockFragment : DeskClockFragment(UiDataModel.Tab.ALARMS),
177 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in onResume()
186 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in onResume()
DDeskClock.java658 case ALARMS: in selectedTabChanged()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DUiDataModel.java42 ALARMS(AlarmClockFragment.class, R.drawable.ic_tab_alarm, R.string.menu_alarm), enumConstant
DUiDataModel.kt42 ALARMS(AlarmClockFragment::class.java, R.drawable.ic_tab_alarm, R.string.menu_alarm),