コード例 #1
0
 @Override
 public void onChange(boolean selfChange) {
   // If the database has ever changed, then we really need to force a reload of the
   // workspace on the next load
   mModel.resetLoadedState(false, true);
   mModel.startLoaderFromBackground();
 }
コード例 #2
0
  @Override
  public void onThemeChanged() {
    /*mModel.resetLoadedState(false, true);
    //##date:2013/12/08 ##author:hongxing.whx ##bugid: 72248
    mModel.setThemeChanged(true);
    YUNOS END
    mModel.startLoaderFromBackground();*/

    /*YUNOS BEGIN*/
    // ##date:2014/8/1 ##author:zhangqiang.zq
    // favorite app
    GadgetCardHelper.onThemeChanged();
    LauncherGadgetHelper.cleanUp();
    mRecommendTask.refreshFavoriteAppIcons();
    /* YUNOS END */
    ThemeResources.reset();
    FolderIcon.onThemeChanged();
    mModel.onThemeChange();
    LauncherAnimUtils.onDestroyActivity();
  }
コード例 #3
0
 @Override
 public void onFontChanged() {
   mModel.onFontChanged();
 }
コード例 #4
0
 LauncherModel setLauncher(Launcher launcher) {
   mModel.initialize(launcher);
   mLauncher = launcher;
   return mModel;
 }