Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java601 final int decorationLeft = 17; in testItemDecorationAndMargins() local
609 mGridView.addItemDecoration(new DividerDecoration(decorationLeft, decorationTop, in testItemDecorationAndMargins()
621 assertEquals(paddingLeft + leftMargin + decorationLeft, child0.getLeft()); in testItemDecorationAndMargins()
622 assertEquals(paddingLeft + leftMargin + decorationLeft, child1.getLeft()); in testItemDecorationAndMargins()
623 assertEquals(paddingLeft + leftMargin + decorationLeft, child2.getLeft()); in testItemDecorationAndMargins()
657 final int decorationLeft = 17; in testItemDecorationAndMarginsAndOpticalBounds() local
677 mGridView.addItemDecoration(new DividerDecoration(decorationLeft, decorationTop, in testItemDecorationAndMarginsAndOpticalBounds()
690 assertEquals(paddingLeft + leftMargin + decorationLeft - opticalInsetsLeft, in testItemDecorationAndMarginsAndOpticalBounds()
692 assertEquals(paddingLeft + leftMargin + decorationLeft - opticalInsetsLeft, in testItemDecorationAndMarginsAndOpticalBounds()
694 assertEquals(paddingLeft + leftMargin + decorationLeft - opticalInsetsLeft, in testItemDecorationAndMarginsAndOpticalBounds()