Search in sources :

Example 16 with TransactionCompat

use of com.android.systemui.shared.system.TransactionCompat in project android_packages_apps_Launcher3 by ArrowOS.

the class TransformParams method applySurfaceParams.

public void applySurfaceParams(SurfaceParams... params) {
    if (mSyncTransactionApplier != null) {
        mSyncTransactionApplier.scheduleApply(params);
    } else {
        TransactionCompat t = new TransactionCompat();
        for (SurfaceParams param : params) {
            SyncRtSurfaceTransactionApplierCompat.applyParams(t, param);
        }
        t.apply();
    }
}
Also used : TransactionCompat(com.android.systemui.shared.system.TransactionCompat) SurfaceParams(com.android.systemui.shared.system.SyncRtSurfaceTransactionApplierCompat.SurfaceParams)

Aggregations

TransactionCompat (com.android.systemui.shared.system.TransactionCompat)16 RemoteAnimationTargetCompat (com.android.systemui.shared.system.RemoteAnimationTargetCompat)8 SurfaceParams (com.android.systemui.shared.system.SyncRtSurfaceTransactionApplierCompat.SurfaceParams)7 Animator (android.animation.Animator)1 AnimatorSet (android.animation.AnimatorSet)1 ValueAnimator (android.animation.ValueAnimator)1 Rect (android.graphics.Rect)1 IBinder (android.os.IBinder)1 View (android.view.View)1 AbstractFloatingView (com.android.launcher3.AbstractFloatingView)1 AnimationSuccessListener (com.android.launcher3.anim.AnimationSuccessListener)1 ClipAnimationHelper (com.android.quickstep.util.ClipAnimationHelper)1 RemoteAnimationTargetSet (com.android.quickstep.util.RemoteAnimationTargetSet)1 RecentsView (com.android.quickstep.views.RecentsView)1 SyncRtSurfaceTransactionApplierCompat (com.android.systemui.shared.system.SyncRtSurfaceTransactionApplierCompat)1