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.java207 private void updateSwipeProgressFromOffset(View animView, boolean dismissable) { in updateSwipeProgressFromOffset() argument
208 updateSwipeProgressFromOffset(animView, dismissable, getTranslation(animView)); in updateSwipeProgressFromOffset()
211 private void updateSwipeProgressFromOffset(View animView, boolean dismissable, in updateSwipeProgressFromOffset() argument
213 float swipeProgress = getSwipeProgressForOffset(animView, translation); in updateSwipeProgressFromOffset()
214 if (!mCallback.updateSwipeProgress(animView, dismissable, swipeProgress)) { in updateSwipeProgressFromOffset()
218 animView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in updateSwipeProgressFromOffset()
220 animView.setLayerType(View.LAYER_TYPE_NONE, null); in updateSwipeProgressFromOffset()
223 animView.setAlpha(getSwipeAlpha(swipeProgress)); in updateSwipeProgressFromOffset()
226 invalidateGlobalRegion(animView); in updateSwipeProgressFromOffset()
367 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.java106 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
156 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent() argument
161 handleMenuRowSwipe(ev, animView, velocity, menuRow); in handleUpEvent()
168 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe() argument
175 dismiss(animView, velocity); in handleMenuRowSwipe()
177 snapClosed(animView, velocity); in handleMenuRowSwipe()
185 handleSwipeFromOpenState(ev, animView, velocity, menuRow); in handleMenuRowSwipe()
189 handleSwipeFromClosedState(ev, animView, velocity, menuRow); in handleMenuRowSwipe()
193 private void handleSwipeFromClosedState(MotionEvent ev, View animView, float velocity, in handleSwipeFromClosedState() argument
218 snapOpen(animView, menuSnapTarget, velocity); in handleSwipeFromClosedState()
[all …]
DNotificationStackScrollLayout.java6307 public void onChildSnappedBack(View animView, float targetLeft) {
6308 mAmbientState.onDragFinished(animView);
6314 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