Home
last modified time | relevance | path

Searched refs:mGrid (Results 1 – 3 of 3) 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.java114 private final ProgramGrid mGrid; field in ProgramGuide
260 mGrid = (ProgramGrid) mTable.findViewById(R.id.grid); in ProgramGuide()
261 mGrid.initialize(mProgramManager); in ProgramGuide()
262 mGrid.getRecycledViewPool().setMaxRecycledViews( in ProgramGuide()
265 mGrid.setAdapter(programTableAdapter); in ProgramGuide()
267 mGrid.setChildFocusListener(this); in ProgramGuide()
268 mGrid.setOnChildSelectedListener(new OnChildSelectedListener() { in ProgramGuide()
282 mGrid.setFocusScrollStrategy(ProgramGrid.FOCUS_SCROLL_ALIGNED); in ProgramGuide()
283 mGrid.setWindowAlignmentOffset(mSelectionRow * mRowHeight); in ProgramGuide()
284 mGrid.setWindowAlignmentOffsetPercent(ProgramGrid.WINDOW_ALIGN_OFFSET_PERCENT_DISABLED); in ProgramGuide()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DChartDataUsageView.java56 private ChartGridView mGrid; field in ChartDataUsageView
111 mGrid = (ChartGridView) findViewById(R.id.grid); in onFinishInflate()
134 mGrid.init(mHoriz, mVert); in onFinishInflate()
241 mGrid.invalidate(); in updateVertAxisBounds()
362 mGrid.setBounds(visibleStart, visibleEnd); in setVisibleRange()