Searched refs:inflationContext (Results 1 – 1 of 1) sorted by relevance
139 final Context inflationContext; in loadModelData() local149 inflationContext = new ContextThemeWrapper(context, in loadModelData()152 inflationContext = new ContextThemeWrapper(mContext, R.style.AppTheme); in loadModelData()156 PreviewContext previewContext = new PreviewContext(inflationContext, mIdp); in loadModelData()176 LauncherAppState.getInstance(inflationContext).getModel().loadAsync(dataModel -> { in loadModelData()178 MAIN_EXECUTOR.execute(() -> renderView(inflationContext, dataModel, null)); in loadModelData()201 private void renderView(Context inflationContext, BgDataModel dataModel, in renderView() argument206 View view = new LauncherPreviewRenderer(inflationContext, mIdp, mWallpaperColors) in renderView()