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.java205 private void updateSwipeProgressFromOffset(View animView, boolean dismissable) { in updateSwipeProgressFromOffset() argument
206 updateSwipeProgressFromOffset(animView, dismissable, getTranslation(animView)); in updateSwipeProgressFromOffset()
209 private void updateSwipeProgressFromOffset(View animView, boolean dismissable, in updateSwipeProgressFromOffset() argument
211 float swipeProgress = getSwipeProgressForOffset(animView, translation); in updateSwipeProgressFromOffset()
212 if (!mCallback.updateSwipeProgress(animView, dismissable, swipeProgress)) { in updateSwipeProgressFromOffset()
216 animView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in updateSwipeProgressFromOffset()
218 animView.setLayerType(View.LAYER_TYPE_NONE, null); in updateSwipeProgressFromOffset()
221 animView.setAlpha(getSwipeAlpha(swipeProgress)); in updateSwipeProgressFromOffset()
224 invalidateGlobalRegion(animView); in updateSwipeProgressFromOffset()
363 public void dismissChild(final View animView, float velocity, final Runnable endAction, in dismissChild() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java300 private boolean handleUpEvent(MotionEvent ev, View animView, float velocity) { in handleUpEvent() argument
306 dismiss(animView, velocity); in handleUpEvent()
308 snapBack(animView, velocity); in handleUpEvent()
356 showMenu(animView, menuSnapTarget, velocity); in handleUpEvent()
359 dismiss(animView, velocity); in handleUpEvent()
361 snapBack(animView, velocity); in handleUpEvent()
367 showMenu(animView, menuSnapTarget, velocity); in handleUpEvent()
369 dismiss(animView, velocity); in handleUpEvent()
371 snapBack(animView, velocity); in handleUpEvent()
376 private void showMenu(View animView, float targetLeft, float velocity) {
[all …]
/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 snap(View animView, float velocity, float targetLeft); in snap() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1143 public void onChildSnappedBack(View animView, float targetLeft) {
1144 mAmbientState.onDragFinished(animView);
1146 if (!mDragAnimPendingChildren.contains(animView)) {
1148 mSnappedBackChildren.add(animView);
1154 mDragAnimPendingChildren.remove(animView);
1163 public boolean updateSwipeProgress(View animView, boolean dismissable, float swipeProgress) {
4700 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity,
4703 return mCurrMenuRow.onTouchEvent(animView, ev, velocity);
4724 public void snapChild(final View animView, final float targetLeft, float velocity) {
4725 super.snapChild(animView, targetLeft, velocity);
[all …]