/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidContentAssist.java | 193 Object[] choices = getChoicesForElement(parent, currentNode); in computeNonAttributeProposals() local 194 if (choices == null || choices.length == 0) { in computeNonAttributeProposals() 213 addMatchingProposals(proposals, choices, offset, in computeNonAttributeProposals() 232 Object[] choices = getChoicesForAttribute(parent, currentNode, currentUiNode, in computeAttributeProposals() local 234 if (choices == null || choices.length == 0) { in computeAttributeProposals() 247 addMatchingProposals(proposals, choices, offset, parentNode != null ? parentNode : null, in computeAttributeProposals() 352 Object[] choices = null; in getChoicesForAttribute() local 385 choices = getAttributeValueChoices(currAttrNode, attrInfo, value); in getChoicesForAttribute() 389 if (choices == null) { in getChoicesForAttribute() 407 choices = data.getAttributeValues(parent, attrInfo.name, greatGrandParentName); in getChoicesForAttribute() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | LayoutActionBar.java | 251 Choices choices = (Choices) newAction; in updateActions() local 252 String current = choices.getCurrent(); in updateActions() 293 RuleAction.Choices choices = (Choices) action; in addActions() local 294 if (!choices.isRadio()) { in addActions() 295 addDropdown(choices); in addActions() 298 addRadio(choices); in addActions() 382 private void addRadio(RuleAction.Choices choices) { in addRadio() argument 383 List<URL> icons = choices.getIconUrls(); in addRadio() 384 List<String> titles = choices.getTitles(); in addRadio() 385 List<String> ids = choices.getIds(); in addRadio() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestContentAssist.java | 60 List<Pair<String, String>> choices = new ArrayList<Pair<String, String>>(); in computeAttributeValues() local 70 choices.add(Pair.of(version.getCodename(), version.getCodename())); in computeAttributeValues() 72 choices.add(Pair.of(Integer.toString(apiLevel), target.getFullName())); in computeAttributeValues() 78 choices.add(Pair.of(Integer.toString(api), name)); in computeAttributeValues() 81 addMatchingProposals(proposals, choices.toArray(), offset, node, wordPrefix, in computeAttributeValues()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | LayoutContentAssist.java | 41 Object[] choices = super.getChoicesForElement(parent, currentNode); in getChoicesForElement() local 42 if (choices == null) { in getChoicesForElement() 58 return choices; in getChoicesForElement()
|
/sdk/rule_api/src/com/android/ide/common/api/ |
D | RuleAction.java | 192 NestedAction choices = new NestedAction(id, title, provider, callback, in createChoices() local 194 choices.setIconUrl(iconUrl); in createChoices() 195 return choices; in createChoices() 232 Choices choices = new Choices(id, title, callback, titles, iconUrls, in createChoices() local 234 choices.setIconUrl(iconUrl); in createChoices() 236 return choices; in createChoices() 279 Choices choices = new Choices(id, title, callback, titles, iconUrls, in createChoices() local 281 choices.setIconUrl(iconUrl); in createChoices() 282 return choices; in createChoices() 314 Choices choices = new DelayedChoices(id, title, callback, in createChoices() local [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
D | ValuesContentAssist.java | 209 String[] choices = UiResourceAttributeNode.computeResourceStringMatches( in computeTextValues() local 211 if (choices == null || choices.length == 0) { in computeTextValues() 220 for (String s : choices) { in computeTextValues() 227 choices = filtered.toArray(new String[filtered.size()]); in computeTextValues() 232 addMatchingProposals(proposals, choices, offset, currentNode, in computeTextValues()
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
D | MonkeyRunner.java | 173 Collection<String> choices = Collections2.transform(JythonUtils.getList(ap, 1), in choice() local 177 return choice(message, title, choices); in choice() 216 public static int choice(String message, String title, Collection<String> choices) { in choice() argument 217 Object[] possibleValues = choices.toArray(); in choice()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | LinearLayoutRuleTest.java | 159 RuleAction.Choices choices = (RuleAction.Choices) menuAction; in testContextMenuCustom() local 160 List<String> titles = choices.getTitles(); in testContextMenuCustom() 161 List<String> ids = choices.getIds(); in testContextMenuCustom() 168 assertEquals("42dip", choices.getCurrent()); in testContextMenuCustom() 192 RuleAction.Choices choices = (RuleAction.Choices) orientationAction; in testOrientation() local 193 IMenuCallback callback = choices.getCallback(); in testOrientation()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
D | UiResourceAttributeNode.java | 408 List<String> choices) { in sortAttributeChoices() argument 410 Collections.sort(choices, new Comparator<String>() { in sortAttributeChoices()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | BaseViewRule.java | 935 public Prop(String title, boolean isToggle, boolean isFlag, Map<String, String> choices, in Prop() argument 940 mChoices = choices; in Prop()
|