Searched refs:contains (Results 1 – 25 of 228) sorted by relevance
12345678910
187 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 …]
50 assertTrue(vcard.contains("John")); in testCompose()51 assertTrue(vcard.contains("Doe")); in testCompose()
189 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()
85 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 ComboPreferences130 if (mPrefLocal.contains(key)) return true; in contains()131 if (mPrefGlobal.contains(key)) return true; in contains()
87 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 ComboPreferences138 if (mPrefLocal.contains(key)) return true; in contains()139 if (mPrefGlobal.contains(key)) return true; in contains()
197 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()
196 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()
77 if (!sSupportedImageTypes.contains(contentType)) { in checkImageContentType()89 if (!sSupportedAudioTypes.contains(contentType)) { in checkAudioContentType()101 if (!sSupportedVideoTypes.contains(contentType)) { in checkVideoContentType()
90 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()
107 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);
74 public boolean contains(final Charset cs) { in contains() method in UTF7StyleCharset75 return CONTAINED.contains(cs.name()); in contains()
119 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()
45 if (!sharedPrefs.contains(PreferenceKeys.PREF_DATA_PRELOAD)) { in onResume()53 if (!sharedPrefs.contains(PreferenceKeys.PREF_LINK_PREFETCH)) { in onResume()
87 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()
119 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()
98 if (mDictionaries.contains(newDict)) { in addDictionary()106 if (mDictionaries.contains(dict)) { in removeDictionary()
195 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()
90 assertTrue(ids.contains(acct1.mId)); in testForEachAccount()91 assertTrue(ids.contains(acct2.mId)); in testForEachAccount()
119 if (mDefaultCorpora.contains(corpus.getName())) { in isCorpusEnabledByDefault()132 if (mDefaultCorporaSuggestUris.contains(uri)) { in isCorpusEnabledByDefault()148 return mHiddenCorpora.contains(corpusName); in isCorpusHidden()
63 if (!DEFAULT_COLUMNS.contains(cursorColumn)) { in cursorContainsExtras()75 if (!DEFAULT_COLUMNS.contains(cursorColumn)) { in getExtraColumns()
464 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()
81 if (!mailboxesToNotify.contains(mailboxId)) { in handleReceive()98 if (!mailboxesToNotify.contains(mailboxId)) { in handleReceive()
121 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()
61 if (!contains(accounts, name, type)) { in run()80 boolean contains(Account[] accounts, String name, String type) { in contains() method in AccountsChangedReceiver.DeleteRemovedAccounts
65 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()