1/ Renaming some classes for clarity
- SwipeAnimationTargetSet -> RecentsAnimationTargets - RemoteAnimationTargetSet -> RemoteAnimationTargets - RecentsAnimationListenerSet -> RecentsAnimationCallbacks - SwipeAnimationTargetSet.SwipeAnimationListener -> RecentsAnimationCallbacks.RecentsAnimationListener - ClipAnimationHelper -> AppWindowAnimationHelper - AssistantTouchConsumer -> AssistantInputConsumer Bug: 141886704 Change-Id: I78485a1651bb360ffbac2d0c462855931a995ee1
This commit is contained in:
1 parent
023188e424
commit
92a015f2fc
27 files changed
+190
-185
No files matched your search
@@ -32,7 +32,7 @@ import android.util.Log;
|
||||
import com.android.launcher3.BaseDraggingActivity;
|
||||
import com.android.launcher3.LauncherAnimationRunner;
|
||||
import com.android.quickstep.util.RemoteAnimationProvider;
|
||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||
import com.android.quickstep.util.RemoteAnimationTargets;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
import com.android.systemui.shared.system.ActivityOptionsCompat;
|
||||
import com.android.systemui.shared.system.RemoteAnimationAdapterCompat;
|
||||
@@ -113,8 +113,8 @@ final class AppToOverviewAnimationProvider<T extends BaseDraggingActivity> imple
|
||||
return anim;
|
||||
}
|
||||
|
||||
RemoteAnimationTargetSet targetSet =
|
||||
new RemoteAnimationTargetSet(appTargets, wallpaperTargets, MODE_CLOSING);
|
||||
RemoteAnimationTargets targetSet =
|
||||
new RemoteAnimationTargets(appTargets, wallpaperTargets, MODE_CLOSING);
|
||||
mRecentsView.setTransitionedFromApp(!targetSet.isAnimatingHome());
|
||||
|
||||
RemoteAnimationTargetCompat recentsTarget = null;
|
||||
|
||||
@@ -27,7 +27,7 @@ import androidx.annotation.Nullable;
|
||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.util.ActivityInitListener;
|
||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||
import com.android.quickstep.util.RemoteAnimationTargets;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
|
||||
import java.util.function.BiPredicate;
|
||||
@@ -59,7 +59,7 @@ public final class FallbackActivityControllerHelper extends
|
||||
boolean isAnimatingToRecents = false;
|
||||
|
||||
@Override
|
||||
public void onRemoteAnimationReceived(RemoteAnimationTargetSet targets) {
|
||||
public void onRemoteAnimationReceived(RemoteAnimationTargets targets) {
|
||||
isAnimatingToRecents = targets != null && targets.isAnimatingHome();
|
||||
if (!isAnimatingToRecents) {
|
||||
rv.setAlpha(1);
|
||||
|
||||
Reference in new issue
Block a user