Searched refs:horizontalGridView (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | RowsFragmentTest.java | 455 HorizontalGridView horizontalGridView = verticalGridView.getChildAt(i) in rowNotifyItemRangeChange() local 457 for (int j = 0; j < horizontalGridView.getChildCount(); j++) { in rowNotifyItemRangeChange() 458 assertEquals(horizontalGridView.getPaddingTop(), in rowNotifyItemRangeChange() 459 horizontalGridView.getChildAt(j).getTop()); in rowNotifyItemRangeChange() 511 HorizontalGridView horizontalGridView = verticalGridView.getChildAt(i) in rowNotifyItemRangeChangeWithTransition() local 513 for (int j = 0; j < horizontalGridView.getChildCount(); j++) { in rowNotifyItemRangeChangeWithTransition() 514 assertEquals(horizontalGridView.getPaddingTop(), in rowNotifyItemRangeChangeWithTransition() 515 horizontalGridView.getChildAt(j).getTop()); in rowNotifyItemRangeChangeWithTransition() 516 assertEquals(0, horizontalGridView.getChildAt(j).getTranslationY(), 0.1f); in rowNotifyItemRangeChangeWithTransition()
|
D | RowsSupportFragmentTest.java | 452 HorizontalGridView horizontalGridView = verticalGridView.getChildAt(i) in rowNotifyItemRangeChange() local 454 for (int j = 0; j < horizontalGridView.getChildCount(); j++) { in rowNotifyItemRangeChange() 455 assertEquals(horizontalGridView.getPaddingTop(), in rowNotifyItemRangeChange() 456 horizontalGridView.getChildAt(j).getTop()); in rowNotifyItemRangeChange() 508 HorizontalGridView horizontalGridView = verticalGridView.getChildAt(i) in rowNotifyItemRangeChangeWithTransition() local 510 for (int j = 0; j < horizontalGridView.getChildCount(); j++) { in rowNotifyItemRangeChangeWithTransition() 511 assertEquals(horizontalGridView.getPaddingTop(), in rowNotifyItemRangeChangeWithTransition() 512 horizontalGridView.getChildAt(j).getTop()); in rowNotifyItemRangeChangeWithTransition() 513 assertEquals(0, horizontalGridView.getChildAt(j).getTranslationY(), 0.1f); in rowNotifyItemRangeChangeWithTransition()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetTest.java | 1882 final HorizontalGridView horizontalGridView = (HorizontalGridView) mGridView; in testScrollSecondaryCannotScroll() local 1888 horizontalGridView.setPadding(0, topPadding, 0, bottomPadding); in testScrollSecondaryCannotScroll() 1889 horizontalGridView.setItemSpacing(spacing); in testScrollSecondaryCannotScroll() 1890 horizontalGridView.setNumRows(mNumRows); in testScrollSecondaryCannotScroll() 1891 horizontalGridView.setRowHeight(rowHeight); in testScrollSecondaryCannotScroll() 1925 final HorizontalGridView horizontalGridView = (HorizontalGridView) mGridView; in testScrollSecondaryNeedScroll() local 1931 horizontalGridView.setPadding(0, topPadding, 0, bottomPadding); in testScrollSecondaryNeedScroll() 1932 horizontalGridView.setItemSpacing(spacing); in testScrollSecondaryNeedScroll() 1933 horizontalGridView.setNumRows(mNumRows); in testScrollSecondaryNeedScroll() 1934 horizontalGridView.setRowHeight(rowHeight); in testScrollSecondaryNeedScroll() [all …]
|