Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DFragmentStatePagerAdapter2.java53 private SparseArrayCompat<Fragment> mFragments = new SparseArrayCompat<Fragment>(); field in FragmentStatePagerAdapter2
82 final Fragment existing = mFragments.get(position); in instantiateItem()
102 mFragments.put(position, fragment); in instantiateItem()
123 mFragments.delete(position); in destroyItem()
165 for (int i=0; i<mFragments.size(); i++) { in saveState()
166 final int pos = mFragments.keyAt(i); in saveState()
167 final Fragment f = mFragments.valueAt(i); in saveState()
182 mFragments.clear(); in restoreState()
199 mFragments.put(index, f); in restoreState()
217 new SparseArrayCompat<Fragment>(mFragments.size()); in notifyDataSetChanged()
[all …]
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java70 private ArrayList<Pair<String, Fragment>> mFragments; field in ViewInfoActivity
132 if (mFragments.size() == 0) { in maybeHideTabs()
140 if (mFragments.size() <= 1) { in maybeHideTabs()
184 return mFragments; in getFragments()
203 mFragments = setUpFragments(); in setupTabs()
234 return mFragments.get(position).second; in getItem()
239 return mFragments.size(); in getCount()
244 return mFragments.get(position).first; in getPageTitle()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerPagerAdapter.java44 private final Map<Integer, TimerItemFragment> mFragments = new ArrayMap<>(); field in TimerPagerAdapter
101 mFragments.put(timer.getId(), fragment); in instantiateItem()
115 mFragments.remove(fragment.getTimerId()); in destroyItem()
156 final TimerItemFragment timerItemFragment = mFragments.get(after.getId()); in timerUpdated()
167 for (TimerItemFragment fragment : mFragments.values()) { in updateTime()