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/
DPermissionsFrameFragment.java28 @Nullable private VerticalGridView mGridView; field in PermissionsFrameFragment
121 mGridView = (VerticalGridView) inflater.inflate( in onCreateRecyclerView()
123 mGridView.setWindowAlignmentOffset(0); in onCreateRecyclerView()
124 mGridView.setWindowAlignmentOffsetPercent(WINDOW_ALIGNMENT_OFFSET_PERCENT); in onCreateRecyclerView()
125 mGridView.setWindowAlignment(VerticalGridView.WINDOW_ALIGN_NO_EDGE); in onCreateRecyclerView()
126 mGridView.setFocusScrollStrategy(VerticalGridView.FOCUS_SCROLL_ALIGNED); in onCreateRecyclerView()
127 return mGridView; in onCreateRecyclerView()
161 if (!isEmpty && mGridView != null) { in onCreateAdapter()
162 mGridView.requestFocus(); in onCreateAdapter()
170 if (!isEmpty && mGridView != null) { in onCreateAdapter()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DPicker.java395 private VerticalGridView mGridView; field in Picker.Adapter
413 setOrAnimateAlpha(textView, mGridView.getSelectedPosition() == position, in onBindViewHolder()
414 mGridView.hasFocus(), false, null); in onBindViewHolder()
429 mGridView = (VerticalGridView) recyclerView; in onAttachedToRecyclerView()
430 mGridView.setOnChildSelectedListener(this); in onAttachedToRecyclerView()
435 mGridView = null; in onDetachedFromRecyclerView()
440 if (mGridView == null) { in onChildSelected()
443 final ViewHolder vh = (ViewHolder) mGridView.getChildViewHolder(view); in onChildSelected()
446 updateColumn(mGridView, mGridView.hasFocus(), null); in onChildSelected()
/packages/apps/FMRadio/src/com/android/fmradio/views/
DFmScroller.java102 private GridView mGridView; field in FmScroller
201 mGridView = (GridView) findViewById(R.id.gridview); in initialize()
206 mGridView.setAdapter(mAdapter); in initialize()
209 mGridView.setFocusable(false); in initialize()
210 mGridView.setFocusableInTouchMode(false); in initialize()
212 mGridView.setOnItemClickListener(new OnItemClickListener() { in initialize()
278 final ViewGroup.LayoutParams params = mGridView.getLayoutParams(); in setGridViewHeight()
280 mGridView.setLayoutParams(params); in setGridViewHeight()
/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()