Home | History | Annotate | Download | only in src

Lines Matching refs:view

49  * attributes listed in ADT's extra-view-metadata.xml (which drives the common attributes
58 /** Number of attributes to print for each view */
67 /** Map from view id to map from attribute to frequency count */
108 // The -metadata flag takes a pointer to an ADT extra-view-metadata.xml file
260 // view is embedded within, not the view itself.
267 // Skip ids: they are (mostly) unrelated to the view type and the tool
363 + " for each view (excluding layout_ attributes) :");
369 for (String view : views) {
370 String top = processUageMap(view, mFrequencies.get(view));
372 mTopAttributes.put(view, top);
383 for (String view : views) {
384 String top = processUageMap(view, mLayoutAttributeFrequencies.get(view));
386 mTopLayoutAttributes.put(view, top);
391 private static String processUageMap(String view, Map<String, Usage> map) {
396 if (view.indexOf('.') != -1 && !view.startsWith("android.")) {
412 System.out.println("\n<" + view + ">:");
413 if (view.equals("#document")) {
477 String view = line.substring(start, end);
478 if (view.startsWith("android.widget.")) {
479 view = view.substring("android.widget.".length());
480 } else if (view.startsWith("android.view.")) {
481 view = view.substring("android.view.".length());
482 } else if (view.startsWith("android.webkit.")) {
483 view = view.substring("android.webkit.".length());
485 String top = mTopAttributes.get(view);
487 System.err.println("Warning: No frequency data for view " + view);
496 top = mTopLayoutAttributes.get(view);
513 for (String view : views) {
514 String top = mTopAttributes.get(view);
515 System.out.println(view + ": " + top);
522 for (String view : views) {
523 String top = mTopLayoutAttributes.get(view);
524 System.out.println(view + ": " + top);
549 // Merged usages across view types
553 String view = entry.getKey();
554 if (view.indexOf('.') != -1 && !view.startsWith("android.")) {