Searched refs:dreamInfo (Results 1 – 2 of 2) sorted by relevance
106 DreamInfo dreamInfo = new DreamInfo(); in getDreamInfos() local107 dreamInfo.caption = resolveInfo.loadLabel(pm); in getDreamInfos()108 dreamInfo.icon = resolveInfo.loadIcon(pm); in getDreamInfos()109 dreamInfo.componentName = getDreamComponentName(resolveInfo); in getDreamInfos()110 dreamInfo.isActive = dreamInfo.componentName.equals(activeDream); in getDreamInfos()111 dreamInfo.settingsComponentName = getSettingsComponentName(pm, resolveInfo); in getDreamInfos()112 dreamInfos.add(dreamInfo); in getDreamInfos()204 public void launchSettings(DreamInfo dreamInfo) { in launchSettings() argument205 logd("launchSettings(%s)", dreamInfo); in launchSettings()206 if (dreamInfo == null || dreamInfo.settingsComponentName == null) in launchSettings()[all …]
292 DreamInfo dreamInfo = getItem(position);293 logd("getView(%s)", dreamInfo.caption);295 row.setTag(dreamInfo);298 ((ImageView) row.findViewById(android.R.id.icon)).setImageDrawable(dreamInfo.icon);301 ((TextView) row.findViewById(android.R.id.title)).setText(dreamInfo.caption);305 radioButton.setChecked(dreamInfo.isActive);314 boolean showSettings = dreamInfo.settingsComponentName != null;320 settingsButton.setAlpha(dreamInfo.isActive ? 1f : Utils.DISABLED_ALPHA);321 settingsButton.setEnabled(dreamInfo.isActive);322 settingsButton.setFocusable(dreamInfo.isActive);[all …]