Lines Matching refs:usage
277 Usage usage = attributeMap.get(name); in countAttributes() local
278 if (usage == null) { in countAttributes()
279 usage = new Usage(name); in countAttributes()
281 usage.incrementCount(); in countAttributes()
283 attributeMap.put(name, usage); in countAttributes()
310 Usage usage = attributeMap.get(name); in countLayoutAttributes() local
311 if (usage == null) { in countLayoutAttributes()
312 usage = new Usage(name); in countLayoutAttributes()
314 usage.incrementCount(); in countLayoutAttributes()
316 attributeMap.put(name, usage); in countLayoutAttributes()
408 for (Usage usage : values) { in processUageMap()
409 totalCount += usage.count; in processUageMap()
422 for (Usage usage : values) { in processUageMap()
423 if (count++ >= ATTRIBUTE_COUNT && usage.count < prevCount) { in processUageMap()
427 float percentage = 100 * usage.count/(float)totalCount; in processUageMap()
431 System.out.printf(" %1d. %5d %5.1f%% %s\n", place, usage.count, in processUageMap()
432 percentage, usage.attribute); in processUageMap()
435 if (prevCount != usage.count) { in processUageMap()
436 prevCount = usage.count; in processUageMap()
444 String name = usage.attribute; in processUageMap()
559 for (Usage usage : map.values()) { in listAdvanced()
567 String attribute = usage.attribute; in listAdvanced()
573 merged.count = usage.count; in listAdvanced()
576 merged.count += usage.count; in listAdvanced()
582 for (Usage usage : mergedUsages.values()) { in listAdvanced()
583 String attribute = usage.attribute; in listAdvanced()
584 if (usage.count < 4) { in listAdvanced()
585 System.out.println("Only found " + usage.count + " usage of " + usage.attribute); in listAdvanced()