/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewPagerTest.java | 17 private ViewPager pager; field in class:ViewPagerTest 22 pager = new ViewPager(new Activity()); 28 assertNull(pager.getAdapter()); 30 pager.setAdapter(adapter); 31 assertSame(adapter, pager.getAdapter()); 36 pager.setCurrentItem(2); 37 assertEquals(2, pager.getCurrentItem()); 43 pager.setOnPageChangeListener(listener); 45 pager.setCurrentItem(2);
|
/developers/build/prebuilts/gradle/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/ |
MainActivity.java | 35 final GridViewPager pager = (GridViewPager) findViewById(R.id.pager); local 36 pager.setOnApplyWindowInsetsListener(new OnApplyWindowInsetsListener() { 46 pager.setPageMargins(rowMargin, colMargin); 51 pager.onApplyWindowInsets(insets); 55 pager.setAdapter(new SampleGridPagerAdapter(this, getFragmentManager())); 57 dotsPageIndicator.setPager(pager);
|
/developers/samples/android/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/ |
MainActivity.java | 35 final GridViewPager pager = (GridViewPager) findViewById(R.id.pager); local 36 pager.setOnApplyWindowInsetsListener(new OnApplyWindowInsetsListener() { 46 pager.setPageMargins(rowMargin, colMargin); 51 pager.onApplyWindowInsets(insets); 55 pager.setAdapter(new SampleGridPagerAdapter(this, getFragmentManager())); 57 dotsPageIndicator.setPager(pager);
|
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/ |
MainActivity.java | 35 final GridViewPager pager = (GridViewPager) findViewById(R.id.pager); local 36 pager.setOnApplyWindowInsetsListener(new OnApplyWindowInsetsListener() { 46 pager.setPageMargins(rowMargin, colMargin); 51 pager.onApplyWindowInsets(insets); 55 pager.setAdapter(new SampleGridPagerAdapter(this, getFragmentManager())); 57 dotsPageIndicator.setPager(pager);
|
/external/e2fsprogs/debugfs/ |
htree.c | 30 static FILE *pager; variable 59 fprintf(pager, "Reading directory block %llu, phys %llu\n", blk, pblk); 86 fprintf(pager, "Corrupted directory block (%llu)!\n", 117 fprintf(pager, "\n"); 120 fprintf(pager, "%s", tmp); 124 fprintf(pager, "\n"); 150 fprintf(pager, "Number of entries (count): %d\n", count); 151 fprintf(pager, "Number of entries (limit): %d\n", limit); 161 fprintf(pager, "Checksum: 0x%08x\n", 167 fprintf(pager, "Entry #%d: Hash 0x%08x%s, block %u\n", i [all...] |
util.c | 63 static const char *pager_search_list[] = { "pager", "more", "less", 0 }; 83 const char *pager = ss_safe_getenv("DEBUGFS_PAGER"); local 89 if (!pager) 90 pager = ss_safe_getenv("PAGER"); 91 if (!pager) 92 pager = find_pager(buf); 93 if (!pager || 94 (strcmp(pager, "__none__") == 0) || 95 ((outfile = popen(pager, "w")) == 0) [all...] |
/packages/apps/Dialer/java/com/android/dialer/main/impl/ |
MainActivity.java | 52 ViewPager pager = findViewById(R.id.pager); local 54 pager.setAdapter(pagerAdapter); 57 tabLayout.setupWithViewPager(pager);
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
CustomHeaderViewPagerTest.java | 44 final ViewPager pager = (ViewPager) view.findViewById(R.id.pager); local 50 // Click on the first page. Now the view pager should switch to that page accordingly. 52 assertEquals(1, pager.getCurrentItem());
|
/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
BaseViewPagerTest.java | 91 * class as it is independent on the specific pager title implementation (interactive or non 94 * Testing logic that does depend on the specific pager title implementation is pushed into the 255 mViewPager = (ViewPager) activity.findViewById(R.id.pager); 261 onView(withId(R.id.pager)).perform(setAdapter(adapter), scrollToPage(0, false)); 266 onView(withId(R.id.pager)).perform(setAdapter(null)); 276 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 280 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 285 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 290 onView(withId(R.id.pager)).perform(scrollLeft(smoothScroll)); 295 onView(withId(R.id.pager)).perform(scrollLeft(smoothScroll)) [all...] |
ViewPagerWithTabStripTest.java | 62 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 76 onView(withId(R.id.pager)).perform(scrollToPage(0, smoothScroll)); 87 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll));
|
ViewPagerWithTitleStripTest.java | 58 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); 77 onView(withId(R.id.pager)).perform(scrollToPage(0, smoothScroll)); 84 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll));
|
/developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
LNotificationActivity.java | 27 import static com.example.android.lnotifications.R.id.pager; 40 ViewPager viewPager = (ViewPager) findViewById(pager);
|
/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
LNotificationActivity.java | 27 import static com.example.android.lnotifications.R.id.pager; 40 ViewPager viewPager = (ViewPager) findViewById(pager);
|
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
LNotificationActivity.java | 27 import static com.example.android.lnotifications.R.id.pager; 40 ViewPager viewPager = (ViewPager) findViewById(pager);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
PageIndicator.java | 76 public void setupWithViewPager(ViewPager pager) { 77 mPager = pager; 79 final PagerAdapter adapter = (PagerAdapter) pager.getAdapter(); 80 pager.addOnPageChangeListener(mPageListener); 81 pager.addOnAdapterChangeListener(mPageListener);
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/ |
FragmentTabsFragment.java | 34 mTabHost.setup(getActivity(), getChildFragmentManager(), R.id.pager);
|
FragmentNestingPagerSupport.java | 42 mViewPager.setId(R.id.pager); 98 public TabsAdapter(Activity activity, ViewPager pager) { 102 mViewPager = pager;
|
FragmentNestingStatePagerSupport.java | 42 mViewPager.setId(R.id.pager); 98 public TabsAdapter(Activity activity, ViewPager pager) { 102 mViewPager = pager;
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
ContactPickerFragmentTest.java | 145 final ViewPager pager = (ViewPager) getFragment().getView().findViewById(R.id.pager); local 146 final View currentPagedView = pager.getChildAt(pager.getCurrentItem()); 147 final View frequentContactsView = ((CustomHeaderViewPagerAdapter) pager.getAdapter())
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentTabsPager.java | 51 mViewPager = (ViewPager)findViewById(R.id.pager); 121 public TabsAdapter(FragmentActivity activity, TabHost tabHost, ViewPager pager) { 125 mViewPager = pager;
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
InCallFragment.java | 79 private LockableViewPager pager; field in class:InCallFragment 98 pager.setCurrentItem(adapter.getButtonGridPosition()); 150 pager = (LockableViewPager) view.findViewById(R.id.incall_pager); 151 pager.setOnTouchListener( 268 pager.setAdapter(adapter); 275 paginator.setupWithViewPager(pager); 276 pager.setSwipingLocked(false); 280 pager.setCurrentItem(adapter.getButtonGridPosition(), false /* animateScroll */); 449 pager.setVisibility(visibility); 454 pager.setSwipingLocked(false) [all...] |
/developers/samples/android/ui/views/EffectiveNavigation/app/src/androidTest/java/com/example/android/effectivenavigation/ |
MainActivityTest.java | 47 onView(withId(R.id.pager)).check(matches(isDisplayed())); 63 onView(withId(R.id.pager)).perform(swipeLeft());
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
CallComposerActivity.java | 136 private LockableViewPager pager; field in class:CallComposerActivity 167 pager = findViewById(R.id.call_composer_view_pager); 180 pager.setAdapter(adapter); 181 pager.addOnPageChangeListener(this); 193 pager.onRestoreInstanceState(savedInstanceState.getParcelable(VIEW_PAGER_STATE_KEY)); 297 pager.setCurrentItem(CallComposerPagerAdapter.INDEX_CAMERA, true /* animate */); 299 pager.setCurrentItem(CallComposerPagerAdapter.INDEX_GALLERY, true /* animate */); 301 pager.setCurrentItem(CallComposerPagerAdapter.INDEX_MESSAGE, true /* animate */); 323 (CallComposerFragment) adapter.instantiateItem(pager, currentIndex); 383 pager.setSwipingLocked(true) [all...] |
/external/curl/ |
update_curl.sh | 118 git --no-pager log "${UPSTREAM}/master" --not "${current_sha}" --oneline \ 154 git --no-pager log "${target_sha}" \
|
/packages/apps/Gallery2/src/com/android/photos/ |
GalleryActivity.java | 112 public TabsAdapter(GalleryActivity activity, ViewPager pager) { 116 mViewPager = pager;
|