Searched refs:leftDiff (Results 1 – 3 of 3) sorted by relevance
726 final int leftDiff = curX - mTmpRect.left - mRecyclerView.getPaddingLeft(); in scrollIfNecessary() local727 if (mDx < 0 && leftDiff < 0) { in scrollIfNecessary()728 scrollX = leftDiff; in scrollIfNecessary()
1527 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() local1529 final int leftMargin = Math.max(0, leftDiff); in measureChildCollapseMargins()1532 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins()
1510 final int leftDiff = lp.leftMargin - collapsingMargins[0]; in measureChildCollapseMargins() local1512 final int leftMargin = Math.max(0, leftDiff); in measureChildCollapseMargins()1515 collapsingMargins[0] = Math.max(0, -leftDiff); in measureChildCollapseMargins()