Searched refs:uiContext (Results 1 – 5 of 5) sorted by relevance
76 Context uiContext = mAppToPluginContextMap.get(sourceContext); in getPluginUiContext() local78 if (uiContext == null) { in getPluginUiContext()79 uiContext = mPluginContext; in getPluginUiContext()80 if (!uiContext.isUiContext()) { in getPluginUiContext()81 uiContext = uiContext in getPluginUiContext()86 Configuration currentConfiguration = uiContext.getResources().getConfiguration(); in getPluginUiContext()89 uiContext = uiContext.createConfigurationContext(newConfiguration); in getPluginUiContext()93 if (!(uiContext instanceof PluginContextWrapper)) { in getPluginUiContext()94 uiContext = new PluginContextWrapper(uiContext, sourceContext.getPackageName()); in getPluginUiContext()95 ((PluginContextWrapper) uiContext).setWindowManager((WindowManager) sourceContext in getPluginUiContext()[all …]
83 protected static void dismissDialogThroughIntent(Context uiContext) { in dismissDialogThroughIntent() argument84 Intent newIntent = new Intent(uiContext, SimDialogActivity.class); in dismissDialogThroughIntent()87 uiContext.startActivity(newIntent); in dismissDialogThroughIntent()
110 final Context uiContext = preference.getContext(); in updateState() local114 PreferenceCategory category = new PreferenceCategory(uiContext); in updateState()124 category = new PreferenceCategory(uiContext); in updateState()128 final Preference pref = new Preference(uiContext); in updateState()136 buildShortcutIntent(uiContext, info), in updateState()
236 public LayoutPreference done(Activity activity, Context uiContext) { in done() argument237 final LayoutPreference pref = new LayoutPreference(uiContext, done(activity)); in done()
290 public void launchSettings(Context uiContext, DreamBackend.DreamInfo dreamInfo) { in launchSettings() argument295 uiContext.startActivity(new Intent().setComponent(dreamInfo.settingsComponentName)); in launchSettings()