Home
last modified time | relevance | path

Searched refs:animView (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java226 private void updateSwipeProgressFromOffset(View animView, boolean dismissable) { in updateSwipeProgressFromOffset() argument
227 updateSwipeProgressFromOffset(animView, dismissable, getTranslation(animView)); in updateSwipeProgressFromOffset()
230 private void updateSwipeProgressFromOffset(View animView, boolean dismissable, in updateSwipeProgressFromOffset() argument
232 float swipeProgress = getSwipeProgressForOffset(animView, translation); in updateSwipeProgressFromOffset()
233 if (!mCallback.updateSwipeProgress(animView, dismissable, swipeProgress)) { in updateSwipeProgressFromOffset()
237 animView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in updateSwipeProgressFromOffset()
239 animView.setLayerType(View.LAYER_TYPE_NONE, null); in updateSwipeProgressFromOffset()
242 animView.setAlpha(getSwipeAlpha(swipeProgress)); in updateSwipeProgressFromOffset()
245 invalidateGlobalRegion(animView); in updateSwipeProgressFromOffset()
375 public void dismissChild(final View animView, float velocity, final Runnable endAction, in dismissChild() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java104 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
154 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent() argument
159 handleMenuRowSwipe(ev, animView, velocity, menuRow); in handleUpEvent()
166 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe() argument
173 dismiss(animView, velocity); in handleMenuRowSwipe()
175 snapClosed(animView, velocity); in handleMenuRowSwipe()
183 handleSwipeFromOpenState(ev, animView, velocity, menuRow); in handleMenuRowSwipe()
187 handleSwipeFromClosedState(ev, animView, velocity, menuRow); in handleMenuRowSwipe()
191 private void handleSwipeFromClosedState(MotionEvent ev, View animView, float velocity, in handleSwipeFromClosedState() argument
216 snapOpen(animView, menuSnapTarget, velocity); in handleSwipeFromClosedState()
[all …]
DNotificationStackScrollLayout.java6504 public void onChildSnappedBack(View animView, float targetLeft) {
6505 mAmbientState.onDragFinished(animView);
6508 if (animView instanceof ExpandableNotificationRow) {
6509 ExpandableNotificationRow row = (ExpandableNotificationRow) animView;
6520 public boolean updateSwipeProgress(View animView, boolean dismissable,
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationSwipeActionHelper.java37 public void dismiss(View animView, float velocity); in dismiss() argument
42 public void snapOpen(View animView, int targetLeft, float velocity); in snapOpen() argument