Home
last modified time | relevance | path

Searched refs:setChecked (Results 1 – 25 of 161) sorted by relevance

1234567

/packages/services/Telephony/src/com/android/phone/
DCellBroadcastSms.java429 mButtonBcSms.setChecked(settingCbSms == RILConstants.CDMA_CELL_BROADCAST_SMS_ENABLED); in onResume()
492 mButtonEmergencyBroadcast.setChecked(configArray[1] != 0); in setAllCbConfigButtons()
495 mButtonAdministrative.setChecked(configArray[2] != 0); in setAllCbConfigButtons()
496 mButtonMaintenance.setChecked(configArray[3] != 0); in setAllCbConfigButtons()
497 mButtonLocalWeather.setChecked(configArray[20] != 0); in setAllCbConfigButtons()
498 mButtonAtr.setChecked(configArray[21] != 0); in setAllCbConfigButtons()
499 mButtonLafs.setChecked(configArray[22] != 0); in setAllCbConfigButtons()
500 mButtonRestaurants.setChecked(configArray[23] != 0); in setAllCbConfigButtons()
501 mButtonLodgings.setChecked(configArray[24] != 0); in setAllCbConfigButtons()
502 mButtonRetailDirectory.setChecked(configArray[25] != 0); in setAllCbConfigButtons()
[all …]
/packages/apps/Settings/src/com/android/settings/location/
DLocationMode.java76 mHighAccuracy.setChecked(false); in updateRadioButtons()
77 mBatterySaving.setChecked(false); in updateRadioButtons()
78 mSensorsOnly.setChecked(false); in updateRadioButtons()
80 mHighAccuracy.setChecked(true); in updateRadioButtons()
81 mBatterySaving.setChecked(false); in updateRadioButtons()
82 mSensorsOnly.setChecked(false); in updateRadioButtons()
84 mHighAccuracy.setChecked(false); in updateRadioButtons()
85 mBatterySaving.setChecked(true); in updateRadioButtons()
86 mSensorsOnly.setChecked(false); in updateRadioButtons()
88 mHighAccuracy.setChecked(false); in updateRadioButtons()
[all …]
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java168 mBluetoothTether.setChecked(true); in onCreate()
170 mBluetoothTether.setChecked(false); in onCreate()
382 mUsbTether.setChecked(true); in updateUsbState()
390 mUsbTether.setChecked(false); in updateUsbState()
394 mUsbTether.setChecked(false); in updateUsbState()
398 mUsbTether.setChecked(false); in updateUsbState()
402 mUsbTether.setChecked(false); in updateUsbState()
429 mBluetoothTether.setChecked(true); in updateBluetoothState()
447 mBluetoothTether.setChecked(false); in updateBluetoothState()
518 mBluetoothTether.setChecked(false); in onActivityResult()
[all …]
DSecuritySettings.java340 mToggleAppInstallation.setChecked(isNonMarketAppsAllowed()); in createPreferenceHierarchy()
466 mToggleAppInstallation.setChecked(turnOn); in onClick()
566 mBiometricWeakLiveliness.setChecked( in onResume()
570 mVisiblePattern.setChecked(lockPatternUtils.isVisiblePatternEnabled()); in onResume()
573 mPowerButtonInstantlyLocks.setChecked(lockPatternUtils.getPowerButtonInstantlyLocks()); in onResume()
577 mShowPassword.setChecked(Settings.System.getInt(getContentResolver(), in onResume()
673 mBiometricWeakLiveliness.setChecked(true); in onPreferenceChange()
683 mBiometricWeakLiveliness.setChecked(false); in onPreferenceChange()
693 mToggleAppInstallation.setChecked(false); in onPreferenceChange()
DPrivacySettings.java158 mAutoRestore.setChecked(!nextValue);
194 mBackup.setChecked(backupEnabled); in updateToggles()
196 mAutoRestore.setChecked(Settings.Secure.getInt(res, in updateToggles()
252 mBackup.setChecked(!enable); in setBackupEnabled()
257 mBackup.setChecked(enable); in setBackupEnabled()
DDevelopmentSettings.java459 mSwitchBar.setChecked(mLastEnabledState); in onResume()
470 mSwitchBar.setChecked(mLastEnabledState); in onResume()
488 switchPreference.setChecked(value); in updateSwitchPreference()
556 cb.setChecked(false); in resetDangerousOptions()
707 mBugreportInPower.setChecked(false); in updateBugreportOptions()
1369 mVerifyAppsOverUsb.setChecked(false); in onPreferenceTreeClick()
1541 mEnableAdb.setChecked(false); in onClick()
1562 mSwitchBar.setChecked(false); in onClick()
1571 mEnableAdb.setChecked(false); in onDismiss()
1576 mSwitchBar.setChecked(false); in onDismiss()
DHomeSettings.java118 mCurrentHome.setChecked(false); in makeCurrentHome()
120 newHome.setChecked(true); in makeCurrentHome()
225 mCurrentHome.setChecked(true); in buildHomeActivitiesList()
351 radio.setChecked(isChecked); in onBindView()
371 void setChecked(boolean state) { in setChecked() method in HomeSettings.HomeAppPreference
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java316 mHideDeclined.setChecked((Boolean) newValue); in onPreferenceChange()
335 mVibrate.setChecked((Boolean) newValue); in onPreferenceChange()
363 mVibrate.setChecked(Utils.getDefaultVibrate(getActivity(), prefs)); in migrateOldPreferences()
369 mAlert.setChecked(false); in migrateOldPreferences()
370 mPopup.setChecked(false); in migrateOldPreferences()
373 mAlert.setChecked(true); in migrateOldPreferences()
374 mPopup.setChecked(false); in migrateOldPreferences()
377 mAlert.setChecked(true); in migrateOldPreferences()
378 mPopup.setChecked(true); in migrateOldPreferences()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbSettings.java108 mMtp.setChecked(true); in updateToggles()
109 mPtp.setChecked(false); in updateToggles()
111 mMtp.setChecked(false); in updateToggles()
112 mPtp.setChecked(true); in updateToggles()
114 mMtp.setChecked(false); in updateToggles()
115 mPtp.setChecked(false); in updateToggles()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java134 setChecked(true); in handleStateChanged()
142 setChecked(false); in handleStateChanged()
147 setChecked(false); in handleStateChanged()
153 private void setChecked(boolean isChecked) { in setChecked() method in BluetoothEnabler
160 mSwitch.setChecked(isChecked); in setChecked()
183 switchView.setChecked(false); in onSwitchChanged()
DDeviceProfilesSettings.java227 profilePref.setChecked(newPermission == CachedBluetoothDevice.ACCESS_ALLOWED); in onProfileClicked()
328 profilePref.setChecked(mCachedDevice.getMessagePermissionChoice() in refreshProfilePreference()
332 profilePref.setChecked(mCachedDevice.getPhonebookPermissionChoice() in refreshProfilePreference()
335 profilePref.setChecked(profile.isPreferred(device)); in refreshProfilePreference()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpFullscreenView.java66 public void setChecked(boolean checked) { in setChecked() method in MtpFullscreenView
67 mCheckbox.setChecked(checked); in setChecked()
96 setChecked(mBroker.isItemChecked(position)); in setPositionAndBroker()
111 setChecked(isChecked); in onCheckedChanged()
118 setChecked(mBroker.isItemChecked(mPosition)); in onBulkCheckedChanged()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeEnabler.java134 autoSelectionPref.setChecked(isChecking); in onPreferenceChange()
143 subtypePref.setChecked(isChecking); in onPreferenceChange()
235 autoSelectionPref.setChecked(autoSelectionEnabled); in setAutoSelectionSubtypesEnabled()
244 ((TwoStatePreference)pref).setChecked(false); in setAutoSelectionSubtypesEnabled()
284 subtypePref.setChecked(false); in updateImplicitlyEnabledSubtypesOf()
289 subtypePref.setChecked(true); in updateImplicitlyEnabledSubtypesOf()
DInputMethodPreference.java140 setChecked(false); in onPreferenceChange()
146 setChecked(true); in onPreferenceChange()
187 setChecked(mInputMethodSettingValues.isEnabledImi(mImi)); in updatePreferenceViews()
227 setChecked(true); in showSecurityWarnDialog()
236 setChecked(false); in showSecurityWarnDialog()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java395 mInboxVibrate.setChecked(vibrateSetting); in onPreferenceChange()
780 backgroundAttachments.setChecked( in loadSettings()
792 inboxNotify.setChecked(mInboxFolderPreferences.areNotificationsEnabled()); in loadSettings()
817 mInboxVibrate.setChecked( in loadSettings()
920 syncContacts.setChecked(ContentResolver in loadSettings()
924 syncContacts.setChecked(false); in loadSettings()
928 syncCalendar.setChecked(ContentResolver in loadSettings()
932 syncCalendar.setChecked(false); in loadSettings()
935 syncEmail.setChecked(ContentResolver in loadSettings()
DAccountSetupOptionsFragment.java64 mNotifyView.setChecked(true); in onCreateView()
68 mSyncEmailView.setChecked(true); in onCreateView()
70 mBackgroundAttachmentsView.setChecked(true); in onCreateView()
112 mSyncContactsView.setChecked(true); in onActivityCreated()
117 mSyncCalendarView.setChecked(true); in onActivityCreated()
DDebugFragment.java58 enableDebugLoggingView.setChecked(DebugUtils.DEBUG); in onCreateView()
67 enableExchangeLoggingView.setChecked(DebugUtils.DEBUG_EXCHANGE); in onCreateView()
68 enableFileLoggingView.setChecked(DebugUtils.DEBUG_FILE); in onCreateView()
81 enableStrictModeView.setChecked(mPreferences.getEnableStrictMode()); in onCreateView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionSetupActivity.java305 action.setChecked(action.getKey().equals(mTextSize)); in refreshActionList()
311 action.setChecked(action.getKey().equals(mStyle)); in refreshActionList()
333 action.setChecked(action.getKey().equals(mLanguage)); in refreshActionList()
339 action.setChecked(action.getKey().equals(mFontFamily)); in refreshActionList()
348 action.setChecked(action.getKey().equals(mTextOpacity)); in refreshActionList()
354 action.setChecked(action.getKey().equals(mEdgeType)); in refreshActionList()
366 action.setChecked(action.getKey().equals(mBackgroundOpacity)); in refreshActionList()
388 action.setChecked(action.getKey().equals(mWindowOpacity)); in refreshActionList()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java665 p.setChecked(false); in populateApps()
687 p.setChecked(true); in populateApps()
699 p.setChecked(true); in populateApps()
703 p.setChecked(false); in populateApps()
712 p.setChecked(mSelectedPackages.get(packageName)); in populateApps()
760 ((AppRestrictionsPreference) pref).setChecked(checked); in updateAllEntries()
773 pref.setChecked(!pref.isChecked()); in onClick()
959 ((SwitchPreference)p).setChecked(entry.getSelectedState()); in onRestrictionsReceived()
1071 arp.setChecked(newEnabledState); in onPreferenceClick()
/packages/apps/Settings/src/com/android/settings/nfc/
DNfcEnabler.java112 mSwitch.setChecked(false); in handleNfcStateChanged()
118 mSwitch.setChecked(true); in handleNfcStateChanged()
128 mSwitch.setChecked(true); in handleNfcStateChanged()
133 mSwitch.setChecked(false); in handleNfcStateChanged()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettings.java534 mToggleLargeTextPreference.setChecked(mCurConfig.fontScale == LARGE_FONT_SCALE); in updateSystemPreferences()
536 mToggleHighTextContrastPreference.setChecked( in updateSystemPreferences()
541 mToggleInversionPreference.setChecked(Settings.Secure.getInt(getContentResolver(), in updateSystemPreferences()
552 mTogglePowerButtonEndsCallPreference.setChecked(powerButtonEndsCall); in updateSystemPreferences()
561 mToggleSpeakPasswordPreference.setChecked(speakPasswordEnabled); in updateSystemPreferences()
598 mToggleLockScreenRotationPreference.setChecked( in updateLockScreenRotationCheckbox()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java192 item.setChecked(mWifiDisplayOnSetting); in onCreateOptionsMenu()
202 item.setChecked(mWifiDisplayOnSetting); in onOptionsItemSelected()
368 setChecked(mListen); in buildCertificationMenu()
372 pref.setChecked(mListen); in buildCertificationMenu()
385 setChecked(mAutoGO); in buildCertificationMenu()
389 pref.setChecked(mAutoGO); in buildCertificationMenu()
/packages/apps/Settings/src/com/android/settings/voice/
DVoiceInputPreference.java104 rb.setChecked(isChecked); in getView()
200 buttonView.setChecked(false); in onRadioButtonClicked()
215 mSharedState.getCurrentChecked().setChecked(false); in makeCurrentChecked()
221 current.setChecked(true); in makeCurrentChecked()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiApEnabler.java196 mSwitch.setChecked(true); in handleWifiApStateChanged()
202 mSwitch.setChecked(false); in handleWifiApStateChanged()
206 mSwitch.setChecked(false); in handleWifiApStateChanged()
211 mSwitch.setChecked(false); in handleWifiApStateChanged()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsUi.java285 mDurationMenus[i].setChecked(i == closestIndex); in updateMenus()
290 mShowSystemMenu.setChecked(mShowSystem); in updateMenus()
294 mUseUssMenu.setChecked(mUseUss); in updateMenus()
297 mTypeBackgroundMenu.setChecked(mStatsType == MENU_TYPE_BACKGROUND); in updateMenus()
300 mTypeForegroundMenu.setChecked(mStatsType == MENU_TYPE_FOREGROUND); in updateMenus()
303 mTypeCachedMenu.setChecked(mStatsType == MENU_TYPE_CACHED); in updateMenus()

1234567