Searched refs:mFragments (Results 1 – 3 of 3) sorted by relevance
53 private SparseArrayCompat<Fragment> mFragments = new SparseArrayCompat<Fragment>(); field in FragmentStatePagerAdapter282 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 …]
70 private ArrayList<Pair<String, Fragment>> mFragments; field in ViewInfoActivity132 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()
44 private final Map<Integer, TimerItemFragment> mFragments = new ArrayMap<>(); field in TimerPagerAdapter101 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()