Searched refs:animView (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 136 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument 137 super.onChildSnappedBack(animView, targetLeft); in onChildSnappedBack() 192 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent() argument 197 handleMenuRowSwipe(ev, animView, velocity, menuRow); in handleUpEvent() 204 protected void updateSwipeProgressAlpha(View animView, float alpha) { in updateSwipeProgressAlpha() argument 205 if (animView instanceof ExpandableNotificationRow) { in updateSwipeProgressAlpha() 206 ((ExpandableNotificationRow) animView).setContentAlpha(alpha); in updateSwipeProgressAlpha() 211 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe() argument 218 dismiss(animView, velocity); in handleMenuRowSwipe() 220 snapClosed(animView, velocity); in handleMenuRowSwipe() [all …]
|
D | NotificationStackScrollLayoutController.java | 510 public float getTotalTranslationLength(View animView) { 511 return mView.getTotalTranslationLength(animView); 667 public void onChildSnappedBack(View animView, float targetLeft) { 669 if (animView instanceof ExpandableNotificationRow row) { 685 public boolean updateSwipeProgress(View animView, boolean dismissable,
|
D | NotificationStackScrollLayout.java | 6361 public float getTotalTranslationLength(View animView) { 6363 return animView.getMeasuredWidth(); 6365 float notificationWidth = animView.getMeasuredWidth();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 254 private void updateSwipeProgressFromOffset(View animView, boolean dismissable) { in updateSwipeProgressFromOffset() argument 255 updateSwipeProgressFromOffset(animView, dismissable, getTranslation(animView)); in updateSwipeProgressFromOffset() 258 private void updateSwipeProgressFromOffset(View animView, boolean dismissable, in updateSwipeProgressFromOffset() argument 260 float swipeProgress = getSwipeProgressForOffset(animView, translation); in updateSwipeProgressFromOffset() 261 if (!mCallback.updateSwipeProgress(animView, dismissable, swipeProgress)) { in updateSwipeProgressFromOffset() 267 animView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in updateSwipeProgressFromOffset() 269 animView.setLayerType(View.LAYER_TYPE_NONE, null); in updateSwipeProgressFromOffset() 271 updateSwipeProgressAlpha(animView, getSwipeAlpha(swipeProgress)); in updateSwipeProgressFromOffset() 274 invalidateGlobalRegion(animView); in updateSwipeProgressFromOffset() 415 public void dismissChild(final View animView, float velocity, final Consumer<Boolean> endAction, in dismissChild() argument [all …]
|
/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
|