/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
D | SendersFormattingTests.java | 47 final ArrayList<SpannableString> strings = Lists.newArrayList(); in testMeFromNullName() local 48 assertEquals(0, strings.size()); in testMeFromNullName() 51 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false); in testMeFromNullName() local 52 assertEquals(1, strings.size()); in testMeFromNullName() 53 assertEquals("me", strings.get(0).toString()); in testMeFromNullName() 59 final ArrayList<SpannableString> strings = Lists.newArrayList(); in testMeFromEmptyName() local 60 assertEquals(0, strings.size()); in testMeFromEmptyName() 63 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false); in testMeFromEmptyName() local 64 assertEquals(1, strings.size()); in testMeFromEmptyName() 65 assertEquals("me", strings.get(0).toString()); in testMeFromEmptyName() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InstallShortcutReceiver.java | 78 Set<String> strings = sharedPrefs.getStringSet(APPS_PENDING_INSTALL, null); in addToInstallQueue() local 79 if (strings == null) { in addToInstallQueue() 80 strings = new HashSet<String>(1); in addToInstallQueue() 82 strings = new HashSet<String>(strings); in addToInstallQueue() 84 strings.add(encoded); in addToInstallQueue() 85 sharedPrefs.edit().putStringSet(APPS_PENDING_INSTALL, strings).apply(); in addToInstallQueue() 97 Set<String> strings = sp.getStringSet(APPS_PENDING_INSTALL, null); in removeFromInstallQueue() local 99 Log.d(TAG, "APPS_PENDING_INSTALL: " + strings in removeFromInstallQueue() 102 if (strings != null) { in removeFromInstallQueue() 103 Set<String> newStrings = new HashSet<String>(strings); in removeFromInstallQueue() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | NameConverter.java | 192 String[] strings = phoneticName.split(" ", 3); in parsePhoneticName() local 193 switch (strings.length) { in parsePhoneticName() 195 family = strings[0]; in parsePhoneticName() 198 family = strings[0]; in parsePhoneticName() 199 given = strings[1]; in parsePhoneticName() 202 family = strings[0]; in parsePhoneticName() 203 middle = strings[1]; in parsePhoneticName() 204 given = strings[2]; in parsePhoneticName()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InstallShortcutReceiver.java | 70 Set<String> strings = sharedPrefs.getStringSet(key, null); in addToStringSet() local 71 if (strings == null) { in addToStringSet() 72 strings = new HashSet<String>(0); in addToStringSet() 74 strings = new HashSet<String>(strings); in addToStringSet() 76 strings.add(value); in addToStringSet() 77 editor.putStringSet(key, strings); in addToStringSet() 113 Set<String> strings = sharedPrefs.getStringSet(APPS_PENDING_INSTALL, null); in getAndClearInstallQueue() local 114 if (strings == null) { in getAndClearInstallQueue() 119 for (String json : strings) { in getAndClearInstallQueue()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | LevenshteinDistanceTest.java | 59 private Token[] makeTokens(String[] strings) { in makeTokens() argument 60 Token[] tokens = new Token[strings.length]; in makeTokens() 61 for (int i = 0; i < strings.length; i++) { in makeTokens() 62 String str = strings[i]; in makeTokens()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | MaterialSearchSuggestionsList.java | 117 protected List<SuggestionItem> doInBackground(String... strings) { in doInBackground() argument 118 String query = strings[0]; in doInBackground() 147 protected void onPostExecute(List<SuggestionItem> strings) { in onPostExecute() argument 153 mSuggestions.addAll(strings); in onPostExecute()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | features.md | 33 …* For example, you can read a UTF-8 file and let RapidJSON transcode the JSON strings into UTF-16 … 35 …* For example, you can read a UTF-8 file, and let RapidJSON check whether all JSON strings are val… 54 …N string values in-place at the source JSON, and then the DOM points to addresses of those strings. 55 …* Faster than convention parsing: no allocation for strings, no copy (if string does not contain e… 67 * Optimization for "short" strings
|
D | dom.md | 36 …strings stored in JSON files. Unicode-enabled functions in Windows use UTF-16 (wide character) enc… 114 `kParseValidateEncodingFlag` | Validate encoding of JSON strings. 176 In normal parsing process, a large overhead is to decode JSON strings and copy them to other buffer… 211 The JSON strings are marked as const-string. But they may not be really "constant". The life cycle … 220 4. If the DOM need to be used for long period after parsing, and there are few JSON strings in the …
|
D | faq.md | 69 … It can handle corner cases, such as supporting null character and surrogate pairs in JSON strings. 91 …*in situ* parsing decodes the JSON strings directly into the input JSON. This is an optimization w… 193 …` pairing with `EndArray()`) will assert. Besides, `Writer` will escapes strings (e.g., `\n`). Fin…
|
D | encoding.md | 120 … are designed for JSON parsing/generation, user may abuse them for transcoding of non-JSON strings.
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
D | DiscourseLoggerTest.java | 37 private static String[] s(String... strings) { in s() argument 38 return strings; in s()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | Authenticator.java | 43 public Bundle addAccount(AccountAuthenticatorResponse r, String s, String s2, String[] strings, in addAccount() argument 83 public Bundle hasFeatures(AccountAuthenticatorResponse r, Account account, String[] strings) in hasFeatures() argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | TextToSpeechFragment.java | 373 String[] strings = getActivity().getResources().getStringArray( in getDefaultSampleString() local 378 for (int i = 0; i < strings.length; ++i) { in getDefaultSampleString() 380 return strings[i]; in getDefaultSampleString()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 462 String[] strings = getActivity().getResources().getStringArray( in getDefaultSampleString() local 467 for (int i = 0; i < strings.length; ++i) { in getDefaultSampleString() 469 return strings[i]; in getDefaultSampleString()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/ |
D | Android.mk | 34 -Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls \
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Message.java | 633 String[] strings = new String[tokens.length]; in tokenizeAddresses() local 635 strings[i] = tokens[i].toString(); in tokenizeAddresses() 637 return strings; in tokenizeAddresses()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | Android.mk | 31 -Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls \
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiCategory.java | 243 final String[] strings = name.split("-"); in getCategoryId() local 244 return mCategoryNameToIdMap.get(strings[0]); in getCategoryId()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameSplitter.java | 307 private static HashSet<String> convertToSet(String strings) { in convertToSet() argument 309 if (strings != null) { in convertToSet() 310 String[] split = strings.split(","); in convertToSet()
|
D | ContactsDatabaseHelper.java | 5577 String[] strings = mContext.getResources().getStringArray( in loadNicknameLookupTable() local 5579 if (strings == null || strings.length == 0) { in loadNicknameLookupTable() 5588 for (int clusterId = 0; clusterId < strings.length; clusterId++) { in loadNicknameLookupTable() 5589 String[] names = strings[clusterId].split(","); in loadNicknameLookupTable()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataSaverBackend.java | 211 public void onMeteredIfacesChanged(String[] strings) throws RemoteException {
|
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
D | RecurrencePickerDialog.java | 1204 public EndSpinnerAdapter(Context context, ArrayList<CharSequence> strings, 1206 super(context, itemResourceId, strings); 1210 mStrings = strings;
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomServiceImplTest.java | 132 public AnyStringIn(Collection<String> strings) { in AnyStringIn() argument 133 this.mStrings = strings; in AnyStringIn()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | readme.md | 42 … example, you can read a UTF-8 file and let RapidJSON transcode the JSON strings into UTF-16 in th…
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 334 String strings[] = new String[ss.size()]; in getSharedPreference() local 335 return ss.toArray(strings); in getSharedPreference()
|