Searched refs:leftDiff (Results 1 – 4 of 4) sorted by relevance
717 final int leftDiff = curX - mTmpRect.left - mRecyclerView.getPaddingLeft(); in scrollIfNecessary() local718 if (mDx < 0 && leftDiff < 0) { in scrollIfNecessary()719 scrollX = leftDiff; in scrollIfNecessary()
719 final int leftDiff = curX - mTmpRect.left - mRecyclerView.getPaddingLeft(); in scrollIfNecessary() local720 if (mDx < 0 && leftDiff < 0) { in scrollIfNecessary()721 scrollX = leftDiff; in scrollIfNecessary()
1532 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() local1534 final int leftMargin = Math.max(0, leftDiff); in measureChildCollapseMargins()1537 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins()
1534 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() local1536 final int leftMargin = Math.max(0, leftDiff); in measureChildCollapseMargins()1539 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins()