Lines Matching refs:dreamInfo
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);
346 DreamInfo dreamInfo = getItem(i);
347 if (dreamInfo.isActive)
348 return dreamInfo;
352 private void activate(DreamInfo dreamInfo) {
353 if (dreamInfo.equals(getCurrentSelection()))
358 dreamInfo.isActive = true;
359 mBackend.setActiveDream(dreamInfo.componentName);