Home
last modified time | relevance | path

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

123456789

/packages/apps/Settings/src/com/android/settings/nfc/
DNfcEnabler.java62 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/Phone/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 …]
DGsmUmtsOptions.java58 mButtonAPNExpand.setEnabled(false); in create()
59 mButtonOperatorSelectionExpand.setEnabled(false); in create()
60 mButtonPrefer2g.setEnabled(false); in create()
64 mButtonOperatorSelectionExpand.setEnabled(true); in create()
DInCallTouchUi.java481 mAddButton.setEnabled(true); in updateInCallControls()
492 mMergeButton.setEnabled(true); in updateInCallControls()
506 mAddButton.setEnabled(false); in updateInCallControls()
529 mEndButton.setEnabled(inCallControlState.canEndCall); in updateInCallControls()
533 mDialpadButton.setEnabled(inCallControlState.dialpadEnabled); in updateInCallControls()
537 mMuteButton.setEnabled(inCallControlState.canMute); in updateInCallControls()
549 mHoldButton.setEnabled(true); in updateInCallControls()
555 mSwapButton.setEnabled(true); in updateInCallControls()
571 mHoldButton.setEnabled(false); in updateInCallControls()
630 mManageConferenceButtonImage.setEnabled(inCallControlState.manageConferenceEnabled); in updateInCallControls()
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java63 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/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/Browser/src/com/android/browser/
DAutologinBar.java82 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/wifi/
DWifiEnabler.java98 mSwitch.setEnabled(isEnabled || isDisabled); in setSwitch()
122 mSwitch.setEnabled(false); in onCheckedChanged()
132 mSwitch.setEnabled(false); in handleWifiStateChanged()
136 mSwitch.setEnabled(true); in handleWifiStateChanged()
139 mSwitch.setEnabled(false); in handleWifiStateChanged()
143 mSwitch.setEnabled(true); in handleWifiStateChanged()
147 mSwitch.setEnabled(true); in handleWifiStateChanged()
DWifiApEnabler.java104 mCheckBox.setEnabled(true); in enableWifiCheckBox()
107 mCheckBox.setEnabled(false); in enableWifiCheckBox()
125 mCheckBox.setEnabled(false); in setSoftapEnabled()
184 mCheckBox.setEnabled(false); in handleWifiApStateChanged()
193 mCheckBox.setEnabled(true); in handleWifiApStateChanged()
197 mCheckBox.setEnabled(false); in handleWifiApStateChanged()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java94 public void setEnabled(boolean enabled) { in setEnabled() method in RawContactEditorView
95 super.setEnabled(enabled); in setEnabled()
99 view.setEnabled(enabled); in setEnabled()
103 mName.setEnabled(enabled); in setEnabled()
107 mPhoneticName.setEnabled(enabled); in setEnabled()
113 mFields.getChildAt(i).setEnabled(enabled); in setEnabled()
118 mGroupMembershipView.setEnabled(enabled); in setEnabled()
121 mAddFieldButton.setEnabled(enabled); in setEnabled()
210 getPhotoEditor().setEnabled(isEnabled()); in setState()
211 mName.setEnabled(isEnabled()); in setState()
[all …]
DPhotoEditorView.java59 public void setEnabled(boolean enabled) { in setEnabled() method in PhotoEditorView
60 super.setEnabled(enabled); in setEnabled()
61 mFrameView.setEnabled(enabled); in setEnabled()
110 mFrameView.setEnabled(isEnabled()); in setValues()
141 mFrameView.setEnabled(isEnabled()); in setPhotoBitmap()
170 mFrameView.setEnabled(!mReadOnly && isEnabled()); in resetDefault()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DCheckBoxAndSettingsPreference.java72 public void setEnabled(boolean enabled) { in setEnabled() method in CheckBoxAndSettingsPreference
73 super.setEnabled(enabled); in setEnabled()
102 mSettingsButton.setEnabled(checked); in enableSettingsButton()
111 mTitleText.setEnabled(true); in enableSettingsButton()
114 mSummaryText.setEnabled(true); in enableSettingsButton()
DInputMethodPreference.java96 setEnabled(false); in InputMethodPreference()
163 public void setEnabled(boolean enabled) { in setEnabled() method in InputMethodPreference
164 super.setEnabled(enabled); in setEnabled()
171 mInputMethodSettingsButton.setEnabled(checked); in updatePreferenceViews()
179 mTitleText.setEnabled(true); in updatePreferenceViews()
182 mSummaryText.setEnabled(checked); in updatePreferenceViews()
185 mInputMethodPref.setEnabled(true); in updatePreferenceViews()
/packages/apps/Camera/src/com/android/camera/ui/
DInLineSettingMenu.java73 public void setEnabled(boolean enable) { in setEnabled() method in InLineSettingMenu
74 super.setEnabled(enable); in setEnabled()
75 if (mTitle != null) mTitle.setEnabled(enable); in setEnabled()
76 if (mEntry != null) mEntry.setEnabled(enable); in setEnabled()
DInLineSettingSwitch.java78 public void setEnabled(boolean enable) { in setEnabled() method in InLineSettingSwitch
79 if (mTitle != null) mTitle.setEnabled(enable); in setEnabled()
80 if (mSwitch != null) mSwitch.setEnabled(enable); in setEnabled()
/packages/apps/DeskClock/src/com/android/deskclock/
DTimePicker.java393 mNumbers[0].setEnabled(false); in updateNumericKeys()
424 mNumbers[i].setEnabled(i <= maxKey); in setKeyRange()
432 mLeft.setEnabled(enable); in updateLeftRightButtons()
433 mRight.setEnabled(enable); in updateLeftRightButtons()
437 mLeft.setEnabled(false); in updateLeftRightButtons()
438 mRight.setEnabled(false); in updateLeftRightButtons()
440 mLeft.setEnabled(true); in updateLeftRightButtons()
441 mRight.setEnabled(true); in updateLeftRightButtons()
454 mSetButton.setEnabled(false); in enableSetButton()
461 mSetButton.setEnabled(mInputPointer >= 2 && (time < 60 || time > 95)); in enableSetButton()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DContactsDumpActivity.java65 mDeleteButton.setEnabled(DataExporter.dumpFileExists(this)); in updateDeleteButton()
72 mConfirmButton.setEnabled(false); in onClick()
73 mCancelButton.setEnabled(false); in onClick()
131 mConfirmButton.setEnabled(true); in onActivityResult()
132 mCancelButton.setEnabled(true); in onActivityResult()
/packages/apps/Settings/src/com/android/settings/
DNsdEnabler.java70 mCheckbox.setEnabled(false); in onPreferenceChange()
71 mNsdManager.setEnabled(desiredState); in onPreferenceChange()
79 mCheckbox.setEnabled(true); in handleNsdStateChanged()
83 mCheckbox.setEnabled(true); in handleNsdStateChanged()
DPrivacySettings.java144 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/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlBar.java114 public void setEnabled(boolean enabled) { in setEnabled() method in IndicatorControlBar
115 super.setEnabled(enabled); in setEnabled()
122 mSecondLevelIcon.setEnabled(enabled); in setEnabled()
126 if (mZoomControl != null) mZoomControl.setEnabled(enabled); in enableZoom()
/packages/apps/Email/src/com/android/email/activity/
DMailboxListItem.java145 mLabelName.setEnabled(false); in setDropTargetBackground()
146 mLabelCount.setEnabled(false); in setDropTargetBackground()
149 mLabelName.setEnabled(true); in setDropTargetBackground()
150 mLabelCount.setEnabled(true); in setDropTargetBackground()
/packages/apps/Settings/src/com/android/settings/tts/
DTtsEngineSettingsFragment.java75 mLocalePreference.setEnabled(true);
121 mEngineSettingsPreference.setEnabled(false); in onCreate()
123 mInstallVoicesPreference.setEnabled(false); in onCreate()
125 mLocalePreference.setEnabled(false); in onCreate()
178 mLocalePreference.setEnabled(false); in updateVoiceDetails()
184 mInstallVoicesPreference.setEnabled(true); in updateVoiceDetails()
191 mLocalePreference.setEnabled(true); in updateVoiceDetails()
195 mLocalePreference.setEnabled(false); in updateVoiceDetails()
/packages/apps/Contacts/src/com/android/contacts/voicemail/
DVoicemailPlaybackFragment.java341 mRateIncreaseButton.setEnabled(false); in disableUiElements()
342 mRateDecreaseButton.setEnabled(false); in disableUiElements()
343 mStartStopButton.setEnabled(false); in disableUiElements()
344 mPlaybackSpeakerphone.setEnabled(false); in disableUiElements()
346 mPlaybackSeek.setEnabled(false); in disableUiElements()
358 mRateIncreaseButton.setEnabled(true); in enableUiElements()
359 mRateDecreaseButton.setEnabled(true); in enableUiElements()
360 mStartStopButton.setEnabled(true); in enableUiElements()
361 mPlaybackSpeakerphone.setEnabled(true); in enableUiElements()
362 mPlaybackSeek.setEnabled(true); in enableUiElements()
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java316 mPopup.setEnabled(false); in migrateOldPreferences()
320 mPopup.setEnabled(true); in migrateOldPreferences()
324 mPopup.setEnabled(true); in migrateOldPreferences()
338 mVibrate.setEnabled(true); in updateChildPreferences()
339 mRingtone.setEnabled(true); in updateChildPreferences()
340 mPopup.setEnabled(true); in updateChildPreferences()
342 mVibrate.setEnabled(false); in updateChildPreferences()
343 mRingtone.setEnabled(false); in updateChildPreferences()
344 mPopup.setEnabled(false); in updateChildPreferences()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java75 mDeleteButton.setEnabled(fileExist); in updateDeleteButton()
82 mConfirmButton.setEnabled(false); in onClick()
83 mCancelButton.setEnabled(false); in onClick()
185 mConfirmButton.setEnabled(true); in onActivityResult()
186 mCancelButton.setEnabled(true); in onActivityResult()

123456789