Home
last modified time | relevance | path

Searched refs:mCurrentPrimaryItem (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerPagerAdapter.kt48 private var mCurrentPrimaryItem: Fragment? = null variable in com.android.deskclock.timer.TimerPagerAdapter
85 if (fragment !== mCurrentPrimaryItem) { in instantiateItem()
108 if (fragment !== mCurrentPrimaryItem) { in setPrimaryItem()
109 if (mCurrentPrimaryItem != null) { in setPrimaryItem()
110 setItemVisible(mCurrentPrimaryItem, false) in setPrimaryItem()
113 mCurrentPrimaryItem = fragment in setPrimaryItem()
115 if (mCurrentPrimaryItem != null) { in setPrimaryItem()
116 setItemVisible(mCurrentPrimaryItem, true) in setPrimaryItem()
DTimerPagerAdapter.java50 private Fragment mCurrentPrimaryItem; field in TimerPagerAdapter
97 if (fragment != mCurrentPrimaryItem) { in instantiateItem()
122 if (fragment != mCurrentPrimaryItem) { in setPrimaryItem()
123 if (mCurrentPrimaryItem != null) { in setPrimaryItem()
124 setItemVisible(mCurrentPrimaryItem, false); in setPrimaryItem()
127 mCurrentPrimaryItem = fragment; in setPrimaryItem()
129 if (mCurrentPrimaryItem != null) { in setPrimaryItem()
130 setItemVisible(mCurrentPrimaryItem, true); in setPrimaryItem()
/packages/apps/DeskClock/src/com/android/deskclock/
DFragmentTabPagerAdapter.java53 private Fragment mCurrentPrimaryItem; field in FragmentTabPagerAdapter
121 if (fragment != mCurrentPrimaryItem) { in instantiateItem()
142 if (fragment != mCurrentPrimaryItem) { in setPrimaryItem()
143 if (mCurrentPrimaryItem != null) { in setPrimaryItem()
144 FragmentCompat.setMenuVisibility(mCurrentPrimaryItem, false); in setPrimaryItem()
145 FragmentCompat.setUserVisibleHint(mCurrentPrimaryItem, false); in setPrimaryItem()
151 mCurrentPrimaryItem = fragment; in setPrimaryItem()