Home
last modified time | relevance | path

Searched refs:getAdapterForIndex (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DChooserMultiProfilePagerAdapter.java98 public ChooserActivity.ChooserGridAdapter getAdapterForIndex(int pageIndex) { in getAdapterForIndex() method in ChooserMultiProfilePagerAdapter
135 return getAdapterForIndex(getCurrentPage()).getListAdapter(); in getActiveListAdapter()
144 return getAdapterForIndex(1 - getCurrentPage()).getListAdapter(); in getInactiveListAdapter()
149 return getAdapterForIndex(PROFILE_PERSONAL).getListAdapter(); in getPersonalListAdapter()
155 return getAdapterForIndex(PROFILE_WORK).getListAdapter(); in getWorkListAdapter()
160 return getAdapterForIndex(getCurrentPage()); in getCurrentRootAdapter()
DResolverMultiProfilePagerAdapter.java117 public ResolverListAdapter getAdapterForIndex(int pageIndex) { in getAdapterForIndex() method in ResolverMultiProfilePagerAdapter
142 return getAdapterForIndex(getCurrentPage()); in getActiveListAdapter()
151 return getAdapterForIndex(1 - getCurrentPage()); in getInactiveListAdapter()
156 return getAdapterForIndex(PROFILE_PERSONAL); in getPersonalListAdapter()
162 return getAdapterForIndex(PROFILE_WORK); in getWorkListAdapter()
DAbstractMultiProfilePagerAdapter.java242 public abstract Object getAdapterForIndex(int pageIndex); in getAdapterForIndex() method in AbstractMultiProfilePagerAdapter
DChooserActivity.java1934 mChooserMultiProfilePagerAdapter.getAdapterForIndex(i).setFooterHeight(height);
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverWrapperActivity.java64 return ((ResolverListAdapter) mMultiProfilePagerAdapter.getAdapterForIndex(0)); in getPersonalListAdapter()
71 return ((ResolverListAdapter) mMultiProfilePagerAdapter.getAdapterForIndex(1)); in getWorkListAdapter()
DChooserWrapperActivity.java80 return ((ChooserGridAdapter) mMultiProfilePagerAdapter.getAdapterForIndex(0)) in getPersonalListAdapter()
88 return ((ChooserGridAdapter) mMultiProfilePagerAdapter.getAdapterForIndex(1)) in getWorkListAdapter()