Home | History | Annotate | Download | only in editors

Lines Matching refs:id

37  * when available, and and include the most important attribute (id, name, or
67 String id = getAttributeNS(e, ANDROID_URI, ATTR_ID);
68 if (id == null || id.length() == 0) {
69 id = getAttributeNS(e, ANDROID_URI, ATTR_NAME);
70 if (id == null || id.length() == 0) {
71 id = e.getAttribute(ATTR_NAME);
72 if (id == null || id.length() == 0) {
73 id = getAttributeNS(e, ANDROID_URI, ATTR_TEXT);
74 if (id != null && id.length() > 15) {
75 id = id.substring(0, 12) + "...";
77 if (id == null || id.length() == 0) {
78 id = getAttributeNS(e, ANDROID_URI, ATTR_SRC);
79 if (id != null && id.length() > 0) {
80 if (id.startsWith(DRAWABLE_PREFIX)) {
81 id = id.substring(DRAWABLE_PREFIX.length());
84 id = e.getAttribute(ATTR_LAYOUT);
85 if (id != null && id.length() > 0) {
86 if (id.startsWith(LAYOUT_RESOURCE_PREFIX)) {
87 id = id.substring(LAYOUT_RESOURCE_PREFIX.length());
95 if (id != null && id.length() > 0) {
96 return text + ": " + id; //$NON-NLS-1$