Searched refs:leftDiff (Results 1 – 2 of 2) sorted by relevance
719 final int leftDiff = curX - mTmpRect.left - mRecyclerView.getPaddingLeft(); in scrollIfNecessary() local720 if (mDx < 0 && leftDiff < 0) { in scrollIfNecessary()721 scrollX = leftDiff; in scrollIfNecessary()
1656 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() local1658 final int leftMargin = Math.max(0, leftDiff); in measureChildCollapseMargins()1661 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins()