mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Video Sending Redesign
This commit is contained in:
committed by
Alex Hart
parent
276e253fdf
commit
c53abe0941
@@ -1,6 +1,8 @@
|
||||
package org.thoughtcrime.securesms.util
|
||||
|
||||
import android.view.animation.Animation
|
||||
import android.view.animation.Interpolator
|
||||
import androidx.core.view.animation.PathInterpolatorCompat
|
||||
|
||||
fun Animation.setListeners(
|
||||
onAnimationStart: (animation: Animation?) -> Unit = { },
|
||||
@@ -21,3 +23,5 @@ fun Animation.setListeners(
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
fun createDefaultCubicBezierInterpolator(): Interpolator = PathInterpolatorCompat.create(0.17f, 0.17f, 0f, 1f)
|
||||
|
||||
Reference in New Issue
Block a user