/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetPrefetchTest.java | 41 public void validatePrefetch(BaseGridView gridView, int scrollX, int scrollY, in validatePrefetch() argument 45 when(state.getItemCount()).thenReturn(gridView.getAdapter().getItemCount()); in validatePrefetch() 49 gridView.getLayoutManager().collectAdjacentPrefetchPositions(scrollX, scrollY, in validatePrefetch() 82 HorizontalGridView gridView = new HorizontalGridView(getContext()); 83 gridView.setNumRows(1); 84 gridView.setRowHeight(100); 85 gridView.setAdapter(createBoxAdapter()); 87 layout(gridView, 150, 100); 90 assertEquals(2, gridView.getChildCount()); 91 assertEquals(0, gridView.getLayoutManager().findViewByPosition(0).getLeft()); [all …]
|
D | GridWidgetTest.java | 143 static String dumpGridView(BaseGridView gridView) { in dumpGridView() argument 144 return "findFocus:" + gridView.getRootView().findFocus() in dumpGridView() 145 + " isLayoutRequested:" + gridView.isLayoutRequested() in dumpGridView() 146 + " selectedPosition:" + gridView.getSelectedPosition() in dumpGridView() 147 + " adapter.itemCount:" + gridView.getAdapter().getItemCount() in dumpGridView() 148 + " itemAnimator.isRunning:" + gridView.getItemAnimator().isRunning() in dumpGridView() 149 + " scrollState:" + gridView.getScrollState(); in dumpGridView()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | HeadersSupportFragmentTest.java | 65 final VerticalGridView gridView = ((HeadersSupportFragment) activity.getTestFragment()) in defaultScale() local 68 gridView.findViewHolderForAdapterPosition(0); in defaultScale() 93 final VerticalGridView gridView = ((HeadersSupportFragment) activity.getTestFragment()) in disableScale() local 96 gridView.findViewHolderForAdapterPosition(0); in disableScale() 120 final VerticalGridView gridView = ((HeadersSupportFragment) activity.getTestFragment()) in disableScaleInConstructor() local 123 gridView.findViewHolderForAdapterPosition(0); in disableScaleInConstructor()
|
D | HeadersFragmentTest.java | 68 final VerticalGridView gridView = ((HeadersFragment) activity.getTestFragment()) in defaultScale() local 71 gridView.findViewHolderForAdapterPosition(0); in defaultScale() 96 final VerticalGridView gridView = ((HeadersFragment) activity.getTestFragment()) in disableScale() local 99 gridView.findViewHolderForAdapterPosition(0); in disableScale() 123 final VerticalGridView gridView = ((HeadersFragment) activity.getTestFragment()) in disableScaleInConstructor() local 126 gridView.findViewHolderForAdapterPosition(0); in disableScaleInConstructor()
|
D | RowsFragmentTest.java | 154 final VerticalGridView gridView = ((RowsFragment) activity.getTestFragment()) in defaultAlignment() local 156 View row0 = gridView.findViewHolderForAdapterPosition(0).itemView; in defaultAlignment() 158 gridView.offsetDescendantRectToMyCoords(row0, rect); in defaultAlignment() 162 waitForScrollIdle(gridView); in defaultAlignment() 163 View row1 = gridView.findViewHolderForAdapterPosition(1).itemView; in defaultAlignment() 167 gridView.offsetDescendantRectToMyCoords(row1, rect); in defaultAlignment() 199 final VerticalGridView gridView = ((RowsFragment) activity.getTestFragment()) in selectBeforeSetAdapter() local 201 assertEquals(7, gridView.getSelectedPosition()); in selectBeforeSetAdapter() 202 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in selectBeforeSetAdapter() 233 final VerticalGridView gridView = ((RowsFragment) activity.getTestFragment()) in selectBeforeAddData() local [all …]
|
D | RowsSupportFragmentTest.java | 151 final VerticalGridView gridView = ((RowsSupportFragment) activity.getTestFragment()) in defaultAlignment() local 153 View row0 = gridView.findViewHolderForAdapterPosition(0).itemView; in defaultAlignment() 155 gridView.offsetDescendantRectToMyCoords(row0, rect); in defaultAlignment() 159 waitForScrollIdle(gridView); in defaultAlignment() 160 View row1 = gridView.findViewHolderForAdapterPosition(1).itemView; in defaultAlignment() 164 gridView.offsetDescendantRectToMyCoords(row1, rect); in defaultAlignment() 196 final VerticalGridView gridView = ((RowsSupportFragment) activity.getTestFragment()) in selectBeforeSetAdapter() local 198 assertEquals(7, gridView.getSelectedPosition()); in selectBeforeSetAdapter() 199 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in selectBeforeSetAdapter() 230 final VerticalGridView gridView = ((RowsSupportFragment) activity.getTestFragment()) in selectBeforeAddData() local [all …]
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | FocusHighlightHelper.java | 215 public static void setupHeaderItemFocusHighlight(VerticalGridView gridView) { in setupHeaderItemFocusHighlight() argument 216 setupHeaderItemFocusHighlight(gridView, true); in setupHeaderItemFocusHighlight() 229 public static void setupHeaderItemFocusHighlight(VerticalGridView gridView, in setupHeaderItemFocusHighlight() argument 231 if (gridView != null && gridView.getAdapter() instanceof ItemBridgeAdapter) { in setupHeaderItemFocusHighlight() 232 ((ItemBridgeAdapter) gridView.getAdapter()) in setupHeaderItemFocusHighlight()
|
D | ListRowPresenter.java | 70 public ViewHolder(View rootView, HorizontalGridView gridView, ListRowPresenter p) { in ViewHolder() argument 72 mGridView = gridView; in ViewHolder() 209 HorizontalGridView gridView = ((ListRowPresenter.ViewHolder) holder).getGridView(); in run() local 222 gridView.setSelectedPositionSmooth(mItemPosition, task); in run() 224 gridView.setSelectedPosition(mItemPosition, task); in run() 630 HorizontalGridView gridView = rowView.getGridView(); in setupFadingEffect() local 632 TypedArray ta = gridView.getContext() in setupFadingEffect() 638 gridView.setFadingLeftEdgeLength(mBrowseRowsFadingEdgeLength); in setupFadingEffect()
|
D | HorizontalHoverCardSwitcher.java | 68 public void select(HorizontalGridView gridView, View childView, Object object) { in select() argument 70 gridView.getViewSelectedOffsets(childView, mTmpOffsets); in select()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
D | RowsSupportFragment.java | 559 final VerticalGridView gridView = getVerticalGridView(); in setAlignment() local 561 if (gridView != null) { in setAlignment() 562 gridView.setItemAlignmentOffset(0); in setAlignment() 563 gridView.setItemAlignmentOffsetPercent( in setAlignment() 565 gridView.setItemAlignmentOffsetWithPadding(true); in setAlignment() 566 gridView.setWindowAlignmentOffset(mAlignedTop); in setAlignment() 568 gridView.setWindowAlignmentOffsetPercent( in setAlignment() 570 gridView.setWindowAlignment(VerticalGridView.WINDOW_ALIGN_NO_EDGE); in setAlignment()
|
D | RowsFragment.java | 564 final VerticalGridView gridView = getVerticalGridView(); in setAlignment() local 566 if (gridView != null) { in setAlignment() 567 gridView.setItemAlignmentOffset(0); in setAlignment() 568 gridView.setItemAlignmentOffsetPercent( in setAlignment() 570 gridView.setItemAlignmentOffsetWithPadding(true); in setAlignment() 571 gridView.setWindowAlignmentOffset(mAlignedTop); in setAlignment() 573 gridView.setWindowAlignmentOffsetPercent( in setAlignment() 575 gridView.setWindowAlignment(VerticalGridView.WINDOW_ALIGN_NO_EDGE); in setAlignment()
|
D | DetailsSupportFragment.java | 653 final VerticalGridView gridView = getVerticalGridView(); in onRowSelected() local 654 final int count = gridView.getChildCount(); in onRowSelected() 660 gridView.getChildViewHolder(gridView.getChildAt(i)); in onRowSelected()
|
D | DetailsFragment.java | 658 final VerticalGridView gridView = getVerticalGridView(); in onRowSelected() local 659 final int count = gridView.getChildCount(); in onRowSelected() 665 gridView.getChildViewHolder(gridView.getChildAt(i)); in onRowSelected()
|
D | BrowseSupportFragment.java | 1541 final VerticalGridView gridView = mHeadersSupportFragment.getVerticalGridView(); in swapToMainFragment() local 1542 if (isShowingHeaders() && gridView != null in swapToMainFragment() 1543 && gridView.getScrollState() != RecyclerView.SCROLL_STATE_IDLE) { in swapToMainFragment() 1548 gridView.addOnScrollListener(new RecyclerView.OnScrollListener() { in swapToMainFragment() 1553 gridView.removeOnScrollListener(this); in swapToMainFragment()
|
D | BrowseFragment.java | 1563 final VerticalGridView gridView = mHeadersFragment.getVerticalGridView(); in swapToMainFragment() local 1564 if (isShowingHeaders() && gridView != null in swapToMainFragment() 1565 && gridView.getScrollState() != RecyclerView.SCROLL_STATE_IDLE) { in swapToMainFragment() 1570 gridView.addOnScrollListener(new RecyclerView.OnScrollListener() { in swapToMainFragment() 1575 gridView.removeOnScrollListener(this); in swapToMainFragment()
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
D | R$id.class | R.java
package com.android.layoutlib.test.myapplication
public final com.android. ... |
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/picker/ |
D | DatePickerTest.java | 360 ViewGroup gridView = (ViewGroup) mDatePickerInnerView.getChildAt(2 * i); in testInvisibleColumnsAlpha() local 361 int childCount = gridView.getChildCount(); in testInvisibleColumnsAlpha() 365 View pickerItem = gridView.getChildAt(j); in testInvisibleColumnsAlpha()
|
/frameworks/support/gridlayout/src/androidTest/java/androidx/gridlayout/widget/ |
D | GridLayoutTest.java | 71 mGridView = activity.findViewById(R.id.gridView); in setContentView()
|