Searched refs:mViewPager (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailLayoutController.java74 private final ViewPager mViewPager; field in class:ContactDetailLayoutController
107 mViewPager = (ViewPager) viewContainer.findViewById(R.id.pager);
119 if (mViewPager != null) {
163 R.layout.contact_detail_about_fragment_container, mViewPager, false);
165 R.layout.contact_detail_updates_fragment_container, mViewPager, false);
171 mViewPager.addView(mDetailFragmentView);
172 mViewPager.addView(mUpdatesFragmentView);
173 mViewPager.setAdapter(mViewPagerAdapter);
174 mViewPager.setOnPageChangeListener(mOnPageChangeListener);
192 mViewPager
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DComboViewActivity.java44 private ViewPager mViewPager; field in class:ComboViewActivity
57 mViewPager = new ViewPager(this);
58 mViewPager.setId(R.id.tab_view);
59 setContentView(mViewPager);
71 mTabsAdapter = new TabsAdapter(this, mViewPager);
85 mViewPager.setCurrentItem(0);
88 mViewPager.setCurrentItem(1);
91 mViewPager.setCurrentItem(2);
168 private final ViewPager mViewPager; field in class:ComboViewActivity.TabsAdapter
185 mViewPager
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DDialtactsActivity.java200 private ViewPager mViewPager; field in class:DialtactsActivity
237 if (mViewPager.getCurrentItem() != tab.getPosition()) {
238 mViewPager.setCurrentItem(tab.getPosition(), true);
401 mViewPager = (ViewPager) findViewById(R.id.pager);
402 mViewPager.setAdapter(new ViewPagerAdapter(getFragmentManager()));
403 mViewPager.setOnPageChangeListener(mPageChangeListener);
509 final int currentPosition = mViewPager != null ? mViewPager.getCurrentItem() : -1;
652 final int previousItemIndex = mViewPager.getCurrentItem();
653 mViewPager
[all...]

Completed in 120 milliseconds