Home
last modified time | relevance | path

Searched refs:top2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java145 ArgumentCaptor<Integer> top2 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds() local
149 .layout(left2.capture(), top2.capture(), right2.capture(), bottom2.capture()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
158 assertTrue(top2.getValue() <= bottom2.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
165 assertEquals(top1.getValue().intValue(), top2.getValue().intValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java3086 int top2 = mGridView.getLayoutManager().findViewByPosition(3).getTop(); in testSetSelectionWithDelta() local
3087 assertEquals(top1 - 100, top2); in testSetSelectionWithDelta()
3155 int top2 = getCenterY(mGridView.getLayoutManager().findViewByPosition(20)); in testSetSelectionWithDeltaInGrid() local
3156 assertEquals(top1 - 100, top2); in testSetSelectionWithDeltaInGrid()
3260 int top2 = getCenterY(mGridView.getLayoutManager().findViewByPosition(20)); in testSetSelectionWithDeltaInGrid1() local
3261 assertEquals(top1 - 100, top2); in testSetSelectionWithDeltaInGrid1()