Home | History | Annotate | Download | only in js

Lines Matching refs:toroot

11 var SITE_ROOT = toRoot + basePath.substring(1,basePath.indexOf("/",1));
21 $.getScript(toRoot + 'reference/lists.js');
23 $.getScript(toRoot + 'reference/gcm_lists.js', function(data, textStatus, jqxhr) {
26 $.getScript(toRoot + 'reference/gms_lists.js', function(data, textStatus, jqxhr) {
63 $("#search_autocomplete").keyup(function() {return search_changed(event, false, toRoot)});
358 $imgIcon = $('<img src="'+toRoot+'assets/images/resource-tutorial.png" alt=""/>');
363 $imgIcon = $('<img src="'+toRoot+'assets/images/resource-article.png" alt=""/>');
1044 init_default_navtree(toRoot);
1168 $(".toggle-content-img", div).attr("title", "hide").attr("src", toRoot
1174 $(".toggle-content-img", div).attr("title", "show").attr("src", toRoot
1538 function set_item_values(toroot, $li, match)
1542 $link.attr('href',toroot + match.link);
1563 function sync_selection_table(toroot)
1586 set_item_values(toroot, $li, gMatches[i]);
1600 set_item_values(toroot, $li, gGoogleMatches[i]);
1611 function search_changed(e, kd, toroot)
1717 sync_selection_table(toroot);
2023 return search_changed(event, false, toRoot);
2162 + "read <a href='" + toRoot + "training/basics/supporting-devices/platforms.html'"
2232 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2241 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2255 a.href = me.toroot + link;
2298 node.plus_img.src = me.toroot + "assets/images/triangle-opened-small.png";
2317 function this_page_relative(toroot)
2321 if (toroot.substr(0, 1) == "/") {
2322 if (full.substr(0, toroot.length) == toroot) {
2323 return full.substr(toroot.length);
2325 // the file isn't under toroot. Fail.
2329 if (toroot != "./") {
2330 toroot = "./" + toroot;
2333 if (toroot.substr(toroot.length-3, 3) == "../" || toroot == "./") {
2337 toroot = toroot.substr(0, toroot.length-3);
2339 } while (toroot != "" && toroot != "/");
2363 function init_default_navtree(toroot) {
2364 init_navtree("tree-list", toroot, NAVTREE_DATA);
2371 function init_navtree(navtree_id, toroot, root_nodes)
2374 me.toroot = toroot;
2388 me.this_page = this_page_relative(toroot);
2405 function init_google_navtree(navtree_id, toroot, root_nodes)
2408 me.toroot = toroot;
2465 child.href = me.toroot + link;
2494 init_default_google_navtree(toRoot);
2495 init_default_gcm_navtree(toRoot);
2501 init_default_tradefed_navtree(toRoot);
2505 function init_default_google_navtree(toroot) {
2506 init_google_navtree("gms-tree-list", toroot, GMS_NAVTREE_DATA);
2509 function init_default_gcm_navtree(toroot) {
2510 init_google_navtree("gcm-tree-list", toroot, GCM_NAVTREE_DATA);
2513 function init_default_tradefed_navtree(toroot) {
2514 init_google_navtree("tradefed-tree-list", toroot, NAVTREE_DATA);
2533 trigger.src = toRoot + "assets/images/triangle-opened.png";
2539 trigger.src = toRoot + "assets/images/triangle-closed.png";