Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestActivity.java69 private IngestGridView mGridView; field in IngestActivity
100 mGridView = (IngestGridView) findViewById(R.id.ingest_gridview); in onCreate()
103 mGridView.setAdapter(mAdapter); in onCreate()
104 mGridView.setMultiChoiceModeListener(mMultiChoiceModeListener); in onCreate()
105 mGridView.setOnItemClickListener(mOnItemClickListener); in onCreate()
106 mGridView.setOnClearChoicesListener(mPositionMappingCheckBroker); in onCreate()
120 mGridView.setItemChecked(position, !mGridView.getCheckedItemPositions().get(position));
128 int count = mGridView.getCheckedItemCount();
140 SparseBooleanArray checkedItems = mGridView.getCheckedItemPositions();
142 mGridView.setItemChecked(position, false);
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DPermissionsFrameFragment.java44 @Nullable private RecyclerView mGridView; field in PermissionsFrameFragment
140 mGridView = verticalGridView; in onCreateRecyclerView()
141 return mGridView; in onCreateRecyclerView()
173 if (!isEmpty && mGridView != null) { in onCreateAdapter()
174 mGridView.requestFocus(); in onCreateAdapter()
183 if (!isEmpty && mGridView != null) { in onCreateAdapter()
184 mGridView.requestFocus(); in onCreateAdapter()
/packages/apps/Contacts/src/com/android/contacts/editor/
DCompactPhotoSelectionFragment.java261 private GridView mGridView; field in CompactPhotoSelectionFragment
270 mGridView.setAccessibilityDelegate(new View.AccessibilityDelegate() {}); in setPhotos()
290 mGridView = (GridView) view.findViewById(R.id.grid_view); in onCreateView()
291 mGridView.setAdapter(photoAdapter); in onCreateView()
292 mGridView.setOnItemClickListener(new AdapterView.OnItemClickListener() { in onCreateView()
317 mGridView.setNumColumns(Math.round(numColumns)); in onCreateView()
324 mGridView.setAccessibilityDelegate(new View.AccessibilityDelegate() { in handleAccessibility()
334 final ViewGroup clickedView = (ViewGroup) mGridView.getChildAt(position); in handleAccessibility()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DPicker.java398 private VerticalGridView mGridView; field in Picker.Adapter
416 setOrAnimateAlpha(textView, mGridView.getSelectedPosition() == position, in onBindViewHolder()
417 mGridView.hasFocus(), false, null); in onBindViewHolder()
432 mGridView = (VerticalGridView) recyclerView; in onAttachedToRecyclerView()
433 mGridView.setOnChildSelectedListener(this); in onAttachedToRecyclerView()
438 mGridView = null; in onDetachedFromRecyclerView()
443 if (mGridView == null) { in onChildSelected()
446 final ViewHolder vh = (ViewHolder) mGridView.getChildViewHolder(view); in onChildSelected()
449 updateColumn(mGridView, mGridView.hasFocus(), null); in onChildSelected()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java79 GridView mGridView; field in GalleryPicker
90 mGridView = (GridView) findViewById(R.id.albums); in onCreate()
92 mGridView.setOnItemClickListener(new AdapterView.OnItemClickListener() { in onCreate()
99 mGridView.setOnCreateContextMenuListener( in onCreate()
265 mGridView.setAdapter(null); in onStop()
274 mGridView.setAdapter(mAdapter); in onStart()