Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DItemAlignmentFacetHelper.java51 if (facet.mOffsetPercent == 0f) { in getAlignmentPosition()
53 } else if (facet.mOffsetPercent == 100f) { in getAlignmentPosition()
57 if (facet.mOffsetPercent != ITEM_ALIGN_OFFSET_PERCENT_DISABLED) { in getAlignmentPosition()
59 : view.getWidth()) * facet.mOffsetPercent) / 100f); in getAlignmentPosition()
68 if (facet.mOffsetPercent == 0f) { in getAlignmentPosition()
70 } else if (facet.mOffsetPercent == 100f) { in getAlignmentPosition()
74 if (facet.mOffsetPercent != ITEM_ALIGN_OFFSET_PERCENT_DISABLED) { in getAlignmentPosition()
76 : view.getWidth()) * facet.mOffsetPercent) / 100f); in getAlignmentPosition()
86 if (facet.mOffsetPercent == 0f) { in getAlignmentPosition()
88 } else if (facet.mOffsetPercent == 100f) { in getAlignmentPosition()
[all …]
DItemAlignmentFacet.java51 float mOffsetPercent = 50f; field in ItemAlignmentFacet.ItemAlignmentDef
112 mOffsetPercent = percent; in setItemAlignmentOffsetPercent()
121 return mOffsetPercent; in getItemAlignmentOffsetPercent()