Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationPagerController.java62 private ViewPager mPager; field in ConversationPagerController
95 mPager = (ViewPager) activity.findViewById(R.id.conversation_pager); in ConversationPagerController()
135 mPager.setAlpha(0f); in show()
136 mPager.setVisibility(View.VISIBLE); in show()
139 mPager.animate().alpha(1f) in show()
146 mPager.setAlpha(1f); in show()
147 mPager.setVisibility(View.VISIBLE); in show()
151 mPagerAdapter = new ConversationPagerAdapter(mPager.getContext(), mFragmentManager, in show()
155 mPagerAdapter.setPager(mPager); in show()
161 mPager.setAdapter(mPagerAdapter); in show()
[all …]
DConversationPagerAdapter.java85 private ViewPager mPager; field in ConversationPagerAdapter
367 sb.append(mPager); in toString()
396 if (mController != null && !mDetachedMode && mPager != null) { in notifyDataSetChanged()
407 final int currentItem = mPager.getCurrentItem(); in notifyDataSetChanged()
490 if (mPager != null) { in setPager()
491 mPager.setOnPageChangeListener(null); in setPager()
493 mPager = pager; in setPager()
494 if (mPager != null) { in setPager()
495 mPager.setOnPageChangeListener(this); in setPager()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabs.java71 ViewPager mPager; field in ViewPagerTabs
110 mPager = viewPager; in setViewPager()
111 addTabs(mPager.getAdapter()); in setViewPager()
188 mPager.setCurrentItem(getRtlPosition(position)); in addTab()
228 if (index < mPager.getAdapter().getCount()) { in updateTab()
229 addTab(mPager.getAdapter().getPageTitle(index), index); in updateTab()
294 Toast.makeText(context, mPager.getAdapter().getPageTitle(mPosition), Toast.LENGTH_SHORT); in onLongClick()
/packages/services/Car/tests/DirectRenderingClusterSample/src/android/car/cluster/sample/
DMainClusterActivity.java52 private ViewPager mPager; field in MainClusterActivity
66 mPager.setCurrentItem(mButtonToFacet.get(v).order);
107 mPager = (ViewPager) findViewById(R.id.pager); in onCreate()
108 mPager.setAdapter(new ClusterPageAdapter(getSupportFragmentManager())); in onCreate()
147 int nextItem = (mPager.getCurrentItem() + 1) % mButtonToFacet.size(); in onKeyEvent()
150 int nextItem = (mPager.getCurrentItem() - 1); in onKeyEvent()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalActivity.java47 private ViewPager mPager; field in TerminalActivity
151 mPager = (ViewPager) findViewById(R.id.pager); in onCreate()
154 mPager.setAdapter(mTermAdapter); in onCreate()
191 mPager.setCurrentItem(index, true); in onOptionsItemSelected()
195 final int index = mPager.getCurrentItem(); in onOptionsItemSelected()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java52 ViewPager mPager; field in ViewPagerTabs
144 mPager = viewPager; in setViewPager()
145 addTabs(mPager.getAdapter()); in setViewPager()
165 mPager.setCurrentItem(getRtlPosition(position)); in addTab()