Home
last modified time | relevance | path

Searched refs:firstRow (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DDetailsFragmentTest.java292 final View firstRow = detailsFragment.getRowsFragment().getVerticalGridView().getChildAt(0); in navigateBetweenRowsAndVideoUsingRequestFocusInternal() local
293 final int originalFirstRowTop = firstRow.getTop(); in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
294 assertTrue(firstRow.hasFocus()); in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
295 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
307 return firstRow.getTop() >= screenHeight; in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
321 return firstRow.getTop() == originalFirstRowTop; in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
356 final View firstRow = detailsFragment.getRowsFragment().getVerticalGridView().getChildAt(0);
357 final int originalFirstRowTop = firstRow.getTop();
358 assertTrue(firstRow.hasFocus());
359 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight);
[all …]
DDetailsSupportFragmentTest.java295 …final View firstRow = detailsFragment.getRowsSupportFragment().getVerticalGridView().getChildAt(0); in navigateBetweenRowsAndVideoUsingRequestFocusInternal() local
296 final int originalFirstRowTop = firstRow.getTop(); in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
297 assertTrue(firstRow.hasFocus()); in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
298 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
310 return firstRow.getTop() >= screenHeight; in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
324 return firstRow.getTop() == originalFirstRowTop; in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
359 …final View firstRow = detailsFragment.getRowsSupportFragment().getVerticalGridView().getChildAt(0);
360 final int originalFirstRowTop = firstRow.getTop();
361 assertTrue(firstRow.hasFocus());
362 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight);
[all …]
/frameworks/support/design/tests/src/android/support/design/testutils/
DTestUtils.java66 final int firstRow = checkArea != null ? checkArea.top : 0; in assertAllPixelsOfColor() local
76 for (int row = firstRow; row <= lastRow; row++) { in assertAllPixelsOfColor()
/frameworks/base/core/java/android/widget/
DTableLayout.java484 boolean firstRow = true; in findLargestCells()
509 if (firstRow) { in findLargestCells()
514 firstRow = false; in findLargestCells()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java1794 ExpandableNotificationRow firstRow = firstChildNotGone instanceof ExpandableNotificationRow in onHeightChanged() local
1797 if (firstRow != null in onHeightChanged()
1798 && (view == firstRow || (firstRow.getNotificationParent() == firstRow))) { in onHeightChanged()