| /packages/apps/Settings/src/com/android/settings/applications/ |
| ProcessStatsBase.java | 35 private static final String DURATION = "duration"; 37 protected static final String ARG_TRANSFER_STATS = "transfer_stats"; 38 protected static final String ARG_DURATION_INDEX = "duration_index"; 53 R.string.menu_duration_3h, R.string.menu_duration_6h, 54 R.string.menu_duration_12h, R.string.menu_duration_1d 59 private ArrayAdapter<String> mFilterAdapter; 106 mFilterAdapter = new ArrayAdapter<String>(getActivity(), R.layout.filter_spinner_item); 142 R.string.memory_usage, null, null, 0) [all...] |
| /packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
| GeneralPrefsFragment.java | 50 static final String AUTO_ADVANCE_WIDGET = "auto-advance-widget"; 52 static final String CALLED_FROM_TEST = "called-from-test"; 55 protected static final String REMOVAL_ACTIONS_GROUP = "removal-actions-group"; 119 final String key = preference.getKey(); 122 final String removalAction = newValue.toString(); 126 AUTO_ADVANCE_VALUES[mAutoAdvance.findIndexOfValue((String) newValue)]; 150 .setMessage(R.string.clear_history_dialog_message) 151 .setTitle(R.string.clear_history_dialog_title) 153 .setPositiveButton(R.string.clear, this) 154 .setNegativeButton(R.string.cancel, this [all...] |
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| ContactLookupKey.java | 33 public static final String PROFILE_LOOKUP_KEY = "profile"; 38 public String rawContactId; 39 public String key; 57 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { 65 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, 66 String accountName, long rawContactId, String sourceId, 67 String displayName) { 89 private static boolean appendEscapedSourceId(StringBuilder sb, String sourceId) 120 String string = lookupKey; local [all...] |
| /packages/services/Telephony/src/com/android/phone/ |
| GsmUmtsAdditionalCallOptions.java | 16 private static final String LOG_TAG = "GsmUmtsAdditionalCallOptions"; 19 private static final String BUTTON_CLIR_KEY = "button_clir_key"; 20 private static final String BUTTON_CW_KEY = "button_cw_key"; 38 getActionBar(), getResources(), R.string.additional_gsm_call_settings_with_label);
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/ |
| Cookie.py | 88 The load() method of a Cookie extracts cookies from a string. In a 98 within a string. Escaped quotation marks, nested semicolons, and other 136 the value to a string, when the values are set dictionary-style. 140 >>> C["string"] = "seven" 143 >>> C["string"].value 146 'Set-Cookie: number=7\r\nSet-Cookie: string=seven' 160 >>> C["string"] = "seven" 163 >>> C["string"].value 166 'Set-Cookie: number="I7\\012."\r\nSet-Cookie: string="S\'seven\'\\012p1\\012."' 177 Python string. String objects are *not* serialized. Similarly 213 import string namespace [all...] |
| tokenize.py | 9 the token (a string) 12 the original line (string) 29 import string, re namespace 65 # Tail end of ' string. 67 # Tail end of " string. 69 # Tail end of ''' string. 71 # Tail end of """ string. 74 # Single-line ' or " string. 75 String = group(r"[uUbB]?[rR]?'[^\n'\\]*(?:\\.[^\n'\\]*)*'", 90 PlainToken = group(Number, Funny, String, Name [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/ |
| test_associate.py | 5 import sys, os, string namespace
|
| test_dbshelve.py | 5 import os, string, sys namespace 62 for x in string.letters: 63 d[self.mk('S' + x)] = 10 * x # add a string 142 self.assertEqual(d.get(self.mk('bad key'), 'a string'), 'a string') 350 self.key_map = {} # map string keys to the number we gave them
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/distutils/command/ |
| build_ext.py | 11 import sys, os, string, re namespace 173 self.library_dirs = string.split(self.library_dirs, os.pathsep) 178 self.rpath = string.split(self.rpath, os.pathsep) 250 # The argument parsing will result in self.define being a string, but 259 # The option for macros to undefine is also a string from the 378 "must be the extension name (a string)") 634 all_dots = string.maketrans('/'+os.sep, '..') 674 ext_path = string.split(ext_name, '.') [all...] |
| install.py | 11 import sys, os, string, re namespace 23 from string import maketrans 328 py_version = (string.split(sys.version))[0] 428 opt_name = string.translate(self.negative_opt[opt_name], 432 opt_name = string.translate(opt_name, longopt_xlate) 551 self.extra_path = string.split(self.extra_path, ',') 560 "comma-separated string with 1 or 2 elements")
|
| sdist.py | 8 import string namespace 246 string.join(alts, ', '))
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/distutils/ |
| msvccompiler.py | 15 import string namespace 150 s = string.replace(s, k, v) 161 i = string.find(sys.version, prefix) 183 i = string.find(sys.version, prefix) 186 j = string.find(sys.version, ")", i) 281 for p in string.split(os.environ['path'], ';'): 286 os.environ['path'] = string.join(self.__paths, ';') 595 for p in string.split(os.environ['Path'],';'): 624 return string.split(self.__macros.sub(d[path]), ";") 626 return string.split(d[path], ";" [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
| Debugger.py | 351 import string namespace 352 sourceline = string.strip(sourceline)
|
| UndoDelegator.py | 1 import string namespace 254 alphanumeric = string.ascii_letters + string.digits + "_"
|
| configHandler.py | 22 import string namespace 37 cfgFile - string, fully specified configuration file name 300 fgBg - string ('fg'or'bg') or None, if None return a dictionary 326 type - string, 'default' or 'user' theme type 327 themeName - string, theme name 351 'string-foreground':'#000000', 352 'string-background':'#ffffff', 450 virtualEvent - string, name of the virtual event to test for, without 518 keySetName - string, name of key binding set 519 eventStr - string, the virtual event we want the binding for [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/pgen2/ |
| tokenize.py | 12 the token (a string) 15 the original line (string) 32 import string, re namespace 69 # Tail end of ' string. 71 # Tail end of " string. 73 # Tail end of ''' string. 75 # Tail end of """ string. 78 # Single-line ' or " string. 79 String = group(r"[uU]?[rR]?'[^\n'\\]*(?:\\.[^\n'\\]*)*'", 94 PlainToken = group(Number, Funny, String, Name [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
| aetypes.py | 9 import string namespace 47 return string.strip(self.enum) 114 return string.strip(self.type) 137 return string.strip(self.keyword) 176 return "%s %s %s" % (nice(self.obj1), string.strip(self.relo), nice(self.obj2)) 204 return "%s" % (string.strip(self.abso)) 231 string.strip(self.logc), 234 return "%s(%s)" % (string.strip(self.logc), nice(self.term))
|
| ic.py | 7 import string namespace 141 key2 = key[:string.index(key, '\245')+1] 154 key2 = key[:string.index(key, '\245')+1]
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
| Type_Names_Suite.py | 26 class string(aetools.ComponentItem): class in inherits:aetools.ComponentItem 27 """string - a string of characters """ 30 plain_text = string 32 plain_text = string 191 string._superclassnames = [] 192 string._privpropdict = { 194 string._privelemdict = { 388 'TEXT' : string,
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
| test_hashlib.py | 27 import string namespace 28 h = string.hexdigits
|
| /prebuilts/gdb/linux-x86/lib/python2.7/ |
| Cookie.py | 88 The load() method of a Cookie extracts cookies from a string. In a 98 within a string. Escaped quotation marks, nested semicolons, and other 136 the value to a string, when the values are set dictionary-style. 140 >>> C["string"] = "seven" 143 >>> C["string"].value 146 'Set-Cookie: number=7\r\nSet-Cookie: string=seven' 160 >>> C["string"] = "seven" 163 >>> C["string"].value 166 'Set-Cookie: number="I7\\012."\r\nSet-Cookie: string="S\'seven\'\\012p1\\012."' 177 Python string. String objects are *not* serialized. Similarly 213 import string namespace [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/ |
| test_associate.py | 5 import sys, os, string namespace
|
| test_dbshelve.py | 5 import os, string, sys namespace 62 for x in string.letters: 63 d[self.mk('S' + x)] = 10 * x # add a string 142 self.assertEqual(d.get(self.mk('bad key'), 'a string'), 'a string') 350 self.key_map = {} # map string keys to the number we gave them
|
| /prebuilts/gdb/linux-x86/lib/python2.7/distutils/command/ |
| build_ext.py | 11 import sys, os, string, re namespace 173 self.library_dirs = string.split(self.library_dirs, os.pathsep) 178 self.rpath = string.split(self.rpath, os.pathsep) 250 # The argument parsing will result in self.define being a string, but 259 # The option for macros to undefine is also a string from the 378 "must be the extension name (a string)") 634 all_dots = string.maketrans('/'+os.sep, '..') 674 ext_path = string.split(ext_name, '.') [all...] |
| install.py | 11 import sys, os, string, re namespace 23 from string import maketrans 328 py_version = (string.split(sys.version))[0] 428 opt_name = string.translate(self.negative_opt[opt_name], 432 opt_name = string.translate(opt_name, longopt_xlate) 551 self.extra_path = string.split(self.extra_path, ',') 560 "comma-separated string with 1 or 2 elements")
|