Home
last modified time | relevance | path

Searched refs:setEnabled (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/packages/services/Telephony/src/com/android/phone/
DCellBroadcastSms.java317 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 …]
DMobileNetworkSettings.java151 if (pref != null) pref.setEnabled(enabled && hasActiveSubscriptions());
253 preferenceScreen.setEnabled(false); in onPreferenceTreeClick()
494 getPreferenceScreen().setEnabled(true); in onResume()
749 mButtonDataRoam.setEnabled(hasActiveSubscriptions); in updateBody()
753 mButtonDataRoam.setEnabled(false); in updateBody()
758 mButtonPreferredNetworkMode.setEnabled(hasActiveSubscriptions); in updateBody()
759 mButtonEnabledNetworks.setEnabled(hasActiveSubscriptions); in updateBody()
760 mButton4glte.setEnabled(hasActiveSubscriptions && canChange4glte); in updateBody()
761 mLteDataServicePref.setEnabled(hasActiveSubscriptions); in updateBody()
766 ps.setEnabled(hasActiveSubscriptions); in updateBody()
[all …]
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java839 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/
DNfcEnabler.java69 mSwitch.setEnabled(false); in NfcEnabler()
70 mAndroidBeam.setEnabled(false); in NfcEnabler()
75 mAndroidBeam.setEnabled(false); in NfcEnabler()
101 mSwitch.setEnabled(false); in onPreferenceChange()
116 mSwitch.setEnabled(true); in handleNfcStateChanged()
117 mAndroidBeam.setEnabled(false); in handleNfcStateChanged()
122 mSwitch.setEnabled(true); in handleNfcStateChanged()
125 mAndroidBeam.setEnabled(false); in handleNfcStateChanged()
137 mSwitch.setEnabled(false); in handleNfcStateChanged()
138 mAndroidBeam.setEnabled(false); in handleNfcStateChanged()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DUserDictionaryToolsEdit.java138 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/Dialer/InCallUI/src/com/android/incallui/
DCallButtonFragment.java211 mMergeButton.setEnabled(false); in onClick()
350 public void setEnabled(boolean isEnabled) { in setEnabled() method in CallButtonFragment
353 mAudioButton.setEnabled(isEnabled); in setEnabled()
354 mMuteButton.setEnabled(isEnabled); in setEnabled()
355 mShowDialpadButton.setEnabled(isEnabled); in setEnabled()
356 mHoldButton.setEnabled(isEnabled); in setEnabled()
357 mSwapButton.setEnabled(isEnabled); in setEnabled()
358 mChangeToVideoButton.setEnabled(isEnabled); in setEnabled()
359 mChangeToVoiceButton.setEnabled(isEnabled); in setEnabled()
360 mSwitchCameraButton.setEnabled(isEnabled); in setEnabled()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java99 public void setEnabled(boolean enabled) { in setEnabled() method in RawContactEditorView
100 super.setEnabled(enabled); in setEnabled()
104 view.setEnabled(enabled); in setEnabled()
108 mName.setEnabled(enabled); in setEnabled()
112 mPhoneticName.setEnabled(enabled); in setEnabled()
118 mFields.getChildAt(i).setEnabled(enabled); in setEnabled()
123 mGroupMembershipView.setEnabled(enabled); in setEnabled()
235 getPhotoEditor().setEnabled(isEnabled()); in setState()
236 mName.setEnabled(isEnabled()); in setState()
238 mPhoneticName.setEnabled(isEnabled()); in setState()
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java89 mSwitch.setEnabled(false); in BluetoothEnabler()
106 mSwitch.setEnabled(false); in resume()
135 mSwitch.setEnabled(false); in handleStateChanged()
139 mSwitch.setEnabled(true); in handleStateChanged()
143 mSwitch.setEnabled(false); in handleStateChanged()
147 mSwitch.setEnabled(true); in handleStateChanged()
152 mSwitch.setEnabled(true); in handleStateChanged()
199 mSwitch.setEnabled(true); in onSwitchChanged()
204 mSwitch.setEnabled(false); in onSwitchChanged()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java276 mClearDataButton.setEnabled(false); in refreshSizeInfo()
277 mClearCacheButton.setEnabled(false); in refreshSizeInfo()
314 mClearDataButton.setEnabled(false); in refreshSizeInfo()
316 mClearDataButton.setEnabled(true); in refreshSizeInfo()
320 mClearCacheButton.setEnabled(false); in refreshSizeInfo()
322 mClearCacheButton.setEnabled(true); in refreshSizeInfo()
327 mClearCacheButton.setEnabled(false); in refreshSizeInfo()
328 mClearDataButton.setEnabled(false); in refreshSizeInfo()
366 mClearDataButton.setEnabled(false); in initDataButtons()
378 mClearDataButton.setEnabled(false); in initDataButtons()
[all …]
DInstalledAppDetails.java277 mUninstallButton.setEnabled(enabled); in initUninstallButtons()
378 mBatteryPreference.setEnabled(false); in onActivityCreated()
387 mLaunchPreference.setEnabled(false); in onActivityCreated()
392 mLaunchPreference.setEnabled(false); in onActivityCreated()
404 mForceStopButton.setEnabled(false); in handleHeader()
600 mBatteryPreference.setEnabled(true); in updateBattery()
607 mBatteryPreference.setEnabled(false); in updateBattery()
697 mForceStopButton.setEnabled(false);
699 mForceStopButton.setEnabled(enabled);
940 pref.setEnabled(false);
[all …]
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java208 mEnableWifiAp.setEnabled(!mDataSaverEnabled); in onDataSaverChanged()
209 mUsbTether.setEnabled(!mDataSaverEnabled); in onDataSaverChanged()
210 mBluetoothTether.setEnabled(!mDataSaverEnabled); in onDataSaverChanged()
419 mUsbTether.setEnabled(!mDataSaverEnabled); in updateUsbState()
427 mUsbTether.setEnabled(!mDataSaverEnabled); in updateUsbState()
431 mUsbTether.setEnabled(false); in updateUsbState()
435 mUsbTether.setEnabled(false); in updateUsbState()
439 mUsbTether.setEnabled(false); in updateUsbState()
459 mBluetoothTether.setEnabled(false); in updateBluetoothState()
462 mBluetoothTether.setEnabled(false); in updateBluetoothState()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java219 mTbAc.setEnabled(true); in configureAcOn()
278 btnFanSpeedUp.setEnabled(true); in configureFanSpeed()
293 btnFanSpeedDn.setEnabled(true); in configureFanSpeed()
333 btnDTempUp.setEnabled(true); in configureTempSetpoint()
349 btnDTempDn.setEnabled(true); in configureTempSetpoint()
364 btnDTempUp.setEnabled(false); in configureTempSetpoint()
376 btnPTempUp.setEnabled(true); in configureTempSetpoint()
392 btnPTempDn.setEnabled(true); in configureTempSetpoint()
407 btnPTempUp.setEnabled(false); in configureTempSetpoint()
414 mTbDefrostFront.setEnabled(true); in configureDefrosterOn()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java97 mLocalePreference.setEnabled(true);
144 mEngineSettingsPreference.setEnabled(false); in onCreatePreferences()
146 mInstallVoicesPreference.setEnabled(false); in onCreatePreferences()
149 mLocalePreference.setEnabled(false); in onCreatePreferences()
165 mLocalePreference.setEnabled(entries.length > 0); in onCreatePreferences()
246 mInstallVoicesPreference.setEnabled(true); in updateVoiceDetails()
248 mInstallVoicesPreference.setEnabled(false); in updateVoiceDetails()
253 mLocalePreference.setEnabled(false); in updateVoiceDetails()
261 mLocalePreference.setEnabled(false); in updateDefaultLocalePref()
305 mLocalePreference.setEnabled(true); in updateDefaultLocalePref()
/packages/apps/Settings/src/com/android/settings/tts/
DTtsEngineSettingsFragment.java81 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()
DTtsEnginePreference.java137 mSettingsIcon.setEnabled(isChecked && mVoiceCheckData != null); in onBindViewHolder()
162 mSettingsIcon.setEnabled(mRadioButton.isChecked()); in onBindViewHolder()
173 mSettingsIcon.setEnabled(true); in setVoiceDataDetails()
175 mSettingsIcon.setEnabled(false); in setVoiceDataDetails()
231 mSettingsIcon.setEnabled(false); in onRadioButtonClicked()
242 mSettingsIcon.setEnabled(true); in makeCurrentEngine()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java243 setEnabled(true); in onAvailabilityChanged()
245 mBackgroundView.setEnabled(true); in onAvailabilityChanged()
247 setEnabled(false); in onAvailabilityChanged()
248 mBackgroundView.setEnabled(false); in onAvailabilityChanged()
452 mPlayPauseButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
456 mPlayPauseButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
459 mJumpPreviousButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
461 mRewindButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
463 mFastForwardButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
465 mJumpNextButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java372 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/
DSoundRecorder.java719 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/Settings/src/com/android/settings/widget/
DSwitchBar.java175 public void setEnabled(boolean enabled) { in setEnabled() method in SwitchBar
180 super.setEnabled(enabled); in setEnabled()
181 mTextView.setEnabled(enabled); in setEnabled()
182 mSwitch.setEnabled(enabled); in setEnabled()
193 super.setEnabled(true); in setDisabledByAdmin()
195 mTextView.setEnabled(false); in setDisabledByAdmin()
196 mSwitch.setEnabled(false); in setDisabledByAdmin()
203 setEnabled(true); in setDisabledByAdmin()
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java371 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/wifi/
DWifiEnabler.java148 mSwitchBar.setEnabled(false); in handleWifiStateChanged()
152 mSwitchBar.setEnabled(true); in handleWifiStateChanged()
156 mSwitchBar.setEnabled(false); in handleWifiStateChanged()
160 mSwitchBar.setEnabled(true); in handleWifiStateChanged()
165 mSwitchBar.setEnabled(true); in handleWifiStateChanged()
171 mSwitchBar.setEnabled(false); in handleWifiStateChanged()
233 mSwitchBar.setEnabled(true); in onSwitchChanged()
DWifiApEnabler.java106 mSwitch.setEnabled(!mDataSaverBackend.isDataSaverEnabled()); in enableWifiSwitch()
109 mSwitch.setEnabled(false); in enableWifiSwitch()
116 mSwitch.setEnabled(false); in setSoftapEnabled()
160 mSwitch.setEnabled(false); in handleWifiApStateChanged()
169 mSwitch.setEnabled(!mDataSaverBackend.isDataSaverEnabled()); in handleWifiApStateChanged()
174 mSwitch.setEnabled(false); in handleWifiApStateChanged()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/settings/
DPermissionsSettingsAdapter.java49 viewHolder.imageView.setEnabled(false); in onBindViewHolder()
50 viewHolder.textView.setEnabled(false); in onBindViewHolder()
51 viewHolder.state.setEnabled(false); in onBindViewHolder()
55 viewHolder.imageView.setEnabled(true); in onBindViewHolder()
56 viewHolder.textView.setEnabled(true); in onBindViewHolder()
57 viewHolder.state.setEnabled(true); in onBindViewHolder()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java178 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/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackLayout.java442 mStartStopButton.setEnabled(true); in setFetchContentTimeout()
453 mStartStopButton.setEnabled(false); in disableUiElements()
459 mDeleteButton.setEnabled(true); in enableUiElements()
460 mStartStopButton.setEnabled(true); in enableUiElements()
461 mPlaybackSeek.setEnabled(true); in enableUiElements()
468 mPlaybackSeek.setEnabled(false); in resetSeekBar()
554 mArchiveButton.setEnabled(false); in hideArchiveButton()
584 mDeleteButton.setEnabled(false); in updateArchiveUI()
626 mArchiveButton.setEnabled(true); in updateArchiveButton()

12345678910>>...14