Home
last modified time | relevance | path

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

/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencyTabActivity.java95 ViewPager viewPager = (ViewPager) findViewById(R.id.view_pager); in setupTabs() local
97 viewPager.setAdapter(mTabsAdapter); in setupTabs()
103 new TabLayout.ViewPagerOnTabSelectedListener(viewPager)); in setupTabs()
107 viewPager.addOnPageChangeListener(new TabLayoutOnPageChangeListener(mTabLayout)); in setupTabs()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java75 private ViewPager viewPager; field in DotsPageIndicator
176 public void setViewPager(ViewPager viewPager) { in setViewPager() argument
177 this.viewPager = viewPager; in setViewPager()
178 viewPager.setOnPageChangeListener(this); in setViewPager()
179 setPageCount(viewPager.getAdapter().getCount()); in setViewPager()
180 viewPager.getAdapter().registerDataSetObserver(new DataSetObserver() { in setViewPager()
183 setPageCount(DotsPageIndicator.this.viewPager.getAdapter().getCount()); in setViewPager()
256 if (viewPager != null) { in setCurrentPageImmediate()
257 currentPage = viewPager.getCurrentItem(); in setCurrentPageImmediate()
339 if (viewPager == null || pageCount == 0) { in onDraw()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DBidiViewPagerHelper.java31 public BidiViewPagerHelper(ViewPager viewPager) { in BidiViewPagerHelper() argument
32 mViewPager = viewPager; in BidiViewPagerHelper()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java143 public void setViewPager(ViewPager viewPager) { in setViewPager() argument
144 mPager = viewPager; in setViewPager()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DViewPagerTabs.java152 public void setViewPager(ViewPager viewPager) { in setViewPager() argument
153 mPager = viewPager; in setViewPager()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java125 ViewPager viewPager = (ViewPager)findViewById(R.id.pager); in startInstallConfirm() local
126 TabsAdapter adapter = new TabsAdapter(this, tabHost, viewPager); in startInstallConfirm()