Searched refs:strings (Results 1 – 25 of 32) sorted by relevance
12
70 Set<String> strings = sharedPrefs.getStringSet(key, null); in addToStringSet() local71 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() local114 if (strings == null) { in getAndClearInstallQueue()119 for (String json : strings) { in getAndClearInstallQueue()
107 String[] strings = phoneticName.split(" ", 3); in parsePhoneticName() local108 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()
59 private Token[] makeTokens(String[] strings) { in makeTokens() argument60 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()
221 public void userLog(String ...strings) { in userLog() argument224 if (strings.length == 1) { in userLog()225 logText = strings[0]; in userLog()228 for (String string: strings) { in userLog()
761 ArrayList<CharSequence> strings, ArrayList<Drawable> drawables, in ImageLabelAdapter() argument763 super(context, textViewResourceId, strings); in ImageLabelAdapter()764 mStrings = strings; in ImageLabelAdapter()773 ArrayList<CharSequence> strings, ArrayList<Drawable> drawables, in ImageLabelAdapter() argument776 super(context, textViewResourceId, strings); in ImageLabelAdapter()777 mStrings = strings; in ImageLabelAdapter()
272 String[] strings = getActivity().getResources().getStringArray( in getDefaultSampleString() local277 for (int i = 0; i < strings.length; ++i) { in getDefaultSampleString()279 return strings[i]; in getDefaultSampleString()
35 private static String[] s(String... strings) { in s() argument36 return strings; in s()
237 void userLog(String ...strings) { in userLog() argument238 mService.userLog(strings); in userLog()
95 public void userLog(String ...strings) { in userLog() argument96 mService.userLog(strings); in userLog()
307 private static HashSet<String> convertToSet(String strings) { in convertToSet() argument309 if (strings != null) { in convertToSet()310 String[] split = strings.split(","); in convertToSet()
4817 String[] strings = mContext.getResources().getStringArray( in loadNicknameLookupTable() local4819 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()
1181 public EndSpinnerAdapter(Context context, ArrayList<CharSequence> strings, in EndSpinnerAdapter() argument1183 super(context, itemResourceId, strings); in EndSpinnerAdapter()1187 mStrings = strings; in EndSpinnerAdapter()
31 -Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls -Wno-system-headers
91 // These texts' name should be aligned with the @string/<name> in values/strings.xml.
326 String strings[] = new String[ss.size()]; in getSharedPreference() local327 return ss.toArray(strings); in getSharedPreference()
2738 private int computeMaxStringWidth(int currentMax, String[] strings, Paint p) { in computeMaxStringWidth() argument2741 int len = strings.length; in computeMaxStringWidth()2743 float width = p.measureText(strings[i]); in computeMaxStringWidth()
2584 final String[] strings = mutators.split(","); in setEventDirty() local2586 for (String string : strings) { in setEventDirty()
122 # only done if one of the specified strings matches the left-hand part of
1dictionary=main:en_us,locale=en_US,description=English (US),date ...