Home
last modified time | relevance | path

Searched refs:mGrid (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java43 mGrid.focusableViewAvailable(mGrid);
48 GridView mGrid; field in MultiSelectGridFragment
77 if (mGrid != null) { in onAttach()
78 mGrid.setMultiChoiceModeListener(mHost.getMultiChoiceManager()); in onAttach()
103 mGrid = null; in onDestroyView()
130 if (mGrid != null) { in setAdapter()
131 mGrid.setAdapter(adapter); in setAdapter()
148 mGrid.setSelection(position); in setSelection()
156 return mGrid.getSelectedItemPosition(); in getSelectedItemPosition()
164 return mGrid.getSelectedItemId(); in getSelectedItemId()
[all …]
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java127 private final ProgramGrid mGrid; field in ProgramGuide
302 mGrid = (ProgramGrid) mTable.findViewById(R.id.grid); in ProgramGuide()
303 mGrid.initialize(mProgramManager); in ProgramGuide()
304 mGrid.getRecycledViewPool() in ProgramGuide()
308 mGrid.setAdapter(programTableAdapter); in ProgramGuide()
310 mGrid.setChildFocusListener(this); in ProgramGuide()
311 mGrid.setOnChildSelectedListener( in ProgramGuide()
330 mGrid.setFocusScrollStrategy(ProgramGrid.FOCUS_SCROLL_ALIGNED); in ProgramGuide()
331 mGrid.setWindowAlignmentOffset(mSelectionRow * mRowHeight); in ProgramGuide()
332 mGrid.setWindowAlignmentOffsetPercent(ProgramGrid.WINDOW_ALIGN_OFFSET_PERCENT_DISABLED); in ProgramGuide()
[all …]