Searched refs:viewPager (Results 1 – 6 of 6) sorted by relevance
95 ViewPager viewPager = (ViewPager) findViewById(R.id.view_pager); in setupTabs() local97 viewPager.setAdapter(mTabsAdapter); in setupTabs()103 new TabLayout.ViewPagerOnTabSelectedListener(viewPager)); in setupTabs()107 viewPager.addOnPageChangeListener(new TabLayoutOnPageChangeListener(mTabLayout)); in setupTabs()
75 private ViewPager viewPager; field in DotsPageIndicator176 public void setViewPager(ViewPager viewPager) { in setViewPager() argument177 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()
31 public BidiViewPagerHelper(ViewPager viewPager) { in BidiViewPagerHelper() argument32 mViewPager = viewPager; in BidiViewPagerHelper()
143 public void setViewPager(ViewPager viewPager) { in setViewPager() argument144 mPager = viewPager; in setViewPager()
152 public void setViewPager(ViewPager viewPager) { in setViewPager() argument153 mPager = viewPager; in setViewPager()
125 ViewPager viewPager = (ViewPager)findViewById(R.id.pager); in startInstallConfirm() local126 TabsAdapter adapter = new TabsAdapter(this, tabHost, viewPager); in startInstallConfirm()