Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridActivity.java450 holder.mItemAlignment = mAlignmentProvider.getItemAlignmentFacet(position);
452 holder.mItemAlignment = null;
512 ItemAlignmentFacet mItemAlignment;
520 return mItemAlignment;
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGridLayoutManager.java682 private final ItemAlignment mItemAlignment = new ItemAlignment(); field in GridLayoutManager
727 mItemAlignment.setOrientation(orientation); in setOrientation()
779 mItemAlignment.mainAxis().setItemAlignmentOffset(alignmentOffset); in setItemAlignmentOffset()
784 return mItemAlignment.mainAxis().getItemAlignmentOffset(); in getItemAlignmentOffset()
788 mItemAlignment.mainAxis().setItemAlignmentOffsetWithPadding(withPadding); in setItemAlignmentOffsetWithPadding()
793 return mItemAlignment.mainAxis().isItemAlignmentOffsetWithPadding(); in isItemAlignmentOffsetWithPadding()
797 mItemAlignment.mainAxis().setItemAlignmentOffsetPercent(offsetPercent); in setItemAlignmentOffsetPercent()
802 return mItemAlignment.mainAxis().getItemAlignmentOffsetPercent(); in getItemAlignmentOffsetPercent()
806 mItemAlignment.mainAxis().setItemAlignmentViewId(viewId); in setItemAlignmentViewId()
811 return mItemAlignment.mainAxis().getItemAlignmentViewId(); in getItemAlignmentViewId()
[all …]