/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 …]
|
/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/InCallUI/src/com/android/incallui/ |
D | CallButtonFragment.java | 193 public void setEnabled(boolean isEnabled) { in setEnabled() method in CallButtonFragment 200 mEndCallButton.setEnabled(isEnabled); in setEnabled() 203 mMuteButton.setEnabled(isEnabled); in setEnabled() 204 mAudioButton.setEnabled(isEnabled); in setEnabled() 205 mHoldButton.setEnabled(isEnabled); in setEnabled() 206 mShowDialpadButton.setEnabled(isEnabled); in setEnabled() 207 mMergeButton.setEnabled(isEnabled); in setEnabled() 208 mAddCallButton.setEnabled(isEnabled); in setEnabled() 209 mSwapButton.setEnabled(isEnabled); in setEnabled() 219 mMuteButton.setEnabled(enabled); in enableMute() [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/Settings/src/com/android/settings/nfc/ |
D | NfcEnabler.java | 62 mCheckbox.setEnabled(false); in NfcEnabler() 63 mAndroidBeam.setEnabled(false); in NfcEnabler() 91 mCheckbox.setEnabled(false); in onPreferenceChange() 106 mCheckbox.setEnabled(true); in handleNfcStateChanged() 107 mAndroidBeam.setEnabled(false); in handleNfcStateChanged() 112 mCheckbox.setEnabled(true); in handleNfcStateChanged() 113 mAndroidBeam.setEnabled(true); in handleNfcStateChanged() 122 mCheckbox.setEnabled(false); in handleNfcStateChanged() 123 mAndroidBeam.setEnabled(false); in handleNfcStateChanged() 127 mCheckbox.setEnabled(false); in handleNfcStateChanged() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | RawContactEditorView.java | 104 public void setEnabled(boolean enabled) { in setEnabled() method in RawContactEditorView 105 super.setEnabled(enabled); in setEnabled() 109 view.setEnabled(enabled); in setEnabled() 113 mName.setEnabled(enabled); in setEnabled() 117 mPhoneticName.setEnabled(enabled); in setEnabled() 123 mFields.getChildAt(i).setEnabled(enabled); in setEnabled() 128 mGroupMembershipView.setEnabled(enabled); in setEnabled() 131 mAddFieldButton.setEnabled(enabled); in setEnabled() 256 getPhotoEditor().setEnabled(isEnabled()); in setState() 257 mName.setEnabled(isEnabled()); in setState() [all …]
|
D | PhotoEditorView.java | 60 public void setEnabled(boolean enabled) { in setEnabled() method in PhotoEditorView 61 super.setEnabled(enabled); in setEnabled() 62 mFrameView.setEnabled(enabled); in setEnabled() 111 mFrameView.setEnabled(isEnabled()); in setValues() 142 mFrameView.setEnabled(isEnabled()); in setPhotoBitmap() 172 mFrameView.setEnabled(!mReadOnly && isEnabled()); in resetDefault()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothEnabler.java | 63 mSwitch.setEnabled(false); in BluetoothEnabler() 72 mSwitch.setEnabled(false); in resume() 105 mSwitch.setEnabled(isOn || isOff); in setSwitch() 120 mSwitch.setEnabled(false); in onCheckedChanged() 126 mSwitch.setEnabled(false); in handleStateChanged() 130 mSwitch.setEnabled(true); in handleStateChanged() 133 mSwitch.setEnabled(false); in handleStateChanged() 137 mSwitch.setEnabled(true); in handleStateChanged() 141 mSwitch.setEnabled(true); in handleStateChanged()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppDetails.java | 257 mClearDataButton.setEnabled(false); in initDataButtons() 307 mMoveAppButton.setEnabled(false); in initMoveButton() 310 mMoveAppButton.setEnabled(true); in initMoveButton() 391 mUninstallButton.setEnabled(enabled); in initUninstallButtons() 410 mNotificationSwitch.setEnabled(false); in initNotificationButton() 412 mNotificationSwitch.setEnabled(true); in initNotificationButton() 468 mForceStopButton.setEnabled(false); in onCreateView() 755 mActivitiesButton.setEnabled(true); in refreshUi() 933 mActivitiesButton.setEnabled(false); in resetLaunchDefaultsUi() 954 mClearDataButton.setEnabled(false); in refreshSizeInfo() [all …]
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | MediaLinearLayout.java | 142 item.setEnabled(false); in onPrepareActionMode() 170 menu.findItem(R.id.media_item_effect_menu).setEnabled(enable); in onPrepareActionMode() 177 aomi.setEnabled(enable); in onPrepareActionMode() 181 romi.setEnabled(enable && mMediaItem.getOverlay() != null); in onPrepareActionMode() 185 btmi.setEnabled(enable && mMediaItem.getBeginTransition() == null); in onPrepareActionMode() 189 etmi.setEnabled(enable && mMediaItem.getEndTransition() == null); in onPrepareActionMode() 193 rmmi.setEnabled(enable && mProject.hasMultipleAspectRatios()); in onPrepareActionMode() 346 etmi.setEnabled(enable); in onPrepareActionMode() 349 rtmi.setEnabled(enable); in onPrepareActionMode() 795 mLeftHandle.setEnabled(true); in updateMediaItem() [all …]
|
/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/deviceinfo/ |
D | UsbSettings.java | 74 mMtp.setEnabled(false); in createPreferenceHierarchy() 75 mPtp.setEnabled(false); in createPreferenceHierarchy() 120 mMtp.setEnabled(false); in updateToggles() 121 mPtp.setEnabled(false); in updateToggles() 125 mMtp.setEnabled(true); in updateToggles() 126 mPtp.setEnabled(true); in updateToggles() 129 mMtp.setEnabled(false); in updateToggles() 130 mPtp.setEnabled(false); in updateToggles()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiEnabler.java | 100 mSwitch.setEnabled(isEnabled || isDisabled); in setSwitch() 123 mSwitch.setEnabled(false); in onCheckedChanged() 126 mSwitch.setEnabled(true); in onCheckedChanged() 134 mSwitch.setEnabled(false); in handleWifiStateChanged() 138 mSwitch.setEnabled(true); in handleWifiStateChanged() 141 mSwitch.setEnabled(false); in handleWifiStateChanged() 145 mSwitch.setEnabled(true); in handleWifiStateChanged() 149 mSwitch.setEnabled(true); in handleWifiStateChanged()
|
D | WifiSettingsForSetupWizardXL.java | 302 mAddNetworkButton.setEnabled(true); in showDisconnectedState() 303 mRefreshButton.setEnabled(true); in showDisconnectedState() 340 mSkipOrNextButton.setEnabled(true); in showConnectedState() 565 mSkipOrNextButton.setEnabled(false); in onConnectButtonPressed() 581 mSkipOrNextButton.setEnabled(true); in onBackButtonPressed() 613 mAddNetworkButton.setEnabled(true); in onBackButtonPressed() 614 mRefreshButton.setEnabled(true); in onBackButtonPressed() 615 mSkipOrNextButton.setEnabled(true); in onBackButtonPressed() 655 mAddNetworkButton.setEnabled(true); in onAccessPointsUpdated() 656 mRefreshButton.setEnabled(true); in onAccessPointsUpdated() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
D | VoicemailPlaybackFragment.java | 366 mRateIncreaseButton.setEnabled(false); in disableUiElements() 367 mRateDecreaseButton.setEnabled(false); in disableUiElements() 368 mStartStopButton.setEnabled(false); in disableUiElements() 369 mPlaybackSpeakerphone.setEnabled(false); in disableUiElements() 371 mPlaybackSeek.setEnabled(false); in disableUiElements() 383 mRateIncreaseButton.setEnabled(true); in enableUiElements() 384 mRateDecreaseButton.setEnabled(true); in enableUiElements() 385 mStartStopButton.setEnabled(true); in enableUiElements() 386 mPlaybackSpeakerphone.setEnabled(true); in enableUiElements() 387 mPlaybackSeek.setEnabled(true); in enableUiElements()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TtsEngineSettingsFragment.java | 78 mLocalePreference.setEnabled(true); 120 mEngineSettingsPreference.setEnabled(false); in onCreate() 122 mInstallVoicesPreference.setEnabled(false); in onCreate() 123 mLocalePreference.setEnabled(false); in onCreate() 175 mInstallVoicesPreference.setEnabled(true); in updateVoiceDetails() 177 mInstallVoicesPreference.setEnabled(false); in updateVoiceDetails() 182 mLocalePreference.setEnabled(false); in updateVoiceDetails() 191 mLocalePreference.setEnabled(false); in updateDefaultLocalePref() 245 mLocalePreference.setEnabled(true); in updateDefaultLocalePref()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 373 virtualizerEffect.setEnabled(prefs.getBoolean( in setParameterBoolean() 383 bassBoostEffect.setEnabled(prefs.getBoolean(Key.bb_enabled.toString(), in setParameterBoolean() 392 equalizerEffect.setEnabled(prefs.getBoolean(Key.eq_enabled.toString(), in setParameterBoolean() 422 virtualizerEffect.setEnabled(false); in setParameterBoolean() 428 bassBoostEffect.setEnabled(false); in setParameterBoolean() 434 equalizerEffect.setEnabled(false); in setParameterBoolean() 465 virtualizerEffect.setEnabled(value); in setParameterBoolean() 474 bassBoostEffect.setEnabled(value); in setParameterBoolean() 483 equalizerEffect.setEnabled(value); in setParameterBoolean() 1043 virtualizerEffect.setEnabled(isEnabled); in openSession() [all …]
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | SoundRecorder.java | 721 mRecordButton.setEnabled(true); in updateUi() 723 mPlayButton.setEnabled(false); in updateUi() 725 mStopButton.setEnabled(false); in updateUi() 740 mRecordButton.setEnabled(true); in updateUi() 742 mPlayButton.setEnabled(true); in updateUi() 744 mStopButton.setEnabled(false); in updateUi() 772 mRecordButton.setEnabled(false); in updateUi() 774 mPlayButton.setEnabled(false); in updateUi() 776 mStopButton.setEnabled(true); in updateUi() 795 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 | 355 mUsbTether.setEnabled(true); in updateUsbState() 363 mUsbTether.setEnabled(true); in updateUsbState() 367 mUsbTether.setEnabled(false); in updateUsbState() 371 mUsbTether.setEnabled(false); in updateUsbState() 375 mUsbTether.setEnabled(false); in updateUsbState() 392 mBluetoothTether.setEnabled(false); in updateBluetoothState() 395 mBluetoothTether.setEnabled(false); in updateBluetoothState() 402 mBluetoothTether.setEnabled(true); in updateBluetoothState() 418 mBluetoothTether.setEnabled(true); in updateBluetoothState() 487 mBluetoothTether.setEnabled(false); in startTethering()
|
D | DevelopmentSettings.java | 275 mVerifyAppsOverUsb.setEnabled(false); in onCreate() 333 pref.setEnabled(false); in disableForUser() 359 mEnabledSwitch.setEnabled(false); in onActivityCreated() 401 pref.setEnabled(enabled && !mDisabledPrefs.contains(pref)); in setPrefsEnabledState() 641 mWaitForDebugger.setEnabled(true); in updateDebuggerOptions() 645 mWaitForDebugger.setEnabled(false); in updateDebuggerOptions() 652 mVerifyAppsOverUsb.setEnabled(enableVerifierSetting()); in updateVerifyAppsOverUsbOptions() 691 mBugreport.setEnabled(true); in updateBugreportOptions() 692 mBugreportInPower.setEnabled(true); in updateBugreportOptions() 694 mBugreport.setEnabled(false); in updateBugreportOptions() [all …]
|
D | PrivacySettings.java | 144 mBackup.setEnabled(false); in updateToggles() 150 mAutoRestore.setEnabled(backupEnabled); in updateToggles() 153 mConfigure.setEnabled(configureEnabled); in updateToggles() 198 mAutoRestore.setEnabled(!enable); in setBackupEnabled() 203 mAutoRestore.setEnabled(enable); in setBackupEnabled() 204 mConfigure.setEnabled(enable); in setBackupEnabled()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | InputMethodPreference.java | 165 public void setEnabled(boolean enabled) { in setEnabled() method in InputMethodPreference 166 super.setEnabled(enabled); in setEnabled() 176 super.setEnabled(false); in updatePreferenceViews() 178 super.setEnabled(true); in updatePreferenceViews() 182 mInputMethodSettingsButton.setEnabled(checked); in updatePreferenceViews() 190 mTitleText.setEnabled(true); in updatePreferenceViews() 193 mSummaryText.setEnabled(checked); in updatePreferenceViews() 196 mInputMethodPref.setEnabled(true); in updatePreferenceViews()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pSettings.java | 333 .setEnabled(mWifiP2pEnabled) in onCreateOptionsMenu() 336 .setEnabled(mWifiP2pEnabled) in onCreateOptionsMenu() 346 searchMenu.setEnabled(true); in onPrepareOptionsMenu() 347 renameMenu.setEnabled(true); in onPrepareOptionsMenu() 349 searchMenu.setEnabled(false); in onPrepareOptionsMenu() 350 renameMenu.setEnabled(false); in onPrepareOptionsMenu() 546 mPeersGroup.setEnabled(true); in handleP2pStateChanged() 549 mPersistentGroup.setEnabled(true); in handleP2pStateChanged() 581 mThisDevicePref.setEnabled(true); in updateDevicePref()
|
/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 …]
|