/packages/services/Telephony/src/com/android/phone/ |
D | CellBroadcastSms.java | 317 preferenceScreen.setEnabled(false); in onPreferenceTreeClick() 423 getPreferenceScreen().setEnabled(true); in onResume() 451 mButtonEmergencyBroadcast.setEnabled(enable); in enableDisableAllCbConfigButtons() 452 mListLanguage.setEnabled(enable); in enableDisableAllCbConfigButtons() 453 mButtonAdministrative.setEnabled(enable); in enableDisableAllCbConfigButtons() 454 mButtonMaintenance.setEnabled(enable); in enableDisableAllCbConfigButtons() 455 mButtonLocalWeather.setEnabled(enable); in enableDisableAllCbConfigButtons() 456 mButtonAtr.setEnabled(enable); in enableDisableAllCbConfigButtons() 457 mButtonLafs.setEnabled(enable); in enableDisableAllCbConfigButtons() 458 mButtonRestaurants.setEnabled(enable); in enableDisableAllCbConfigButtons() [all …]
|
D | MobileNetworkSettings.java | 150 if (pref != null) pref.setEnabled(enabled && hasActiveSubscriptions()); 252 preferenceScreen.setEnabled(false); in onPreferenceTreeClick() 490 getPreferenceScreen().setEnabled(true); in onResume() 745 mButtonDataRoam.setEnabled(hasActiveSubscriptions); in updateBody() 746 mButtonPreferredNetworkMode.setEnabled(hasActiveSubscriptions); in updateBody() 747 mButtonEnabledNetworks.setEnabled(hasActiveSubscriptions); in updateBody() 748 mButton4glte.setEnabled(hasActiveSubscriptions && canChange4glte); in updateBody() 749 mLteDataServicePref.setEnabled(hasActiveSubscriptions); in updateBody() 754 ps.setEnabled(hasActiveSubscriptions); in updateBody() 758 ps.setEnabled(hasActiveSubscriptions); in updateBody() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
D | RecurrencePickerDialog.java | 839 mFreqSpinner.setEnabled(false); in togglePickerOptions() 840 mEndSpinner.setEnabled(false); in togglePickerOptions() 841 mIntervalPreText.setEnabled(false); in togglePickerOptions() 842 mInterval.setEnabled(false); in togglePickerOptions() 843 mIntervalPostText.setEnabled(false); in togglePickerOptions() 844 mMonthRepeatByRadioGroup.setEnabled(false); in togglePickerOptions() 845 mEndCount.setEnabled(false); in togglePickerOptions() 846 mPostEndCount.setEnabled(false); in togglePickerOptions() 847 mEndDateTextView.setEnabled(false); in togglePickerOptions() 848 mRepeatMonthlyByNthDayOfWeek.setEnabled(false); in togglePickerOptions() [all …]
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | NfcEnabler.java | 66 mSwitch.setEnabled(false); in NfcEnabler() 67 mAndroidBeam.setEnabled(false); in NfcEnabler() 72 mAndroidBeam.setEnabled(false); in NfcEnabler() 98 mSwitch.setEnabled(false); in onPreferenceChange() 113 mSwitch.setEnabled(true); in handleNfcStateChanged() 114 mAndroidBeam.setEnabled(false); in handleNfcStateChanged() 119 mSwitch.setEnabled(true); in handleNfcStateChanged() 120 mAndroidBeam.setEnabled(!mBeamDisallowed); in handleNfcStateChanged() 129 mSwitch.setEnabled(false); in handleNfcStateChanged() 130 mAndroidBeam.setEnabled(false); in handleNfcStateChanged() [all …]
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | CallButtonFragment.java | 197 mMergeButton.setEnabled(false); in onClick() 343 public void setEnabled(boolean isEnabled) { in setEnabled() method in CallButtonFragment 346 mAudioButton.setEnabled(isEnabled); in setEnabled() 347 mMuteButton.setEnabled(isEnabled); in setEnabled() 348 mShowDialpadButton.setEnabled(isEnabled); in setEnabled() 349 mHoldButton.setEnabled(isEnabled); in setEnabled() 350 mSwapButton.setEnabled(isEnabled); in setEnabled() 351 mChangeToVideoButton.setEnabled(isEnabled); in setEnabled() 352 mSwitchCameraButton.setEnabled(isEnabled); in setEnabled() 353 mAddCallButton.setEnabled(isEnabled); in setEnabled() [all …]
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | UserDictionaryToolsEdit.java | 138 mEntryButton.setEnabled(false); in onCreate() 142 mEntryButton.setEnabled(true); in onCreate() 191 mEntryButton.setEnabled(true); in setAddButtonControl() 193 mEntryButton.setEnabled(false); in setAddButtonControl() 207 mEntryButton.setEnabled(true); in setAddButtonControl() 209 mEntryButton.setEnabled(false); in setAddButtonControl() 219 mEntryButton.setEnabled(false); in onClick() 220 mCancelButton.setEnabled(false); in onClick() 300 mEntryButton.setEnabled(true); in onCreateDialog() 301 mCancelButton.setEnabled(true); in onCreateDialog() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSettings.java | 204 mExtremeCheckBox.setEnabled(false); in updatePreferences() 205 mSevereCheckBox.setEnabled(false); in updatePreferences() 206 mAmberCheckBox.setEnabled(false); in updatePreferences() 207 mEmergencyCheckBox.setEnabled(false); in updatePreferences() 208 mReminderInterval.setEnabled(false); in updatePreferences() 209 mAlertDuration.setEnabled(false); in updatePreferences() 210 mVibrateCheckBox.setEnabled(false); in updatePreferences() 211 mSpeechCheckBox.setEnabled(false); in updatePreferences() 212 mEtwsTestCheckBox.setEnabled(false); in updatePreferences() 213 mChannel50CheckBox.setEnabled(false); in updatePreferences() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | RawContactEditorView.java | 97 public void setEnabled(boolean enabled) { in setEnabled() method in RawContactEditorView 98 super.setEnabled(enabled); in setEnabled() 102 view.setEnabled(enabled); in setEnabled() 106 mName.setEnabled(enabled); in setEnabled() 110 mPhoneticName.setEnabled(enabled); in setEnabled() 116 mFields.getChildAt(i).setEnabled(enabled); in setEnabled() 121 mGroupMembershipView.setEnabled(enabled); in setEnabled() 222 getPhotoEditor().setEnabled(isEnabled()); in setState() 223 mName.setEnabled(isEnabled()); in setState() 225 mPhoneticName.setEnabled(isEnabled()); in setState() [all …]
|
D | LabeledEditorView.java | 217 mLabel.setEnabled(!mReadOnly && isEnabled()); in setupLabelButton() 230 mDelete.setEnabled(!mReadOnly && isEnabled()); in setupDeleteButton() 297 public void setEnabled(boolean enabled) { in setEnabled() method in LabeledEditorView 298 super.setEnabled(enabled); in setEnabled() 299 mLabel.setEnabled(!mReadOnly && enabled); in setEnabled() 300 mDelete.setEnabled(!mReadOnly && enabled); in setEnabled() 422 mLabel.setEnabled(!readOnly && isEnabled()); in setValues() 512 okButton.setEnabled(!TextUtils.isEmpty(editText.getText().toString().trim())); in updateCustomDialogOkButtonState()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStorageSettings.java | 238 mClearDataButton.setEnabled(false); in refreshSizeInfo() 239 mClearCacheButton.setEnabled(false); in refreshSizeInfo() 277 mClearDataButton.setEnabled(false); in refreshSizeInfo() 279 mClearDataButton.setEnabled(true); in refreshSizeInfo() 283 mClearCacheButton.setEnabled(false); in refreshSizeInfo() 285 mClearCacheButton.setEnabled(true); in refreshSizeInfo() 290 mClearCacheButton.setEnabled(false); in refreshSizeInfo() 291 mClearDataButton.setEnabled(false); in refreshSizeInfo() 328 mClearDataButton.setEnabled(false); in initDataButtons() 340 mClearDataButton.setEnabled(false); in initDataButtons() [all …]
|
D | InstalledAppDetails.java | 239 mUninstallButton.setEnabled(enabled); in initUninstallButtons() 343 mBatteryPreference.setEnabled(false); in onActivityCreated() 352 mLaunchPreference.setEnabled(false); in onActivityCreated() 357 mLaunchPreference.setEnabled(false); in onActivityCreated() 369 mForceStopButton.setEnabled(false); in handleHeader() 543 mBatteryPreference.setEnabled(true); in updateBattery() 550 mBatteryPreference.setEnabled(false); in updateBattery() 653 mForceStopButton.setEnabled(false); 655 mForceStopButton.setEnabled(enabled); 872 mMemoryPreference.setEnabled(true); [all …]
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TtsEngineSettingsFragment.java | 81 mLocalePreference.setEnabled(true); 128 mEngineSettingsPreference.setEnabled(false); in onCreate() 130 mInstallVoicesPreference.setEnabled(false); in onCreate() 133 mLocalePreference.setEnabled(false); in onCreate() 149 mLocalePreference.setEnabled(entries.length > 0); in onCreate() 222 mInstallVoicesPreference.setEnabled(true); in updateVoiceDetails() 224 mInstallVoicesPreference.setEnabled(false); in updateVoiceDetails() 229 mLocalePreference.setEnabled(false); in updateVoiceDetails() 238 mLocalePreference.setEnabled(false); in updateDefaultLocalePref() 283 mLocalePreference.setEnabled(true); in updateDefaultLocalePref()
|
D | TtsEnginePreference.java | 144 mSettingsIcon.setEnabled(isChecked && mVoiceCheckData != null); in getView() 169 mSettingsIcon.setEnabled(mRadioButton.isChecked()); in getView() 182 mSettingsIcon.setEnabled(true); in setVoiceDataDetails() 184 mSettingsIcon.setEnabled(false); in setVoiceDataDetails() 240 mSettingsIcon.setEnabled(false); in onRadioButtonClicked() 251 mSettingsIcon.setEnabled(true); in makeCurrentEngine()
|
/packages/apps/Browser/src/com/android/browser/ |
D | AutologinBar.java | 82 mAutoLoginAccount.setEnabled(false); in onClick() 83 mAutoLoginLogin.setEnabled(false); in onClick() 104 mAutoLoginAccount.setEnabled(true); in updateAutoLogin() 105 mAutoLoginLogin.setEnabled(true); in updateAutoLogin() 110 mAutoLoginAccount.setEnabled(false); in updateAutoLogin() 111 mAutoLoginLogin.setEnabled(false); in updateAutoLogin() 139 mAutoLoginAccount.setEnabled(true); in loginFailed() 140 mAutoLoginLogin.setEnabled(true); in loginFailed()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothEnabler.java | 87 mSwitch.setEnabled(false); in BluetoothEnabler() 104 mSwitch.setEnabled(false); in resume() 133 mSwitch.setEnabled(false); in handleStateChanged() 137 mSwitch.setEnabled(true); in handleStateChanged() 141 mSwitch.setEnabled(false); in handleStateChanged() 145 mSwitch.setEnabled(true); in handleStateChanged() 150 mSwitch.setEnabled(true); in handleStateChanged() 193 mSwitch.setEnabled(false); in onSwitchChanged()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 372 virtualizerEffect.setEnabled(prefs.getBoolean( in setParameterBoolean() 382 bassBoostEffect.setEnabled(prefs.getBoolean(Key.bb_enabled.toString(), in setParameterBoolean() 391 equalizerEffect.setEnabled(prefs.getBoolean(Key.eq_enabled.toString(), in setParameterBoolean() 421 virtualizerEffect.setEnabled(false); in setParameterBoolean() 427 bassBoostEffect.setEnabled(false); in setParameterBoolean() 433 equalizerEffect.setEnabled(false); in setParameterBoolean() 464 virtualizerEffect.setEnabled(value); in setParameterBoolean() 473 bassBoostEffect.setEnabled(value); in setParameterBoolean() 482 equalizerEffect.setEnabled(value); in setParameterBoolean() 1042 virtualizerEffect.setEnabled(isEnabled); in openSession() [all …]
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | SoundRecorder.java | 719 mRecordButton.setEnabled(true); in updateUi() 721 mPlayButton.setEnabled(false); in updateUi() 723 mStopButton.setEnabled(false); in updateUi() 738 mRecordButton.setEnabled(true); in updateUi() 740 mPlayButton.setEnabled(true); in updateUi() 742 mStopButton.setEnabled(false); in updateUi() 770 mRecordButton.setEnabled(false); in updateUi() 772 mPlayButton.setEnabled(false); in updateUi() 774 mStopButton.setEnabled(true); in updateUi() 793 mRecordButton.setEnabled(true); in updateUi() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 371 mPopup.setEnabled(false); in migrateOldPreferences() 375 mPopup.setEnabled(true); in migrateOldPreferences() 379 mPopup.setEnabled(true); in migrateOldPreferences() 393 mVibrate.setEnabled(true); in updateChildPreferences() 394 mRingtone.setEnabled(true); in updateChildPreferences() 395 mPopup.setEnabled(true); in updateChildPreferences() 397 mVibrate.setEnabled(false); in updateChildPreferences() 398 mRingtone.setEnabled(false); in updateChildPreferences() 399 mPopup.setEnabled(false); in updateChildPreferences()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TetherSettings.java | 388 mUsbTether.setEnabled(true); in updateUsbState() 396 mUsbTether.setEnabled(true); in updateUsbState() 400 mUsbTether.setEnabled(false); in updateUsbState() 404 mUsbTether.setEnabled(false); in updateUsbState() 408 mUsbTether.setEnabled(false); in updateUsbState() 427 mBluetoothTether.setEnabled(false); in updateBluetoothState() 430 mBluetoothTether.setEnabled(false); in updateBluetoothState() 437 mBluetoothTether.setEnabled(true); in updateBluetoothState() 453 mBluetoothTether.setEnabled(true); in updateBluetoothState() 536 mBluetoothTether.setEnabled(false); in startTethering()
|
D | DateTimeSettings.java | 97 mAutoTimePref.setEnabled(false); in initUI() 127 mTimePref.setEnabled(!autoTimeEnabled); in initUI() 128 mDatePref.setEnabled(!autoTimeEnabled); in initUI() 129 mTimeZone.setEnabled(!autoTimeZoneEnabled); in initUI() 200 mTimePref.setEnabled(!autoEnabled); in onSharedPreferenceChanged() 201 mDatePref.setEnabled(!autoEnabled); in onSharedPreferenceChanged() 206 mTimeZone.setEnabled(!autoZoneEnabled); in onSharedPreferenceChanged()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AccountsSettingsFragment.java | 178 mAccountSwitcher.setEnabled(true); in enableSyncPreferences() 180 mEnableSyncPreference.setEnabled(true); in enableSyncPreferences() 183 mSyncNowPreference.setEnabled(true); in enableSyncPreferences() 186 mClearSyncDataPreference.setEnabled(true); in enableSyncPreferences() 212 mAccountSwitcher.setEnabled(false); in disableSyncPreferences() 213 mEnableSyncPreference.setEnabled(false); in disableSyncPreferences() 214 mSyncNowPreference.setEnabled(false); in disableSyncPreferences() 215 mClearSyncDataPreference.setEnabled(false); in disableSyncPreferences()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pSettings.java | 343 .setEnabled(mWifiP2pEnabled) in onCreateOptionsMenu() 346 .setEnabled(mWifiP2pEnabled) in onCreateOptionsMenu() 356 searchMenu.setEnabled(true); in onPrepareOptionsMenu() 357 renameMenu.setEnabled(true); in onPrepareOptionsMenu() 359 searchMenu.setEnabled(false); in onPrepareOptionsMenu() 360 renameMenu.setEnabled(false); in onPrepareOptionsMenu() 556 mThisDevicePref.setEnabled(mWifiP2pEnabled); in handleP2pStateChanged() 557 mPeersGroup.setEnabled(mWifiP2pEnabled); in handleP2pStateChanged() 558 mPersistentGroup.setEnabled(mWifiP2pEnabled); in handleP2pStateChanged()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiApEnabler.java | 102 mSwitch.setEnabled(true); in enableWifiSwitch() 105 mSwitch.setEnabled(false); in enableWifiSwitch() 112 mSwitch.setEnabled(false); in setSoftapEnabled() 156 mSwitch.setEnabled(false); in handleWifiApStateChanged() 165 mSwitch.setEnabled(true); in handleWifiApStateChanged() 170 mSwitch.setEnabled(false); in handleWifiApStateChanged()
|
D | WifiEnabler.java | 140 mSwitchBar.setEnabled(false); in handleWifiStateChanged() 144 mSwitchBar.setEnabled(true); in handleWifiStateChanged() 148 mSwitchBar.setEnabled(false); in handleWifiStateChanged() 152 mSwitchBar.setEnabled(true); in handleWifiStateChanged() 157 mSwitchBar.setEnabled(true); in handleWifiStateChanged() 217 mSwitchBar.setEnabled(true); in onSwitchChanged()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 249 item.setEnabled(idle); in onPrepareOptionsMenu() 569 mThumbnailView.setEnabled(false); in startCapture() 594 if (mModePicker != null) mModePicker.setEnabled(false); in startCapture() 611 mThumbnailView.setEnabled(true); in stopCapture() 638 if (mModePicker != null) mModePicker.setEnabled(true); in stopCapture() 646 mLeftIndicator.setEnabled(true); in showTooFastIndication() 647 mRightIndicator.setEnabled(true); in showTooFastIndication() 654 mLeftIndicator.setEnabled(false); in hideTooFastIndication() 655 mRightIndicator.setEnabled(false); in hideTooFastIndication() 705 mLeftIndicator.setEnabled(false); in createContentView() [all …]
|