Searched refs:listPreference (Results 1 – 2 of 2) sorted by relevance
368 ListPreference listPreference = (ListPreference) preference; in setEntries() local369 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setEntries()370 setEntriesForSelection(mPictureSizes.backCameraSizes, listPreference); in setEntries()371 } else if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_FRONT)) { in setEntries()372 setEntriesForSelection(mPictureSizes.frontCameraSizes, listPreference); in setEntries()373 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_BACK)) { in setEntries()374 setEntriesForSelection(mPictureSizes.videoQualitiesBack.orNull(), listPreference); in setEntries() local375 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_FRONT)) { in setEntries()376 setEntriesForSelection(mPictureSizes.videoQualitiesFront.orNull(), listPreference); in setEntries() local389 ListPreference listPreference = (ListPreference) preference; in setSummary() local[all …]
58 final ListPreference listPreference = (ListPreference)screen.findPreference(prefKey); in updateListPreferenceSummaryToCurrentValue() local59 if (listPreference == null) { in updateListPreferenceSummaryToCurrentValue()62 final CharSequence entries[] = listPreference.getEntries(); in updateListPreferenceSummaryToCurrentValue()63 final int entryIndex = listPreference.findIndexOfValue(listPreference.getValue()); in updateListPreferenceSummaryToCurrentValue()64 listPreference.setSummary(entryIndex < 0 ? null : entries[entryIndex]); in updateListPreferenceSummaryToCurrentValue()