mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Review comments followup
These are review comments followup from ag/17399997 Bug: b/218187058 Test: manually test thet Launcher3 features work correctly Change-Id: I9865a37c1ed663370dc28e7678994f3d961e3cd1
This commit is contained in:
@@ -67,18 +67,18 @@ import com.android.systemui.plugins.ResourceProvider;
|
||||
*/
|
||||
public class WorkspaceStateTransitionAnimation {
|
||||
|
||||
private static final FloatProperty<Workspace> WORKSPACE_SCALE_PROPERTY =
|
||||
private static final FloatProperty<Workspace<?>> WORKSPACE_SCALE_PROPERTY =
|
||||
WORKSPACE_SCALE_PROPERTY_FACTORY.get(SCALE_INDEX_WORKSPACE_STATE);
|
||||
|
||||
private static final FloatProperty<Hotseat> HOTSEAT_SCALE_PROPERTY =
|
||||
HOTSEAT_SCALE_PROPERTY_FACTORY.get(SCALE_INDEX_WORKSPACE_STATE);
|
||||
|
||||
private final Launcher mLauncher;
|
||||
private final Workspace mWorkspace;
|
||||
private final Workspace<?> mWorkspace;
|
||||
|
||||
private float mNewScale;
|
||||
|
||||
public WorkspaceStateTransitionAnimation(Launcher launcher, Workspace workspace) {
|
||||
public WorkspaceStateTransitionAnimation(Launcher launcher, Workspace<?> workspace) {
|
||||
mLauncher = launcher;
|
||||
mWorkspace = workspace;
|
||||
}
|
||||
@@ -224,7 +224,7 @@ public class WorkspaceStateTransitionAnimation {
|
||||
* Returns a spring based animator for the scale property of {@param workspace}.
|
||||
*/
|
||||
public static ValueAnimator getWorkspaceSpringScaleAnimator(Launcher launcher,
|
||||
Workspace workspace, float scale) {
|
||||
Workspace<?> workspace, float scale) {
|
||||
return getSpringScaleAnimator(launcher, workspace, scale, WORKSPACE_SCALE_PROPERTY);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user