use of com.saggitt.omega.qsb.QsbAnimationController in project Neo-Launcher by NeoApplications.
the class OmegaLauncherCallbacks method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
mPrefs = Utilities.getPrefs(mLauncher);
mOverlayCallbacks = new OverlayCallbackImpl(mLauncher);
mLauncherClient = new CustomLauncherClient(mLauncher, mOverlayCallbacks, getClientOptions(mPrefs));
mQsbController = new QsbAnimationController(mLauncher);
mOverlayCallbacks.setClient(mLauncherClient);
mUiInformation.putInt("system_ui_visibility", mLauncher.getWindow().getDecorView().getSystemUiVisibility());
applyFeedTheme(false);
WallpaperColorInfo instance = WallpaperColorInfo.getInstance(mLauncher);
instance.addOnChangeListener(this);
onExtractedColorsChanged(instance);
mPrefs.registerOnSharedPreferenceChangeListener(this);
predictionUiStateManager = PredictionUiStateManager.INSTANCE.get(mLauncher);
predictionUiStateManager.setTargetAppsView(mLauncher.getAppsView());
if (FeatureFlags.REFLECTION_FORCE_OVERVIEW_MODE) {
predictionUiStateManager.switchClient(Client.OVERVIEW);
}
}
Aggregations