Lines Matching refs:Usage
68 private Map<String, Map<String, Usage>> mFrequencies =
69 new HashMap<String, Map<String, Usage>>(100);
71 private Map<String, Map<String, Usage>> mLayoutAttributeFrequencies =
72 new HashMap<String, Map<String, Usage>>(100);
247 Map<String, Usage> attributeMap = mFrequencies.get(tag); in countAttributes()
249 attributeMap = new HashMap<String, Usage>(70); in countAttributes()
277 Usage usage = attributeMap.get(name); in countAttributes()
279 usage = new Usage(name); in countAttributes()
289 Map<String, Usage> attributeMap = mLayoutAttributeFrequencies.get(parentTag); in countLayoutAttributes()
291 attributeMap = new HashMap<String, Usage>(70); in countLayoutAttributes()
310 Usage usage = attributeMap.get(name); in countLayoutAttributes()
312 usage = new Usage(name); in countLayoutAttributes()
391 private static String processUageMap(String view, Map<String, Usage> map) { in processUageMap()
401 List<Usage> values = new ArrayList<Usage>(map.values()); in processUageMap()
408 for (Usage usage : values) { in processUageMap()
422 for (Usage usage : values) { in processUageMap()
550 Map<String, Usage> mergedUsages = new HashMap<String, Usage>(100); in listAdvanced()
552 for (Entry<String,Map<String,Usage>> entry : mFrequencies.entrySet()) { in listAdvanced()
558 Map<String, Usage> map = entry.getValue(); in listAdvanced()
559 for (Usage usage : map.values()) { in listAdvanced()
570 Usage merged = mergedUsages.get(attribute); in listAdvanced()
572 merged = new Usage(attribute); in listAdvanced()
582 for (Usage usage : mergedUsages.values()) { in listAdvanced()
606 private static class Usage implements Comparable<Usage> { class in Analyzer
611 public Usage(String attribute) { in Usage() method in Analyzer.Usage
623 public int compareTo(Usage o) { in compareTo()
654 Usage other = (Usage) obj; in equals()