Home
last modified time | relevance | path

Searched refs:NUM_ITEMS (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DCustomEdgeEffectTest.java50 private static final int NUM_ITEMS = 10; field in CustomEdgeEffectTest
62 mRecyclerView.setAdapter(new TestAdapter(NUM_ITEMS) { in setup()
68 holder.itemView.setMinimumHeight(mRecyclerView.getMeasuredHeight() * 2 / NUM_ITEMS); in setup()
88 scrollToPosition(NUM_ITEMS - 1); in testEdgeEffectDirections()
/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
DFragmentPagerSupport.java42 static final int NUM_ITEMS = 10; field in FragmentPagerSupport
70 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
82 return NUM_ITEMS; in getCount()
DFragmentStatePagerSupport.java42 static final int NUM_ITEMS = 10; field in FragmentStatePagerSupport
70 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
82 return NUM_ITEMS; in getCount()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentStatePagerSupport.java42 static final int NUM_ITEMS = 10; field in FragmentStatePagerSupport
70 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
82 return NUM_ITEMS; in getCount()
DFragmentPagerSupport.java42 static final int NUM_ITEMS = 10; field in FragmentPagerSupport
70 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
82 return NUM_ITEMS; in getCount()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DVerticalGridFragment.java36 private static final int NUM_ITEMS = 50; field in VerticalGridFragment
78 for (int i = 0; i < NUM_ITEMS; i++) { in loadData()
DVerticalGridSupportFragment.java39 private static final int NUM_ITEMS = 50; field in VerticalGridSupportFragment
81 for (int i = 0; i < NUM_ITEMS; i++) { in loadData()
DHorizontalGridTestActivity.java38 private static final int NUM_ITEMS = 100; field in HorizontalGridTestActivity
125 mItemLengths = new int[NUM_ITEMS]; in MyAdapter()