Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DToolbar.java1939 final int alignmentOffset = alignmentHeight > 0 ? (childHeight - alignmentHeight) / 2 : 0; in getChildTop() local
1942 return getPaddingTop() - alignmentOffset; in getChildTop()
1946 - lp.bottomMargin - alignmentOffset; in getChildTop()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java1964 final int alignmentOffset = alignmentHeight > 0 ? (childHeight - alignmentHeight) / 2 : 0; in getChildTop() local
1967 return getPaddingTop() - alignmentOffset; in getChildTop()
1971 - lp.bottomMargin - alignmentOffset; in getChildTop()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java683 public void setWindowAlignmentOffset(int alignmentOffset) { in setWindowAlignmentOffset() argument
684 mWindowAlignment.mainAxis().setWindowAlignmentOffset(alignmentOffset); in setWindowAlignmentOffset()
699 public void setItemAlignmentOffset(int alignmentOffset) { in setItemAlignmentOffset() argument
700 mItemAlignment.mainAxis().setItemAlignmentOffset(alignmentOffset); in setItemAlignmentOffset()