mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-18 11:57:18 +01:00
33 lines
1 KiB
Java
33 lines
1 KiB
Java
package androidx.transition;
|
|
|
|
import android.animation.ObjectAnimator;
|
|
import android.animation.TypeConverter;
|
|
import android.graphics.Path;
|
|
import android.graphics.PointF;
|
|
import android.util.Property;
|
|
import androidx.annotation.DoNotInline;
|
|
import androidx.annotation.RequiresApi;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes14.dex */
|
|
class ObjectAnimatorUtils {
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@RequiresApi(21)
|
|
public static class Api21Impl {
|
|
private Api21Impl() {
|
|
}
|
|
|
|
@DoNotInline
|
|
public static <T, V> ObjectAnimator ofObject(T t, Property<T, V> property, Path path) {
|
|
return ObjectAnimator.ofObject(t, property, (TypeConverter) null, path);
|
|
}
|
|
}
|
|
|
|
private ObjectAnimatorUtils() {
|
|
}
|
|
|
|
public static <T> ObjectAnimator ofPointF(T t, Property<T, PointF> property, Path path) {
|
|
return Api21Impl.ofObject(t, property, path);
|
|
}
|
|
}
|