Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Launcher2/src/com/android/launcher2/
DInstallShortcutReceiver.java70 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/Contacts/src/com/android/contacts/editor/
DPhoneticNameEditorView.java107 String[] strings = phoneticName.split(" ", 3); in parsePhoneticName() local
108 switch (strings.length) { in parsePhoneticName()
110 family = strings[0]; in parsePhoneticName()
113 family = strings[0]; in parsePhoneticName()
114 given = strings[1]; in parsePhoneticName()
117 family = strings[0]; in parsePhoneticName()
118 middle = strings[1]; in parsePhoneticName()
119 given = strings[2]; in parsePhoneticName()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DLevenshteinDistanceTest.java59 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/Exchange/exchange2/src/com/android/exchange/
DAbstractSyncService.java221 public void userLog(String ...strings) { in userLog() argument
224 if (strings.length == 1) { in userLog()
225 logText = strings[0]; in userLog()
228 for (String string: strings) { in userLog()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java761 ArrayList<CharSequence> strings, ArrayList<Drawable> drawables, in ImageLabelAdapter() argument
763 super(context, textViewResourceId, strings); in ImageLabelAdapter()
764 mStrings = strings; in ImageLabelAdapter()
773 ArrayList<CharSequence> strings, ArrayList<Drawable> drawables, in ImageLabelAdapter() argument
776 super(context, textViewResourceId, strings); in ImageLabelAdapter()
777 mStrings = strings; in ImageLabelAdapter()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java272 String[] strings = getActivity().getResources().getStringArray( in getDefaultSampleString() local
277 for (int i = 0; i < strings.length; ++i) { in getDefaultSampleString()
279 return strings[i]; in getDefaultSampleString()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DDiscourseLoggerTest.java35 private static String[] s(String... strings) { in s() argument
36 return strings; in s()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DAbstractSyncParser.java237 void userLog(String ...strings) { in userLog() argument
238 mService.userLog(strings); in userLog()
DAbstractSyncAdapter.java95 public void userLog(String ...strings) { in userLog() argument
96 mService.userLog(strings); in userLog()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java307 private static HashSet<String> convertToSet(String strings) { in convertToSet() argument
309 if (strings != null) { in convertToSet()
310 String[] split = strings.split(","); in convertToSet()
DContactsDatabaseHelper.java4817 String[] strings = mContext.getResources().getStringArray( in loadNicknameLookupTable() local
4819 if (strings == null || strings.length == 0) { in loadNicknameLookupTable()
4828 for (int clusterId = 0; clusterId < strings.length; clusterId++) { in loadNicknameLookupTable()
4829 String[] names = strings[clusterId].split(","); in loadNicknameLookupTable()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java1181 public EndSpinnerAdapter(Context context, ArrayList<CharSequence> strings, in EndSpinnerAdapter() argument
1183 super(context, itemResourceId, strings); in EndSpinnerAdapter()
1187 mStrings = strings; in EndSpinnerAdapter()
/packages/inputmethods/LatinIME/native/jni/
DAndroid.mk31 -Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls -Wno-system-headers
/packages/inputmethods/LatinIME/tools/maketext/res/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSet.tmpl91 // These texts' name should be aligned with the @string/<name> in values/strings.xml.
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java326 String strings[] = new String[ss.size()]; in getSharedPreference() local
327 return ss.toArray(strings); in getSharedPreference()
DDayView.java2738 private int computeMaxStringWidth(int currentMax, String[] strings, Paint p) { in computeMaxStringWidth() argument
2741 int len = strings.length; in computeMaxStringWidth()
2743 float width = p.measureText(strings[i]); in computeMaxStringWidth()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java2584 final String[] strings = mutators.split(","); in setEventDirty() local
2586 for (String string : strings) { in setEventDirty()
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile122 # only done if one of the specified strings matches the left-hand part of
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile122 # only done if one of the specified strings matches the left-hand part of
/packages/apps/Gallery2/jni_mosaic/feature_stab/doc/
Ddbreg_API_doxyfile122 # only done if one of the specified strings matches the left-hand part of
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile122 # only done if one of the specified strings matches the left-hand part of
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile122 # only done if one of the specified strings matches the left-hand part of
/packages/apps/Gallery2/jni_mosaic/feature_mos/doc/
Dfeature_mos_API_doxyfile122 # only done if one of the specified strings matches the left-hand part of
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...

12