Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java139 ArgumentCaptor<Integer> top1 = ArgumentCaptor.forClass(Integer.class); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds() local
143 .layout(left1.capture(), top1.capture(), right1.capture(), bottom1.capture()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
156 assertTrue(top1.getValue() <= bottom1.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.java3080 int top1 = mGridView.getLayoutManager().findViewByPosition(3).getTop(); in testSetSelectionWithDelta() local
3087 assertEquals(top1 - 100, top2); in testSetSelectionWithDelta()
3092 assertEquals(top1, top3); in testSetSelectionWithDelta()
3099 assertEquals(top1 - 100, top4); in testSetSelectionWithDelta()
3106 assertEquals(top1 - 100, top5); in testSetSelectionWithDelta()
3111 assertEquals(top1 - 100, top6); in testSetSelectionWithDelta()
3122 assertEquals(top1, top7); in testSetSelectionWithDelta()
3127 assertEquals(top1 - 50, top8); in testSetSelectionWithDelta()
3149 int top1 = getCenterY(mGridView.getLayoutManager().findViewByPosition(10)); in testSetSelectionWithDeltaInGrid() local
3156 assertEquals(top1 - 100, top2); in testSetSelectionWithDeltaInGrid()
[all …]