Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DWorkspace.java286 public void dragIcon(HomeAppIcon homeAppIcon, int pageDelta) { in dragIcon() argument
294 "dragging icon to page with delta: " + pageDelta)) { in dragIcon()
295 dragIcon(workspace, homeAppIcon, pageDelta); in dragIcon()
301 private void dragIcon(UiObject2 workspace, HomeAppIcon homeAppIcon, int pageDelta) { in dragIcon() argument
303 int targetX = (pageWidth / 2) + pageWidth * pageDelta; in dragIcon()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DResolverDrawerLayout.java688 final float pageDelta = (float) Math.abs(dy) / height;
689 duration = (int) ((pageDelta + 1) * 100);