OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mViewPager
(Results
1 - 5
of
5
) sorted by null
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
ActionBarTabsPager.java
37
ViewPager
mViewPager
;
44
mViewPager
= new ViewPager(this);
45
mViewPager
.setId(R.id.pager);
46
setContentView(
mViewPager
);
52
mTabsAdapter = new TabsAdapter(this,
mViewPager
);
86
private final ViewPager
mViewPager
;
103
mViewPager
= pager;
104
mViewPager
.setAdapter(this);
105
mViewPager
.setOnPageChangeListener(this);
146
mViewPager
.setCurrentItem(i)
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailLayoutController.java
71
private final ViewPager
mViewPager
;
103
mViewPager
= (ViewPager) viewContainer.findViewById(R.id.pager);
115
if (
mViewPager
!= null) {
158
R.layout.contact_detail_about_fragment_container,
mViewPager
, false);
160
R.layout.contact_detail_updates_fragment_container,
mViewPager
, false);
166
mViewPager
.addView(mDetailFragmentView);
167
mViewPager
.addView(mUpdatesFragmentView);
168
mViewPager
.setAdapter(mViewPagerAdapter);
169
mViewPager
.setOnPageChangeListener(mOnPageChangeListener);
187
mViewPager
.setCurrentItem(currentPageIndex)
[
all
...]
/packages/apps/Browser/src/com/android/browser/
ComboViewActivity.java
44
private ViewPager
mViewPager
;
57
mViewPager
= new ViewPager(this);
58
mViewPager
.setId(R.id.tab_view);
59
setContentView(
mViewPager
);
70
mTabsAdapter = new TabsAdapter(this,
mViewPager
);
84
mViewPager
.setCurrentItem(0);
87
mViewPager
.setCurrentItem(1);
90
mViewPager
.setCurrentItem(2);
167
private final ViewPager
mViewPager
;
184
mViewPager
= pager
[
all
...]
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentTabsPager.java
40
ViewPager
mViewPager
;
51
mViewPager
= (ViewPager)findViewById(R.id.pager);
53
mTabsAdapter = new TabsAdapter(this, mTabHost,
mViewPager
);
90
private final ViewPager
mViewPager
;
125
mViewPager
= pager;
127
mViewPager
.setAdapter(this);
128
mViewPager
.setOnPageChangeListener(this);
155
mViewPager
.setCurrentItem(position);
/packages/apps/Contacts/src/com/android/contacts/activities/
DialtactsActivity.java
211
private ViewPager
mViewPager
;
224
if (
mViewPager
.getCurrentItem() != tab.getPosition()) {
225
mViewPager
.setCurrentItem(tab.getPosition(), true);
398
mViewPager
= (ViewPager) findViewById(R.id.pager);
399
mViewPager
.setAdapter(new ViewPagerAdapter(getFragmentManager()));
400
mViewPager
.setOnPageChangeListener(mPageChangeListener);
485
final int currentPosition =
mViewPager
!= null ?
mViewPager
.getCurrentItem() : -1;
616
final int previousItemIndex =
mViewPager
.getCurrentItem();
617
mViewPager
.setCurrentItem(tabIndex, false /* smoothScroll */)
[
all
...]
Completed in 1176 milliseconds