Home | History | Annotate | Download | only in assets

Lines Matching refs:resource

14   // Load tag and resource dataset.
22 $('#resource-browser-keyword-filter').keyup(function() {
58 * variable in the resource data JS file.
72 * Massage the ANDROID_RESOURCES resource list in the resource data JS file.
76 var resource = ANDROID_RESOURCES[i];
79 resource.tagsHash = {};
80 for (var j = 0; j < resource.tags.length; j++)
81 resource.tagsHash[resource.tags[j]] = true;
83 // Determine the type and topics of the resource by inspecting its tags.
84 resource.topics = [];
85 for (tag in resource.tagsHash)
88 resource.type = tag;
90 resource.topics.push(tag);
95 resource.topicsHtml = humanizeList(resource.topics, function(item) {
106 $('#resource-browser-search-params').empty();
107 $('#resource-browser-results').empty();
126 $('#resource-browser-search-params').html(taggedWithHtml.join('') + ':');
128 $('#resource-browser-search-params').html('Showing all technical resources:');
135 var resource = ANDROID_RESOURCES[i];
140 if (!(searchTags[j] in resource.tagsHash)) {
148 results.push(resource);
152 results.push(resource);
155 // Format and show the list of resource results.
157 $('#resource-browser-results .no-results').hide();
163 $('#resource-browser-results').append(resultJqNode);
168 $('#resource-browser-results .no-results').show();