Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerPagerAdapter.kt45 private var mCurrentTransaction: FragmentTransaction? = null variable in com.android.deskclock.timer.TimerPagerAdapter
66 if (mCurrentTransaction == null) { in instantiateItem()
67 mCurrentTransaction = mFragmentManager.beginTransaction() in instantiateItem()
78 mCurrentTransaction!!.attach(fragment) in instantiateItem()
82 mCurrentTransaction!!.add(container.id, fragment, tag) in instantiateItem()
98 if (mCurrentTransaction == null) { in destroyItem()
99 mCurrentTransaction = mFragmentManager.beginTransaction() in destroyItem()
103 mCurrentTransaction!!.remove(fragment) in destroyItem()
122 if (mCurrentTransaction != null) { in finishUpdate()
123 mCurrentTransaction!!.commitAllowingStateLoss() in finishUpdate()
[all …]
DTimerPagerAdapter.java47 private FragmentTransaction mCurrentTransaction; field in TimerPagerAdapter
78 if (mCurrentTransaction == null) { in instantiateItem()
79 mCurrentTransaction = mFragmentManager.beginTransaction(); in instantiateItem()
90 mCurrentTransaction.attach(fragment); in instantiateItem()
94 mCurrentTransaction.add(container.getId(), fragment, tag); in instantiateItem()
111 if (mCurrentTransaction == null) { in destroyItem()
112 mCurrentTransaction = mFragmentManager.beginTransaction(); in destroyItem()
116 mCurrentTransaction.remove(fragment); in destroyItem()
137 if (mCurrentTransaction != null) { in finishUpdate()
138 mCurrentTransaction.commitAllowingStateLoss(); in finishUpdate()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DFragmentTabPagerAdapter.java50 private FragmentTransaction mCurrentTransaction; field in FragmentTabPagerAdapter
107 if (mCurrentTransaction == null) { in instantiateItem()
108 mCurrentTransaction = mFragmentManager.beginTransaction(); in instantiateItem()
115 mCurrentTransaction.attach(fragment); in instantiateItem()
118 mCurrentTransaction.add(container.getId(), fragment, tab.name()); in instantiateItem()
131 if (mCurrentTransaction == null) { in destroyItem()
132 mCurrentTransaction = mFragmentManager.beginTransaction(); in destroyItem()
136 mCurrentTransaction.detach(fragment); in destroyItem()
157 if (mCurrentTransaction != null) { in finishUpdate()
158 mCurrentTransaction.commitAllowingStateLoss(); in finishUpdate()
[all …]