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.java109 protected void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
159 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, in handleUpEvent() argument
164 handleMenuRowSwipe(ev, animView, velocity, menuRow); in handleUpEvent()
171 protected void handleMenuRowSwipe(MotionEvent ev, View animView, float velocity, in handleMenuRowSwipe() argument
178 dismiss(animView, velocity); in handleMenuRowSwipe()
180 snapClosed(animView, velocity); in handleMenuRowSwipe()
188 handleSwipeFromOpenState(ev, animView, velocity, menuRow); in handleMenuRowSwipe()
192 handleSwipeFromClosedState(ev, animView, velocity, menuRow); in handleMenuRowSwipe()
196 private void handleSwipeFromClosedState(MotionEvent ev, View animView, float velocity, in handleSwipeFromClosedState() argument
221 snapOpen(animView, menuSnapTarget, velocity); in handleSwipeFromClosedState()
[all …]
DNotificationStackScrollLayout.java6306 public void onChildSnappedBack(View animView, float targetLeft) {
6307 mAmbientState.onDragFinished(animView);
6310 if (animView instanceof ExpandableNotificationRow) {
6311 ExpandableNotificationRow row = (ExpandableNotificationRow) animView;
6322 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