Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java109 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
110 if (mCurrMenuRow != null && targetLeft == 0) { in onChildSnappedBack()
272 protected void superSnapChild(final View animView, final float targetLeft, float velocity) { in superSnapChild() argument
273 super.snapChild(animView, targetLeft, velocity); in superSnapChild()
277 public void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() argument
278 superSnapChild(animView, targetLeft, velocity); in snapChild()
280 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.java1771 float targetLeft = child.getProvider().isMenuVisible() ? child.getTranslation() : 0;
1772 mSwipeHelper.snapChildIfNeeded(child, animate, targetLeft);
6306 public void onChildSnappedBack(View animView, float targetLeft) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java467 public void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() argument
476 Animator anim = getViewTranslationAnimator(animView, targetLeft, updateListener); in snapChild()
493 onChildSnappedBack(animView, targetLeft); in snapChild()
494 mCallback.onChildSnappedBack(animView, targetLeft); in snapChild()
500 float maxDistance = Math.abs(targetLeft - getTranslation(animView)); in snapChild()
501 mFlingAnimationUtils.apply(anim, getTranslation(animView), targetLeft, velocity, in snapChild()
510 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
556 public void snapChildIfNeeded(final View view, boolean animate, float targetLeft) { in snapChildIfNeeded() argument
570 snapChild(view, targetLeft, 0.0f /* velocity */); in snapChildIfNeeded()
748 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.java751 float targetLeft = getSnapBackThreshold(); in shouldSnapBack() local
752 return isMenuOnLeft() ? translation < targetLeft : translation > -targetLeft; in shouldSnapBack()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java180 int targetLeft = Math.max(insets.left, leftCutout); in fitSystemWindows() local
185 if (targetRight != mRightInset || targetLeft != mLeftInset) { in fitSystemWindows()
187 mLeftInset = targetLeft; in fitSystemWindows()
/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()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java606 public void onChildSnappedBack(View v, float targetLeft) { in onChildSnappedBack() argument