Home
last modified time | relevance | path

Searched refs:putBoolean (Results 1 – 25 of 242) sorted by relevance

12345678910

/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DMailPrefs.java255 getEditor().putBoolean(PreferenceKeys.DEFAULT_REPLY_ALL, replyAll).apply(); in setDefaultReplyAll()
296 getEditor().putBoolean(PreferenceKeys.CONVERSATION_LIST_SWIPE, enabled).apply(); in setConversationListSwipeEnabled()
346 getEditor().putBoolean(PreferenceKeys.CONVERSATION_PHOTO_TEASER_SHOWN, true).apply(); in setConversationPhotoTeaserAlreadyShown()
455 getEditor().putBoolean(PreferenceKeys.SHOW_SENDER_IMAGES, enable).apply(); in setShowSenderImages()
483 getEditor().putBoolean(PreferenceKeys.CONFIRM_DELETE, confirmDelete).apply(); in setConfirmDelete()
492 getEditor().putBoolean(PreferenceKeys.CONFIRM_ARCHIVE, confirmArchive).apply(); in setConfirmArchive()
501 getEditor().putBoolean(PreferenceKeys.CONFIRM_SEND, confirmSend).apply(); in setConfirmSend()
520 getEditor().putBoolean(PreferenceKeys.CONVERSATION_OVERVIEW_MODE, overviewMode).apply(); in setConversationOverviewMode()
534 .putBoolean(PreferenceKeys.ALWAYS_LAUNCH_GMAIL_FROM_EMAIL_TOMBSTONE, in setAlwaysLaunchGmailFromEmailTombstone()
DFolderPreferences.java216 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply(); in setNotificationsEnabled()
235 getEditor().putBoolean(PreferenceKeys.NOTIFICATION_VIBRATE, enabled).apply(); in setNotificationVibrateEnabled()
245 getEditor().putBoolean(PreferenceKeys.NOTIFICATION_NOTIFY_EVERY_MESSAGE, enabled).apply(); in setEveryMessageNotificationEnabled()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java239 outState.putBoolean(KEY_SECTION_HEADER_DISPLAY_ENABLED, mSectionHeaderDisplayEnabled); in onSaveInstanceState()
240 outState.putBoolean(KEY_PHOTO_LOADER_ENABLED, mPhotoLoaderEnabled); in onSaveInstanceState()
241 outState.putBoolean(KEY_QUICK_CONTACT_ENABLED, mQuickContactEnabled); in onSaveInstanceState()
242 outState.putBoolean(KEY_ADJUST_SELECTION_BOUNDS_ENABLED, mAdjustSelectionBoundsEnabled); in onSaveInstanceState()
243 outState.putBoolean(KEY_INCLUDE_PROFILE, mIncludeProfile); in onSaveInstanceState()
244 outState.putBoolean(KEY_SEARCH_MODE, mSearchMode); in onSaveInstanceState()
245 outState.putBoolean(KEY_VISIBLE_SCROLLBAR_ENABLED, mVisibleScrollbarEnabled); in onSaveInstanceState()
248 outState.putBoolean(KEY_SELECTION_VISIBLE, mSelectionVisible); in onSaveInstanceState()
249 outState.putBoolean(KEY_LEGACY_COMPATIBILITY, mLegacyCompatibility); in onSaveInstanceState()
252 outState.putBoolean(KEY_DARK_THEME, mDarkTheme); in onSaveInstanceState()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.java72 prefs.edit().putBoolean(Stopwatches.NOTIF_CLOCK_RUNNING, true).apply(); in onStartCommand()
94 prefs.edit().putBoolean(Stopwatches.NOTIF_CLOCK_RUNNING, false).apply(); in onStartCommand()
284 editor.putBoolean(Stopwatches.NOTIF_CLOCK_RUNNING, true); in saveNotification()
288 editor.putBoolean(Stopwatches.NOTIF_CLOCK_RUNNING, false); in saveNotification()
290 editor.putBoolean(Stopwatches.PREF_UPDATE_CIRCLE, false); in saveNotification()
391 editor.putBoolean(Stopwatches.PREF_UPDATE_CIRCLE, updateCircle); in writeToSharedPrefs()
408 editor.putBoolean(Stopwatches.KEY + CircleTimerView.PREF_CTV_PAUSED, false); in writeSharedPrefsStarted()
432 editor.putBoolean(Stopwatches.KEY + CircleTimerView.PREF_CTV_PAUSED, false); in writeSharedPrefsLap()
453 editor.putBoolean(Stopwatches.KEY + CircleTimerView.PREF_CTV_PAUSED, true); in writeSharedPrefsStopped()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorBaseFragment.java606 outState.putBoolean(KEY_AUTO_ADD_TO_DEFAULT_GROUP, mAutoAddToDefaultGroup); in onSaveInstanceState()
607 outState.putBoolean(KEY_DISABLE_DELETE_MENU_OPTION, mDisableDeleteMenuOption); in onSaveInstanceState()
608 outState.putBoolean(KEY_NEW_LOCAL_PROFILE, mNewLocalProfile); in onSaveInstanceState()
626 outState.putBoolean(KEY_HAS_NEW_CONTACT, mHasNewContact); in onSaveInstanceState()
627 outState.putBoolean(KEY_NEW_CONTACT_READY, mNewContactDataReady); in onSaveInstanceState()
628 outState.putBoolean(KEY_NEW_CONTACT_ACCOUNT_CHANGED, mNewContactAccountChanged); in onSaveInstanceState()
629 outState.putBoolean(KEY_IS_EDIT, mIsEdit); in onSaveInstanceState()
630 outState.putBoolean(KEY_EXISTING_CONTACT_READY, mExistingContactDataReady); in onSaveInstanceState()
632 outState.putBoolean(KEY_IS_USER_PROFILE, mIsUserProfile); in onSaveInstanceState()
635 outState.putBoolean(KEY_SEND_TO_VOICE_MAIL_STATE, mSendToVoicemailState); in onSaveInstanceState()
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java169 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); in initEffectsPreferences()
179 editor.putBoolean(Key.virt_enabled.toString(), isVIEnabled); in initEffectsPreferences()
187 editor.putBoolean(Key.virt_strength_supported.toString(), in initEffectsPreferences()
203 editor.putBoolean(Key.bb_enabled.toString(), isBBEnabled); in initEffectsPreferences()
315 editor.putBoolean(Key.eq_enabled.toString(), isEQEnabled); in initEffectsPreferences()
322 editor.putBoolean(Key.pr_enabled.toString(), isEnabledPR); in initEffectsPreferences()
509 editor.putBoolean(key.toString(), enabled); in setParameterBoolean()
986 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); in openSession()
1052 editor.putBoolean(Key.virt_enabled.toString(), isEnabled); in openSession()
1098 editor.putBoolean(Key.bb_enabled.toString(), isEnabled); in openSession()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java118 data.putBoolean(KEY_GET_CONTENT, true); in startGetContent()
155 data.putBoolean(SlideshowPage.KEY_RANDOM_ORDER, true); in startViewAction()
156 data.putBoolean(SlideshowPage.KEY_REPEAT, true); in startViewAction()
158 data.putBoolean(SlideshowPage.KEY_DREAM, true); in startViewAction()
209 data.putBoolean(PhotoPage.KEY_READONLY, true); in startViewAction()
222 data.putBoolean(PhotoPage.KEY_TREAT_BACK_AS_UP, true); in startViewAction()
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSecurity.java154 extras.putBoolean(EXTRA_SHOW_DIALOG, showDialog); in onCreate()
188 outState.putBoolean(SAVESTATE_INITIALIZED_TAG, mInitialized); in onSaveInstanceState()
190 outState.putBoolean(SAVESTATE_TRIED_ADD_ADMINISTRATOR_TAG, mTriedAddAdministrator); in onSaveInstanceState()
191 outState.putBoolean(SAVESTATE_TRIED_SET_PASSWORD_TAG, mTriedSetPassword); in onSaveInstanceState()
192 outState.putBoolean(SAVESTATE_TRIED_SET_ENCRYPTION_TAG, mTriedSetEncryption); in onSaveInstanceState()
584 b.putBoolean(BUNDLE_KEY_EXPIRED, expired); in newInstance()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessSentMessageAction.java81 params.putBoolean(KEY_SMS, false); in processMmsSent()
82 params.putBoolean(KEY_SENT_BY_PLATFORM, true); in processMmsSent()
94 params.putBoolean(KEY_RESPONSE_IMPORTANT, in processMmsSent()
104 params.putBoolean(KEY_SMS, isSms); in processMessageSentFastFailed()
105 params.putBoolean(KEY_SENT_BY_PLATFORM, false); in processMessageSentFastFailed()
DProcessDownloadedMmsAction.java110 params.putBoolean(KEY_DOWNLOADED_BY_PLATFORM, true); in processMessageDownloaded()
125 params.putBoolean(KEY_AUTO_DOWNLOAD, in processMessageDownloaded()
149 params.putBoolean(KEY_DOWNLOADED_BY_PLATFORM, true); in processMessageDownloadFastFailed()
156 params.putBoolean(KEY_AUTO_DOWNLOAD, autoDownload); in processMessageDownloadFastFailed()
173 params.putBoolean(KEY_DOWNLOADED_BY_PLATFORM, false); in processDownloadActionFailure()
192 params.putBoolean(KEY_SEND_DEFERRED_RESP_STATUS, true); in sendDeferredRespStatus()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmService.java305 bundle.putBoolean(FmListener.KEY_IS_SPEAKER_MODE, false); in onReceive()
771 bundle.putBoolean(OPTION, isUp); in seekStationAsync()
880 bundle.putBoolean(OPTION, on); in setRdsAsync()
946 bundle.putBoolean(OPTION, mute); in setMuteAsync()
1184 bundle.putBoolean(OPTION, isRecording); in setRecordingModeAsync()
2388 bundle.putBoolean(FmListener.KEY_IS_SWITCH_ANTENNA, true); in handleMessage()
2397 bundle.putBoolean(FmListener.KEY_IS_SWITCH_ANTENNA, false); in handleMessage()
2415 bundle.putBoolean(FmListener.KEY_IS_TUNE, isTune); in handleMessage()
2438 bundle.putBoolean(FmListener.KEY_IS_TUNE, isStationTunningSuccessed); in handleMessage()
2479 bundle.putBoolean(FmListener.KEY_IS_SCAN, isScan); in handleMessage()
[all …]
DFmUtils.java251 editor.putBoolean(FM_IS_FIRST_TIME_PLAY, false); in setIsFirstTimePlayFm()
263 editor.putBoolean(FM_IS_FIRST_ENTER_STATION_LIST, false); in isFirstEnterStationList()
322 editor.putBoolean(FM_IS_SPEAKER_MODE, isSpeaker); in setIsSpeakerModeOnFocusLost()
/packages/apps/Email/provider_src/com/android/email/
DPreferences.java121 mSharedPreferences.edit().putBoolean(ENABLE_DEBUG_LOGGING, value).apply(); in setEnableDebugLogging()
129 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_LOGGING, value).apply(); in setEnableExchangeLogging()
137 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_FILE_LOGGING, value).apply(); in setEnableExchangeFileLogging()
145 mSharedPreferences.edit().putBoolean(ENABLE_STRICT_MODE, value).apply(); in setEnableStrictMode()
/packages/apps/Camera/src/com/android/camera/
DComboPreferences.java90 mPrefGlobal.edit().putBoolean(key, (Boolean) v).apply(); in movePrefFrom()
289 public Editor putBoolean(String key, boolean value) { in putBoolean() method in ComboPreferences.MyEditor
291 mEditorGlobal.putBoolean(key, value); in putBoolean()
293 mEditorLocal.putBoolean(key, value); in putBoolean()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCreationFragment.java83 args.putBoolean(AccountCreationFragment.SYNC_EMAIL_TAG, syncEmail); in newInstance()
84 args.putBoolean(AccountCreationFragment.SYNC_CALENDAR_TAG, syncCalendar); in newInstance()
85 args.putBoolean(AccountCreationFragment.SYNC_CONTACTS_TAG, syncContacts); in newInstance()
86 args.putBoolean(AccountCreationFragment.NOTIFICATIONS_TAG, enableNotifications); in newInstance()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DMessageParser.java207 bundle.putBoolean(EXTRA_PROVISIONING_WIFI_HIDDEN, params.wifiInfo.hidden); in addProvisioningParamsToBundle()
220 bundle.putBoolean(EXTRA_PROVISIONING_DEVICE_ADMIN_SUPPORT_SHA1_PACKAGE_CHECKSUM, in addProvisioningParamsToBundle()
238 bundle.putBoolean(EXTRA_PROVISIONING_STARTED_BY_NFC, params.startedByNfc); in addProvisioningParamsToBundle()
239 bundle.putBoolean(EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED, in addProvisioningParamsToBundle()
242 bundle.putBoolean(EXTRA_PROVISIONING_SKIP_ENCRYPTION, params.skipEncryption); in addProvisioningParamsToBundle()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1166 b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_3WAY_CALLING, true); in getCurrentAgFeatures()
1170 b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_VOICE_RECOGNITION, true); in getCurrentAgFeatures()
1174 b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_ATTACH_NUMBER_TO_VT, true); in getCurrentAgFeatures()
1178 b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_REJECT_CALL, true); in getCurrentAgFeatures()
1182 b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_ECC, true); in getCurrentAgFeatures()
1188 b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_ACCEPT_HELD_OR_WAITING_CALL, true); in getCurrentAgFeatures()
1192 … b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_RELEASE_HELD_OR_WAITING_CALL, true); in getCurrentAgFeatures()
1196 b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_RELEASE_AND_ACCEPT, true); in getCurrentAgFeatures()
1200 b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_MERGE, true); in getCurrentAgFeatures()
1204 b.putBoolean(BluetoothHeadsetClient.EXTRA_AG_FEATURE_MERGE_AND_DETACH, true); in getCurrentAgFeatures()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailNotificationSettingsUtil.java51 editor.putBoolean(getVoicemailVibrationSharedPrefsKey(phone), isEnabled); in setVibrationEnabled()
100 editor.putBoolean(key, voicemailVibrate) in migrateVoicemailVibrationSettingsIfNeeded()
113 editor.putBoolean(key, voicemailVibrate) in migrateVoicemailVibrationSettingsIfNeeded()
/packages/apps/Dialer/src/com/android/dialer/widget/
DActionBarController.java188 outState.putBoolean(KEY_IS_SLID_UP, mIsActionBarSlidUp); in saveInstanceState()
189 outState.putBoolean(KEY_IS_FADED_OUT, mSearchBox.isFadedOut()); in saveInstanceState()
190 outState.putBoolean(KEY_IS_EXPANDED, mSearchBox.isExpanded()); in saveInstanceState()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactPickerFragment.java86 outState.putBoolean(KEY_EDIT_MODE, mEditMode); in onSaveInstanceState()
87 outState.putBoolean(KEY_CREATE_CONTACT_ENABLED, mCreateContactEnabled); in onSaveInstanceState()
88 outState.putBoolean(KEY_SHORTCUT_REQUESTED, mShortcutRequested); in onSaveInstanceState()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractConversationViewFragment.java440 outState.putBoolean(BUNDLE_USER_VISIBLE, mUserVisible); in onSaveInstanceState()
441 outState.putBoolean(BUNDLE_DETACHED, mIsDetached); in onSaveInstanceState()
442 outState.putBoolean(BUNDLE_KEY_HAS_CONVERSATION_BEEN_TRANSFORMED, in onSaveInstanceState()
444 outState.putBoolean(BUNDLE_KEY_HAS_CONVERSATION_BEEN_REVERTED, in onSaveInstanceState()
/packages/apps/Settings/src/com/android/settings/accounts/
DAddAccountSettings.java98 addAccountOptions.putBoolean(EXTRA_HAS_MULTIPLE_USERS,
194 outState.putBoolean(KEY_ADD_CALLED, mAddAccountCalled); in onSaveInstanceState()
216 addAccountOptions.putBoolean(EXTRA_HAS_MULTIPLE_USERS, Utils.hasMultipleUsers(this)); in addAccount()
/packages/apps/LegacyCamera/src/com/android/camera/
DComboPreferences.java204 public Editor putBoolean(String key, boolean value) { in putBoolean() method in ComboPreferences.MyEditor
206 mEditorGlobal.putBoolean(key, value); in putBoolean()
208 mEditorLocal.putBoolean(key, value); in putBoolean()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherClings.java79 editor.putBoolean(Launcher.USER_HAS_MIGRATED, true); in onClick()
200 .putBoolean(flag, true) in dismissCling()
260 editor.putBoolean(WORKSPACE_CLING_DISMISSED_KEY, true); in synchonouslyMarkFirstRunClingDismissed()
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java99 args.putBoolean(ARG_CAN_SET_DEFAULT, canSetDefault); in newInstance()
146 outState.putBoolean(ARG_IS_DEFAULT_CHECKED, mIsDefaultChecked); in onSaveInstanceState()
171 result.putBoolean(SelectPhoneAccountListener.EXTRA_SET_DEFAULT, in onCreateDialog()

12345678910