Home
last modified time | relevance | path

Searched refs:viewEnd (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedSnapHelper.java148 int viewEnd = helper.getDecoratedEnd(view); in getPercentageVisible() local
150 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()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java1324 public int calculateDtToFit(int viewStart, int viewEnd, int boxStart, int boxEnd, int in calculateDtToFit() argument
1327 return (boxStart + boxEnd) / 2 - (viewStart + viewEnd) / 2; in calculateDtToFit()