Searched refs:viewEnd (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/car/src/main/java/androidx/car/widget/ |
D | PagedSnapHelper.java | 204 int viewEnd = helper.getDecoratedEnd(view); in getPercentageVisible() local 206 if (viewStart >= start && viewEnd <= end) { in getPercentageVisible() 209 } else if (viewStart <= start && viewEnd >= end) { in getPercentageVisible() 212 return 1.f - ((float) (Math.abs(viewStart) + Math.abs(viewEnd)) / viewHeight); in getPercentageVisible() 220 return 1.f - ((float) Math.abs(viewEnd) / helper.getDecoratedMeasurement(view)); in getPercentageVisible()
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | LinearSmoothScroller.java | 267 public int calculateDtToFit(int viewStart, int viewEnd, int boxStart, int boxEnd, int in calculateDtToFit() argument 273 return boxEnd - viewEnd; in calculateDtToFit() 279 final int dtEnd = boxEnd - viewEnd; in calculateDtToFit()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LinearSmoothScroller.java | 266 public int calculateDtToFit(int viewStart, int viewEnd, int boxStart, int boxEnd, int in calculateDtToFit() argument 272 return boxEnd - viewEnd; in calculateDtToFit() 278 final int dtEnd = boxEnd - viewEnd; in calculateDtToFit()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShelf.java | 190 float viewEnd = lastViewState.yTranslation + lastViewState.height; in updateState() local 194 float awakenTranslation = Math.max(Math.min(viewEnd, maxShelfEnd) - mShelfState.height, in updateState() 440 float viewEnd = row.getTranslationY() + row.getActualHeight(); 443 if (viewEnd > notificationClipEnd 445 int clipBottomAmount = (int) (viewEnd - notificationClipEnd); 488 float viewEnd = viewStart + fullHeight; 524 if (viewEnd >= shelfStart && (!mAmbientState.isUnlockHintRunning() || row.isInShelf())
|