Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DToolbar.java1653 int parentHeightMeasureSpec, int heightUsed, int[] collapsingMargins) { in measureChildCollapseMargins() argument
1656 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins()
1657 final int rightDiff = lp.rightMargin - collapsingMargins[1]; in measureChildCollapseMargins()
1661 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins()
1662 collapsingMargins[1] = Math.max(0, -rightDiff); in measureChildCollapseMargins()
1697 final int[] collapsingMargins = mTempMargins; in onMeasure() local
1732 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure()
1746 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth); in onMeasure()
1750 heightMeasureSpec, 0, collapsingMargins); in onMeasure()
1758 heightMeasureSpec, 0, collapsingMargins); in onMeasure()
[all …]