Home
last modified time | relevance | path

Searched refs:verticalGridView (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
DBaseLeanbackPreferenceFragment.java40 VerticalGridView verticalGridView = (VerticalGridView) inflater in onCreateRecyclerView() local
42 verticalGridView.setWindowAlignment(VerticalGridView.WINDOW_ALIGN_BOTH_EDGE); in onCreateRecyclerView()
43 verticalGridView.setFocusScrollStrategy(VerticalGridView.FOCUS_SCROLL_ALIGNED); in onCreateRecyclerView()
44 verticalGridView.setAccessibilityDelegateCompat( in onCreateRecyclerView()
45 new PreferenceRecyclerViewAccessibilityDelegate(verticalGridView)); in onCreateRecyclerView()
46 return verticalGridView; in onCreateRecyclerView()
DLeanbackListPreferenceDialogFragment.java147 final VerticalGridView verticalGridView = in onCreateView() local
150 verticalGridView.setWindowAlignment(VerticalGridView.WINDOW_ALIGN_BOTH_EDGE); in onCreateView()
151 verticalGridView.setFocusScrollStrategy(VerticalGridView.FOCUS_SCROLL_ALIGNED); in onCreateView()
152 verticalGridView.setAdapter(onCreateAdapter()); in onCreateView()
153 verticalGridView.requestFocus(); in onCreateView()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DDetailsFragmentTest.java161 final VerticalGridView verticalGridView = detailsFragment.getRowsFragment() in parallaxTest() local
163 final int windowHeight = verticalGridView.getHeight(); in parallaxTest()
164 final int windowWidth = verticalGridView.getWidth(); in parallaxTest()
170 final View detailsFrame = verticalGridView.findViewById(R.id.details_frame); in parallaxTest()
176 verticalGridView.offsetDescendantRectToMyCoords(detailsFrame, detailsFrameRect); in parallaxTest()
188 verticalGridView.scrollToPosition(1); in parallaxTest()
202 verticalGridView.offsetDescendantRectToMyCoords(detailsFrame, detailsFrameRect); in parallaxTest()
DDetailsSupportFragmentTest.java164 final VerticalGridView verticalGridView = detailsFragment.getRowsSupportFragment() in parallaxTest() local
166 final int windowHeight = verticalGridView.getHeight(); in parallaxTest()
167 final int windowWidth = verticalGridView.getWidth(); in parallaxTest()
173 final View detailsFrame = verticalGridView.findViewById(R.id.details_frame); in parallaxTest()
179 verticalGridView.offsetDescendantRectToMyCoords(detailsFrame, detailsFrameRect); in parallaxTest()
191 verticalGridView.scrollToPosition(1); in parallaxTest()
205 verticalGridView.offsetDescendantRectToMyCoords(detailsFrame, detailsFrameRect); in parallaxTest()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsFragment.java594 VerticalGridView verticalGridView = getVerticalGridView(); in switchToRows() local
595 if (verticalGridView != null && verticalGridView.getChildCount() > 0) { in switchToRows()
596 verticalGridView.requestFocus(); in switchToRows()
DDetailsSupportFragment.java597 VerticalGridView verticalGridView = getVerticalGridView(); in switchToRows() local
598 if (verticalGridView != null && verticalGridView.getChildCount() > 0) { in switchToRows()
599 verticalGridView.requestFocus(); in switchToRows()