Home
last modified time | relevance | path

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

123456

/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/
DSecuritySettings.java294 mToggleAppInstallation.setChecked(isNonMarketAppsAllowed()); in createPreferenceHierarchy()
303 mToggleVerifyApps.setChecked(isVerifyAppsEnabled()); in createPreferenceHierarchy()
305 mToggleVerifyApps.setChecked(false); in createPreferenceHierarchy()
403 mToggleAppInstallation.setChecked(true); in onClick()
488 mBiometricWeakLiveliness.setChecked( in onResume()
492 mVisiblePattern.setChecked(lockPatternUtils.isVisiblePatternEnabled()); in onResume()
495 mPowerButtonInstantlyLocks.setChecked(lockPatternUtils.getPowerButtonInstantlyLocks()); in onResume()
499 mShowPassword.setChecked(Settings.System.getInt(getContentResolver(), in onResume()
508 mEnableKeyguardWidgets.setChecked(lockPatternUtils.getWidgetsEnabled()); in onResume()
541 mBiometricWeakLiveliness.setChecked(true); in onPreferenceTreeClick()
[all …]
DTetherSettings.java159 mBluetoothTether.setChecked(true); in onCreate()
161 mBluetoothTether.setChecked(false); in onCreate()
356 mUsbTether.setChecked(true); in updateUsbState()
364 mUsbTether.setChecked(false); in updateUsbState()
368 mUsbTether.setChecked(false); in updateUsbState()
372 mUsbTether.setChecked(false); in updateUsbState()
376 mUsbTether.setChecked(false); in updateUsbState()
401 mBluetoothTether.setChecked(true); in updateBluetoothState()
419 mBluetoothTether.setChecked(false); in updateBluetoothState()
464 mBluetoothTether.setChecked(false); in onActivityResult()
[all …]
DPrivacySettings.java108 mAutoRestore.setChecked(!curState); in onPreferenceTreeClick()
115 mBackup.setChecked(true); in showEraseBackupDialog()
146 mBackup.setChecked(backupEnabled); in updateToggles()
148 mAutoRestore.setChecked(Settings.Secure.getInt(res, in updateToggles()
197 mBackup.setChecked(!enable); in setBackupEnabled()
202 mBackup.setChecked(enable); in setBackupEnabled()
DSoundSettings.java155 mVibrateWhenRinging.setChecked(Settings.System.getInt(resolver, in onCreate()
160 mDtmfTone.setChecked(Settings.System.getInt(resolver, in onCreate()
164 mSoundEffects.setChecked(Settings.System.getInt(resolver, in onCreate()
168 mHapticFeedback.setChecked(Settings.System.getInt(resolver, in onCreate()
172 mLockSounds.setChecked(Settings.System.getInt(resolver, in onCreate()
373 mDockSounds.setChecked(Settings.Global.getInt(resolver, in initDockSettings()
416 mDockAudioMediaEnabled.setChecked( in handleDockChange()
DDataUsageSummary.java459 mMenuDataRoaming.setChecked(getDataRoaming()); in onPrepareOptionsMenu()
464 mMenuRestrictBackground.setChecked(mPolicyManager.getRestrictBackground()); in onPrepareOptionsMenu()
467 mMenuAutoSync.setChecked(ContentResolver.getMasterSyncAutomatically()); in onPrepareOptionsMenu()
472 split4g.setChecked(isMobilePolicySplit()); in onPrepareOptionsMenu()
477 showWifi.setChecked(mShowWifi); in onPrepareOptionsMenu()
485 showEthernet.setChecked(mShowEthernet); in onPrepareOptionsMenu()
532 item.setChecked(isMobilePolicySplit()); in onOptionsItemSelected()
539 item.setChecked(mShowWifi); in onOptionsItemSelected()
546 item.setChecked(mShowEthernet); in onOptionsItemSelected()
832 mAppRestrict.setChecked(getAppRestrictBackground()); in updateAppDetail()
[all …]
DHomeSettings.java93 mCurrentHome.setChecked(false); in makeCurrentHome()
95 newHome.setChecked(true); in makeCurrentHome()
182 mCurrentHome.setChecked(true); in buildHomeActivitiesList()
268 radio.setChecked(isChecked); in onBindView()
286 void setChecked(boolean state) { in setChecked() method in HomeSettings.HomeAppPreference
DDevelopmentSettings.java433 mEnabledSwitch.setChecked(mLastEnabledState); in onResume()
444 mEnabledSwitch.setChecked(mLastEnabledState); in onResume()
450 checkBox.setChecked(value); in updateCheckBox()
507 cb.setChecked(false); in resetDangerousOptions()
696 mBugreportInPower.setChecked(false); in updateBugreportOptions()
1180 mVerifyAppsOverUsb.setChecked(false); in onPreferenceTreeClick()
1344 mEnableAdb.setChecked(false); in onClick()
1365 mEnabledSwitch.setChecked(false); in onClick()
1374 mEnableAdb.setChecked(false); in onDismiss()
1379 mEnabledSwitch.setChecked(false); in onDismiss()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java104 setChecked(isOn); in setSwitch()
114 buttonView.setChecked(false); in onCheckedChanged()
129 setChecked(true); in handleStateChanged()
136 setChecked(false); in handleStateChanged()
140 setChecked(false); in handleStateChanged()
145 private void setChecked(boolean isChecked) { in setChecked() method in BluetoothEnabler
152 mSwitch.setChecked(isChecked); in setChecked()
/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/users/
DAppRestrictionsFragment.java182 public void setChecked(boolean checked) { in setChecked() method in AppRestrictionsFragment.AppRestrictionsPreference
188 super.setChecked(checked); in setChecked()
679 p.setChecked(false); in populateApps()
698 p.setChecked(true); in populateApps()
709 p.setChecked(true); in populateApps()
713 p.setChecked(false); in populateApps()
722 p.setChecked(mSelectedPackages.get(packageName)); in populateApps()
771 ((AppRestrictionsPreference) pref).setChecked(checked); in updateAllEntries()
784 pref.setChecked(!pref.isChecked()); in onClick()
950 ((CheckBoxPreference)p).setChecked(entry.getSelectedState()); in onRestrictionsReceived()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpFullscreenView.java64 public void setChecked(boolean checked) { in setChecked() method in MtpFullscreenView
65 mCheckbox.setChecked(checked); in setChecked()
94 setChecked(mBroker.isItemChecked(position)); in setPositionAndBroker()
107 setChecked(isChecked); in onCheckedChanged()
113 if(mBroker != null) setChecked(mBroker.isItemChecked(mPosition)); in onBulkCheckedChanged()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodPreference.java75 setChecked(false, true /* save */);
78 setChecked(true, true /* save */);
175 super.setChecked(true); in updatePreferenceViews()
249 private void setChecked(boolean checked, boolean save) { in setChecked() method in InputMethodPreference
251 super.setChecked(checked); in setChecked()
276 chkPref.setChecked(true, true); in showSecurityWarnDialog()
DInputMethodAndSubtypeEnabler.java165 chkPref.setChecked(false); in onPreferenceTreeClick()
175 chkPref.setChecked(true); in onPreferenceTreeClick()
315 autoSelectionCB.setChecked(autoSelectionEnabled); in setSubtypeAutoSelectionEnabled()
324 ((CheckBoxPreference)subtypePref).setChecked(false); in setSubtypeAutoSelectionEnabled()
359 cb.setChecked(false); in updateImplicitlyEnabledSubtypes()
364 cb.setChecked(true); in updateImplicitlyEnabledSubtypes()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java387 mInboxVibrate.setChecked(vibrateSetting); in onPreferenceChange()
605 mInboxNotify.setChecked( in loadSettingsOffMainThread()
607 mInboxVibrate.setChecked( in loadSettingsOffMainThread()
772 mAccountBackgroundAttachments.setChecked( in loadSettings()
885 mSyncContacts.setChecked(ContentResolver in loadSettings()
889 mSyncContacts.setChecked(false); in loadSettings()
893 mSyncCalendar.setChecked(ContentResolver in loadSettings()
897 mSyncCalendar.setChecked(false); in loadSettings()
900 mSyncEmail.setChecked(ContentResolver in loadSettings()
DDebugFragment.java63 mEnableDebugLoggingView.setChecked(MailActivityEmail.DEBUG); in onCreateView()
73 mEnableVerboseLoggingView.setChecked(MailActivityEmail.DEBUG_VERBOSE); in onCreateView()
74 mEnableFileLoggingView.setChecked(MailActivityEmail.DEBUG_FILE); in onCreateView()
86 mInhibitGraphicsAccelerationView.setChecked( in onCreateView()
92 mEnableStrictModeView.setChecked(mPreferences.getEnableStrictMode()); in onCreateView()
DAccountSetupOptions.java97 mSyncEmailView.setChecked(true); in onCreate()
99 mBackgroundAttachmentsView.setChecked(true); in onCreate()
127 mNotifyView.setChecked(true); // By default, we want notifications on in onCreate()
132 mSyncContactsView.setChecked(true); in onCreate()
137 mSyncCalendarView.setChecked(true); in onCreate()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadItem.java77 setChecked(true); in setData()
133 public void setChecked(boolean checked) { in setChecked() method in DownloadItem
134 mCheckBox.setChecked(checked); in setChecked()
142 setChecked(!isChecked()); in toggle()
/packages/apps/Settings/src/com/android/settings/nfc/
DNfcEnabler.java105 mCheckbox.setChecked(false); in handleNfcStateChanged()
111 mCheckbox.setChecked(true); in handleNfcStateChanged()
121 mCheckbox.setChecked(true); in handleNfcStateChanged()
126 mCheckbox.setChecked(false); in handleNfcStateChanged()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsUi.java255 mDurationMenus[i].setChecked(i == closestIndex); in updateMenus()
260 mShowSystemMenu.setChecked(mShowSystem); in updateMenus()
264 mUseUssMenu.setChecked(mUseUss); in updateMenus()
267 mTypeBackgroundMenu.setChecked(mStatsType == MENU_TYPE_BACKGROUND); in updateMenus()
270 mTypeForegroundMenu.setChecked(mStatsType == MENU_TYPE_FOREGROUND); in updateMenus()
273 mTypeCachedMenu.setChecked(mStatsType == MENU_TYPE_CACHED); in updateMenus()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java198 item.setChecked(mWifiDisplayOnSetting); in onCreateOptionsMenu()
208 item.setChecked(mWifiDisplayOnSetting); in onOptionsItemSelected()
374 setChecked(mListen); in buildCertificationMenu()
378 cbp.setChecked(mListen); in buildCertificationMenu()
391 setChecked(mAutoGO); in buildCertificationMenu()
395 cbp.setChecked(mAutoGO); in buildCertificationMenu()
/packages/apps/Settings/src/com/android/settings/wifi/
DAdvancedWifiSettings.java78 notifyOpenNetworks.setChecked(Settings.Global.getInt(getContentResolver(), in initPreferences()
88 poorNetworkDetection.setChecked(Global.getInt(getContentResolver(), in initPreferences()
97 scanAlwaysAvailable.setChecked(Global.getInt(getContentResolver(), in initPreferences()
109 suspendOptimizations.setChecked(Global.getInt(getContentResolver(), in initPreferences()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleSwitch.java38 public void setChecked(boolean checked) { in setChecked() method in ToggleSwitch
43 super.setChecked(checked); in setChecked()
47 super.setChecked(checked); in setCheckedInternal()

123456