Lines Matching refs:function
18 $(document).ready(function() {
23 $.getScript(toRoot + 'reference/gcm_lists.js', function(data, textStatus, jqxhr) {
26 $.getScript(toRoot + 'reference/gms_lists.js', function(data, textStatus, jqxhr) {
47 $('#nav-swap .fullscreen').click(function(){
63 $("#search_autocomplete").keyup(function() {return search_changed(event, false, toRoot)});
66 $('.search .close').click(function() {
75 $('.search').click(function() {
83 $("#btn-quicknav").click(function() {
95 var expand = function() {
100 var collapse = function() {
101 $('#quicknav').stop().animate({opacity:'0'}, 100, function() {
109 $("#search_autocomplete").focus(function() {
112 $("#search-container").mouseover(function() {
116 $("#search-container").mouseout(function() {
119 setTimeout(function(){
125 $("#search_autocomplete").blur(function() {
208 $selNavLink.parents('li.nav-section').each(function() {
289 .click(function() { return false; });
312 .click(function() { return false; });
320 $("#jd-content").find("h2, h3").not(':first-child').each(function(i) { // have to skip the first h2, which is "In this Document" with not:first-child
348 $classLinks.each(function(index) {
359 $lessons.each(function(index) {
377 $('#nav li.nav-section .nav-section-header').click(function() {
385 section.children('ul').slideUp(250, function() {
397 section.children('ul').slideDown(250, function() {
403 $(".scroll-pane").scroll(function(event) {
409 $(window).resize(function() {
427 $(window).scroll(function(event) {
497 $('.nav-section-header').find('a:eq(0)').click(function(evt) {
503 $('video.play-on-hover').bind('click', function(){
510 $('acronym,.tooltip-link').each(function() {
519 $target.hover(function() {
531 }, function() {
538 $('h2').click(function() {
577 .mousedown(function() {
579 .blur(function() {
607 function toggleFullscreen(enable) {
633 function setNavBarLeftPos() {
638 function updateSideNavPosition() {
652 function addLoadEvent(newfun) {
654 if (typeof window.onload != 'function') {
657 window.onload = function() {
674 addLoadEvent( function() {
684 function resizeNav(delay) {
758 function delayedReInitScrollbars(delay) {
779 function reInitScrollbars() {
780 var pane = $(".scroll-pane").each(function(){
791 function saveNavPanels() {
799 function restoreHeight(packageHeight) {
817 function scrollIntoView(nav) {
841 function showDialog(id) {
854 function readCookie(cookie) {
871 function writeCookie(cookie, val, section, expiration) {
914 function loadLast(cookiePath) {
929 $(window).unload(function(){
955 function toggle(obj, slide) {
979 function buildToggleLists() {
981 function(i) {
1021 function getNavPref() {
1029 function chooseDefaultNav() {
1039 function swapNav() {
1077 function getBaseUri(uri) {
1090 function requestAppendHL(uri) {
1104 function changeNavLang(lang) {
1106 $links.each(function(i){ // for each link with a translation
1115 function changeLangPref(lang, submit) {
1137 function loadLangPref() {
1144 function getLangPref() {
1161 function toggleContent(obj) {
1171 toggleMe.slideUp('fast', function() { // Wait until the animation is done before closing arrow
1183 function toggleExpandable(link,id) {
1193 function hideExpandable(ids) {
1234 * easing: easing function for transition
1241 (function($) {
1242 $.fn.dacSlideshow = function(o) {
1260 return this.each(function() {
1297 li.click(function() {
1308 $(o.btnPrev).click(function(e) {
1315 $(o.btnNext).click(function(e) {
1322 $(o.btnPause).click(function(e) {
1334 function startRotateTimer() {
1336 timer = setInterval(function() {
1346 function pauseRotateTimer() {
1352 function go(to) {
1366 function() {
1392 function css(el, prop) {
1395 function width(el) {
1398 function height(el) {
1436 * easing: easing function for transition
1442 (function($) {
1443 $.fn.dacTabbedList = function(o) {
1454 return this.each(function() {
1468 $(nav_li).click(function(e) {
1473 function go(to) {
1479 function() {
1495 function css(el, prop) {
1498 function width(el) {
1501 function height(el) {
1529 function set_item_selected($li, selected)
1538 function set_item_values(toroot, $li, match)
1545 function new_suggestion() {
1550 $li.mousedown(function() {
1553 $li.mouseover(function() {
1563 function sync_selection_table(toroot)
1611 function search_changed(e, kd, toroot)
1716 function rank_autocomplete_results(query, matches) {
1721 // helper function that gets the last occurence index of the given regex
1723 var _lastSearch = function(s, re) {
1736 // helper function that counts the occurrences of a given character in
1738 var _countChar = function(s, c) {
1750 var _resultScoreFn = function(result) {
1778 matches.sort(function(a,b){
1787 function highlight_autocomplete_result_labels(query) {
1806 function search_focus_changed(obj, focused)
1816 function submit_search() {
1825 function hideResults() {
1833 searchControl.setSearchStartingCallback(this, function(control, searcher, query) {});
1846 function loadSearchResults() {
1897 searchControl.setSearchStartingCallback(this, function(control, searcher, query) {
1914 google.setOnLoadCallback(function(){
1928 $(window).hashchange( function(){
1948 function updateResultTitle(query) {
1953 $("#search_autocomplete").keyup(function(event) {
1958 function addTabListeners() {
1961 $(tabHeaders[i]).attr("id",i).click(function() {
1964 setTimeout(function() {
1977 setTimeout(function(){$(tabHeaders[0]).click()},200);
1981 function getQuery(hash) {
1988 function escapeHTML(string) {
2008 $(document).ready(function() {
2022 function initSidenavHeightResize() {
2031 resize: function(event, ui) { resizeNav(); }, /* resize the nav while dragging */
2032 stop: function(event, ui) { saveNavPanels(); } /* once stopped, save the sizes to cookie */
2037 function updateSidenavFixedWidth() {
2048 function updateSidenavFullscreenWidth() {
2059 function buildApiLevelSelector() {
2083 function changeApiLevel() {
2114 function toggleVisisbleApis(selectedLevel, context) {
2116 apis.each(function(i) {
2149 function new_node(me, mom, text, link, children_data, api_level)
2170 node.expand_toggle.onclick = function() {
2211 node.get_children_ul = function() {
2227 function expand_node(me, node)
2248 function get_node(me, mom)
2258 function this_page_relative(toroot)
2285 function find_page(url, data)
2304 function init_default_navtree(toroot) {
2312 function init_navtree(navtree_id, toroot, root_nodes)
2322 me.node.get_children_ul = function() { return me.node.children_ul; };
2339 addLoadEvent(function() {
2346 function init_google_navtree(navtree_id, toroot, root_nodes)
2356 me.node.get_children_ul = function() { return me.node.children_ul; };
2365 function new_google_node(me, mom, text, link, children_data, api_level)
2372 node.get_children_ul = function() {
2416 function get_google_node(me, mom)
2434 function showGoogleRefTree() {
2441 function showTradefedRefTree() {
2446 function init_default_google_navtree(toroot) {
2450 function init_default_gcm_navtree(toroot) {
2454 function init_default_tradefed_navtree(toroot) {
2465 function toggleInherited(linkObj, expand) {
2492 function toggleAllInherited(linkObj, expand) {
2497 expandos.each(function(i) {
2502 expandos.each(function(i) {
2512 function toggleAllClassInherited() {
2516 toggles.each(function(i) {
2521 toggles.each(function(i) {
2530 function ensureAllInheritedExpanded() {
2532 toggles.each(function(i) {
2545 $(document).keydown( function(e) {