Home
last modified time | relevance | path

Searched refs:targetLeft (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSwipeHelper.java134 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
135 super.onChildSnappedBack(animView, targetLeft); in onChildSnappedBack()
138 if (menuRow != null && targetLeft == 0) { in onChildSnappedBack()
352 protected void superSnapChild(final View animView, final float targetLeft, float velocity) { in superSnapChild() argument
353 super.snapChild(animView, targetLeft, velocity); in superSnapChild()
357 protected void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() argument
360 superSnapChild(animView, targetLeft, velocity); in snapChild()
364 if (targetLeft == 0) { in snapChild()
437 public void snapOpen(View animView, int targetLeft, float velocity) { in snapOpen() argument
438 snapChild(animView, targetLeft, velocity); in snapOpen()
H A DNotificationStackScrollLayoutController.java557 public void onChildSnappedBack(View animView, float targetLeft) {
H A DNotificationStackScrollLayout.java1911 float targetLeft = child.getProvider().isMenuVisible() ? child.getTranslation() : 0;
1912 mSwipeHelper.snapChildIfNeeded(child, animate, targetLeft);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java528 protected void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() argument
534 createSnapBackAnimation(animView, targetLeft, velocity); in snapChild()
549 onChildSnappedBack(animView, targetLeft); in snapChild()
589 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
590 mCallback.onChildSnappedBack(animView, targetLeft); in onChildSnappedBack()
629 public void snapChildIfNeeded(final View view, boolean animate, float targetLeft) { in snapChildIfNeeded() argument
643 snapChild(view, targetLeft, 0.0f /* velocity */); in snapChildIfNeeded()
939 void onChildSnappedBack(View animView, float targetLeft); in onChildSnappedBack() argument
/aosp14/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
H A DNotificationSwipeActionHelper.java42 public void snapOpen(View animView, int targetLeft, float velocity); in snapOpen() argument
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationMenuRow.java765 float targetLeft = getSnapBackThreshold(); in shouldSnapBack() local
766 return isMenuOnLeft() ? translation < targetLeft : translation > -targetLeft; in shouldSnapBack()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java381 final int targetLeft = (parentWidth - targetWidth) / 2; in layout() local
388 target.layout(targetLeft, top, targetRight, top + targetHeight); in layout()
393 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight); in layout()