Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 85) sorted by relevance

1234

/build/tools/droiddoc/templates-pdk/assets/
Dsearch_autocomplete.js34 var i; //TR iterator
46 for (i=0; i<ROW_COUNT; i++) {
75 for (i=0; i<N; i++) {
76 r = filtered.rows[i];
78 set_row_values(toroot, r, gMatches[i]);
79 set_row_selected(r, i == gSelectedIndex);
80 if (i == gSelectedIndex) {
81 gSelectedID = gMatches[i].id;
85 for (; i<ROW_COUNT; i++) {
86 r = filtered.rows[i];
[all …]
Dandroid-developer-resource-browser.js25 for (var i = 0; i < loadedResults.length; i++) {
28 if (!resultMatchesKeyword(loadedResults[i].result, keywords[j])) {
34 loadedResults[i].node[hide ? 'hide' : 'show']();
75 for (var i = 0; i < ANDROID_RESOURCES.length; i++) {
76 var resource = ANDROID_RESOURCES[i];
109 var i, j;
112 for (i = 0; i < params.tag.length; i++) {
113 var tag = params.tag[i];
134 for (i = 0; i < ANDROID_RESOURCES.length; i++) {
135 var resource = ANDROID_RESOURCES[i];
[all …]
Djquery-1.6.2.min.js16i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&… function
17i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?…
Dandroid-developer-reference.js47 for (var i = maxLevel-1; i >= 0; i--) {
48 var option = $("<option />").attr("value",""+SINCE_DATA[i]).append(""+SINCE_DATA[i]);
89 apis.each(function(i) { argument
218 for (var i in mom.children_data) {
219 var node_data = mom.children_data[i];
220 mom.children[i] = new_node(me, mom, node_data[0], node_data[1],
256 for (var i in nodes) {
257 var d = nodes[i];
259 return new Array(i);
264 return (new Array(i).concat(result));
[all …]
/build/tools/
Dfindleaves.py39 i = 0
40 while i < len(dirs):
41 if dirs[i] in prune:
42 del dirs[i]
44 i += 1
72 i=1
73 while i<len(argv) and len(argv[i])>2 and argv[i][0:2] == "--":
74 arg = argv[i]
87 i += 1
88 if len(argv)-i < 2: # need both <dirlist> and <filename>
[all …]
Dwarn.py424 for i in text[1:]:
425 output(i + '<br>')
440 for i in warnpatterns:
441 if i['severity'] == severity.UNKNOWN:
442 unknown += len(i['members'])
443 elif i['severity'] != severity.SKIP:
444 known += len(i['members'])
455 for i in cat['patterns']:
456 pats += i
469 for i in warnpatterns:
[all …]
/build/tools/droiddoc/templates-sdk-dev/assets/js/
Ddocs.js48 for (var i=0; i<GCM_DATA.length; i++) {
49 GOOGLE_DATA.push({id:start+i, label:GCM_DATA[i].label,
50 link:GCM_DATA[i].link, type:GCM_DATA[i].type});
169 for (var i = 0; i < upDirs; i++) {
172 for (var i = 0; i < upDirs; i++) {
173 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
1213 function(i) { argument
1356 $links.each(function(i){ // for each link with a translation argument
1541 for (var i=0;i<tl;i++) {
1542 var li = $("<li>"+i+"</li>");
[all …]
Dprettify.js3i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c…
4i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.…
5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i…
8i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0…
12i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[…
22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
/build/tools/droiddoc/templates-ndk/assets/js/
Ddocs.js48 for (var i=0; i<GCM_DATA.length; i++) {
49 GOOGLE_DATA.push({id:start+i, label:GCM_DATA[i].label,
50 link:GCM_DATA[i].link, type:GCM_DATA[i].type});
169 for (var i = 0; i < upDirs; i++) {
172 for (var i = 0; i < upDirs; i++) {
173 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
1223 function(i) { argument
1366 $links.each(function(i){ // for each link with a translation argument
1551 for (var i=0;i<tl;i++) {
1552 var li = $("<li>"+i+"</li>");
[all …]
Dprettify.js3i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c…
4i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.…
5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i…
8i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0…
12i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[…
22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
/build/tools/releasetools/
Dcheck_target_files_signatures125 certs = [os.path.join(dirpath, i)
126 for i in filenames if i.endswith(".x509.pem")]
130 for i in to_load:
131 f = open(i)
134 name, _ = os.path.splitext(i)
334 for i in all_apks:
335 if i in self.apks:
336 if i in other.apks:
338 if self.apks[i].certs != other.apks[i].certs:
339 by_certpair.setdefault((other.apks[i].certs,
[all …]
Dcheck_target_files_signatures.py125 certs = [os.path.join(dirpath, i)
126 for i in filenames if i.endswith(".x509.pem")]
130 for i in to_load:
131 f = open(i)
134 name, _ = os.path.splitext(i)
334 for i in all_apks:
335 if i in self.apks:
336 if i in other.apks:
338 if self.apks[i].certs != other.apks[i].certs:
339 by_certpair.setdefault((other.apks[i].certs,
[all …]
Drangelib.py36 for i in range(0, len(self.data), 2):
37 yield self.data[i:i+2]
98 for i in source:
99 if i == last:
104 last = i
110 for i in range(0, len(self.data), 2):
111 s, e = self.data[i:i+2]
119 return str(len(self.data)) + "," + ",".join(str(i) for i in self.data)
205 for i, p in enumerate(self.data):
206 if i % 2:
[all …]
Dedify_generator.py91 cmd = (' ||\n '.join([('getprop("ro.build.fingerprint") == "%s"') % i
92 for i in fp]) +
102 cmd = (' ||\n '.join([('getprop("ro.build.thumbprint") == "%s"') % i
103 for i in fp]) +
152 "".join([', "%s"' % (i,) for i in sha1]) +
159 "".join([', "%s"' % (i,) for i in sha1]) +
200 for i in comment.split("\n"):
201 self.script.append("# " + i)
215 'tune2fs(' + "".join(['"%s", ' % (i,) for i in options]) +
243 cmd = "delete(" + ",\0".join(['"%s"' % (i,) for i in file_list]) + ");"
[all …]
Dota_from_target_files204 i = self.ITEMS.get(name, None)
205 if i is not None:
206 i.uid = int(uid)
207 i.gid = int(gid)
208 i.mode = int(mode, 8)
209 i.selabel = selabel
210 i.capabilities = capabilities
211 if i.is_dir:
212 i.children.sort(key=lambda i: i.name)
215 i = self.ITEMS.get("system/recovery-from-boot.p", None)
[all …]
Dota_from_target_files.py204 i = self.ITEMS.get(name, None)
205 if i is not None:
206 i.uid = int(uid)
207 i.gid = int(gid)
208 i.mode = int(mode, 8)
209 i.selabel = selabel
210 i.capabilities = capabilities
211 if i.is_dir:
212 i.children.sort(key=lambda i: i.name)
215 i = self.ITEMS.get("system/recovery-from-boot.p", None)
[all …]
/build/tools/droiddoc/templates-sdk/assets/js/
Dprettify.js3i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c…
4i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.…
5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i…
8i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0…
12i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[…
22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
Ddocs.js48 for (var i=0; i<GCM_DATA.length; i++) {
49 GOOGLE_DATA.push({id:start+i, label:GCM_DATA[i].label,
50 link:GCM_DATA[i].link, type:GCM_DATA[i].type});
138 for (var i = 0; i < upDirs; i++) {
141 for (var i = 0; i < upDirs; i++) {
142 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
1187 function(i) { argument
1515 for (var i=0;i<tl;i++) {
1516 var li = $("<li>"+i+"</li>");
1518 if (i==o.start) li.addClass('active');
[all …]
/build/tools/droiddoc/templates-ds/assets/js/
Dprettify.js3i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c…
4i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.…
5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i…
8i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0…
12i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[…
22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
Ddocs.js129 for (var i = 0; i < upDirs; i++) {
132 for (var i = 0; i < upDirs; i++) {
133 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
916 function(i) { argument
1041 $links.each(function(i){ // for each link with a translation argument
1229 for (var i=0;i<tl;i++) {
1230 var li = $("<li>"+i+"</li>");
1232 if (i==o.start) li.addClass('active');
1479 var i; //list item iterator
1484 for (i=0; i<ROW_COUNT; i++) {
[all …]
/build/tools/droiddoc/templates-sac/assets/js/
Dprettify.js3i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c…
4i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.…
5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i…
8i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0…
12i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[…
22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
Ddocs.js31 for (var i=0; i<GCM_DATA.length; i++) {
32 GOOGLE_DATA.push({id:start+i, label:GCM_DATA[i].label,
33 link:GCM_DATA[i].link, type:GCM_DATA[i].type});
152 for (var i = 0; i < upDirs; i++) {
155 for (var i = 0; i < upDirs; i++) {
156 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
320 …$("#jd-content").find("h2, h3").not(':first-child').each(function(i) { // have to skip the first h… argument
981 function(i) { argument
1106 $links.each(function(i){ // for each link with a translation argument
1293 for (var i=0;i<tl;i++) {
[all …]
/build/tools/rgb2565/
Dto565.c45 int i = 0; in to_565_raw_dither() local
56 int r = in[0] + error[i*3+0]; in to_565_raw_dither()
59 int g = in[1] + error[i*3+1]; in to_565_raw_dither()
62 int b = in[2] + error[i*3+2]; in to_565_raw_dither()
69 next_error[(i-1)*3+ch] += e * 3 / 16; \ in to_565_raw_dither()
70 next_error[(i)*3+ch] += e * 5 / 16; \ in to_565_raw_dither()
71 next_error[(i+1)*3+ch] += e * 1 / 16; \ in to_565_raw_dither()
72 error[(i+1)*3+ch] += e - ((e*1/16) + (e*3/16) + (e*5/16)); \ in to_565_raw_dither()
86 ++i; in to_565_raw_dither()
87 if (i == width) { in to_565_raw_dither()
[all …]
/build/tools/fs_config/
Dfs_config.c104 int i; in main() local
105 for (i = 0; i < 1024 && buffer[i]; ++i) { in main()
106 switch (buffer[i]) { in main()
108 buffer[i-is_dir] = '\0'; in main()
109 i = 1025; in main()
/build/tools/zipalign/
DZipFile.cpp212 int i; in readCentralDir() local
254 for (i = readAmount - 4; i >= 0; i--) { in readCentralDir()
255 if (buf[i] == 0x50 && in readCentralDir()
256 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir()
258 ALOGV("+++ Found EOCD at buf+%d\n", i); in readCentralDir()
262 if (i < 0) { in readCentralDir()
269 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir()
271 ALOGD("Failure reading %ld bytes of EOCD values", readAmount - i); in readCentralDir()
978 int i, count; in flush() local
995 for (i = 0; i < count; i++) { in flush()
[all …]

1234