Lines Matching defs:attributes
55 NamedNodeMap attributes = node.getAttributes();
57 if (attributes != null) {
58 int length = attributes.getLength();
60 Node attr = attributes.item(i);
107 Map<String, String> attributes, Menu root) {
113 if (attributes != null) {
114 for (Map.Entry<String, String> entry : attributes.entrySet()) {
116 menuNode.attributes.put(entry.getKey(),
131 private final TestAttributeSet attributes;
135 public MenuNode(String name, Map<String, String> attributes) {
137 this.attributes = new TestAttributeSet(attributes,
157 TestAttributeSet attributes = child.attributes;
159 attributes.validateStrictI18n();
163 SubMenu sub = root.addSubMenu(groupId, attributes
165 0, attributes.getAttributeValue("android", "title"));
169 MenuItem menuItem = root.add(groupId, attributes
171 0, attributes.getAttributeValue("android", "title"));
174 int newGroupId = attributes.getAttributeResourceValue("android", "id", 0);