Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DToolbar.java1507 int parentHeightMeasureSpec, int heightUsed, int[] collapsingMargins) { in measureChildCollapseMargins() argument
1510 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins()
1511 final int rightDiff = lp.rightMargin - collapsingMargins[1]; in measureChildCollapseMargins()
1515 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins()
1516 collapsingMargins[1] = Math.max(0, -rightDiff); in measureChildCollapseMargins()
1551 final int[] collapsingMargins = mTempMargins; in onMeasure() local
1586 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure()
1600 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth); in onMeasure()
1604 heightMeasureSpec, 0, collapsingMargins); in onMeasure()
1612 heightMeasureSpec, 0, collapsingMargins); in onMeasure()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java1524 int parentHeightMeasureSpec, int heightUsed, int[] collapsingMargins) { in measureChildCollapseMargins() argument
1527 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins()
1528 final int rightDiff = lp.rightMargin - collapsingMargins[1]; in measureChildCollapseMargins()
1532 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins()
1533 collapsingMargins[1] = Math.max(0, -rightDiff); in measureChildCollapseMargins()
1568 final int[] collapsingMargins = mTempMargins; in onMeasure() local
1605 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure()
1620 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth); in onMeasure()
1624 heightMeasureSpec, 0, collapsingMargins); in onMeasure()
1633 heightMeasureSpec, 0, collapsingMargins); in onMeasure()
[all …]