/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/ |
SwipeRefreshMultipleViewsFragment.java | 33 import android.widget.GridView; 40 * SwipeRefreshLayout contains a scrollable {@link android.widget.GridView}, along with a 46 * <p>In this sample app, the refresh updates the GridView with a random set of new items. 61 * The {@link android.widget.GridView} that displays the content that should be refreshed. 63 private GridView mGridView; 66 * The {@link android.widget.ListAdapter} used to populate the {@link android.widget.GridView} 72 * The {@link View} which is displayed when the GridView is empty. 90 // Retrieve the SwipeRefreshLayout and GridView instances 100 // Retrieve the GridView 101 mGridView = (GridView) view.findViewById(android.R.id.list) [all...] |
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/ |
SwipeRefreshMultipleViewsFragment.java | 33 import android.widget.GridView; 40 * SwipeRefreshLayout contains a scrollable {@link android.widget.GridView}, along with a 46 * <p>In this sample app, the refresh updates the GridView with a random set of new items. 61 * The {@link android.widget.GridView} that displays the content that should be refreshed. 63 private GridView mGridView; 66 * The {@link android.widget.ListAdapter} used to populate the {@link android.widget.GridView} 72 * The {@link View} which is displayed when the GridView is empty. 90 // Retrieve the SwipeRefreshLayout and GridView instances 100 // Retrieve the GridView 101 mGridView = (GridView) view.findViewById(android.R.id.list) [all...] |
/frameworks/base/core/java/android/text/method/ |
CharacterPickerDialog.java | 35 import android.widget.GridView; 77 GridView grid = (GridView) findViewById(R.id.characterPicker);
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageGridFragment.java | 38 import android.widget.GridView; 51 * The main fragment that powers the ImageGridActivity screen. Fairly straight forward GridView 97 final GridView mGridView = (GridView) v.findViewById(R.id.gridView); 120 // This listener is used to get the final width of the GridView and then calculate the 122 // as the GridView has stretchMode=columnWidth. The column width is used to set the height 183 // show plus the thumbnail image in GridView is cropped. so using 211 * The main adapter that backs the GridView. This is fairly standard except the number of 212 * columns in the GridView is used to create a fake top row of empty views as we use [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageGridFragment.java | 38 import android.widget.GridView; 51 * The main fragment that powers the ImageGridActivity screen. Fairly straight forward GridView 97 final GridView mGridView = (GridView) v.findViewById(R.id.gridView); 120 // This listener is used to get the final width of the GridView and then calculate the 122 // as the GridView has stretchMode=columnWidth. The column width is used to set the height 183 // show plus the thumbnail image in GridView is cropped. so using 211 * The main adapter that backs the GridView. This is fairly standard except the number of 212 * columns in the GridView is used to create a fake top row of empty views as we use [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
ImageGridFragment.java | 38 import android.widget.GridView; 51 * The main fragment that powers the ImageGridActivity screen. Fairly straight forward GridView 97 final GridView mGridView = (GridView) v.findViewById(R.id.gridView); 120 // This listener is used to get the final width of the GridView and then calculate the 122 // as the GridView has stretchMode=columnWidth. The column width is used to set the height 183 // show plus the thumbnail image in GridView is cropped. so using 211 * The main adapter that backs the GridView. This is fairly standard except the number of 212 * columns in the GridView is used to create a fake top row of empty views as we use [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
GridTouchVerticalSpacingStackFromBottomTest.java | 17 package android.widget.gridview.touch; 27 import android.widget.GridView; 29 import android.widget.gridview.GridVerticalSpacingStackFromBottom; 33 private GridView mGridView;
|
GridTouchVerticalSpacingTest.java | 17 package android.widget.gridview.touch; 26 import android.widget.GridView; 28 import android.widget.gridview.GridVerticalSpacing; 32 private GridView mGridView;
|
/packages/apps/Gallery2/src/com/android/photos/ |
AlbumSetFragment.java | 30 import android.widget.GridView; 91 public void onGridItemClick(GridView g, View v, int position, long id) {
|
PhotoSetFragment.java | 29 import android.widget.GridView; 69 public void onGridItemClick(GridView g, View v, int position, long id) {
|
AlbumFragment.java | 29 import android.widget.GridView; 103 public void onGridItemClick(GridView g, View v, int position, long id) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Grid2.java | 27 import android.widget.GridView; 42 GridView g = (GridView) findViewById(R.id.myGrid); 67 imageView.setLayoutParams(new GridView.LayoutParams(45, 45));
|
/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/ |
MainActivity.java | 32 import android.widget.GridView; 65 // Find the {@link GridView} that was already defined in the XML layout 66 GridView gridView = (GridView) findViewById(R.id.grid); 68 // Initialize the adapter with all the coupons. Set the adapter on the {@link GridView}. 69 gridView.setAdapter(new CouponAdapter(inflater, createAllCoupons())); 72 gridView.setOnItemClickListener(this);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
PaletteDetailActivity.java | 31 import android.widget.GridView; 50 private GridView mGridView; 65 mGridView = (GridView) findViewById(R.id.palette);
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoThumbnailFragment.java | 39 import android.widget.GridView; 46 * PhotoThumbnailFragment displays a GridView of picture thumbnails downloaded from Picasa 60 // The GridView for displaying thumbnails 61 private GridView mGridView; 63 // Denotes if the GridView has been loaded 69 // An adapter between a Cursor and the Fragment's GridView 138 // Gets a handle to the GridView in the layout 139 mGridView = ((GridView) localView.findViewById(android.R.id.list)); 163 // Sets the GridView's column width 166 // Starts by setting the GridView to have no column [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserSnapshotPage.java | 45 import android.widget.GridView; 78 GridView mGrid; 96 mGrid = (GridView) view.findViewById(R.id.grid);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
SharePopup.java | 41 import android.widget.GridView; 67 private GridView mShareList; 120 mShareList = (GridView) sharePopup.findViewById(R.id.share_list);
|
/developers/build/prebuilts/gradle/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
AdapterTransitionFragment.java | 34 import android.widget.GridView; 50 * A tag for saving state whether the mAbsListView is ListView or GridView. 55 * This is where we place our AdapterView (ListView / GridView). 65 * This list shows our contents. It can be ListView or GridView, and we toggle between them 92 // or a GridView. 175 * Inflate a ListView or a GridView with a corresponding ListAdapter. 180 * @param inflateListView Pass true to inflate a ListView, or false to inflate a GridView. 198 * Toggle the UI between ListView and GridView. 228 * Swap ListView with GridView, or GridView with ListView [all...] |
/developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
AdapterTransitionFragment.java | 34 import android.widget.GridView; 50 * A tag for saving state whether the mAbsListView is ListView or GridView. 55 * This is where we place our AdapterView (ListView / GridView). 65 * This list shows our contents. It can be ListView or GridView, and we toggle between them 92 // or a GridView. 175 * Inflate a ListView or a GridView with a corresponding ListAdapter. 180 * @param inflateListView Pass true to inflate a ListView, or false to inflate a GridView. 198 * Toggle the UI between ListView and GridView. 228 * Swap ListView with GridView, or GridView with ListView [all...] |
/development/samples/browseable/AdapterTransition/src/com.example.android.adaptertransition/ |
AdapterTransitionFragment.java | 34 import android.widget.GridView; 50 * A tag for saving state whether the mAbsListView is ListView or GridView. 55 * This is where we place our AdapterView (ListView / GridView). 65 * This list shows our contents. It can be ListView or GridView, and we toggle between them 92 // or a GridView. 175 * Inflate a ListView or a GridView with a corresponding ListAdapter. 180 * @param inflateListView Pass true to inflate a ListView, or false to inflate a GridView. 198 * Toggle the UI between ListView and GridView. 228 * Swap ListView with GridView, or GridView with ListView [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
PhoneFavoriteListView.java | 33 import android.widget.GridView; 42 public class PhoneFavoriteListView extends GridView implements OnDragDropListener,
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
HeaderGridView.java | 29 import android.widget.GridView; 36 * A {@link GridView} that supports adding header rows in a 40 public class HeaderGridView extends GridView { 386 // We need to do this because GridView uses the height of the last item
|
/development/samples/Home/src/com/example/android/home/ |
Home.java | 56 import android.widget.GridView; 106 private GridView mGrid; 214 mGrid = (GridView) findViewById(R.id.all_apps); 605 * GridView adapter to show the list of all installed applications.
|
/frameworks/base/core/java/android/widget/ |
GridView.java | 50 * <p>See the <a href="{@docRoot}guide/topics/ui/layout/gridview.html">Grid 61 public class GridView extends AbsListView { 116 public GridView(Context context) { 120 public GridView(Context context, AttributeSet attrs) { 124 public GridView(Context context, AttributeSet attrs, int defStyleAttr) { 128 public GridView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 132 attrs, com.android.internal.R.styleable.GridView, defStyleAttr, defStyleRes); 179 * Sets the data behind this GridView. [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
AccessibilityNodeInfoDumper.java | 40 android.widget.GridView.class.getName(), android.widget.GridLayout.class.getName(),
|