Using the first frame delay based on the display refresh rate instead of

hardcoding it to 16ms

> Creating a utility class for caching display property changes

Bug: 128940249
Change-Id: I6f9a214548de65bd1c8530508d665ee88312da4a
This commit is contained in:
Sunny Goyal
2019-07-23 11:26:38 -07:00
parent b6841ac630
commit 4e6c45bcd3
14 changed files with 212 additions and 42 deletions

View File

@@ -218,7 +218,7 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans
anim.addListener(mForceInvisibleListener);
}
result.setAnimation(anim);
result.setAnimation(anim, mLauncher);
}
};
@@ -819,7 +819,7 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans
}
mLauncher.clearForceInvisibleFlag(INVISIBLE_ALL);
result.setAnimation(anim);
result.setAnimation(anim, mLauncher);
}
}
}