Home | History | Annotate | Download | only in layout

Lines Matching refs:existing

92         Set<String> existing = new HashSet<String>();
96 new BaseLayoutRule().collectExistingIds(node, existing);
98 assertEquals(2, existing.size());
99 assertContainsSame(Arrays.asList("@+id/Button2", "@+id/Button012"), existing);
209 Set<String> existing = new HashSet<String>();
210 assertEquals("@+id/Widget01", baseLayout.findNewId("a.w.Widget", existing));
212 existing.add("@+id/Widget01");
213 assertEquals("@+id/Widget02", baseLayout.findNewId("a.w.Widget", existing));
215 existing.add("@+id/Widget02");
216 assertEquals("@+id/Widget03", baseLayout.findNewId("a.w.Widget", existing));
218 existing.remove("@+id/Widget02");
219 assertEquals("@+id/Widget02", baseLayout.findNewId("a.w.Widget", existing));