Home | History | Annotate | Download | only in js

Lines Matching refs:toroot

12 var SITE_ROOT = toRoot + basePath.substring(1,basePath.indexOf("/",1));
25 $.getScript(toRoot + 'jd_lists_unified.js');
27 $.getScript(toRoot + 'reference/lists.js');
29 $.getScript(toRoot + 'reference/gcm_lists.js', function(data, textStatus, jqxhr) {
32 $.getScript(toRoot + 'reference/gms_lists.js', function(data, textStatus, jqxhr) {
397 $imgIcon = $('<img src="'+toRoot+'assets/images/resource-tutorial.png" '
403 $imgIcon = $('<img src="'+toRoot+'assets/images/resource-article.png" '
1150 init_default_navtree(toRoot);
1274 $(".toggle-content-img:eq(0)", div).attr("title", "hide").attr("src", toRoot
1282 $(".toggle-content-img", div).attr("title", "show").attr("src", toRoot
1658 function set_item_values(toroot, $li, match)
1662 $link.attr('href',toroot + match.link);
1665 function set_item_values_jd(toroot, $li, match)
1669 $link.attr('href',toroot + match.url);
1690 function sync_selection_table(toroot)
1719 set_item_values(toroot, $li, gMatches[i]);
1733 set_item_values(toroot, $li, gGoogleMatches[i]);
1773 set_item_values_jd(toroot, $li, sugg);
1819 * @param toroot A string for the site's root path
1822 function search_changed(e, kd, toroot)
2257 sync_selection_table(toroot);
2426 return search_changed(event, false, toRoot);
2588 return search_changed(event, false, toRoot);
2748 + "read <a href='" + toRoot + "training/basics/supporting-devices/platforms.html'"
2819 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2828 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2842 a.href = me.toroot + link;
2885 node.plus_img.src = me.toroot + "assets/images/triangle-opened-small.png";
2904 function this_page_relative(toroot)
2908 if (toroot.substr(0, 1) == "/") {
2909 if (full.substr(0, toroot.length) == toroot) {
2910 return full.substr(toroot.length);
2912 // the file isn't under toroot. Fail.
2916 if (toroot != "./") {
2917 toroottoroot;
2920 if (toroot.substr(toroot.length-3, 3) == "../" || toroot == "./") {
2924 toroot = toroot.substr(0, toroot.length-3);
2926 } while (toroot != "" && toroot != "/");
2950 function init_default_navtree(toroot) {
2952 $.getScript(toRoot + 'navtree_data.js', function(data, textStatus, jqxhr) {
2955 init_navtree("tree-list", toroot, NAVTREE_DATA);
2964 function init_navtree(navtree_id, toroot, root_nodes)
2967 me.toroot = toroot;
2981 me.this_page = this_page_relative(toroot);
3005 function init_google_navtree(navtree_id, toroot, root_nodes)
3008 me.toroot = toroot;
3064 child.href = me.toroot + link;
3127 $a = $('<a href="' + toRoot + node_data[NODE_HREF] + '" title="' + linkText + '" >'
3161 init_default_google_navtree(toRoot);
3162 init_default_gcm_navtree(toRoot);
3165 function init_default_google_navtree(toroot) {
3167 $.getScript(toRoot + 'gms_navtree_data.js', function(data, textStatus, jqxhr) {
3170 init_google_navtree("gms-tree-list", toroot, GMS_NAVTREE_DATA);
3177 function init_default_gcm_navtree(toroot) {
3179 $.getScript(toRoot + 'gcm_navtree_data.js', function(data, textStatus, jqxhr) {
3182 init_google_navtree("gcm-tree-list", toroot, GCM_NAVTREE_DATA);
3190 init_default_samples_navtree(toRoot);
3193 function init_default_samples_navtree(toroot) {
3195 $.getScript(toRoot + 'samples_navtree_data.js', function(data, textStatus, jqxhr) {
3230 trigger.src = toRoot + "assets/images/triangle-opened.png";
3236 trigger.src = toRoot + "assets/images/triangle-closed.png";
3794 url = toRoot + url;
3883 imgUrl = toRoot + imgUrl;
3887 .css('background-image', 'url(' + (imgUrl || toRoot +
3904 var urlPrefix = resource.image.indexOf("//") > -1 ? "" : toRoot;
3989 imgUrl = toRoot + imgUrl;
3993 linkUrl = toRoot + linkUrl;