Searched refs:animView (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 248 private void updateSwipeProgressFromOffset(View animView, boolean dismissable) { in updateSwipeProgressFromOffset() argument 249 updateSwipeProgressFromOffset(animView, dismissable, getTranslation(animView)); in updateSwipeProgressFromOffset() 252 private void updateSwipeProgressFromOffset(View animView, boolean dismissable, in updateSwipeProgressFromOffset() argument 254 float swipeProgress = getSwipeProgressForOffset(animView, translation); in updateSwipeProgressFromOffset() 255 if (!mCallback.updateSwipeProgress(animView, dismissable, swipeProgress)) { in updateSwipeProgressFromOffset() 259 animView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in updateSwipeProgressFromOffset() 261 animView.setLayerType(View.LAYER_TYPE_NONE, null); in updateSwipeProgressFromOffset() 264 updateSwipeProgressAlpha(animView, getSwipeAlpha(swipeProgress)); in updateSwipeProgressFromOffset() 267 invalidateGlobalRegion(animView); in updateSwipeProgressFromOffset() 407 public void dismissChild(final View animView, float velocity, final Consumer<Boolean> endAction, in dismissChild() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 134 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument 135 super.onChildSnappedBack(animView, targetLeft); in onChildSnappedBack() 190 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent() argument 195 handleMenuRowSwipe(ev, animView, velocity, menuRow); in handleUpEvent() 202 protected void updateSwipeProgressAlpha(View animView, float alpha) { in updateSwipeProgressAlpha() argument 203 if (animView instanceof ExpandableNotificationRow) { in updateSwipeProgressAlpha() 204 ((ExpandableNotificationRow) animView).setContentAlpha(alpha); in updateSwipeProgressAlpha() 209 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe() argument 216 dismiss(animView, velocity); in handleMenuRowSwipe() 218 snapClosed(animView, velocity); in handleMenuRowSwipe() [all …]
|
D | NotificationStackScrollLayoutController.java | 519 public float getTotalTranslationLength(View animView) { 520 return mView.getTotalTranslationLength(animView); 630 public void onChildSnappedBack(View animView, float targetLeft) { 632 if (animView instanceof ExpandableNotificationRow row) { 643 public boolean updateSwipeProgress(View animView, boolean dismissable,
|
D | NotificationStackScrollLayout.java | 5959 public float getTotalTranslationLength(View animView) { 5961 return animView.getMeasuredWidth(); 5963 float notificationWidth = animView.getMeasuredWidth();
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/ |
D | NotificationSwipeActionHelper.java | 37 public void dismiss(View animView, float velocity); in dismiss() argument 42 public void snapOpen(View animView, int targetLeft, float velocity); in snapOpen() argument
|