Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java193 private void updateSwipeProgressFromOffset(View animView, boolean dismissable) { in updateSwipeProgressFromOffset() argument
194 updateSwipeProgressFromOffset(animView, dismissable, getTranslation(animView)); in updateSwipeProgressFromOffset()
197 private void updateSwipeProgressFromOffset(View animView, boolean dismissable, in updateSwipeProgressFromOffset() argument
199 float swipeProgress = getSwipeProgressForOffset(animView, translation); in updateSwipeProgressFromOffset()
200 if (!mCallback.updateSwipeProgress(animView, dismissable, swipeProgress)) { in updateSwipeProgressFromOffset()
205 animView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in updateSwipeProgressFromOffset()
207 animView.setLayerType(View.LAYER_TYPE_NONE, null); in updateSwipeProgressFromOffset()
210 animView.setAlpha(getSwipeAlpha(swipeProgress)); in updateSwipeProgressFromOffset()
213 invalidateGlobalRegion(animView); in updateSwipeProgressFromOffset()
342 public void dismissChild(final View animView, float velocity, final Runnable endAction, in dismissChild() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java852 public void onChildSnappedBack(View animView, float targetLeft) { in onChildSnappedBack() argument
853 mAmbientState.onDragFinished(animView); in onChildSnappedBack()
855 if (!mDragAnimPendingChildren.contains(animView)) { in onChildSnappedBack()
857 mSnappedBackChildren.add(animView); in onChildSnappedBack()
863 mDragAnimPendingChildren.remove(animView); in onChildSnappedBack()
872 public boolean updateSwipeProgress(View animView, boolean dismissable, float swipeProgress) { in updateSwipeProgress() argument
873 if (!mIsExpanded && isPinnedHeadsUp(animView) && canChildBeDismissed(animView)) { in updateSwipeProgress()
874 mScrimController.setTopHeadsUpDragAmount(animView, in updateSwipeProgress()
4057 public void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() argument
4058 super.snapChild(animView, targetLeft, velocity); in snapChild()
[all …]