Searched refs:viewEnd (Results 1 – 2 of 2) sorted by relevance
148 int viewEnd = helper.getDecoratedEnd(view); in getPercentageVisible() local150 if (viewEnd < start) { in getPercentageVisible()153 } else if (viewStart >= start && viewEnd <= end) { in getPercentageVisible()156 } else if (viewStart <= start && viewEnd >= end) { in getPercentageVisible()158 return 1.f - ((float) (Math.abs(viewStart) + Math.abs(viewEnd)) / viewHeight); in getPercentageVisible()166 return 1.f - ((float) Math.abs(viewEnd) / helper.getDecoratedMeasurement(view)); in getPercentageVisible()
1324 public int calculateDtToFit(int viewStart, int viewEnd, int boxStart, int boxEnd, int in calculateDtToFit() argument1327 return (boxStart + boxEnd) / 2 - (viewStart + viewEnd) / 2; in calculateDtToFit()