Home
last modified time | relevance | path

Searched refs:contains (Results 1 – 25 of 228) sorted by relevance

12345678910

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameLookupBuilderTest.java187 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.CHINA)) { in testChineseName()
200 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.KOREA)) { in testKoreanName()
214 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.KOREA)) { in testKoreanNameWithTwoCharactersFamilyName()
231 assertTrue(actual.contains("(0:Jo.Jeffrey.John.Jessy.Longname)")); in testMultiwordName()
234 assertTrue(actual.contains("(2:JoJeffreyJohnJessyLongname)")); in testMultiwordName()
237 assertTrue(actual.contains("(1:Longname.Jeffrey.Jessy.John)")); in testMultiwordName()
240 assertTrue(actual.contains("(2:Jo")); in testMultiwordName()
241 assertTrue(actual.contains("(2:Jeffrey")); in testMultiwordName()
242 assertTrue(actual.contains("(2:John")); in testMultiwordName()
243 assertTrue(actual.contains("(2:Jessy")); in testMultiwordName()
[all …]
DVCardTest.java50 assertTrue(vcard.contains("John")); in testCompose()
51 assertTrue(vcard.contains("Doe")); in testCompose()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherViewPropertyAnimator.java189 if (mPropertiesToSet.contains(Properties.TRANSLATION_X)) { in start()
192 if (mPropertiesToSet.contains(Properties.TRANSLATION_Y)) { in start()
195 if (mPropertiesToSet.contains(Properties.SCALE_X)) { in start()
198 if (mPropertiesToSet.contains(Properties.ROTATION_Y)) { in start()
201 if (mPropertiesToSet.contains(Properties.SCALE_Y)) { in start()
204 if (mPropertiesToSet.contains(Properties.ALPHA)) { in start()
207 if (mPropertiesToSet.contains(Properties.START_DELAY)) { in start()
210 if (mPropertiesToSet.contains(Properties.DURATION)) { in start()
213 if (mPropertiesToSet.contains(Properties.INTERPOLATOR)) { in start()
/packages/apps/LegacyCamera/src/com/android/camera/
DComboPreferences.java85 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getString()
93 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getInt()
101 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getLong()
109 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getFloat()
117 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getBoolean()
129 public boolean contains(String key) { in contains() method in ComboPreferences
130 if (mPrefLocal.contains(key)) return true; in contains()
131 if (mPrefGlobal.contains(key)) return true; in contains()
/packages/apps/Camera/src/com/android/camera/
DComboPreferences.java87 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getString()
96 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getInt()
105 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getLong()
114 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getFloat()
123 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getBoolean()
137 public boolean contains(String key) { in contains() method in ComboPreferences
138 if (mPrefLocal.contains(key)) return true; in contains()
139 if (mPrefGlobal.contains(key)) return true; in contains()
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapListTest.java197 assertTrue(list.contains("abc")); in testContains()
198 assertTrue(list.contains("abcd")); in testContains()
199 assertTrue(list.contains("def")); in testContains()
200 assertFalse(list.contains("")); in testContains()
201 assertFalse(list.contains("a")); in testContains()
202 assertFalse(list.contains(null)); in testContains()
205 assertFalse(list.contains(null)); in testContains()
208 assertFalse(ImapList.EMPTY.contains(null)); in testContains()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceContact.java196 if (label.contains("home") || label.contains("house")) { in getVoiceContacts()
199 else if (label.contains("mobile") || label.contains("cell")) { in getVoiceContacts()
202 else if (label.contains("work") || label.contains("office")) { in getVoiceContacts()
205 else if (label.contains("other")) { in getVoiceContacts()
/packages/apps/Mms/src/com/android/mms/model/
DCarrierContentRestriction.java77 if (!sSupportedImageTypes.contains(contentType)) { in checkImageContentType()
89 if (!sSupportedAudioTypes.contains(contentType)) { in checkAudioContentType()
101 if (!sSupportedVideoTypes.contains(contentType)) { in checkVideoContentType()
/packages/apps/Settings/src/com/android/settings/
DWirelessSettings.java90 return toggleable != null && toggleable.contains(type); in isRadioAllowed()
123 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIMAX ) in onCreate()
130 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIFI)) { in onCreate()
135 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_BLUETOOTH)) { in onCreate()
140 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_NFC)) { in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSelectionManager.java107 return mInverseSelection ^ mClickedSet.contains(itemId); in isItemSelected()
130 if (mClickedSet.contains(path)) { in toggle()
178 if (!mClickedSet.contains(id)) {
204 if (!mClickedSet.contains(id)) selected.add(id);
/packages/apps/Email/src/com/beetstra/jutf7/
DUTF7StyleCharset.java74 public boolean contains(final Charset cs) { in contains() method in UTF7StyleCharset
75 return CONTAINED.contains(cs.name()); in contains()
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/
DMoreKeysResources.java119 if (line.contains(MARK_NAMES)) { in inflateTemplate()
121 } else if (line.contains(MARK_DEFAULT_TEXTS)) { in inflateTemplate()
123 } else if (line.contains(MARK_TEXTS)) { in inflateTemplate()
125 } else if (line.contains(MARK_LANGUAGES_AND_TEXTS)) { in inflateTemplate()
190 if (resMap.contains(defaultRes.mName)) { in dumpTextsInternal()
/packages/apps/Browser/src/com/android/browser/preferences/
DBandwidthPreferencesFragment.java45 if (!sharedPrefs.contains(PreferenceKeys.PREF_DATA_PRELOAD)) { in onResume()
53 if (!sharedPrefs.contains(PreferenceKeys.PREF_LINK_PREFETCH)) { in onResume()
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPoint.java87 if (result.capabilities.contains("WEP")) { in getSecurity()
89 } else if (result.capabilities.contains("PSK")) { in getSecurity()
91 } else if (result.capabilities.contains("EAP")) { in getSecurity()
129 boolean wpa = result.capabilities.contains("WPA-PSK"); in getPskType()
130 boolean wpa2 = result.capabilities.contains("WPA2-PSK"); in getPskType()
198 wpsAvailable = security != SECURITY_EAP && result.capabilities.contains("WPS"); in loadResult()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DEditingUtils.java119 return whitespace.contains(String.valueOf((char) code)); in isWhitespace()
151 if (sentenceSeperators.contains(String.valueOf(lastChar))) return null; in getPreviousWord()
178 if (sentenceSeperators.contains(String.valueOf(lastChar))) return null; in getThisWord()
DDictionaryCollection.java98 if (mDictionaries.contains(newDict)) { in addDictionary()
106 if (mDictionaries.contains(dict)) { in removeDictionary()
DSettingsValues.java195 return mWordSeparators.contains(String.valueOf((char)code)); in isWordSeparator()
199 return mSymbolsExcludedFromWordSeparators.contains(String.valueOf((char)code)); in isSymbolExcludedFromWordSeparators()
204 return mWeakSpaceStrippers.contains(String.valueOf((char)code)); in isWeakSpaceStripper()
209 return mWeakSpaceSwappers.contains(String.valueOf((char)code)); in isWeakSpaceSwapper()
214 return mPhantomSpacePromotingSymbols.contains(String.valueOf((char)code)); in isPhantomSpacePromotingSymbol()
/packages/apps/Email/tests/src/com/android/email/
DUtilityLargeTest.java90 assertTrue(ids.contains(acct1.mId)); in testForEachAccount()
91 assertTrue(ids.contains(acct2.mId)); in testForEachAccount()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DConfig.java119 if (mDefaultCorpora.contains(corpus.getName())) { in isCorpusEnabledByDefault()
132 if (mDefaultCorporaSuggestUris.contains(uri)) { in isCorpusEnabledByDefault()
148 return mHiddenCorpora.contains(corpusName); in isCorpusHidden()
DCursorBackedSuggestionExtras.java63 if (!DEFAULT_COLUMNS.contains(cursorColumn)) { in cursorContainsExtras()
75 if (!DEFAULT_COLUMNS.contains(cursorColumn)) { in getExtraColumns()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactSelectionActivity.java464 if (intentExtraKeys.contains(Insert.NAME)) { in launchAddToContactDialog()
470 boolean hasPhone = intentExtraKeys.contains(Insert.PHONE) && in launchAddToContactDialog()
471 intentExtraKeys.contains(Insert.PHONE_TYPE); in launchAddToContactDialog()
472 boolean hasEmail = intentExtraKeys.contains(Insert.EMAIL) && in launchAddToContactDialog()
473 intentExtraKeys.contains(Insert.EMAIL_TYPE); in launchAddToContactDialog()
476 return intentExtraKeys.contains(Insert.PHONE) || in launchAddToContactDialog()
477 intentExtraKeys.contains(Insert.EMAIL); in launchAddToContactDialog()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEmailSyncAlarmReceiver.java81 if (!mailboxesToNotify.contains(mailboxId)) { in handleReceive()
98 if (!mailboxesToNotify.contains(mailboxId)) { in handleReceive()
/packages/apps/Email/src/com/android/email/mail/store/
DImapConnection.java121 capabilities.contains(ImapConstants.STARTTLS); in open()
193 if (capabilities.contains(ImapConstants.ID)) { in setCapabilities()
196 if (capabilities.contains(ImapConstants.NAMESPACE)) { in setCapabilities()
199 if (capabilities.contains(ImapConstants.UIDPLUS)) { in setCapabilities()
202 if (capabilities.contains(ImapConstants.STARTTLS)) { in setCapabilities()
/packages/apps/Browser/src/com/android/browser/
DAccountsChangedReceiver.java61 if (!contains(accounts, name, type)) { in run()
80 boolean contains(Account[] accounts, String name, String type) { in contains() method in AccountsChangedReceiver.DeleteRemovedAccounts
/packages/apps/Email/tests/src/com/android/email/provider/
DContentCacheTests.java65 assertTrue(map.contains("1")); in testCounterMap()
70 assertTrue(map.contains("2")); in testCounterMap()
85 assertTrue(map.contains("1")); in testCounterMap()
181 assertFalse(ContentCache.sActiveCursors.contains(activeCursor)); in testCachedCursors()

12345678910