/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
Settings.java | 70 mKeySound = mSharedPref.getBoolean(ANDPY_CONFS_KEYSOUND_KEY, true); 71 mVibrate = mSharedPref.getBoolean(ANDPY_CONFS_VIBRATE_KEY, false); 72 mPrediction = mSharedPref.getBoolean(ANDPY_CONFS_PREDICTION_KEY, true);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
UsbReceiver.java | 36 boolean connected = extras.getBoolean(UsbManager.USB_CONFIGURED); 37 boolean mtpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_MTP); 38 boolean ptpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_PTP);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserSettings.java | 360 mController.getUi().setUseQuickControls(sharedPreferences.getBoolean(key, false)); 434 return mPrefs.getBoolean(PREF_DEBUG_MENU, false); 584 return mPrefs.getBoolean(PREF_FORCE_USERSCALABLE, false); 616 return mPrefs.getBoolean(PREF_OPEN_IN_BACKGROUND, false); 620 return mPrefs.getBoolean(PREF_ENABLE_JAVASCRIPT, true); 636 return mPrefs.getBoolean(PREF_LOAD_PAGE, true); 640 return mPrefs.getBoolean(PREF_AUTOFIT_PAGES, true); 644 return mPrefs.getBoolean(PREF_BLOCK_POPUP_WINDOWS, true); 648 return mPrefs.getBoolean(PREF_LOAD_IMAGES, true); 668 return mPrefs.getBoolean(PREF_AUTOFILL_ENABLED, true) [all...] |
/packages/apps/Email/src/com/android/email/ |
Preferences.java | 122 return mSharedPreferences.getBoolean(ENABLE_DEBUG_LOGGING, false); 130 return mSharedPreferences.getBoolean(ENABLE_EXCHANGE_LOGGING, false); 138 return mSharedPreferences.getBoolean(ENABLE_EXCHANGE_FILE_LOGGING, false); 146 return mSharedPreferences.getBoolean(INHIBIT_GRAPHICS_ACCELERATION, false); 154 return mSharedPreferences.getBoolean(FORCE_ONE_MINUTE_REFRESH, false); 162 return mSharedPreferences.getBoolean(ENABLE_STRICT_MODE, false); 204 return mSharedPreferences.getBoolean(BACKGROUND_ATTACHMENTS, false); 296 return getBoolean(context, account.getEmailAddress(), REQUIRE_MANUAL_SYNC_DIALOG_SHOWN, 341 private boolean getBoolean(Context context, String account, String key, boolean def) { 342 return mSharedPreferences.getBoolean(makeKey(account, key), def) [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSettings.java | 73 if (!res.getBoolean(R.bool.show_etws_settings)) { 76 if (!res.getBoolean(R.bool.show_cmas_settings)) { 79 if (!res.getBoolean(R.bool.show_brazil_settings)) {
|
CellBroadcastAlertService.java | 112 if (prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_ALERT_SPEECH, true)) { 143 * to the getBoolean() calls match the default values in res/xml/preferences.xml. 152 .getBoolean(CellBroadcastSettings.KEY_ENABLE_ETWS_TEST_ALERTS, false); 163 .getBoolean(CellBroadcastSettings.KEY_ENABLE_CMAS_IMMINENT_THREAT_ALERTS, 168 .getBoolean(CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, false); 172 .getBoolean(CellBroadcastSettings.KEY_ENABLE_CMAS_TEST_ALERTS, false);
|
CellBroadcastConfigService.java | 122 boolean enableEmergencyAlerts = prefs.getBoolean( 125 boolean enableChannel50Alerts = res.getBoolean(R.bool.show_brazil_settings) && 126 prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_CHANNEL_50_ALERTS, true);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AdtPrefs.java | 177 mBuildForceResResfresh = mStore.getBoolean(PREFS_BUILD_RES_AUTO_REFRESH); 181 mBuildForceErrorOnNativeLibInJar = mStore.getBoolean(PREFS_BUILD_RES_AUTO_REFRESH); 186 mStore.getBoolean(PREFS_BUILD_SKIP_POST_COMPILE_ON_FILE_SAVE); 194 mFormatGuiXml = mStore.getBoolean(PREFS_FORMAT_GUI_XML); 198 mCustomXmlFormatter = mStore.getBoolean(PREFS_USE_CUSTOM_XML_FORMATTER); 206 mUseEclipseIndent = mStore.getBoolean(PREFS_USE_ECLIPSE_INDENT); 210 mRemoveEmptyLines = mStore.getBoolean(PREVS_REMOVE_EMPTY_LINES); 214 mOneAttributeOnFirstLine = mStore.getBoolean(PREFS_ONE_ATTR_PER_LINE); 228 mSpaceBeforeClose = mStore.getBoolean(PREFS_SPACE_BEFORE_CLOSE); 232 mFormatOnSave = mStore.getBoolean(PREFS_FORMAT_ON_SAVE) [all...] |
/frameworks/base/core/java/android/content/ |
SyncAdaptersCache.java | 59 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true); 61 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading, 64 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, 67 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs,
|
SyncOperation.java | 71 if (!extras.getBoolean(extraName, false)) { 113 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false); 117 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false);
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
ContactsPreferences.java | 50 return mContext.getResources().getBoolean(R.bool.config_sort_order_user_changeable); 54 if (mContext.getResources().getBoolean(R.bool.config_default_sort_order_primary)) { 84 return mContext.getResources().getBoolean(R.bool.config_display_order_user_changeable); 88 if (mContext.getResources().getBoolean(R.bool.config_default_display_order_primary)) {
|
ContactsPreferenceActivity.java | 61 return !context.getResources().getBoolean(R.bool.config_sort_order_user_changeable) 62 && !context.getResources().getBoolean(R.bool.config_display_order_user_changeable);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
DoNotDisturb.java | 40 mDoNotDisturb = mPrefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF, Prefs.DO_NOT_DISTURB_DEFAULT); 45 final boolean val = prefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DoNotDisturbController.java | 44 mDoNotDisturb = mPrefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF, Prefs.DO_NOT_DISTURB_DEFAULT); 65 final boolean val = prefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF,
|
/packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/ |
GservicesValue.java | 56 return sGservicesReader.getBoolean(mKey, mDefaultValue); 99 public Boolean getBoolean(String key, Boolean defaultValue); 113 public Boolean getBoolean(String key, Boolean defaultValue) { 114 return Gservices.getBoolean(mContentResolver, key, defaultValue); 136 public Boolean getBoolean(String key, Boolean defaultValue) { return defaultValue; }
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
Settings.java | 164 mVibrateOn = hasVibrator && prefs.getBoolean(Settings.PREF_VIBRATE_ON, 165 res.getBoolean(R.bool.config_default_vibration_enabled)); 166 mSoundOn = prefs.getBoolean(Settings.PREF_SOUND_ON, 167 res.getBoolean(R.bool.config_default_sound_enabled)); 170 mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true); 177 mUseContactsDict = prefs.getBoolean(Settings.PREF_KEY_USE_CONTACTS_DICT, true); 179 prefs.getBoolean(Settings.PREF_KEY_ENABLE_SPAN_INSERT, true); 180 final boolean defaultShowSettingsKey = res.getBoolean( 183 ? prefs.getBoolean(Settings.PREF_SHOW_SETTINGS_KEY, defaultShowSettingsKey) 226 final boolean showPopupOption = resources.getBoolean( [all...] |
/external/nist-sip/java/gov/nist/core/ |
Host.java | 89 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); 99 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); 110 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES");
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
ArticleActivity.java | 51 if (getResources().getBoolean(R.bool.has_two_panes)) {
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
SimpleInflater.java | 139 itemCheckable = a.getBoolean(R.styleable.MenuItem_android_checkable, false) ? 1 : 0; 141 boolean itemChecked = a.getBoolean(R.styleable.MenuItem_android_checked, false); 142 boolean itemVisible = a.getBoolean(R.styleable.MenuItem_android_visible, false); 143 boolean itemEnabled = a.getBoolean(R.styleable.MenuItem_android_enabled, false);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
RemoveReceiver.java | 36 if (prefs.getBoolean(pkg, false)) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Config.java | 317 return mContext.getResources().getBoolean(R.bool.show_zero_query_suggestions); 322 return mContext.getResources().getBoolean(R.bool.show_zero_query_shortcuts); 326 return mContext.getResources().getBoolean(R.bool.show_scrolling_suggestions); 330 return mContext.getResources().getBoolean(R.bool.show_scrolling_results);
|
/cts/tests/tests/app/src/android/app/cts/ |
TimePickerDialogTest.java | 100 assertTrue(b.getBoolean(IS_24_HOUR)); 110 assertFalse(b.getBoolean(IS_24_HOUR)); 179 assertFalse(b2.getBoolean(IS_24_HOUR));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
BooleanTest.java | 73 * @tests java.lang.Boolean#getBoolean(String) 77 assertTrue(Boolean.getBoolean(getClass().getName())); 80 assertTrue(Boolean.getBoolean(getClass().getName())); 83 assertFalse(Boolean.getBoolean(getClass().getName()));
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactPickerFragment.java | 98 mEditMode = savedState.getBoolean(KEY_EDIT_MODE); 99 mCreateContactEnabled = savedState.getBoolean(KEY_CREATE_CONTACT_ENABLED); 100 mShortcutRequested = savedState.getBoolean(KEY_SHORTCUT_REQUESTED);
|
/packages/apps/Email/src/com/android/email/service/ |
EasAuthenticatorService.java | 75 options.getBoolean(OPTIONS_CONTACTS_SYNC_ENABLED)) { 85 options.getBoolean(OPTIONS_CALENDAR_SYNC_ENABLED)) { 95 options.getBoolean(OPTIONS_EMAIL_SYNC_ENABLED)) {
|