mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +00:00
Update animation interpolators in media send flow.
This commit is contained in:
committed by
Greyson Parrelli
parent
77ff25ec49
commit
fae80a242d
@@ -1,13 +1,12 @@
|
||||
package org.thoughtcrime.securesms.mediasend.v2
|
||||
|
||||
import android.view.animation.Interpolator
|
||||
import androidx.core.graphics.PathParser
|
||||
import androidx.core.view.animation.PathInterpolatorCompat
|
||||
import androidx.interpolator.view.animation.FastOutSlowInInterpolator
|
||||
|
||||
object MediaAnimations {
|
||||
/**
|
||||
* Fast-In-Extra-Slow-Out Interpolator
|
||||
*/
|
||||
@JvmStatic
|
||||
val interpolator: Interpolator = PathInterpolatorCompat.create(PathParser.createPathFromPathData("M 0,0 C 0.05, 0, 0.133333, 0.06, 0.166666, 0.4 C 0.208333, 0.82, 0.25, 1, 1, 1"))
|
||||
val interpolator: Interpolator = FastOutSlowInInterpolator()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user