Home
last modified time | relevance | path

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

/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoThumbnailFragment.java61 private GridView mGridView; field in PhotoThumbnailFragment
139 mGridView = ((GridView) localView.findViewById(android.R.id.list)); in onCreateView()
164 mGridView.setColumnWidth(mColumnWidth); in onCreateView()
167 mGridView.setNumColumns(-1); in onCreateView()
170 mGridView.setAdapter(mAdapter); in onCreateView()
176 mGridView.setOnItemClickListener(this); in onCreateView()
182 mGridView.setEmptyView(localView.findViewById(R.id.progressRoot)); in onCreateView()
231 mGridView = null; in onDestroyView()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageGridFragment.java97 final GridView mGridView = (GridView) v.findViewById(R.id.gridView); in onCreateView() local
98 mGridView.setAdapter(mAdapter); in onCreateView()
99 mGridView.setOnItemClickListener(this); in onCreateView()
100 mGridView.setOnScrollListener(new AbsListView.OnScrollListener() { in onCreateView()
124 mGridView.getViewTreeObserver().addOnGlobalLayoutListener( in onCreateView()
131 mGridView.getWidth() / (mImageThumbSize + mImageThumbSpacing)); in onCreateView()
134 (mGridView.getWidth() / numColumns) - mImageThumbSpacing; in onCreateView()
141 mGridView.getViewTreeObserver() in onCreateView()
144 mGridView.getViewTreeObserver() in onCreateView()
/development/samples/browseable/DoneBar/src/com.example.android.donebar/
DMainActivity.java37 private GridView mGridView; field in MainActivity
52 mGridView = (GridView) findViewById(android.R.id.list); in onCreate()
53 mGridView.setAdapter(new SampleAdapter()); in onCreate()
54 mGridView.setOnItemClickListener(this); in onCreate()
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DMainActivity.java37 private GridView mGridView; field in MainActivity
50 mGridView = (GridView) findViewById(android.R.id.list); in onCreate()
51 mGridView.setAdapter(new SampleAdapter()); in onCreate()
52 mGridView.setOnItemClickListener(this); in onCreate()
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DMainActivity.java42 private GridView mGridView; field in MainActivity
51 mGridView = (GridView) findViewById(R.id.grid); in onCreate()
52 mGridView.setOnItemClickListener(this); in onCreate()
54 mGridView.setAdapter(mAdapter); in onCreate()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/
DSwipeRefreshMultipleViewsFragment.java63 private GridView mGridView; field in SwipeRefreshMultipleViewsFragment
99 mGridView = (GridView) view.findViewById(android.R.id.list); in onCreateView()
120 mGridView.setAdapter(mListAdapter); in onViewCreated()
123 mGridView.setEmptyView(mEmptyView); in onViewCreated()