Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java666 final int opticalInsetsTop = opticalPaddings.top; in testItemDecorationAndMarginsAndOpticalBounds() local
670 assertTrue(opticalInsetsTop > 0); in testItemDecorationAndMarginsAndOpticalBounds()
686 assertEquals(itemHeight + opticalInsetsTop + opticalInsetsBottom, in testItemDecorationAndMarginsAndOpticalBounds()
697 assertEquals(paddingTop + topMargin + decorationTop, child0.getTop() + opticalInsetsTop); in testItemDecorationAndMarginsAndOpticalBounds()
699 (child1.getTop() + opticalInsetsTop) - (child0.getBottom() - opticalInsetsBottom)); in testItemDecorationAndMarginsAndOpticalBounds()
701 (child2.getTop() + opticalInsetsTop) - (child1.getBottom() - opticalInsetsBottom)); in testItemDecorationAndMarginsAndOpticalBounds()