/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewIconCache.java | 97 /** Removes all the keys to applications that aren't in the passed in collection */ 98 public void retainAllApps(ArrayList<ApplicationInfo> keys) { 100 for (ApplicationInfo info : keys) { 105 /** Removes all the keys to shortcuts that aren't in the passed in collection */ 106 public void retainAllShortcuts(List<ResolveInfo> keys) { 108 for (ResolveInfo info : keys) { 113 /** Removes all the keys to widgets that aren't in the passed in collection */ 114 public void retainAllAppWidgets(List<AppWidgetProviderInfo> keys) { 116 for (AppWidgetProviderInfo info : keys) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PagedViewIconCache.java | 97 /** Removes all the keys to applications that aren't in the passed in collection */ 98 public void retainAllApps(ArrayList<AppInfo> keys) { 100 for (AppInfo info : keys) { 105 /** Removes all the keys to shortcuts that aren't in the passed in collection */ 106 public void retainAllShortcuts(List<ResolveInfo> keys) { 108 for (ResolveInfo info : keys) { 113 /** Removes all the keys to widgets that aren't in the passed in collection */ 114 public void retainAllAppWidgets(List<AppWidgetProviderInfo> keys) { 116 for (AppWidgetProviderInfo info : keys) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ObjectBrowser.py | 45 keys = dir(self.object) 47 for key in keys: 89 def keys(self): member in class:SequenceTreeItem 93 for key in self.keys(): 105 def keys(self): member in class:DictTreeItem 106 keys = self.object.keys() 108 keys.sort() 111 return keys
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ObjectBrowser.py | 45 keys = dir(self.object) 47 for key in keys: 89 def keys(self): member in class:SequenceTreeItem 93 for key in self.keys(): 105 def keys(self): member in class:DictTreeItem 106 keys = self.object.keys() 108 keys.sort() 111 return keys
|
/external/chromium_org/chrome/browser/extensions/api/proxy/ |
proxy_api.cc | 23 namespace keys = proxy_api_constants; 42 dict->SetBoolean(keys::kProxyEventFatal, true); 43 dict->SetString(keys::kProxyEventError, net::ErrorToString(error_code)); 44 dict->SetString(keys::kProxyEventDetails, std::string()); 49 keys::kProxyEventOnProxyError, args.Pass(), profile, true, GURL()); 52 keys::kProxyEventOnProxyError, args.Pass(), GURL()); 63 dict->SetBoolean(keys::kProxyEventFatal, false); 64 dict->SetString(keys::kProxyEventError, 73 dict->SetString(keys::kProxyEventDetails, error_msg); 78 keys::kProxyEventOnProxyError, args.Pass(), profile, true, GURL()) [all...] |
/external/chromium_org/ui/keyboard/resources/layouts/ |
system-qwerty.html | 16 <kb-key-sequence invert=true keys="'1234567890-=" 24 <kb-key-sequence keys="QWERTYUIOP"></kb-key-sequence> 25 <kb-key-sequence invert=true keys="[]\" 30 <kb-key-sequence keys="ASDFGHJKL"></kb-key-sequence> 31 <kb-key-sequence invert=true keys=";'" hintTexts=':"'> 38 <kb-key-sequence keys="ZXCVBNM"></kb-key-sequence> 39 <kb-key-sequence invert=true keys=",./" hintTexts="<>?"> 68 <kb-key-sequence keys="'1234567890-=" hintTexts="~!@#$%^&*()_+"> 76 <kb-key-sequence keys="qwertyuiop"></kb-key-sequence> 77 <kb-key-sequence keys="[]\" hintTexts="{}|"></kb-key-sequence [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
SparseSwitchDataPseudoInstruction.java | 42 private int[] keys; field in class:SparseSwitchDataPseudoInstruction 50 public SparseSwitchDataPseudoInstruction(int[] keys, int[] targets) { 53 if (keys.length != targets.length) { 54 throw new RuntimeException("The number of keys and targets don't match"); 66 this.keys = keys; 83 keys = new int[targetCount]; 87 keys[i] = NumberUtils.decodeInt(buffer, bufferIndex + 4 + i*4); 100 int key = keys[0]; 104 for (int i = 1; i < keys.length; i++) 106 assert key >= keys[i - 1]; local [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_special_storage_policy_unittest.cc | 11 namespace keys = extension_manifest_keys; 22 manifest.SetString(keys::kName, "Protected"); 23 manifest.SetString(keys::kVersion, "1"); 24 manifest.SetString(keys::kLaunchWebURL, "http://explicit/protected/start"); 28 manifest.Set(keys::kWebURLs, list); 44 manifest.SetString(keys::kName, "Unlimited"); 45 manifest.SetString(keys::kVersion, "1"); 46 manifest.SetString(keys::kLaunchWebURL, "http://explicit/unlimited/start"); 49 manifest.Set(keys::kPermissions, list); 53 manifest.Set(keys::kWebURLs, list) [all...] |
extension_webnavigation_api.cc | 23 namespace keys = extension_webnavigation_api_constants; 64 dict->SetInteger(keys::kTabIdKey, 66 dict->SetString(keys::kUrlKey, validated_url.spec()); 67 dict->SetInteger(keys::kFrameIdKey, GetFrameId(is_main_frame, frame_id)); 68 dict->SetString(keys::kRequestIdKey, 70 dict->SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(base::Time::Now())); 75 DispatchEvent(tab_contents->profile(), keys::kOnBeforeNavigate, json_args); 86 dict->SetInteger(keys::kTabIdKey, 88 dict->SetString(keys::kUrlKey, url.spec()); 89 dict->SetInteger(keys::kFrameIdKey, GetFrameId(is_main_frame, frame_id)) [all...] |
extension_bookmarks_module.cc | 38 namespace keys = extension_bookmarks_module_constants; 100 error_ = keys::kInvalidIdError; 107 error_ = keys::kEditBookmarksDisabled; 162 object_args->SetString(keys::kParentIdKey, 164 object_args->SetInteger(keys::kIndexKey, new_index); 165 object_args->SetString(keys::kOldParentIdKey, 167 object_args->SetInteger(keys::kOldIndexKey, old_index); 172 DispatchEvent(model->profile(), keys::kOnBookmarkMoved, json_args); 187 DispatchEvent(model->profile(), keys::kOnBookmarkCreated, json_args); 198 object_args->SetString(keys::kParentIdKey [all...] |
convert_user_script.cc | 26 namespace keys = extension_manifest_keys; 83 root->SetString(keys::kName, script.name()); 85 root->SetString(keys::kName, original_url.ExtractFileName()); 90 root->SetString(keys::kVersion, script.version()); 92 root->SetString(keys::kVersion, "1.0"); 94 root->SetString(keys::kDescription, script.description()); 95 root->SetString(keys::kPublicKey, key); 96 root->SetBoolean(keys::kConvertedFromUserScript, true); 124 content_script->Set(keys::kMatches, matches); 125 content_script->Set(keys::kIncludeGlobs, includes) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
SourcesPanelDescriptor.js | 87 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Up, WebInspector.KeyboardShortcut.Modifiers.Alt) 91 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Down, WebInspector.KeyboardShortcut.Modifiers.Alt) 95 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.PageUp, WebInspector.KeyboardShortcut.Modifiers.Alt) 99 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.PageDown, WebInspector.KeyboardShortcut.Modifiers.Alt) 103 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Enter, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) 107 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.F8), 108 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Backslash, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) 112 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.F10), 113 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.SingleQuote, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) 117 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.F11) [all...] |
/external/dropbear/ |
packet.c | 102 blocksize = ses.keys->recv_algo_crypt->blocksize; 159 blocksize = ses.keys->recv_algo_crypt->blocksize; 160 macsize = ses.keys->recv_algo_mac->hashsize; 195 if (ses.keys->recv_algo_crypt->cipherdesc == NULL) { 205 &ses.keys->recv_symmetric_struct) != CRYPT_OK) { 235 blocksize = ses.keys->recv_algo_crypt->blocksize; 236 macsize = ses.keys->recv_algo_mac->hashsize; 248 if (ses.keys->recv_algo_crypt->cipherdesc == NULL) { 259 &ses.keys->recv_symmetric_struct) != CRYPT_OK) { 291 if (ses.keys->recv_algo_comp == DROPBEAR_COMP_ZLIB) [all...] |
/external/chromium_org/chrome/common/extensions/ |
mime_types_handler.cc | 21 namespace keys = extensions::manifest_keys; 76 extension->GetManifestData(keys::kMimeTypesHandler)); 91 if (!extension->manifest()->GetList(keys::kMIMETypes, 108 extension->SetManifestData(keys::kMimeTypesHandler, info.release()); 112 const std::vector<std::string> MimeTypesHandlerParser::Keys() const { 113 return SingleKey(keys::kMIMETypes);
|
web_accessible_resources_handler.cc | 17 namespace keys = manifest_keys; 24 extension->GetManifestData(keys::kWebAccessibleResources)); 68 if (!extension->manifest()->GetList(keys::kWebAccessibleResources, 91 extension->SetManifestData(keys::kWebAccessibleResources, info.release()); 95 const std::vector<std::string> WebAccessibleResourcesHandler::Keys() const { 96 return SingleKey(keys::kWebAccessibleResources);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
test_parser_unittest.py | 52 self.assertTrue('test' in test_info.keys(), 'did not find a test file') 53 self.assertTrue('reference' in test_info.keys(), 'did not find a reference file') 55 self.assertFalse('refsupport' in test_info.keys(), 'there should be no refsupport files for this test') 56 self.assertFalse('jstest' in test_info.keys(), 'test should not have been analyzed as a jstest') 75 self.assertTrue('test' in test_info.keys(), 'did not find a test file') 76 self.assertTrue('reference' in test_info.keys(), 'did not find a reference file') 78 self.assertFalse('refsupport' in test_info.keys(), 'there should be no refsupport files for this test') 79 self.assertFalse('jstest' in test_info.keys(), 'test should not have been analyzed as a jstest') 101 self.assertTrue('test' in test_info.keys(), 'did not find a test file') 102 self.assertTrue('reference' in test_info.keys(), 'did not find a reference file' [all...] |
/external/qemu/android/avd/ |
keys.h | 15 /* Keys of the properties found in avd/name.ini and config.ini files. 17 * These keys must match their counterpart defined in 22 /* -- Keys used in avd/name.ini -- */ 34 /* -- Keys used in config.ini -- */ 36 /* the prefix of config.ini keys that will be used for search directories 41 /* the maximum number of search path keys we're going to read from the
|
/libcore/luni/src/test/java/tests/api/java/util/ |
ListResourceBundleTest.java | 36 Enumeration keys = bundle.getKeys(); local 38 while (keys.hasMoreElements()) { 39 result.addElement(keys.nextElement()); 56 Enumeration keys = bundle.getKeys(); local 59 while (keys.hasMoreElements()) { 60 result.addElement(bundle.handleGetObject((String)keys.nextElement()));
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ACBTree.m | 66 @synthesize keys; 90 keys = keyArray; 110 //tmp.keys[0] = kp; 174 [tnew insert:self.keys[numkeys-1] value:self index:0 split:&h]; 175 [tnew insert:q.keys[q.numkeys-1] value:q index:1 split:&h]; 202 ret = [t.keys[i].key compare:kstr]; 235 ret = [keys[i].key compare:kstr]; 289 self.keys[i] = tsb.keys[nkey]; 315 self.keys[i] = tsb.keys[nkey] [all...] |
/external/chromium_org/chrome/browser/extensions/ |
convert_user_script.cc | 30 namespace keys = manifest_keys; 89 root->SetString(keys::kName, script.name()); 91 root->SetString(keys::kName, original_url.ExtractFileName()); 96 root->SetString(keys::kVersion, script.version()); 98 root->SetString(keys::kVersion, "1.0"); 100 root->SetString(keys::kDescription, script.description()); 101 root->SetString(keys::kPublicKey, key); 102 root->SetBoolean(keys::kConvertedFromUserScript, true); 140 content_script->Set(keys::kMatches, matches); 141 content_script->Set(keys::kExcludeMatches, exclude_matches) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
idl_serializer.pm | 45 # keys in indeterminate order. We set options to change this: 50 # canonical: sort keys when writing JSON, so JSON always in same order, 66 # JSON.pm serializes Perl objects as hashes (with keys CLASS::KEY), 75 my @keys = keys %$jsonData; 76 return {} unless @keys; 78 my $class = determineClassFromKeys(@keys); 83 foreach my $key (@keys) { 96 my @keys = shift; 98 # Detect objects as hashes where all keys are of the form CLASS::KEY [all...] |
/external/marisa-trie/tests/ |
c-test.c | 92 const char *keys[8]; local 117 keys[0] = "apple"; 118 keys[1] = "and"; 119 keys[2] = "Bad"; 120 keys[3] = "apple"; 121 keys[4] = "app"; 123 ASSERT(marisa_build(trie, keys, 5, NULL, NULL, key_ids, 139 ASSERT(key_length == strlen(keys[i])); 140 ASSERT(strcmp(key_buf, keys[i]) == 0); 143 keys[i], MARISA_ZERO_TERMINATED, &key_id) == MARISA_OK) [all...] |
/external/marisa-trie/v0_1_5/tests/ |
c-test.c | 97 const char *keys[8]; local 124 keys[0] = "apple"; 125 keys[1] = "and"; 126 keys[2] = "Bad"; 127 keys[3] = "apple"; 128 keys[4] = "app"; 130 ASSERT(marisa_alpha_build(trie, keys, 5, NULL, NULL, key_ids, 147 ASSERT(key_length == strlen(keys[i])); 148 ASSERT(strcmp(key_buf, keys[i]) == 0); 151 keys[i], MARISA_ALPHA_ZERO_TERMINATED, &key_id) == MARISA_ALPHA_OK) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator_ImplTest.java | 83 int [] keys = {-10000, -512, -1, 0, 10000}; local 92 for (int j = 0; j < keys.length; j++) { 94 apgs[i].init(keys[j]); 96 + keys[j]); 101 apgs[i].init(keys[j], random); 103 + keys[j]); 108 apgs[i].init(keys[j], null); 110 + keys[j]);
|
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
counter_series.js | 33 var keys = Object.keys(this); 34 for (var i = 0; i < keys.length; i++) { 35 var key = keys[i]; 63 var keys = Object.keys(this); 64 for (var i = 0; i < keys.length; i++) { 65 var key = keys[i];
|