/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | LayoutActionBar.java | 253 Choices choices = (Choices) newAction; in updateActions() local 254 String current = choices.getCurrent(); in updateActions() 295 RuleAction.Choices choices = (Choices) action; in addActions() local 296 if (!choices.isRadio()) { in addActions() 297 addDropdown(choices); in addActions() 300 addRadio(choices); in addActions() 384 private void addRadio(RuleAction.Choices choices) { in addRadio() argument 385 List<URL> icons = choices.getIconUrls(); in addRadio() 386 List<String> titles = choices.getTitles(); in addRadio() 387 List<String> ids = choices.getIds(); in addRadio() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidContentAssist.java | 199 Object[] choices = getChoicesForElement(parent, currentNode); in computeNonAttributeProposals() local 200 if (choices == null || choices.length == 0) { in computeNonAttributeProposals() 219 addMatchingProposals(proposals, choices, offset, in computeNonAttributeProposals() 240 Object[] choices = getChoicesForAttribute(parent, currentNode, currentUiNode, in computeAttributeProposals() local 242 if (choices == null || choices.length == 0) { in computeAttributeProposals() 255 addMatchingProposals(proposals, choices, offset, parentNode != null ? parentNode : null, in computeAttributeProposals() 360 Object[] choices = null; in getChoicesForAttribute() local 393 choices = getAttributeValueChoices(currAttrNode, attrInfo, value); in getChoicesForAttribute() 397 if (choices == null) { in getChoicesForAttribute() 415 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/manifest/ |
D | ManifestContentAssist.java | 60 List<Pair<String, String>> choices = new ArrayList<Pair<String, String>>(); in computeAttributeValues() local 74 choices.add(Pair.of(version.getCodename(), version.getCodename())); in computeAttributeValues() 76 choices.add(Pair.of(Integer.toString(apiLevel), target.getFullName())); in computeAttributeValues() 82 choices.add(Pair.of(Integer.toString(api), name)); in computeAttributeValues() 85 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 | 76 Object[] choices = super.getChoicesForElement(parent, currentNode); in getChoicesForElement() local 77 if (choices == null) { in getChoicesForElement() 93 if (choices == null && parent.length() >= 1 && Character.isLowerCase(parent.charAt(0))) { in getChoicesForElement() 109 return choices; in getChoicesForElement() 114 ElementDescriptor[] choices = super.getElementChoicesForTextNode(parentNode); in getElementChoicesForTextNode() local 121 choices = ObjectArrays.concat(choices, array, ElementDescriptor.class); in getElementChoicesForTextNode() 122 choices = sort(choices); in getElementChoicesForTextNode() 125 return choices; in getElementChoicesForTextNode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
D | ValuesContentAssist.java | 211 String[] choices = UiResourceAttributeNode.computeResourceStringMatches( in computeTextValues() local 213 if (choices == null || choices.length == 0) { in computeTextValues() 222 for (String s : choices) { in computeTextValues() 229 choices = filtered.toArray(new String[filtered.size()]); in computeTextValues() 234 addMatchingProposals(proposals, choices, offset, currentNode, in computeTextValues()
|
/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 | 418 List<String> choices) { in sortAttributeChoices() argument 420 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 | 918 public Prop(String title, boolean isToggle, boolean isFlag, Map<String, String> choices, in Prop() argument 923 mChoices = choices; in Prop()
|