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)
1708 sync_selection_table(toroot);
1954 return search_changed(event, false, toRoot);
2103 + "read <a href='" + toRoot + "training/basics/supporting-devices/platforms.html'"
2173 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2182 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2196 a.href = me.toroot + link;
2239 node.plus_img.src = me.toroot + "assets/images/triangle-opened-small.png";
2258 function this_page_relative(toroot)
2262 if (toroot.substr(0, 1) == "/") {
2263 if (full.substr(0, toroot.length) == toroot) {
2264 return full.substr(toroot.length);
2266 // the file isn't under toroot. Fail.
2270 if (toroot != "./") {
2271 toroot = "./" + toroot;
2274 if (toroot.substr(toroot.length-3, 3) == "../" || toroot == "./") {
2278 toroot = toroot.substr(0, toroot.length-3);
2280 } while (toroot != "" && toroot != "/");
2304 function init_default_navtree(toroot) {
2305 init_navtree("tree-list", toroot, NAVTREE_DATA);
2312 function init_navtree(navtree_id, toroot, root_nodes)
2315 me.toroot = toroot;
2329 me.this_page = this_page_relative(toroot);
2346 function init_google_navtree(navtree_id, toroot, root_nodes)
2349 me.toroot = toroot;
2406 child.href = me.toroot + link;
2435 init_default_google_navtree(toRoot);
2436 init_default_gcm_navtree(toRoot);
2442 init_default_tradefed_navtree(toRoot);
2446 function init_default_google_navtree(toroot) {
2447 init_google_navtree("gms-tree-list", toroot, GMS_NAVTREE_DATA);
2450 function init_default_gcm_navtree(toroot) {
2451 init_google_navtree("gcm-tree-list", toroot, GCM_NAVTREE_DATA);
2454 function init_default_tradefed_navtree(toroot) {
2455 init_google_navtree("tradefed-tree-list", toroot, NAVTREE_DATA);
2474 trigger.src = toRoot + "assets/images/triangle-opened.png";
2480 trigger.src = toRoot + "assets/images/triangle-closed.png";