/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridPadding.java | 30 private GridView mGridView; 43 mGridView = findViewById(R.id.grid); 44 mGridView.setAdapter(new ArrayAdapter<String>(this, 49 return mGridView;
|
GridScrollListener.java | 35 GridView mGridView; 50 mGridView = findViewById(R.id.grid); 51 mGridView.setAdapter(new ArrayAdapter<String>(this, 54 mGridView.setOnScrollListener(this); 58 return mGridView;
|
GridInHorizontal.java | 34 GridView mGridView; 49 mGridView = (GridView) findViewById(R.id.grid); 50 mGridView.setAdapter(new ArrayAdapter<String>(this, 56 return mGridView;
|
GridInVertical.java | 34 GridView mGridView; 49 mGridView = (GridView) findViewById(R.id.grid); 50 mGridView.setAdapter(new ArrayAdapter<String>(this, 56 return mGridView;
|
GridStackFromBottomManyTest.java | 27 private GridView mGridView; 38 mGridView = getActivity().getGridView(); 44 assertNotNull(mGridView); 47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
GridStackFromBottomTest.java | 27 private GridView mGridView; 38 mGridView = getActivity().getGridView(); 44 assertNotNull(mGridView); 47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
GridSetSelectionBaseTest.java | 28 private GridView mGridView; 39 mGridView = getActivity().getGridView(); 45 assertNotNull(mGridView); 48 if (mGridView.isStackFromBottom()) { 49 assertEquals(mGridView.getAdapter().getCount() - 1, 50 mGridView.getSelectedItemPosition()); 52 assertEquals(0, mGridView.getSelectedItemPosition()); 58 final int target = mGridView.getAdapter().getCount() - 1; 61 mGridView.setSelection(target); 66 assertEquals(mGridView.getSelectedItemPosition(), target) [all...] |
GridInHorizontalTest.java | 28 private GridView mGridView; 39 mGridView = getActivity().getGridView(); 45 assertNotNull(mGridView); 46 assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0); 47 assertTrue("Grid has 0 height", mGridView.getMeasuredHeight() > 0);
|
GridInVerticalTest.java | 28 private GridView mGridView; 39 mGridView = getActivity().getGridView(); 45 assertNotNull(mGridView); 46 assertTrue("Grid has 0 width", mGridView.getMeasuredWidth() > 0); 47 assertTrue("Grid has 0 height", mGridView.getMeasuredHeight() > 0);
|
GridPaddingTest.java | 24 private GridView mGridView; 35 mGridView = getActivity().getGridView(); 40 assertNotNull(mGridView); 41 assertTrue("Not in touch mode", mGridView.isInTouchMode()); 47 assertEquals("The first item should be selected", mGridView.getSelectedItemPosition(), 0);
|
GridSingleColumnTest.java | 27 private GridView mGridView; 38 mGridView = getActivity().getGridView(); 44 assertNotNull(mGridView); 45 assertEquals(0, mGridView.getSelectedItemPosition());
|
GridScrollListenerTest.java | 33 private GridView mGridView; 47 mGridView = getActivity().getGridView(); 48 mGridView.setOnScrollListener(this); 54 assertNotNull(mGridView);
|
/developers/build/prebuilts/gradle/DoneBar/Application/src/main/java/com/example/android/donebar/ |
MainActivity.java | 37 private GridView mGridView; 52 mGridView = (GridView) findViewById(android.R.id.list); 53 mGridView.setAdapter(new SampleAdapter()); 54 mGridView.setOnItemClickListener(this);
|
/developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/ |
MainActivity.java | 37 private GridView mGridView; 50 mGridView = (GridView) findViewById(android.R.id.list); 51 mGridView.setAdapter(new SampleAdapter()); 52 mGridView.setOnItemClickListener(this);
|
/development/samples/browseable/DoneBar/src/com.example.android.donebar/ |
MainActivity.java | 37 private GridView mGridView; 52 mGridView = (GridView) findViewById(android.R.id.list); 53 mGridView.setAdapter(new SampleAdapter()); 54 mGridView.setOnItemClickListener(this);
|
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/ |
MainActivity.java | 37 private GridView mGridView; 50 mGridView = (GridView) findViewById(android.R.id.list); 51 mGridView.setAdapter(new SampleAdapter()); 52 mGridView.setOnItemClickListener(this);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
GridTouchVerticalSpacingStackFromBottomTest.java | 33 private GridView mGridView; 45 mGridView = getActivity().getGridView(); 53 assertNotNull(mGridView); 56 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition()); 62 View firstChild = mGridView.getChildAt(0); 63 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 70 View newLastChild = mGridView.getChildAt(mGridView.getChildCount() - 1) [all...] |
GridTouchStackFromBottomManyTest.java | 30 private GridView mGridView; 41 mGridView = getActivity().getGridView(); 47 assertNotNull(mGridView); 50 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition()); 56 TouchUtils.scrollToTop(this, mGridView); 60 mGridView.getSelectedItemPosition()); 62 firstChild = mGridView.getChildAt(0); 67 mGridView.getListPaddingTop(), firstChild.getTop()); 72 TouchUtils.scrollToBottom(this, mGridView); [all...] |
GridTouchStackFromBottomTest.java | 29 private GridView mGridView; 40 mGridView = getActivity().getGridView(); 46 assertNotNull(mGridView); 49 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition()); 54 TouchUtils.scrollToBottom(this, mGridView); 58 mGridView.getSelectedItemPosition()); 60 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 63 mGridView.getAdapter().getCount() - 1, lastChild.getId()) [all...] |
GridTouchVerticalSpacingTest.java | 32 private GridView mGridView; 43 mGridView = getActivity().getGridView(); 49 assertNotNull(mGridView); 51 assertEquals(0, mGridView.getSelectedItemPosition()); 56 View firstChild = mGridView.getChildAt(0); 57 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 64 View newFirstChild = mGridView.getChildAt(0); 73 View firstChild = mGridView.getChildAt(0); 74 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1) [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
GridLayoutAnimCtsActivity.java | 32 private GridView mGridView; 39 mGridView = (GridView) findViewById(R.id.gridlayout_anim_gridview); 40 mGridView.setAdapter(new MockGridViewAdapter(GRID_NUM)); 44 return mGridView;
|
/developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/ |
MainActivity.java | 42 private GridView mGridView; 51 mGridView = (GridView) findViewById(R.id.grid); 52 mGridView.setOnItemClickListener(this); 54 mGridView.setAdapter(mAdapter);
|
/developers/samples/android/ui/activityscenetransition/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/ |
MainActivity.java | 42 private GridView mGridView; 51 mGridView = (GridView) findViewById(R.id.grid); 52 mGridView.setOnItemClickListener(this); 54 mGridView.setAdapter(mAdapter);
|
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/ |
MainActivity.java | 42 private GridView mGridView; 51 mGridView = (GridView) findViewById(R.id.grid); 52 mGridView.setOnItemClickListener(this); 54 mGridView.setAdapter(mAdapter);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ListRowView.java | 29 private HorizontalGridView mGridView; 45 mGridView = (HorizontalGridView) findViewById(R.id.row_content); 47 mGridView.setHasFixedSize(false); 50 // mGridView.setFocusScrollStrategy(HorizontalGridView.FOCUS_SCROLL_PAGE); 60 return mGridView;
|