Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DFragmentTabPagerAdapter.kt46 private var mCurrentTransaction: FragmentTransaction? = null variable in com.android.deskclock.FragmentTabPagerAdapter
90 if (mCurrentTransaction == null) { in instantiateItem()
91 mCurrentTransaction = mFragmentManager.beginTransaction() in instantiateItem()
98 mCurrentTransaction!!.attach(fragment) in instantiateItem()
101 mCurrentTransaction!!.add(container.id, fragment, tab.name) in instantiateItem()
113 if (mCurrentTransaction == null) { in destroyItem()
114 mCurrentTransaction = mFragmentManager.beginTransaction() in destroyItem()
118 mCurrentTransaction!!.detach(fragment) in destroyItem()
135 if (mCurrentTransaction != null) { in finishUpdate()
136 mCurrentTransaction!!.commitAllowingStateLoss() in finishUpdate()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerPagerAdapter.kt43 private var mCurrentTransaction: FragmentTransaction? = null variable in com.android.deskclock.timer.TimerPagerAdapter
64 if (mCurrentTransaction == null) { in instantiateItem()
65 mCurrentTransaction = mFragmentManager.beginTransaction() in instantiateItem()
76 mCurrentTransaction!!.attach(fragment) in instantiateItem()
80 mCurrentTransaction!!.add(container.id, fragment, tag) in instantiateItem()
96 if (mCurrentTransaction == null) { in destroyItem()
97 mCurrentTransaction = mFragmentManager.beginTransaction() in destroyItem()
101 mCurrentTransaction!!.remove(fragment) in destroyItem()
120 if (mCurrentTransaction != null) { in finishUpdate()
121 mCurrentTransaction!!.commitAllowingStateLoss() in finishUpdate()
[all …]