MCPcopy Create free account
hub / github.com/chislon/Launcher3 / animateView

Method animateView

src/com/android/launcher3/DragLayer.java:594–661  ·  view source on GitHub ↗

This method animates a view at the end of a drag and drop animation. @param view The view to be animated. This view is drawn directly into DragLayer, and so doesn't need to be a child of DragLayer. @param from The initial location of the view. Only the left and top parameters are used. @para

(final DragView view, final Rect from, final Rect to,
            final float finalAlpha, final float initScaleX, final float initScaleY,
            final float finalScaleX, final float finalScaleY, int duration,
            final Interpolator motionInterpolator, final Interpolator alphaInterpolator,
            final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

onFlingToDeleteMethod · 0.95
onDropMethod · 0.95

Calls 9

cancelAnimationMethod · 0.80
resetLayoutParamsMethod · 0.80
setInterpolatorMethod · 0.80
setDurationMethod · 0.80
getAlphaMethod · 0.65
getInterpolationMethod · 0.45
cancelMethod · 0.45
addListenerMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected