/sdk/chimpchat/src/com/android/chimpchat/core/ |
D | MultiSelectorText.java | 50 List<String> ids; in getViews() local 53 ids = Arrays.asList(response.split(" ")); in getViews() 61 if (ids.size() % 2 == 0) { in getViews() 63 for (int i = 0; i < ids.size()/2; i++) { in getViews() 65 Lists.newArrayList(ids.get(2 * i ), ids.get(2 * i + 1)); in getViews()
|
D | ChimpView.java | 38 private List<String> ids; field in ChimpView 41 public ChimpView(String viewType, List<String> ids) { in ChimpView() argument 43 this.ids = ids; in ChimpView() 52 return manager.queryView(viewType, ids, query); in queryView() 169 List<String> ids = Lists.newArrayList(results.get(2 * i), results.get(2 * i + 1)); in getChildren() local 170 ChimpView child = new ChimpView(ChimpView.ACCESSIBILITY_IDS, ids); in getChildren()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | BaseLayoutRuleTest.java | 60 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); in testCollectIds1() local 61 assertEquals(1, ids.size()); in testCollectIds1() 62 assertEquals("@+id/Button01", ids.keySet().iterator().next()); in testCollectIds1() 75 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); in testCollectIds2() local 76 assertEquals(0, ids.size()); in testCollectIds2() 110 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); in testCollectIds3() local 111 assertEquals(5, ids.size()); in testCollectIds3() 113 "@+id/Button012", "@+id/LinearLayout01"), ids.keySet()); in testCollectIds3() 118 assertEquals(Pair.of("@+id/LinearLayout01", "android.widget.LinearLayout"), ids in testCollectIds3()
|
D | LinearLayoutRuleTest.java | 161 List<String> ids = choices.getIds(); in testContextMenuCustom() local 163 assertEquals("wrap_content", ids.get(0)); in testContextMenuCustom() 165 assertEquals("match_parent", ids.get(1)); in testContextMenuCustom() 167 assertEquals("42dip", ids.get(2)); in testContextMenuCustom()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ChangeViewRefactoringTest.java | 44 String... ids) throws Exception { in checkRefactoring() argument 45 assertTrue(ids.length > 0); in checkRefactoring() 50 List<Element> selectedElements = getElements(info.mElement, ids); in checkRefactoring()
|
D | WrapInRefactoringTest.java | 45 private void checkRefactoring(String basename, String fqcn, String... ids) throws Exception { in checkRefactoring() argument 46 assertTrue(ids.length > 0); in checkRefactoring() 51 List<Element> selectedElements = getElements(info.mElement, ids); in checkRefactoring()
|
D | ExtractIncludeRefactoringTest.java | 135 int expectedModifiedFileCount, boolean createDiffs, String... ids) throws Exception { in checkRefactoring() argument 136 assertTrue(ids.length > 0); in checkRefactoring() 141 List<Element> selectedElements = getElements(info.mElement, ids); in checkRefactoring()
|
D | ExtractStyleRefactoringTest.java | 133 int expectedModifiedFileCount, String... ids) throws Exception { in checkRefactoring() argument 134 assertTrue(ids.length > 0); in checkRefactoring() 139 List<Element> selectedElements = getElements(info.mElement, ids); in checkRefactoring()
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
D | WrongIdDetector.java | 290 private static boolean idDefined(Set<String> ids, String id) { in idDefined() argument 291 if (ids == null) { in idDefined() 294 boolean definedLocally = ids.contains(id); in idDefined() 297 definedLocally = ids.contains(ID_PREFIX + in idDefined() 300 definedLocally = ids.contains(NEW_ID_PREFIX + in idDefined() 308 private List<String> getSpellingSuggestions(String id, Collection<String> ids) { in getSpellingSuggestions() argument 314 if (ids.size() > 0) { in getSpellingSuggestions() 315 for (String matchWith : ids) { in getSpellingSuggestions()
|
D | DuplicateIdDetector.java | 322 Layout(File file, Set<String> ids) { in Layout() argument 324 mIds = ids; in Layout() 387 Set<String> ids = mFileToIds.get(file); in IncludeGraph() local 388 if (ids != null && ids.size() > 0) { in IncludeGraph() 390 mFileToLayout.put(file, new Layout(file, ids)); in IncludeGraph() 501 Set<String> ids = new HashSet<String>(); in getIds() local 503 ids.addAll(layoutIds); in getIds() 521 if (ids.contains(id)) { in getIds() 585 ids.add(id); in getIds() 595 return ids; in getIds()
|
D | BuiltinIssueRegistry.java | 181 Set<String> ids = new HashSet<String>(); 184 assert !ids.contains(id) : "Duplicate id " + id; //$NON-NLS-1$ 185 ids.add(id);
|
/sdk/rule_api/src/com/android/ide/common/api/ |
D | RuleAction.java | 227 @NonNull List<String> ids, in createChoices() argument 233 ids, current, sortPriority, supportsMultipleNodes); in createChoices() 274 List<String> ids = new ArrayList<String>(itemCount); in createChoices() local 276 ids.add(pair.getFirst()); in createChoices() 280 ids, current, sortPriority, supportsMultipleNodes); in createChoices() 558 @NonNull List<String> ids, in Choices() argument 565 mIds = ids; in Choices() 737 @NonNull List<String> ids); in addChoices() argument
|
/sdk/chimpchat/src/com/android/chimpchat/ |
D | ChimpManager.java | 405 public String queryView(String idType, List<String> ids, String query) throws IOException { in queryView() argument 407 for(String id : ids) { in queryView() 428 List<String> ids = Arrays.asList(extra.split(" ")); in getRootView() local 429 if (!parseResponseForSuccess(response) || ids.size() != 2) { in getRootView() 432 ChimpView root = new ChimpView(ChimpView.ACCESSIBILITY_IDS, ids); in getRootView()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
D | XmlStringFileHelper.java | 97 TreeMap<String, String> ids = new TreeMap<String, String>(); in internalGetResIdsForFile() local 142 ids.put(id, text); in internalGetResIdsForFile() 157 return ids; in internalGetResIdsForFile()
|
D | ExtractStringInputPage.java | 411 Map<String, String> ids = mXmlHelper.getResIdsForFile(mProject, resFile); in updateStringValueCombo() local 418 mStringIdCombo.setItems(ids.keySet().toArray(new String[ids.size()])); in updateStringValueCombo()
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
D | MonkeyView.java | 159 int[] ids = impl.getAccessibilityIds(); in getAccessibilityIds() local 161 for (int i = 0; i < ids.length; i++) { in getAccessibilityIds() 162 pyIds.append(new PyInteger(ids[i])); in getAccessibilityIds()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | NewProjectWizardState.java | 248 String[] ids = newActivityName.split(AdtConstants.RE_DOT); in extractFromAndroidManifest() local 249 newActivityName = ids[ids.length - 1]; in extractFromAndroidManifest()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | BaseViewRule.java | 764 @NonNull List<String> ids) { 766 ids.add(TRUE_ID); 769 ids.add(FALSE_ID); 772 ids.add(RuleAction.SEPARATOR); 775 ids.add(CLEAR_ID); 793 @NonNull List<String> ids) { in addChoices() argument 795 ids.add(entry.getKey()); in addChoices() 800 ids.add(RuleAction.SEPARATOR); in addChoices() 803 ids.add(CLEAR_ID); in addChoices()
|
/sdk/lint/cli/src/com/android/tools/lint/ |
D | Main.java | 184 String[] ids = args[++index].split(","); in run() local 185 for (String id : ids) { in run() 210 String[] ids = args[++index].split(","); in run() local 211 for (String id : ids) { in run() 388 String[] ids = args[++index].split(","); in run() local 389 for (String id : ids) { in run() 414 String[] ids = args[++index].split(","); in run() local 415 for (String id : ids) { in run() 439 String[] ids = args[++index].split(","); in run() local 440 for (String id : ids) { in run()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | LintListDialog.java | 242 Set<String> ids = new HashSet<String>(); in widgetSelected() local 245 if (id != null && !ids.contains(id)) { in widgetSelected() 246 ids.add(id); in widgetSelected()
|
D | LintList.java | 359 Set<String> ids = types.keySet(); in getElements() local 361 mChildren = new HashMap<Object, Object[]>(ids.size()); in getElements() 362 mTypeCount = new HashMap<IMarker, Integer>(ids.size()); in getElements() 364 List<IMarker> topLevel = new ArrayList<IMarker>(ids.size()); in getElements() 365 for (String id : ids) { in getElements()
|
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/ |
D | DefaultConfiguration.java | 320 List<String> ids = new ArrayList<String>(idSet); in writeConfig() local 321 Collections.sort(ids); in writeConfig() 323 for (String id : ids) { in writeConfig()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | DomUtilities.java | 502 Set<String> ids = new HashSet<String>(); in getFreeWidgetId() local 509 ids.add(id.toLowerCase(Locale.US)); in getFreeWidgetId() 512 addLowercaseIds(element.getOwnerDocument().getDocumentElement(), ids); in getFreeWidgetId() local 521 } while (ids.contains(generated.toLowerCase(Locale.US))); in getFreeWidgetId()
|
D | DynamicContextMenu.java | 590 List<String> ids = mParentAction.getIds(); in addMenuItems() local 592 assert titles.size() == ids.size(); in addMenuItems() 596 for (int i = 0, n = Math.min(titles.size(), ids.size()); i < n; i++) { in addMenuItems() 597 final String id = ids.get(i); in addMenuItems()
|
D | LayoutActionBar.java | 385 List<String> ids = choices.getIds(); in addRadio() local 394 final String id = ids.get(i); in addRadio() 435 List<String> ids = choices.getIds(); in addDropdown() 440 final String id = ids.get(i); in addDropdown()
|