Home
last modified time | relevance | path

Searched refs:CLOCK_TAB_INDEX (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java105 public static final int CLOCK_TAB_INDEX = 1; field in DeskClock
214 mTabsAdapter.addTab(mClockTab, ClockFragment.class, CLOCK_TAB_INDEX); in createTabs()
240 mSelectedTab = CLOCK_TAB_INDEX; in onCreate()
242 mSelectedTab = icicle.getInt(KEY_SELECTED_TAB, CLOCK_TAB_INDEX); in onCreate()
316 mActionBar.getSelectedNavigationIndex() == CLOCK_TAB_INDEX) { in onCreateOptionsMenu()
346 } else if (mActionBar.getSelectedNavigationIndex() == CLOCK_TAB_INDEX) { in updateMenu()
523 if (position == ALARM_TAB_INDEX || position == CLOCK_TAB_INDEX) { in onPageSelected()
570 final int clockTabIndex = isRtl() ? RTL_CLOCK_TAB_INDEX : CLOCK_TAB_INDEX; in isClockTab()
708 case CLOCK_TAB_INDEX: in getRtlPosition()
DClockFragment.java214 if (activity.getSelectedTab() == DeskClock.CLOCK_TAB_INDEX) { in onResume()
288 if (mFab == null || activity.getSelectedTab() != DeskClock.CLOCK_TAB_INDEX) { in setFabAppearance()
300 activity.getSelectedTab() != DeskClock.CLOCK_TAB_INDEX) { in setLeftRightButtonAppearance()