Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java104 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
105 if (mCurrMenuRow != null && targetLeft == 0) { in onChildSnappedBack()
267 protected void superSnapChild(final View animView, final float targetLeft, float velocity) { in superSnapChild() argument
268 super.snapChild(animView, targetLeft, velocity); in superSnapChild()
272 public void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() argument
273 superSnapChild(animView, targetLeft, velocity); in snapChild()
275 if (targetLeft == 0) { in snapChild()
360 public void snapOpen(View animView, int targetLeft, float velocity) { in snapOpen() argument
361 snapChild(animView, targetLeft, velocity); in snapOpen()
DNotificationStackScrollLayout.java1860 float targetLeft = child.getProvider().isMenuVisible() ? child.getTranslation() : 0;
1861 mSwipeHelper.snapChildIfNeeded(child, animate, targetLeft);
6504 public void onChildSnappedBack(View animView, float targetLeft) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java475 public void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() argument
484 Animator anim = getViewTranslationAnimator(animView, targetLeft, updateListener); in snapChild()
501 onChildSnappedBack(animView, targetLeft); in snapChild()
502 mCallback.onChildSnappedBack(animView, targetLeft); in snapChild()
508 float maxDistance = Math.abs(targetLeft - getTranslation(animView)); in snapChild()
509 mFlingAnimationUtils.apply(anim, getTranslation(animView), targetLeft, velocity, in snapChild()
518 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
564 public void snapChildIfNeeded(final View view, boolean animate, float targetLeft) { in snapChildIfNeeded() argument
578 snapChild(view, targetLeft, 0.0f /* velocity */); in snapChildIfNeeded()
756 void onChildSnappedBack(View animView, float targetLeft); in onChildSnappedBack() argument
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationSwipeActionHelper.java42 public void snapOpen(View animView, int targetLeft, float velocity); in snapOpen() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java757 float targetLeft = getSnapBackThreshold(); in shouldSnapBack() local
758 return isMenuOnLeft() ? translation < targetLeft : translation > -targetLeft; in shouldSnapBack()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java384 final int targetLeft = (parentWidth - targetWidth) / 2; in layout() local
391 target.layout(targetLeft, top, targetRight, top + targetHeight); in layout()
396 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight); in layout()