Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 27) sorted by relevance

12

/build/tools/droiddoc/templates-sdk/assets/design/
Ddefault.js5 pagePath = pagePath.substr(SITE_ROOT.length);
6 if (pagePath == '' || pagePath.charAt(pagePath.length - 1) == '/') {
17 var upDirs = (SITE_ROOT.match(/(\.\.\/)+/) || [''])[0].length / 3;
22 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
24 relativePagePathParts.push(pathParts[pathParts.length - 1]);
33 if ($selNavLink.length) {
42 if ($prevListItem.length) {
55 if ($prevLink.length) {
75 if (!$nextLink.length) {
80 if ($nextLink.length) {
[all …]
/build/tools/droiddoc/templates-sdk/assets/js/
Ddefault.js96 if (pagePath == '' || pagePath.charAt(pagePath.length - 1) == '/') {
107 var upDirs = (SITE_ROOT.match(/(\.\.\/)+/) || [''])[0].length / 3;
112 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
114 relativePagePathParts.push(pathParts[pathParts.length - 1]);
122 if ($selNavLink.length) {
139 …var crossBoundaries = ($("body.design").length > 0) || ($("body.guide").length > 0) ? true : false…
140 if ($prevListItem.length) {
161 if ($prevLink.length) {
174 var training = $(".next-class-link").length; // decides whether to provide "next class" link
182 if($nextLink.length == 0) {
[all …]
Ddocs.js110 if (pagePath == '' || pagePath.charAt(pagePath.length - 1) == '/') {
121 var upDirs = (SITE_ROOT.match(/(\.\.\/)+/) || [''])[0].length / 3;
126 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
128 relativePagePathParts.push(pathParts[pathParts.length - 1]);
136 if ($selNavLink.length) {
153 var crossBoundaries = ($("body.design").length > 0) || ($("body.guide").length > 0) ? true :
155 if ($prevListItem.length) {
178 if ($prevLink.length) {
191 var training = $(".next-class-link").length; // decides whether to provide "next class" link
199 if($nextLink.length == 0) {
[all …]
Dprettify.js2 …=="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-…
3length;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+1]?…
4length;++c)i=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("]"…
5length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);r…
6length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return Re…
7 …ction e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n…
8length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;…
9length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p…
12 "");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/…
Dsearch_autocomplete.js142 if (gMatches.length > 0) {
144 var N = gMatches.length < ROW_COUNT ? gMatches.length : ROW_COUNT;
207 if (gSelectedIndex < gMatches.length-1
219 for (var i=0; i<DATA.length; i++) {
221 if (text.length != 0 &&
228 for (var i=0; i<gMatches.length; i++) {
242 if (!gMatches || !gMatches.length)
264 for (var i=0; i<s.length; i++)
298 for (var i=0; i<gMatches.length; i++) {
312 if (!gMatches || !gMatches.length)
[all …]
Ddroiddoc.js55 maxLevel = SINCE_DATA.length;
63 if (isNaN(minLevel) && minLevel.length) {
79 maxLevel = SINCE_DATA.length;
109 apiLevelEndIndex = apiLevelEndIndex != -1 ? apiLevelEndIndex : className.length;
111 if (apiLevel.length == 0) { // for odd cases when the since data is actually missing, just bail
254 if (full.substr(0, toroot.length) == toroot) {
255 return full.substr(toroot.length);
265 if (toroot.substr(toroot.length-3, 3) == "../" || toroot == "./") {
269 toroot = toroot.substr(0, toroot.length-3);
329 if (me.breadcrumbs != null && me.breadcrumbs.length != 0) {
Djquery-resizable.min.js12length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G…
19length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]…
29length;m++){if(j.options[n[m][0]]){n[m][1].apply(j.element,k)}}}},contains:function(k,j){return do…
40length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",s…
Dglobal-libraries-combined.js3length,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"&&(e[h… property
4length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g…
11length}a.ui=a.ui||{};if(a.ui.version)return;a.extend(a.ui,{version:"1.8.21",keyCode:{ALT:18,BACKSP…
15 …=="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-…
16length;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+1]?…
17length;++c)i=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("]"…
18length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);r…
19length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return Re…
20 …ction e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n…
21length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;…
[all …]
/build/tools/droiddoc/templates-pdk/assets/
Dsearch_autocomplete.js72 if (gMatches.length > 0) {
74 var N = gMatches.length < ROW_COUNT ? gMatches.length : ROW_COUNT;
129 if (gSelectedIndex < gMatches.length-1
140 for (var i=0; i<DATA.length; i++) {
142 if (text.length != 0 &&
149 for (var i=0; i<gMatches.length; i++) {
163 if (!gMatches || !gMatches.length)
185 for (var i=0; i<s.length; i++)
219 for (var i=0; i<gMatches.length; i++) {
233 if (!gMatches || !gMatches.length)
[all …]
Dandroid-developer-docs.js89 var valStart = index + myCookie.length;
92 valEnd = document.cookie.length;
133 } else if ($(".side-nav-resizable").length) {
143 if (devdocNav.length) { // only dev guide and sdk
152 if (lastSlashPos == (fullPageName.length - 1)) { // if the url ends in slash (add 'index.html')
155 var htmlPos = fullPageName.lastIndexOf(".html", fullPageName.length);
158 if ((link.length == 0) && (fullPageName.indexOf("/guide/") != -1)) {
161 while (link.length == 0) {
195 if (sidenav.length) {
214 if ($(".side-nav-resizable").length) {
[all …]
Dprettify.js11 …Ua,Va,Wa,O,Xa,Ya,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb],b=mb,c=0;c<a.length;++c)b+=O+a[c].repl…
13length;++d){var g=a.attributes[d];if(g.specified){b.push(xb);W(g,b)}}b.push(J);for(var i=a.firstCh…
15 …function q(j){for(var f=j.substring(1,j.length-1).match(new RegExp(Ub,R)),s=[],k=[],h=f[0]===M,e=h…
16length;++e){var A=k[e];if(A[0]<=E[1]+1)E[1]=Math.max(E[1],A[1]);else B.push(E=A)}var D=[L];h&&D.pu…
17length>=2&&u===L)f[e]=q(p);else if(u!==Q)f[e]=p.replace(/[a-zA-Z]/g,function(x){var B=x.charCodeAt…
18 …0,m=c.length;i<m;++i){var l=c.charAt(i);switch(l){case ic:d||(d=[]);d.push(c.substring(g,i));var n…
19 … i=0,m=b.length;i<m;++i){var l=b[i];if(l.length>1&&l.charAt(0)===I){if(!Wd.test(l))if(Xd.test(l)){…
20 …));i=v}else g.push(d,l)}else g.push(d,l)}else{var j=Sd(l);c.push(j);d+=j.length}}return{source:c.j…
21length;q<v;++q){var w=m[q],j=w[3];if(j)for(var f=j.length;--f>=0;)c[j.charAt(f)]=w;var s=w[1],k=P+…
22 …5))&&!(e&&e[1])){p=z;h=oc}p||(j[k]=h)}var x=v;v+=k.length;if(p){var B=e[1],E=k.indexOf(B),A=E+B.le…
Djquery-resizable.min.js12length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G…
19length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]…
29length;m++){if(j.options[n[m][0]]){n[m][1].apply(j.element,k)}}}},contains:function(k,j){return do…
40length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",s…
Dandroid-developer-reference.js26 var maxLevel = SINCE_DATA.length;
52 var maxLevel = SINCE_DATA.length;
87 apiLevelEndIndex = apiLevelEndIndex != -1 ? apiLevelEndIndex : className.length;
209 if (full.substr(0, toroot.length) == toroot) {
210 return full.substr(toroot.length);
220 if (toroot.substr(toroot.length-3, 3) == "../" || toroot == "./") {
224 toroot = toroot.substr(0, toroot.length-3);
284 if (me.breadcrumbs != null && me.breadcrumbs.length != 0) {
/build/tools/droiddoc/templates-sdk/assets/scroller/
Djquery.mousewheel.min.js12length;c;)a.event.fixHooks[b[--c]]=a.event.mouseHooks;a.event.special.mousewheel={setup:function()…
Djquery.jscrollpane.min.js10length&&b(aN.target).closest(aK).length)){return}var aM=aa,aL=I;switch(aN.keyCode){case 40:case 38…
/build/tools/signapk/
DSignApk.java153 byte[] bytes = new byte[(int) file.length()]; in readPrivateKey()
369 if (zipData[zipData.length-22] != 0x50 || in signWholeOutputFile()
370 zipData[zipData.length-21] != 0x4b || in signWholeOutputFile()
371 zipData[zipData.length-20] != 0x05 || in signWholeOutputFile()
372 zipData[zipData.length-19] != 0x06) { in signWholeOutputFile()
378 signature.update(zipData, 0, zipData.length-2); in signWholeOutputFile()
395 int signature_start = total_size - message.length - 1; in signWholeOutputFile()
417 for (int i = 0; i < b.length-3; ++i) { in signWholeOutputFile()
423 outputStream.write(zipData, 0, zipData.length-2); in signWholeOutputFile()
465 if (args.length != 4 && args.length != 5) { in main()
/build/tools/atree/
Datree.cpp112 if (g_outputBase.length() != 0) { in main()
123 if (g_dependency.length() != 0) { in main()
164 if (g_outputBase.length() == 0) { in main()
320 if (g_dependency.length() != 0) { in main()
Dfiles.cpp26 if (base.length() > 0 && leaf.length() > 0) { in path_append()
154 result = result.replace(pos, it->first.length(), it->second); in replace_variables()
155 pos += it->second.length(); in replace_variables()
Dfs.cpp115 if (path.length() != 0 and path[0] == '/') pos++; in mkdir_recursively()
/build/libs/host/
Dpseudolocalize.cpp76 const size_t I = source.length(); in pseudolocalize_string()
Dlist.java28 for (int i=0; i<array.length; i++) { in main()
/build/tools/zipalign/
DZipFile.cpp701 status_t ZipFile::copyPartialFpToFp(FILE* dstFp, FILE* srcFp, long length, in copyPartialFpToFp() argument
710 while (length) { in copyPartialFpToFp()
714 if (readSize > length) in copyPartialFpToFp()
715 readSize = length; in copyPartialFpToFp()
731 length -= readSize; in copyPartialFpToFp()
DZipFile.h234 status_t copyPartialFpToFp(FILE* dstFp, FILE* srcFp, long length,
/build/tools/releasetools/
Dedify_generator.py170 p.device, p.length, p.mount_point))
/build/tools/droiddoc/templates-sdk/assets/js/grid/
D960.gridder.js95 if (jQuery("#g-setup-" + d).length !== 0) {

12