/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSettings.java | 121 findPreference(KEY_CATEGORY_ALERT_SETTINGS); in onCreate() 126 Preference enablePwsAlerts = findPreference(KEY_ENABLE_EMERGENCY_ALERTS); in onCreate() 132 ListPreference duration = (ListPreference) findPreference(KEY_ALERT_SOUND_DURATION); in onCreate() 145 alertCategory.removePreference(findPreference(KEY_ENABLE_EMERGENCY_ALERTS)); in onCreate() 146 alertCategory.removePreference(findPreference(KEY_ALERT_SOUND_DURATION)); in onCreate() 147 alertCategory.removePreference(findPreference(KEY_ENABLE_ALERT_SPEECH)); in onCreate() 149 preferenceScreen.removePreference(findPreference(KEY_CATEGORY_ETWS_SETTINGS)); in onCreate() 155 findPreference(KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS)); in onCreate() 157 findPreference(KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS)); in onCreate() 158 alertCategory.removePreference(findPreference(KEY_ENABLE_CMAS_AMBER_ALERTS)); in onCreate() [all …]
|
/packages/apps/Phone/src/com/android/phone/ |
D | CellBroadcastSms.java | 345 mButtonBcSms = (CheckBoxPreference) prefSet.findPreference( in onCreate() 347 mListLanguage = (ListPreference) prefSet.findPreference( in onCreate() 351 mButtonEmergencyBroadcast = (CheckBoxPreference) prefSet.findPreference( in onCreate() 353 mButtonAdministrative = (CheckBoxPreference) prefSet.findPreference( in onCreate() 355 mButtonMaintenance = (CheckBoxPreference) prefSet.findPreference( in onCreate() 357 mButtonLocalWeather = (CheckBoxPreference) prefSet.findPreference( in onCreate() 359 mButtonAtr = (CheckBoxPreference) prefSet.findPreference( in onCreate() 361 mButtonLafs = (CheckBoxPreference) prefSet.findPreference( in onCreate() 363 mButtonRestaurants = (CheckBoxPreference) prefSet.findPreference( in onCreate() 365 mButtonLodgings = (CheckBoxPreference) prefSet.findPreference( in onCreate() [all …]
|
D | GsmUmtsOptions.java | 51 mButtonAPNExpand = (PreferenceScreen) mPrefScreen.findPreference(BUTTON_APN_EXPAND_KEY); in create() 53 (PreferenceScreen) mPrefScreen.findPreference(BUTTON_OPERATOR_SELECTION_EXPAND_KEY); in create() 54 mButtonPrefer2g = (CheckBoxPreference) mPrefScreen.findPreference(BUTTON_PREFER_2G_KEY); in create() 67 .findPreference(BUTTON_OPERATOR_SELECTION_EXPAND_KEY)); in create()
|
D | DataUsage.java | 55 mCurrentUsagePref = findPreference("throttle_current_usage"); in onCreate() 56 mTimeFramePref = findPreference("throttle_time_frame"); in onCreate() 57 mThrottleRatePref = findPreference("throttle_rate"); in onCreate() 58 mHelpPref = findPreference("throttle_help"); in onCreate()
|
D | CdmaOptions.java | 61 .findPreference(BUTTON_CDMA_SYSTEM_SELECT_KEY); in create() 64 .findPreference(BUTTON_CDMA_SUBSCRIPTION_KEY); in create() 73 .findPreference(BUTTON_CDMA_SUBSCRIPTION_KEY)); in create() 83 mPrefScreen.findPreference(BUTTON_CDMA_ACTIVATE_DEVICE_KEY)); in create()
|
/packages/apps/Settings/src/com/android/settings/ |
D | WirelessSettings.java | 100 mAirplaneModePreference = (CheckBoxPreference) findPreference(KEY_TOGGLE_AIRPLANE); in onCreate() 101 CheckBoxPreference nfc = (CheckBoxPreference) findPreference(KEY_TOGGLE_NFC); in onCreate() 102 PreferenceScreen androidBeam = (PreferenceScreen) findPreference(KEY_ANDROID_BEAM_SETTINGS); in onCreate() 103 CheckBoxPreference nsd = (CheckBoxPreference) findPreference(KEY_TOGGLE_NSD); in onCreate() 120 Preference ps = (Preference) findPreference(KEY_WIMAX_SETTINGS); in onCreate() 125 Preference ps = (Preference) findPreference(KEY_WIMAX_SETTINGS); in onCreate() 131 findPreference(KEY_VPN_SETTINGS).setDependency(KEY_TOGGLE_AIRPLANE); in onCreate() 141 findPreference(KEY_TOGGLE_NFC).setDependency(KEY_TOGGLE_AIRPLANE); in onCreate() 142 findPreference(KEY_ANDROID_BEAM_SETTINGS).setDependency(KEY_TOGGLE_AIRPLANE); in onCreate() 155 getPreferenceScreen().removePreference(findPreference(KEY_MOBILE_NETWORK_SETTINGS)); in onCreate() [all …]
|
D | SoundSettings.java | 114 getPreferenceScreen().removePreference(findPreference(KEY_EMERGENCY_TONE)); in onCreate() 118 findPreference(KEY_RING_VOLUME).setDependency(null); in onCreate() 121 mVibrateWhenRinging = (CheckBoxPreference) findPreference(KEY_VIBRATE); in onCreate() 126 mDtmfTone = (CheckBoxPreference) findPreference(KEY_DTMF_TONE); in onCreate() 130 mSoundEffects = (CheckBoxPreference) findPreference(KEY_SOUND_EFFECTS); in onCreate() 134 mHapticFeedback = (CheckBoxPreference) findPreference(KEY_HAPTIC_FEEDBACK); in onCreate() 138 mLockSounds = (CheckBoxPreference) findPreference(KEY_LOCK_SOUNDS); in onCreate() 143 mRingtonePreference = findPreference(KEY_RINGTONE); in onCreate() 144 mNotificationPreference = findPreference(KEY_NOTIFICATION_SOUND); in onCreate() 154 (ListPreference) findPreference(KEY_EMERGENCY_TONE); in onCreate() [all …]
|
D | DeviceInfoSettings.java | 72 findPreference(KEY_FIRMWARE_VERSION).setEnabled(true); in onCreate() 76 findPreference(KEY_KERNEL_VERSION).setSummary(getFormattedKernelVersion()); in onCreate() 84 getPreferenceScreen().removePreference(findPreference(KEY_BASEBAND_VERSION)); in onCreate() 93 PreferenceGroup parentPreference = (PreferenceGroup) findPreference(KEY_CONTAINER); in onCreate() 115 getPreferenceScreen().removePreference(findPreference(KEY_UPDATE_SETTING)); in onCreate() 144 preferenceGroup.removePreference(findPreference(preference)); in removePreferenceIfPropertyMissing() 154 findPreference(preference).setSummary(value); in setStringSummary() 156 findPreference(preference).setSummary( in setStringSummary() 163 findPreference(preference).setSummary( in setValueSummary()
|
D | ApnEditor.java | 148 mName = (EditTextPreference) findPreference("apn_name"); in onCreate() 149 mApn = (EditTextPreference) findPreference("apn_apn"); in onCreate() 150 mProxy = (EditTextPreference) findPreference("apn_http_proxy"); in onCreate() 151 mPort = (EditTextPreference) findPreference("apn_http_port"); in onCreate() 152 mUser = (EditTextPreference) findPreference("apn_user"); in onCreate() 153 mServer = (EditTextPreference) findPreference("apn_server"); in onCreate() 154 mPassword = (EditTextPreference) findPreference("apn_password"); in onCreate() 155 mMmsProxy = (EditTextPreference) findPreference("apn_mms_proxy"); in onCreate() 156 mMmsPort = (EditTextPreference) findPreference("apn_mms_port"); in onCreate() 157 mMmsc = (EditTextPreference) findPreference("apn_mmsc"); in onCreate() [all …]
|
D | SecuritySettings.java | 158 mLockAfter = (ListPreference) root.findPreference(KEY_LOCK_AFTER_TIMEOUT); in createPreferenceHierarchy() 166 (CheckBoxPreference) root.findPreference(KEY_BIOMETRIC_WEAK_LIVELINESS); in createPreferenceHierarchy() 169 mVisiblePattern = (CheckBoxPreference) root.findPreference(KEY_VISIBLE_PATTERN); in createPreferenceHierarchy() 172 mPowerButtonInstantlyLocks = (CheckBoxPreference) root.findPreference( in createPreferenceHierarchy() 180 root.findPreference(KEY_SECURITY_CATEGORY); in createPreferenceHierarchy() 182 securityCategory.removePreference(root.findPreference(KEY_VISIBLE_PATTERN)); in createPreferenceHierarchy() 187 mTactileFeedback = (CheckBoxPreference) root.findPreference(KEY_TACTILE_FEEDBACK_ENABLED); in createPreferenceHierarchy() 190 root.findPreference(KEY_SECURITY_CATEGORY); in createPreferenceHierarchy() 207 root.removePreference(root.findPreference(KEY_SIM_LOCK)); in createPreferenceHierarchy() 214 root.findPreference(KEY_SIM_LOCK).setEnabled(false); in createPreferenceHierarchy() [all …]
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | MessagingPreferenceActivity.java | 107 mManageSimPref = findPreference("pref_key_manage_sim_messages"); in loadPrefs() 108 mSmsLimitPref = findPreference("pref_key_sms_delete_limit"); in loadPrefs() 109 mSmsDeliveryReportPref = findPreference("pref_key_sms_delivery_reports"); in loadPrefs() 110 mMmsDeliveryReportPref = findPreference("pref_key_mms_delivery_reports"); in loadPrefs() 111 mMmsReadReportPref = findPreference("pref_key_mms_read_reports"); in loadPrefs() 112 mMmsLimitPref = findPreference("pref_key_mms_delete_limit"); in loadPrefs() 113 mClearHistoryPref = findPreference("pref_key_mms_clear_history"); in loadPrefs() 114 mEnableNotificationsPref = (CheckBoxPreference) findPreference(NOTIFICATION_ENABLED); in loadPrefs() 115 mVibrateWhenPref = (ListPreference) findPreference(NOTIFICATION_VIBRATE_WHEN); in loadPrefs() 141 (PreferenceCategory)findPreference("pref_key_sms_settings"); in setMessagePreferences() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | Settings.java | 119 mVoicePreference = (ListPreference) findPreference(PREF_VOICE_MODE); in onCreate() 121 (ListPreference) findPreference(PREF_SHOW_SUGGESTIONS_SETTING); in onCreate() 126 (ListPreference) findPreference(PREF_AUTO_CORRECTION_THRESHOLD); in onCreate() 127 mBigramSuggestion = (CheckBoxPreference) findPreference(PREF_BIGRAM_SUGGESTION); in onCreate() 128 mBigramPrediction = (CheckBoxPreference) findPreference(PREF_BIGRAM_PREDICTIONS); in onCreate() 129 mDebugSettingsPreference = findPreference(PREF_DEBUG_SETTINGS); in onCreate() 140 (PreferenceGroup) findPreference(PREF_GENERAL_SETTINGS); in onCreate() 142 (PreferenceGroup) findPreference(PREF_CORRECTION_SETTINGS); in onCreate() 144 (PreferenceGroup) findPreference(PREF_MISC_SETTINGS); in onCreate() 153 (PreferenceGroup) findPreference(PREF_ADVANCED_SETTINGS); in onCreate() [all …]
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
D | AdvancedPreferencesFragment.java | 48 PreferenceScreen websiteSettings = (PreferenceScreen) findPreference( in onCreate() 52 Preference e = findPreference(PreferenceKeys.PREF_DEFAULT_ZOOM); in onCreate() 58 e = findPreference(PreferenceKeys.PREF_DEFAULT_TEXT_ENCODING); in onCreate() 61 e = findPreference(PreferenceKeys.PREF_RESET_DEFAULT_PREFERENCES); in onCreate() 64 e = findPreference(PreferenceKeys.PREF_SEARCH_ENGINE); in onCreate() 68 e = findPreference(PreferenceKeys.PREF_PLUGIN_STATE); in onCreate() 85 final PreferenceScreen websiteSettings = (PreferenceScreen) findPreference( in onResume()
|
D | AccessibilityPreferencesFragment.java | 46 Preference e = findPreference(PreferenceKeys.PREF_MIN_FONT_SIZE); in onCreate() 49 e = findPreference(PreferenceKeys.PREF_TEXT_ZOOM); in onCreate() 52 e = findPreference(PreferenceKeys.PREF_DOUBLE_TAP_ZOOM); in onCreate() 55 e = findPreference(PreferenceKeys.PREF_INVERTED_CONTRAST); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | Status.java | 187 mBatteryLevel = findPreference(KEY_BATTERY_LEVEL); in onCreate() 188 mBatteryStatus = findPreference(KEY_BATTERY_STATUS); in onCreate() 197 mSignalStrength = findPreference(KEY_SIGNAL_STRENGTH); in onCreate() 198 mUptime = findPreference("up_time"); in onCreate() 211 findPreference(KEY_MIN_NUMBER).setTitle(R.string.status_msid_number); in onCreate() 302 Preference pref = findPreference(key); in removePreferenceFromScreen() 315 findPreference(preference).setSummary( in setSummary() 327 if (findPreference(preference) != null) { in setSummaryText() 328 findPreference(preference).setSummary(text); in setSummaryText() 423 Preference ps = (Preference) findPreference(KEY_WIMAX_MAC_ADDRESS); in setWimaxStatus() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsFragment.java | 363 mAccountDescription = (EditTextPreference) findPreference(PREFERENCE_DESCRIPTION); in loadSettings() 381 mAccountName = (EditTextPreference) findPreference(PREFERENCE_NAME); in loadSettings() 399 mAccountSignature = (EditTextPreference) findPreference(PREFERENCE_SIGNATURE); in loadSettings() 418 mCheckFrequency = (ListPreference) findPreference(PREFERENCE_FREQUENCY); in loadSettings() 440 findPreference(PREFERENCE_QUICK_RESPONSES).setOnPreferenceClickListener( in loadSettings() 452 (PreferenceCategory) findPreference(PREFERENCE_CATEGORY_DATA_USAGE); in loadSettings() 479 findPreference(PREFERENCE_BACKGROUND_ATTACHMENTS); in loadSettings() 488 mAccountDefault = (CheckBoxPreference) findPreference(PREFERENCE_DEFAULT); in loadSettings() 492 mAccountNotify = (CheckBoxPreference) findPreference(PREFERENCE_NOTIFY); in loadSettings() 496 mAccountRingtone = (RingtonePreference) findPreference(PREFERENCE_RINGTONE); in loadSettings() [all …]
|
D | GeneralPreferences.java | 58 PreferenceCategory pc = (PreferenceCategory) findPreference(PREFERENCE_CATEGORY_KEY); in onCreate() 59 pc.removePreference(findPreference(PREFERENCE_KEY_REPLY_ALL)); in onCreate() 104 mAutoAdvance = (ListPreference) findPreference(PREFERENCE_KEY_AUTO_ADVANCE); in loadSettings() 108 mTextZoom = (ListPreference) findPreference(PREFERENCE_KEY_TEXT_ZOOM); in loadSettings()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 142 mAlert = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS); in onCreate() 143 mVibrateWhen = (ListPreference) preferenceScreen.findPreference(KEY_ALERTS_VIBRATE_WHEN); in onCreate() 147 .findPreference(KEY_ALERTS_CATEGORY); in onCreate() 153 mRingtone = (RingtonePreference) preferenceScreen.findPreference(KEY_ALERTS_RINGTONE); in onCreate() 154 mPopup = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS_POPUP); in onCreate() 155 mUseHomeTZ = (CheckBoxPreference) preferenceScreen.findPreference(KEY_HOME_TZ_ENABLED); in onCreate() 156 mHideDeclined = (CheckBoxPreference) preferenceScreen.findPreference(KEY_HIDE_DECLINED); in onCreate() 157 mWeekStart = (ListPreference) preferenceScreen.findPreference(KEY_WEEK_START_DAY); in onCreate() 158 mDefaultReminder = (ListPreference) preferenceScreen.findPreference(KEY_DEFAULT_REMINDER); in onCreate() 159 mHomeTZ = (ListPreference) preferenceScreen.findPreference(KEY_HOME_TZ); in onCreate()
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
D | SpareParts.java | 77 Preference preference = parentPreferenceGroup.findPreference(preferenceKey); in updatePreferenceToSpecificActivityOrRemove() 116 mWindowAnimationsPref = (ListPreference) prefSet.findPreference(WINDOW_ANIMATIONS_PREF); in onCreate() 118 … mTransitionAnimationsPref = (ListPreference) prefSet.findPreference(TRANSITION_ANIMATIONS_PREF); in onCreate() 120 … mFancyImeAnimationsPref = (CheckBoxPreference) prefSet.findPreference(FANCY_IME_ANIMATIONS_PREF); in onCreate() 121 mHapticFeedbackPref = (CheckBoxPreference) prefSet.findPreference(HAPTIC_FEEDBACK_PREF); in onCreate() 122 mFontSizePref = (ListPreference) prefSet.findPreference(FONT_SIZE_PREF); in onCreate() 124 mEndButtonPref = (ListPreference) prefSet.findPreference(END_BUTTON_PREF); in onCreate() 126 mCompatibilityMode = (CheckBoxPreference) findPreference(KEY_COMPATIBILITY_MODE); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | InputMethodAndLanguageSettings.java | 107 getPreferenceScreen().removePreference(findPreference(KEY_PHONE_LANGUAGE)); in onCreate() 109 mLanguagePref = findPreference(KEY_PHONE_LANGUAGE); in onCreate() 112 mShowInputMethodSelectorPref = (ListPreference)findPreference( in onCreate() 122 mHardKeyboardCategory = (PreferenceCategory)findPreference("hard_keyboard"); in onCreate() 123 mKeyboardSettingsCategory = (PreferenceCategory)findPreference( in onCreate() 125 mGameControllerCategory = (PreferenceCategory)findPreference( in onCreate() 175 final SpellCheckersPreference scp = ((SpellCheckersPreference)findPreference( in onCreate() 253 updateUserDictionaryPreference(findPreference(KEY_USER_DICTIONARY_SETTINGS)); in onResume() 263 mHardKeyboardCategory.findPreference(sHardKeyboardKeys[i]); in onResume() 323 if (chkPref == mHardKeyboardCategory.findPreference(sHardKeyboardKeys[i])) { in onPreferenceTreeClick() [all …]
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | SettingsActivity.java | 53 .findPreference(getString(R.string.setting_sound_key)); in onCreate() 55 .findPreference(getString(R.string.setting_vibrate_key)); in onCreate() 57 .findPreference(getString(R.string.setting_prediction_key)); in onCreate() 102 Preference preference = parentPref.findPreference(prefKey); in updatePreference()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AdvancedWifiSettings.java | 71 (CheckBoxPreference) findPreference(KEY_NOTIFY_OPEN_NETWORKS); in initPreferences() 77 (CheckBoxPreference) findPreference(KEY_POOR_NETWORK_DETECTION); in initPreferences() 87 ListPreference frequencyPref = (ListPreference) findPreference(KEY_FREQUENCY_BAND); in initPreferences() 104 ListPreference sleepPolicyPref = (ListPreference) findPreference(KEY_SLEEP_POLICY); in initPreferences() 190 Preference wifiMacAddressPref = findPreference(KEY_MAC_ADDRESS); in refreshWifiInfo() 195 Preference wifiIpAddressPref = findPreference(KEY_CURRENT_IP_ADDRESS); in refreshWifiInfo()
|
/packages/apps/Camera/src/com/android/camera/ |
D | CameraSettings.java | 137 ListPreference videoQuality = group.findPreference(KEY_VIDEO_QUALITY); in initPreference() 138 … ListPreference timeLapseInterval = group.findPreference(KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL); in initPreference() 139 ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE); in initPreference() 140 ListPreference whiteBalance = group.findPreference(KEY_WHITE_BALANCE); in initPreference() 141 ListPreference sceneMode = group.findPreference(KEY_SCENE_MODE); in initPreference() 142 ListPreference flashMode = group.findPreference(KEY_FLASH_MODE); in initPreference() 143 ListPreference focusMode = group.findPreference(KEY_FOCUS_MODE); in initPreference() 144 ListPreference exposure = group.findPreference(KEY_EXPOSURE); in initPreference() 146 (IconListPreference) group.findPreference(KEY_CAMERA_ID); in initPreference() 148 group.findPreference(KEY_VIDEOCAMERA_FLASH_MODE); in initPreference() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 136 ListPreference videoQuality = group.findPreference(KEY_VIDEO_QUALITY); in initPreference() 137 … ListPreference timeLapseInterval = group.findPreference(KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL); in initPreference() 138 ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE); in initPreference() 139 ListPreference whiteBalance = group.findPreference(KEY_WHITE_BALANCE); in initPreference() 140 ListPreference sceneMode = group.findPreference(KEY_SCENE_MODE); in initPreference() 141 ListPreference flashMode = group.findPreference(KEY_FLASH_MODE); in initPreference() 142 ListPreference focusMode = group.findPreference(KEY_FOCUS_MODE); in initPreference() 143 ListPreference exposure = group.findPreference(KEY_EXPOSURE); in initPreference() 145 (IconListPreference) group.findPreference(KEY_CAMERA_ID); in initPreference() 147 group.findPreference(KEY_VIDEOCAMERA_FLASH_MODE); in initPreference() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | SettingsActivity.java | 58 (AlarmPreference) findPreference(KEY_DEFAULT_RINGTONE); in onCreate() 124 (CheckBoxPreference) findPreference(KEY_ALARM_IN_SILENT_MODE); in refresh() 132 (ListPreference) findPreference(KEY_ALARM_SNOOZE); in refresh() 136 listPref = (ListPreference) findPreference(KEY_AUTO_SILENCE); in refresh()
|