Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1619 protected int getDestinationPage(int primaryScroll) { in getDestinationPage() argument
1620 return getPageNearestToCenterOfScreen(primaryScroll); in getDestinationPage()
1627 private int getPageNearestToCenterOfScreen(int primaryScroll) { in getPageNearestToCenterOfScreen() argument
1628 int screenCenter = getScreenCenter(primaryScroll); in getPageNearestToCenterOfScreen()
1651 int primaryScroll = mOrientationHandler.getPrimaryScroll(this); in getDisplacementFromScreenCenter() local
1652 int screenCenter = getScreenCenter(primaryScroll); in getDisplacementFromScreenCenter()
1656 protected int getScreenCenter(int primaryScroll) { in getScreenCenter() argument
1660 return Math.round(primaryScroll + (pageOrientationSize / 2f - primaryPivot) / primaryScale in getScreenCenter()
1829 int primaryScroll = mOrientationHandler.getPrimaryScroll(this); in onInitializeAccessibilityNodeInfo() local
1832 && primaryScroll != getScrollForPage(getPageCount() - getPanelCount()))) { in onInitializeAccessibilityNodeInfo()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java1711 int primaryScroll = getPagedOrientationHandler().getPrimaryScroll(this); in moveRunningTaskToFront() local
1713 mCurrentPageScrollDiff = primaryScroll - currentPageScroll; in moveRunningTaskToFront()
2234 int primaryScroll = getPagedOrientationHandler().getPrimaryScroll(this); in getTaskBounds() local
2239 -(primaryScroll - (selectedPageScroll + getOffsetFromScrollPosition(selectedPage))), in getTaskBounds()
3598 int primaryScroll = getPagedOrientationHandler().getPrimaryScroll(this); in createTaskDismissAnimation() local
3600 if ((mIsRtl && primaryScroll < lastTaskScroll) in createTaskDismissAnimation()
3601 || (!mIsRtl && primaryScroll > lastTaskScroll)) { in createTaskDismissAnimation()
3816 int primaryScroll = getPagedOrientationHandler().getPrimaryScroll(this); in createTaskDismissAnimation() local
3817 int focusedTaskScrollDiff = primaryScroll - focusedTaskScroll; in createTaskDismissAnimation()
3943 int primaryScroll = getPagedOrientationHandler().getPrimaryScroll( in createTaskDismissAnimation()
[all …]