Lines Matching refs:fragment
68 final TimerItemFragment fragment = (TimerItemFragment) object; in getItemPosition() local
69 final Timer timer = fragment.getTimer(); in getItemPosition()
86 TimerItemFragment fragment = (TimerItemFragment) mFragmentManager.findFragmentByTag(tag); in instantiateItem() local
88 if (fragment != null) { in instantiateItem()
90 mCurrentTransaction.attach(fragment); in instantiateItem()
93 fragment = TimerItemFragment.newInstance(timer); in instantiateItem()
94 mCurrentTransaction.add(container.getId(), fragment, tag); in instantiateItem() local
97 if (fragment != mCurrentPrimaryItem) { in instantiateItem()
98 setItemVisible(fragment, false); in instantiateItem()
101 mFragments.put(timer.getId(), fragment); in instantiateItem() local
103 return fragment; in instantiateItem()
109 final TimerItemFragment fragment = (TimerItemFragment) object; in destroyItem() local
115 mFragments.remove(fragment.getTimerId()); in destroyItem()
116 mCurrentTransaction.remove(fragment); in destroyItem()
121 final Fragment fragment = (Fragment) object; in setPrimaryItem() local
122 if (fragment != mCurrentPrimaryItem) { in setPrimaryItem()
127 mCurrentPrimaryItem = fragment; in setPrimaryItem()
167 for (TimerItemFragment fragment : mFragments.values()) { in updateTime()
168 continuousUpdates |= fragment.updateTime(); in updateTime()