Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DToolbar.java1626 final int alignmentOffset = alignmentHeight > 0 ? (childHeight - alignmentHeight) / 2 : 0; in getChildTop() local
1629 return getPaddingTop() - alignmentOffset; in getChildTop()
1633 - lp.bottomMargin - alignmentOffset; in getChildTop()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java1646 final int alignmentOffset = alignmentHeight > 0 ? (childHeight - alignmentHeight) / 2 : 0; in getChildTop() local
1649 return getPaddingTop() - alignmentOffset; in getChildTop()
1653 - lp.bottomMargin - alignmentOffset; in getChildTop()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java646 public void setWindowAlignmentOffset(int alignmentOffset) { in setWindowAlignmentOffset() argument
647 mWindowAlignment.mainAxis().setWindowAlignmentOffset(alignmentOffset); in setWindowAlignmentOffset()
662 public void setItemAlignmentOffset(int alignmentOffset) { in setItemAlignmentOffset() argument
663 mItemAlignment.mainAxis().setItemAlignmentOffset(alignmentOffset); in setItemAlignmentOffset()