Lines Matching refs:mTabsAdapter
83 private TabsAdapter mTabsAdapter; field in DeskClock
108 return (DeskClockFragment) mTabsAdapter.getItem(mSelectedTab); in getSelectedFragment()
114 mTabsAdapter.addTab(alarmTab, AlarmClockFragment.class, ALARM_TAB_INDEX); in createTabs()
118 mTabsAdapter.addTab(clockTab, ClockFragment.class, CLOCK_TAB_INDEX); in createTabs()
122 mTabsAdapter.addTab(timerTab, TimerFragment.class, TIMER_TAB_INDEX); in createTabs()
127 mTabsAdapter.addTab(stopwatchTab, StopwatchFragment.class, STOPWATCH_TAB_INDEX); in createTabs()
131 mTabsAdapter.notifySelectedPage(mSelectedTab); in createTabs()
166 if (mTabsAdapter == null) { in onCreate()
173 mTabsAdapter = new TabsAdapter(this, mViewPager); in onCreate()
280 if (mTabsAdapter != null) { in registerPageChangedListener()
281 mTabsAdapter.registerPageChangedListener(frag); in registerPageChangedListener()
286 if (mTabsAdapter != null) { in unregisterPageChangedListener()
287 mTabsAdapter.unregisterPageChangedListener(frag); in unregisterPageChangedListener()