Home | History | Annotate | Download | only in gle2

Lines Matching defs:included

96     /** Map from a layout resource name to a set of layouts included by the given resource */
149 * Returns a list of resource names that are included by the given resource
151 * @param includer the resource name to return included layouts for
152 * @return the layouts included by the given resource
163 * @param included the file that is included
167 public List<Reference> getIncludedBy(IResource included) {
169 String mapKey = getMapKey(included);
172 String name = getResourceName(included);
190 * Returns true if the given resource is included from some other layout in the
193 * @param included the resource to check
194 * @return true if the file is included by some other layout
196 public boolean isIncluded(IResource included) {
198 String mapKey = getMapKey(included);
201 String name = getResourceName(included);
211 /* package */ List<String> getIncludedBy(String included) {
213 return mIncludedBy.get(included);
393 // Set up a reverse map, pointing from included files to the files that
394 // included them
400 List<String> included = entry.getValue();
401 setIncludedBy(includer, included);
525 * Parses the given XML content and extracts all the included URLs and returns them
528 * @return a list of included urls, or null
618 * Record the list of included layouts from the given layout
621 * @param included the layouts that were included by the including layout
625 /* package */ void setIncluded(String includer, List<String> included, boolean detectCycles) {
637 mIncludes.put(includer, included);
638 // Reverse mapping: for included items, point back to including file
639 setIncludedBy(includer, included);
646 /** Record the list of included layouts from the given layout */
647 private void setIncludedBy(String includer, List<String> included) {
648 for (String target : included) {
1061 * @return a collection of layout resources which cannot be included from
1081 List<String> included = getIncludedBy(refId);
1084 if (included == null) {
1085 included = baseIncluded;
1087 included = new ArrayList<String>(included);
1088 included.addAll(baseIncluded);
1092 if (included != null && included.size() > 0) {
1093 for (String id : included) {