Searched refs:getBoolean (Results 1 - 25 of 444) sorted by relevance

1234567891011>>

/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapConfig.java33 sUseProfileForOwnerVcard = r.getBoolean(R.bool.pbap_use_profile_for_owner_vcard);
38 sIncludePhotosInVcard = r.getBoolean(R.bool.pbap_include_photos_in_vcard);
/packages/apps/Messaging/src/com/android/messaging/util/
H A DBugleGservices.java57 public abstract boolean getBoolean(final String key, final boolean defaultValue); method in class:BugleGservices
H A DBugleGservicesImpl.java52 public boolean getBoolean(final String key, final boolean defaultValue) { method in class:BugleGservicesImpl
H A DBuglePrefs.java91 public abstract boolean getBoolean(final String key, final boolean defaultValue); method in class:BuglePrefs
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMtpReceiver.java48 boolean connected = extras.getBoolean(UsbManager.USB_CONFIGURED);
49 boolean mtpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_MTP);
50 boolean ptpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_PTP);
51 boolean unlocked = extras.getBoolean(UsbManager.USB_DATA_UNLOCKED);
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/preference/
H A DContactsPreferencesTest.java67 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn(
76 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn(
86 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn(
95 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn(
105 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn(
121 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn(
137 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn(
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSettings.java206 return prefs.getBoolean(PREF_SOUND_ON,
207 res.getBoolean(R.bool.config_default_sound_enabled));
213 return hasVibrator && prefs.getBoolean(PREF_VIBRATE_ON,
214 res.getBoolean(R.bool.config_default_vibration_enabled));
219 return prefs.getBoolean(PREF_AUTO_CORRECTION, true);
228 return prefs.getBoolean(PREF_BLOCK_POTENTIALLY_OFFENSIVE,
229 res.getBoolean(R.bool.config_block_potentially_offensive));
233 return res.getBoolean(R.bool.config_gesture_input_enabled_by_build_config);
239 && prefs.getBoolean(PREF_GESTURE_INPUT, true);
243 return res.getBoolean(
[all...]
H A DSettingsValues.java134 mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true);
138 mSlidingKeyInputPreviewEnabled = prefs.getBoolean(
144 ? prefs.getBoolean(Settings.PREF_INCLUDE_OTHER_IMES_IN_LANGUAGE_SWITCH_LIST, false)
148 mUseContactsDict = prefs.getBoolean(Settings.PREF_KEY_USE_CONTACTS_DICT, true);
149 mUsePersonalizedDicts = prefs.getBoolean(Settings.PREF_KEY_USE_PERSONALIZED_DICTS, true);
150 mUseDoubleSpacePeriod = prefs.getBoolean(Settings.PREF_KEY_USE_DOUBLE_SPACE_PERIOD, true)
160 mEnableMetricsLogging = prefs.getBoolean(Settings.PREF_ENABLE_METRICS_LOGGING, true);
161 mIsSplitKeyboardEnabled = prefs.getBoolean(Settings.PREF_ENABLE_SPLIT_KEYBOARD, false);
165 && prefs.getBoolean(DebugSettings.PREF_SHOULD_SHOW_LXX_SUGGESTION_UI, true);
171 mEnableEmojiAltPhysicalKey = prefs.getBoolean(
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
H A DContactsPreferenceActivity.java69 return !context.getResources().getBoolean(R.bool.config_sort_order_user_changeable)
70 && !context.getResources().getBoolean(R.bool.config_display_order_user_changeable)
71 && !context.getResources().getBoolean(
/packages/apps/Launcher3/tests/src/com/android/launcher3/
H A DRotationPreferenceTest.java32 mOriginalRotationValue = mPrefs.getBoolean(Utilities.ALLOW_ROTATION_PREFERENCE_KEY, false);
42 if (mTargetContext.getResources().getBoolean(R.bool.allow_rotation)) {
56 if (mTargetContext.getResources().getBoolean(R.bool.allow_rotation)) {
/packages/apps/ContactsCommon/src/com/android/contacts/commonbind/experiments/
H A DFlags.java38 public boolean getBoolean(String flagName, boolean defValue) { method in class:Flags
/packages/apps/Messaging/tests/src/com/android/messaging/util/
H A DFakeBugleGservices.java41 public boolean getBoolean(final String key, final boolean defaultValue) { method in class:FakeBugleGservices
H A DFakeBuglePrefs.java38 public boolean getBoolean(final String key, final boolean defaultValue) { method in class:FakeBuglePrefs
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DConfig.java268 return mContext.getResources().getBoolean(R.bool.show_zero_query_suggestions);
273 return mContext.getResources().getBoolean(R.bool.show_zero_query_shortcuts);
277 return mContext.getResources().getBoolean(R.bool.show_scrolling_suggestions);
281 return mContext.getResources().getBoolean(R.bool.show_scrolling_results);
/packages/apps/TV/src/com/android/tv/receiver/
H A DAudioCapabilitiesReceiver.java107 boolean oldVal = getBoolean(SETTINGS_KEY_AC3_PASSTHRU_CAPABILITIES, false);
108 boolean reported = getBoolean(SETTINGS_KEY_AC3_PASSTHRU_REPORTED, false);
128 private boolean getBoolean(String key, boolean def) { method in class:AudioCapabilitiesReceiver
129 return getSharedPreferences().getBoolean(key, def);
/packages/apps/Email/provider_src/com/android/email/
H A DPreferences.java125 return mSharedPreferences.getBoolean(ENABLE_DEBUG_LOGGING, false);
133 return mSharedPreferences.getBoolean(ENABLE_EXCHANGE_LOGGING, false);
141 return mSharedPreferences.getBoolean(ENABLE_EXCHANGE_FILE_LOGGING, false);
149 return mSharedPreferences.getBoolean(ENABLE_STRICT_MODE, false);
189 return mSharedPreferences.getBoolean(CONFIRM_DELETE, CONFIRM_DELETE_DEFAULT);
195 return mSharedPreferences.getBoolean(CONFIRM_SEND, CONFIRM_SEND_DEFAULT);
207 return mSharedPreferences.getBoolean(SWIPE_DELETE, false);
219 return mSharedPreferences.getBoolean(REPLY_ALL, false);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
H A DWearPackageArgs.java67 return b.getBoolean(KEY_CHECK_PERMS);
71 return b.getBoolean(KEY_SKIP_IF_SAME_VERSION);
/packages/apps/Settings/src/com/android/settings/
H A DDividerPreference.java32 mAllowAbove = a.getBoolean(R.styleable.DividerPreference_allowDividerAbove, false);
35 mAllowBelow = a.getBoolean(R.styleable.DividerPreference_allowDividerBelow, false);
/packages/apps/TV/common/src/com/android/tv/common/
H A DBooleanSystemProperty.java33 * >android.os.SystemProperties.getBoolean</a>.
68 private static boolean getBoolean(String key, boolean defaultValue) { method in class:BooleanSystemProperty
71 final Method get = systemProperties.getMethod("getBoolean", String.class, Boolean.TYPE);
96 mValue = getBoolean(mKey, mDefaultValue);
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DMmsConfig.java202 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLED_TRANS_ID,
234 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLE_MULTIPART_SMS,
239 return mValues.getBoolean(
245 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLE_SMS_DELIVERY_REPORTS,
250 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLED_NOTIFY_WAP_MMSC,
255 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ALIAS_ENABLED,
270 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ALLOW_ATTACH_AUDIO,
280 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLE_GROUP_MMS,
285 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION,
290 return mValues.getBoolean(CarrierConfigValuesLoade
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
H A DRebootConfirmFragment.java57 if (getArguments().getBoolean(ARG_SAFE_MODE, false)) {
78 if (getArguments().getBoolean(ARG_SAFE_MODE, false)) {
99 if (getArguments().getBoolean(ARG_SAFE_MODE, false)) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/activity/
H A DRequestDesiredPermissionsActivity.java59 if (extras != null && extras.getBoolean(STARTED_PERMISSIONS_ACTIVITY, false)) {
/packages/apps/Launcher3/src/com/android/launcher3/testing/
H A DToggleWeightWatcher.java20 boolean show = sp.getBoolean(TestingUtils.SHOW_WEIGHT_WATCHER, true);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DRemoveReceiver.java36 if (prefs.getBoolean(pkg, false)) {
/packages/apps/TV/usbtuner/src/com/android/usbtuner/util/
H A DSystemPropertiesProxy.java25 * Proxy class that gives an access to a hidden API {@link android.os.SystemProperties#getBoolean}.
32 public static boolean getBoolean(String key, boolean def) method in class:SystemPropertiesProxy
36 Method getBooleanMethod = SystemPropertiesClass.getDeclaredMethod("getBoolean",
42 Log.e(TAG, "Failed to invoke SystemProperties.getBoolean()", e);

Completed in 1986 milliseconds

1234567891011>>