Searched refs:collapsingMargins (Results 1 – 2 of 2) sorted by relevance
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | Toolbar.java | 1529 int parentHeightMeasureSpec, int heightUsed, int[] collapsingMargins) { in measureChildCollapseMargins() argument 1532 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() 1533 final int rightDiff = lp.rightMargin - collapsingMargins[1]; in measureChildCollapseMargins() 1537 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins() 1538 collapsingMargins[1] = Math.max(0, -rightDiff); in measureChildCollapseMargins() 1573 final int[] collapsingMargins = mTempMargins; in onMeasure() local 1610 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure() 1625 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth); in onMeasure() 1629 heightMeasureSpec, 0, collapsingMargins); in onMeasure() 1638 heightMeasureSpec, 0, collapsingMargins); in onMeasure() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | Toolbar.java | 1531 int parentHeightMeasureSpec, int heightUsed, int[] collapsingMargins) { in measureChildCollapseMargins() argument 1534 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() 1535 final int rightDiff = lp.rightMargin - collapsingMargins[1]; in measureChildCollapseMargins() 1539 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins() 1540 collapsingMargins[1] = Math.max(0, -rightDiff); in measureChildCollapseMargins() 1575 final int[] collapsingMargins = mTempMargins; in onMeasure() local 1610 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure() 1624 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth); in onMeasure() 1628 heightMeasureSpec, 0, collapsingMargins); in onMeasure() 1636 heightMeasureSpec, 0, collapsingMargins); in onMeasure() [all …]
|