• Home
  • Raw
  • Download

Lines Matching refs:query

1282       query: this.data('query'),
1313 resources = resources || metadata.query(opts);
1940 var query = '[data-tab=' + $(this).data('tab') + ']';
1941 transitionWidget($tabs.filter(query));
2000 var query = window.matchMedia('(max-width: 719px)');
2001 if (query.matches) {
2004 query.addListener(makeTogglable);
2363 this.data_.all = window.metadata.query(this.data_.options);
2410 var initiallyCheckedValues = this.data_.options.query.replace(/,\s*/g, '+').split('+');
2803 opts.query = opts.carouselQuery;
2804 var resources = window.metadata.query(opts);
3103 function highlightString(label, query) { argument
3104 query = query || '';
3106 var queryRE = new RegExp('(' + query + ')', 'ig');
3110 $.fn.highlightMatches = function(query) { argument
3114 var highlighted = highlightString(label, query);
4787 window.metadata.query = (function($) { function
4792 var expressions = parseResourceQuery(opts.query || '');
4923 function parseResourceQuery(query) { argument
4926 var expressionStrs = query.split(',') || [];
4977 function search(query) { argument
4980 android: findDocsMatches(query, METADATA.androidReference),
4981 docs: findDocsMatches(query, METADATA.googleReference),
4982 resources: findResourceMatches(query)
4986 function findDocsMatches(query, data) { argument
4991 if (query.length !== 0 && s.label.toLowerCase().indexOf(query.toLowerCase()) !== -1) {
4996 rankAutocompleteApiResults(query, results);
5001 function findResourceMatches(query) { argument
5005 if (query.length >= 2) {
5010 var isAsciiOnly = /^[\u0000-\u007f]*$/.test(query);
5013 var queryRegex = new RegExp(exprBoundary + query.toLowerCase(), 'g');
5149 function rankAutocompleteApiResults(query, matches) { argument
5150 query = query || '';
5185 var queryLower = query.toLowerCase();
5354 function customSearch(query, start) { argument
5361 q: query,
5426 var query = results.queries.request[0].searchTerms;
5432 customSearch(query, start).then(function(results) {
5438 $.fn.customSearch = function(query, searchAppliance) { argument
5441 customSearch(query).then(function(results) {
5451 $.fn.dacSearchRenderHero = function(resources, query) { argument
5455 var resource = METADATA.searchHeroCollections[query];
5469 $.fn.dacSearchRenderReferences = function(results, query) { argument
5471 referenceCard.data('searchreferences.dac', {results: results, query: query}); property
5472 renderResults(referenceCard, results, query, false);
5511 function buildSuggestion(match, query) { argument
5515 link.highlightMatches(query);
5520 function buildResults(results, query) { argument
5522 return buildSuggestion(match, query);
5526 function renderAndroidResults(list, gMatches, query) { argument
5535 var resources = buildResults(gMatches, query);
5543 function renderGoogleDocsResults(list, gGoogleMatches, query) { argument
5549 var resources = buildResults(gGoogleMatches, query);
5556 function renderResults(referenceCard, results, query, expanded) { argument
5577 renderAndroidResults(list, results.android.slice(0, androidCount), query);
5578 renderGoogleDocsResults(list, results.docs.slice(0, googleCount - 1), query);
5606 renderResults(referenceCard, data.results, data.query, link.data('toggle') === 'show-more');
5615 function highlightPage(query, page) { argument
5616 page.find('.title').highlightMatches(query);
5619 $.fn.dacSearchRenderResources = function(gDocsMatches, query) { argument
5624 onRenderPage: highlightPage.bind(null, query)
5664 this.customSearch = $.fn.debounce(function(query) { argument
5665 $('#dac-custom-search-results').customSearch(query, this);
5680 var query = this.getUrlQuery();
5684 if (query != null && pathname !== '/index.html') {
5742 var query = this.getQuery();
5748 this.searchHistory.push(query);
5749 this.addQueryToUrl(query);
5760 var query = this.getUrlQuery();
5761 if (query != null && query !== this.getQuery()) {
5762 this.searchInput.val(query);
5794 var query = this.getQuery();
5797 this.render(query);
5800 Search.prototype.render = function(query) { argument
5801 if (this.lastQuery === query) { return; }
5803 if (query.length < 2) {
5804 query = '';
5807 this.lastQuery = query;
5808 this.searchResultsFor.text(query);
5817 this.customSearch(query);
5818 var metadataResults = metadata.search(query);
5819 this.searchResultsResources.dacSearchRenderResources(metadataResults.resources, query);
5820 this.searchResultsReference.dacSearchRenderReferences(metadataResults, query);
5822 var hasHero = this.searchResultsHero.dacSearchRenderHero(metadataResults.resources, query);
5823 var hasQuery = !!query;
5828 this.addQueryToUrl(query);
5832 Search.prototype.addQueryToUrl = function(query) { argument
5833 var hash = 'q=' + encodeURI(query);
5835 if (query) {
6551 var query = window.location.search.substring(1);
6552 var vars = query.split("&");