Home
last modified time | relevance | path

Searched refs:getGridView (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridSimple.java41 getGridView().setSelector(new PaintDrawable(0xFFFF0000)); in onCreate()
42 getGridView().setPadding(0, 0, 0, 0); in onCreate()
43 getGridView().setFadingEdgeLength(64); in onCreate()
44 getGridView().setVerticalFadingEdgeEnabled(true); in onCreate()
45 getGridView().setBackgroundColor(0xFFC0C0C0); in onCreate()
DGridPaddingTest.java35 mGridView = getActivity().getGridView(); in setUp()
DGridSingleColumnTest.java38 mGridView = getActivity().getGridView(); in setUp()
DGridInHorizontalTest.java39 mGridView = getActivity().getGridView(); in setUp()
DGridStackFromBottomManyTest.java38 mGridView = getActivity().getGridView(); in setUp()
DGridInVerticalTest.java39 mGridView = getActivity().getGridView(); in setUp()
DGridStackFromBottomTest.java38 mGridView = getActivity().getGridView(); in setUp()
DGridPadding.java48 public GridView getGridView() { in getGridView() method in GridPadding
DGridInHorizontal.java55 public GridView getGridView() { in getGridView() method in GridInHorizontal
DGridInVertical.java55 public GridView getGridView() { in getGridView() method in GridInVertical
DGridScrollListener.java57 public GridView getGridView() { in getGridView() method in GridScrollListener
DGridDelete.java57 GridView g = getGridView(); in onKeyDown()
DGridSetSelectionBaseTest.java39 mGridView = getActivity().getGridView(); in setUp()
DGridScrollListenerTest.java45 mGridView = getActivity().getGridView(); in setUp()
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DVerticalGridFragment.java122 int position = mGridViewHolder.getGridView().getSelectedPosition();
157 if (mGridViewHolder.getGridView().findViewHolderForAdapterPosition(mSelectedPosition) in showOrHideTitle()
161 if (!mGridViewHolder.getGridView().hasPreviousViewInSameRow(mSelectedPosition)) { in showOrHideTitle()
197 mGridViewHolder.getGridView().setOnChildLaidOutListener(mChildLaidOutListener); in onCreateView()
233 if(mGridViewHolder != null && mGridViewHolder.getGridView().getAdapter() != null) { in setSelectedPosition()
234 mGridViewHolder.getGridView().setSelectedPositionSmooth(position); in setSelectedPosition()
242 mGridViewHolder.getGridView().setSelectedPosition(mSelectedPosition); in updateAdapter()
DVerticalGridSupportFragment.java117 int position = mGridViewHolder.getGridView().getSelectedPosition();
152 if (mGridViewHolder.getGridView().findViewHolderForAdapterPosition(mSelectedPosition) in showOrHideTitle()
156 if (!mGridViewHolder.getGridView().hasPreviousViewInSameRow(mSelectedPosition)) { in showOrHideTitle()
192 mGridViewHolder.getGridView().setOnChildLaidOutListener(mChildLaidOutListener); in onCreateView()
228 if(mGridViewHolder != null && mGridViewHolder.getGridView().getAdapter() != null) { in setSelectedPosition()
229 mGridViewHolder.getGridView().setSelectedPositionSmooth(position); in setSelectedPosition()
237 mGridViewHolder.getGridView().setSelectedPosition(mSelectedPosition); in updateAdapter()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DVerticalGridPresenter.java89 public VerticalGridView getGridView() { in getGridView() method in VerticalGridPresenter.ViewHolder
266 vh.getGridView().setNumColumns(mNumColumns); in initializeGridViewHolder()
286 vh.getGridView().setFocusDrawingOrderEnabled(mShadowOverlayHelper.getShadowType() in initializeGridViewHolder()
292 vh.getGridView().setOnChildSelectedListener(new OnChildSelectedListener() { in initializeGridViewHolder()
338 vh.getGridView().setAdapter(vh.mItemBridgeAdapter); in onBindViewHolder()
346 vh.getGridView().setAdapter(null); in onUnbindViewHolder()
384 (ItemBridgeAdapter.ViewHolder) vh.getGridView().getChildViewHolder(view); in selectChildView()
DListRowPresenter.java92 public final HorizontalGridView getGridView() { in getGridView() method in ListRowPresenter.ViewHolder
209 HorizontalGridView gridView = ((ListRowPresenter.ViewHolder) holder).getGridView(); in run()
280 mRowViewHolder.getGridView().getRecycledViewPool().setMaxRecycledViews( in onAddPresenter()
563 vh.getGridView().setPadding(vh.mPaddingLeft, paddingTop, vh.mPaddingRight, in setVerticalPadding()
573 rowView.getGridView().setRowHeight(mRowHeight); in createRowViewHolder()
575 return new ViewHolder(rowView, rowView.getGridView(), this); in createRowViewHolder()
630 HorizontalGridView gridView = rowView.getGridView(); in setupFadingEffect()
647 vh.getGridView().setRowHeight(newHeight); in onRowViewExpanded()
DListRowView.java60 public HorizontalGridView getGridView() { in getGridView() method in ListRowView
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DBrowseFragmentTest.java126 View card = rowVh.getGridView().getChildAt(0); in testTouchMode()
276 … assertNotNull(dumpRecyclerView(mActivity.getBrowseTestFragment().getGridView()), row); in testSelectCardOnARow()
277 assertNotNull(row.getGridView()); in testSelectCardOnARow()
278 assertEquals(selectItem, row.getGridView().getSelectedPosition()); in testSelectCardOnARow()
316 return mActivity.getBrowseTestFragment().getGridView() != null in lateLoadingHeaderDisabled()
317 && mActivity.getBrowseTestFragment().getGridView().getChildCount() > 0; in lateLoadingHeaderDisabled()
366 .getGridView())); in run()
DBrowseSupportFragmentTest.java123 View card = rowVh.getGridView().getChildAt(0); in testTouchMode()
273 … assertNotNull(dumpRecyclerView(mActivity.getBrowseTestSupportFragment().getGridView()), row); in testSelectCardOnARow()
274 assertNotNull(row.getGridView()); in testSelectCardOnARow()
275 assertEquals(selectItem, row.getGridView().getSelectedPosition()); in testSelectCardOnARow()
313 return mActivity.getBrowseTestSupportFragment().getGridView() != null in lateLoadingHeaderDisabled()
314 … && mActivity.getBrowseTestSupportFragment().getGridView().getChildCount() > 0; in lateLoadingHeaderDisabled()
363 .getGridView())); in run()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DListRowPresenterTest.java181 mListVh.getGridView().setItemAnimator(null); in defaultListRowOverlayColor()
186 assertChildrenHaveColorOverlay(mListVh.getGridView(), 1, HALF_OVERLAY_COLOR, in defaultListRowOverlayColor()
195 assertChildrenHaveColorOverlay(mListVh.getGridView(), 2, HALF_OVERLAY_COLOR, in defaultListRowOverlayColor()
254 mListVh.getGridView().setItemAnimator(null); in customListRowSelectEffect()
258 assertChildrenHaveAlpha(mListVh.getGridView(), 1, 0.5f); in customListRowSelectEffect()
266 assertChildrenHaveAlpha(mListVh.getGridView(), 2, 0.5f); in customListRowSelectEffect()
367 mListVh.getGridView().setItemAnimator(null); in setupDefaultPresenterWithSingleElement()
369 View child = mListVh.getGridView().getChildAt(0); in setupDefaultPresenterWithSingleElement()
380 View view = mListVh.getGridView().getChildAt(0); in collectResult()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchSetSelectionTest.java44 mGridView = getActivity().getGridView(); in setUp()
DGridTouchStackFromBottomManyTest.java41 mGridView = getActivity().getGridView(); in setUp()
DGridTouchStackFromBottomTest.java40 mGridView = getActivity().getGridView(); in setUp()

123