Searched refs:scrollDistance (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeTransitionView.java | 153 public void setScrollDistance(float scrollDistance) { in setScrollDistance() argument 156 scrollDistance = Math.min(scrollDistance, mHeight); in setScrollDistance() 157 scrollDistance = Math.max(scrollDistance, 0); in setScrollDistance() 159 scrollDistance = Math.min(scrollDistance, 0); in setScrollDistance() 160 scrollDistance = Math.max(scrollDistance, -mHeight); in setScrollDistance() 162 mScrollDistance = scrollDistance; in setScrollDistance() 328 private void snapShadeTo(int scrollDistance, int alpha) { in snapShadeTo() argument 329 snapShadeTo(scrollDistance, alpha, true); in snapShadeTo() 340 private void snapShadeTo(final int scrollDistance, final int alpha, in snapShadeTo() argument 344 scrollDistance); in snapShadeTo() [all …]
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | Widgets.java | 211 int scrollDistance = 0; in findTestAppWidgetsTableContainer() local 220 scrollDistance = Math.max(scrollDistance, header.getVisibleBounds().height()); in findTestAppWidgetsTableContainer() 253 log("Finding test widget package - scroll with distance: " + scrollDistance); in findTestAppWidgetsTableContainer() 263 : widgetListView, scrollDistance); in findTestAppWidgetsTableContainer()
|