Searched defs:targetLeft (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/ |
H A D | NotificationSwipeActionHelper.java | 40 * Call this to snap a notification to provided {@code targetLeft}. 42 public void snap(View animView, float velocity, float targetLeft); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackViewTouchHandler.java | 605 public void onChildSnappedBack(View v, float targetLeft) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationMenuRow.java | 342 final float targetLeft = getSpaceForMenu() - maximumSwipeDistance; 345 ? mTranslation > targetLeft && mTranslation < targetRight 346 : mTranslation < -targetLeft && mTranslation > -targetRight; 347 boolean shouldSnapTo = mOnLeft ? mTranslation < targetLeft : mTranslation > -targetLeft; 351 + " targetLeft= " + targetLeft 376 private void showMenu(View animView, float targetLeft, float velocity) { argument 380 mSwipeHelper.snap(animView, targetLeft, velocity);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SwipeHelper.java | 463 public void snapChild(final View animView, final float targetLeft, float velocity) { argument 472 Animator anim = getViewTranslationAnimator(animView, targetLeft, updateListener); 491 mCallback.onChildSnappedBack(animView, targetLeft); 541 * @param targetLeft the target to snap to. 543 public void snapChildIfNeeded(final View view, boolean animate, float targetLeft) { argument 557 snapChild(view, targetLeft, 0.0f /* velocity */); 713 * @param targetLeft the left position the view was snapped to. 715 void onChildSnappedBack(View animView, float targetLeft); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationStackScrollLayout.java | 1143 public void onChildSnappedBack(View animView, float targetLeft) { argument 1156 if (mCurrMenuRow != null && targetLeft == 0) { 1494 float targetLeft = child.getProvider().isMenuVisible() ? child.getTranslation() : 0; 1495 mSwipeHelper.snapChildIfNeeded(child, animate, targetLeft); 4724 public void snapChild(final View animView, final float targetLeft, float velocity) { argument 4725 super.snapChild(animView, targetLeft, velocity); 4727 if (targetLeft == 0) { 4774 public void snap(View animView, float targetLeft, float velocity) { argument 4775 snapChild(animView, targetLeft, velocity);
|
Completed in 432 milliseconds