Searched refs:viewStart (Results 1 – 2 of 2) sorted by relevance
133 int viewStart = orientationHelper.getDecoratedStart(childToReturn.itemView); in handleScrollToPos() local134 if (viewStart - start > 0) { in handleScrollToPos()136 mRecyclerView.smoothScrollBy(viewStart - start, 0); in handleScrollToPos()138 mRecyclerView.smoothScrollBy(0, viewStart - start); in handleScrollToPos()184 int viewStart = helper.getDecoratedStart(view); in getPercentageVisible() local187 if (viewStart >= start && viewEnd <= end) { in getPercentageVisible()193 } else if (viewStart >= end) { in getPercentageVisible()196 } else if (viewStart <= start && viewEnd >= end) { in getPercentageVisible()199 } else if (viewStart < start) { in getPercentageVisible()204 return ((float) end - viewStart) / helper.getDecoratedMeasurement(view); in getPercentageVisible()
2343 int viewStart = low;2348 viewStart += maxSize / 2 - viewMeasuredSize / 2;2351 viewStart += maxSize - viewMeasuredSize;2359 view.layout(viewStart, view.getTop(), viewStart + view.getMeasuredWidth(),2362 view.offsetLeftAndRight(viewStart - view.getLeft());2367 view.layout(view.getLeft(), viewStart, view.getLeft() +2368 view.getMeasuredWidth(), viewStart + view.getMeasuredHeight());2370 view.offsetTopAndBottom(viewStart - view.getTop());