Searched defs:targetLeft (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
H A DNotificationSwipeActionHelper.java40 * 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 DTaskStackViewTouchHandler.java615 public void onChildSnappedBack(View v, float targetLeft) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationMenuRow.java325 final float targetLeft = getSpaceForMenu() - maximumSwipeDistance;
328 ? mTranslation > targetLeft && mTranslation < targetRight
329 : mTranslation < -targetLeft && mTranslation > -targetRight;
330 boolean shouldSnapTo = mOnLeft ? mTranslation < targetLeft : mTranslation > -targetLeft;
334 + " targetLeft= " + targetLeft
359 private void showMenu(View animView, float targetLeft, float velocity) { argument
363 mSwipeHelper.snap(animView, targetLeft, velocity);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java471 public void snapChild(final View animView, final float targetLeft, float velocity) { argument
480 Animator anim = getViewTranslationAnimator(animView, targetLeft, updateListener);
499 mCallback.onChildSnappedBack(animView, targetLeft);
549 * @param targetLeft the target to snap to.
551 public void snapChildIfNeeded(final View view, boolean animate, float targetLeft) { argument
565 snapChild(view, targetLeft, 0.0f /* velocity */);
721 * @param targetLeft the left position the view was snapped to.
723 void onChildSnappedBack(View animView, float targetLeft); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java957 public void onChildSnappedBack(View animView, float targetLeft) { argument
970 if (mCurrMenuRow != null && targetLeft == 0) {
1312 float targetLeft = child.getProvider().isMenuVisible() ? child.getTranslation() : 0;
1313 mSwipeHelper.snapChildIfNeeded(child, animate, targetLeft);
4449 public void snapChild(final View animView, final float targetLeft, float velocity) { argument
4450 super.snapChild(animView, targetLeft, velocity);
4452 if (targetLeft == 0) {
4499 public void snap(View animView, float targetLeft, float velocity) { argument
4500 snapChild(animView, targetLeft, velocity);

Completed in 118 milliseconds