Lines Matching refs:function
9 var mPagePath; // initialized in ready() function
23 $(document).ready(function() {
30 $.getScript(toRoot + 'reference/gcm_lists.js', function(data, textStatus, jqxhr) {
33 $.getScript(toRoot + 'reference/gms_lists.js', function(data, textStatus, jqxhr) {
48 $('body').keyup(function(event) {
55 $('#nav-swap .fullscreen').click(function(){
70 $('.search .close').click(function() {
82 $("#btn-quicknav").click(function() {
94 var expand = function() {
99 var collapse = function() {
100 $('#quicknav').stop().animate({opacity:'0'}, 100, function() {
108 $("#search_autocomplete").focus(function() {
111 $("#search-container").mouseover(function() {
115 $("#search-container").mouseout(function() {
118 setTimeout(function(){
124 $("#search_autocomplete").blur(function() {
285 .click(function() { return false; });
308 .click(function() { return false; });
327 $classLinks.each(function(index) {
338 $lessons.each(function(index) {
356 $('#nav li.nav-section .nav-section-header').click(function() {
364 section.children('ul').slideUp(250, function() {
376 section.children('ul').slideDown(250, function() {
382 $(".scroll-pane").scroll(function(event) {
388 $(window).resize(function() {
406 $(window).scroll(function(event) {
476 $('.nav-section-header').find('a:eq(0)').click(function(evt) {
482 $('video.play-on-hover').bind('click', function(){
489 $('acronym,.tooltip-link').each(function() {
498 $target.hover(function() {
510 }, function() {
517 $('h2').click(function() {
556 .mousedown(function() {
558 .blur(function() {
585 function highlightSidenav() {
596 $selNavLink.parents('li.nav-section').each(function() {
604 function toggleFullscreen(enable) {
630 function setNavBarLeftPos() {
635 function updateSideNavPosition() {
649 function addLoadEvent(newfun) {
651 if (typeof window.onload != 'function') {
654 window.onload = function() {
671 addLoadEvent( function() {
681 function resizeNav(delay) {
755 function delayedReInitScrollbars(delay) {
776 function reInitScrollbars() {
777 var pane = $(".scroll-pane").each(function(){
788 function saveNavPanels() {
796 function restoreHeight(packageHeight) {
814 function scrollIntoView(nav) {
838 function showDialog(id) {
851 function readCookie(cookie) {
868 function writeCookie(cookie, val, section, expiration) {
907 function toggle(obj, slide) {
928 function buildToggleLists() {
930 function(i) {
938 function hideNestedItems(list, toggle) {
982 function getNavPref() {
990 function chooseDefaultNav() {
1000 function swapNav() {
1038 function getBaseUri(uri) {
1051 function requestAppendHL(uri) {
1065 function changeNavLang(lang) {
1067 $links.each(function(i){ // for each link with a translation
1076 function changeLangPref(lang, submit) {
1098 function loadLangPref() {
1105 function getLangPref() {
1122 function toggleContent(obj) {
1132 toggleMe.slideUp('fast', function() { // Wait until the animation is done before closing arrow
1144 function toggleExpandable(link,id) {
1154 function hideExpandable(ids) {
1195 * easing: easing function for transition
1202 (function($) {
1203 $.fn.dacSlideshow = function(o) {
1221 return this.each(function() {
1258 li.click(function() {
1269 $(o.btnPrev).click(function(e) {
1276 $(o.btnNext).click(function(e) {
1283 $(o.btnPause).click(function(e) {
1295 function startRotateTimer() {
1297 timer = setInterval(function() {
1307 function pauseRotateTimer() {
1313 function go(to) {
1327 function() {
1353 function css(el, prop) {
1356 function width(el) {
1359 function height(el) {
1397 * easing: easing function for transition
1403 (function($) {
1404 $.fn.dacTabbedList = function(o) {
1415 return this.each(function() {
1429 $(nav_li).click(function(e) {
1434 function go(to) {
1440 function() {
1456 function css(el, prop) {
1459 function width(el) {
1462 function height(el) {
1496 function onSuggestionClick(link) {
1502 function set_item_selected($li, selected)
1511 function set_item_values(toroot, $li, match)
1518 function new_suggestion($list) {
1522 $li.mousedown(function() {
1525 $li.mouseover(function() {
1536 function sync_selection_table(toroot)
1658 function search_changed(e, kd, toroot)
1864 function rank_autocomplete_doc_results(query, matches) {
1869 var _resultScoreFn = function(match) {
1892 matches.sort(function(a,b){
1901 function rank_autocomplete_api_results(query, matches) {
1906 // helper function that gets the last occurence index of the given regex
1908 var _lastSearch = function(s, re) {
1921 // helper function that counts the occurrences of a given character in
1923 var _countChar = function(s, c) {
1935 var _resultScoreFn = function(result) {
1968 matches.sort(function(a,b){
1977 function highlight_autocomplete_result_labels(query) {
1996 function search_focus_changed(obj, focused)
2006 function submit_search() {
2015 function hideResults() {
2023 searchControl.setSearchStartingCallback(this, function(control, searcher, query) {});
2026 $("#search_autocomplete").keyup(function(event) {
2040 google.load('search', '1', {"callback" : function() {
2044 function loadSearchResults() {
2103 searchControl.setSearchStartingCallback(this, function(control, searcher, query) {
2110 searchControl.setSearchCompleteCallback(this, function(control, searcher, query) {
2126 google.setOnLoadCallback(function(){
2140 $(window).hashchange( function(){
2160 function updateResultTitle(query) {
2165 $("#search_autocomplete").keyup(function(event) {
2170 function addTabListeners() {
2173 $(tabHeaders[i]).attr("id",i).click(function() {
2176 setTimeout(function() {
2189 setTimeout(function(){$(tabHeaders[0]).click()},200);
2193 function addResultClickListeners() {
2194 $("#searchResults a.gs-title").each(function(index, link) {
2196 $(link).click(function() {
2204 function getQuery(hash) {
2211 function escapeHTML(string) {
2231 $(document).ready(function() {
2245 function initSidenavHeightResize() {
2254 resize: function(event, ui) { resizeNav(); }, /* resize the nav while dragging */
2255 stop: function(event, ui) { saveNavPanels(); } /* once stopped, save the sizes to cookie */
2260 function updateSidenavFixedWidth() {
2271 function updateSidenavFullscreenWidth() {
2282 function buildApiLevelSelector() {
2306 function changeApiLevel() {
2337 function toggleVisisbleApis(selectedLevel, context) {
2339 apis.each(function(i) {
2372 function new_node(me, mom, text, link, children_data, api_level)
2393 node.expand_toggle.onclick = function() {
2434 node.get_children_ul = function() {
2450 function expand_node(me, node)
2471 function get_node(me, mom)
2481 function this_page_relative(toroot)
2508 function find_page(url, data)
2527 function init_default_navtree(toroot) {
2529 $.getScript(toRoot + 'navtree_data.js', function(data, textStatus, jqxhr) {
2541 function init_navtree(navtree_id, toroot, root_nodes)
2551 me.node.get_children_ul = function() { return me.node.children_ul; };
2568 addLoadEvent(function() {
2575 function init_google_navtree(navtree_id, toroot, root_nodes)
2585 me.node.get_children_ul = function() { return me.node.children_ul; };
2593 function new_google_node(me, mom, text, link, children_data, api_level)
2600 node.get_children_ul = function() {
2644 function get_google_node(me, mom)
2659 function showGoogleRefTree() {
2664 function init_default_google_navtree(toroot) {
2666 $.getScript(toRoot + 'gms_navtree_data.js', function(data, textStatus, jqxhr) {
2676 function init_default_gcm_navtree(toroot) {
2678 $.getScript(toRoot + 'gcm_navtree_data.js', function(data, textStatus, jqxhr) {
2695 function toggleInherited(linkObj, expand) {
2722 function toggleAllInherited(linkObj, expand) {
2727 expandos.each(function(i) {
2732 expandos.each(function(i) {
2742 function toggleAllClassInherited() {
2746 toggles.each(function(i) {
2751 toggles.each(function(i) {
2760 function ensureAllInheritedExpanded() {
2762 toggles.each(function(i) {
2775 $(document).keydown( function(e) {