/libcore/luni/src/main/java/java/sql/ |
DriverPropertyInfo.java | 30 * contained here. Otherwise choices is {@code null}. 32 public String[] choices; field in class:DriverPropertyInfo 69 this.choices = null;
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/ |
RealmChoiceCallbackTest.java | 42 private static final String [] choices = { field in class:RealmChoiceCallbackTest 50 * Test for <code>RealmChoiceCallback(String prompt, String[] choices, 55 * within of choices array 59 new RealmChoiceCallback(null, choices, 0, true); 64 new RealmChoiceCallback("", choices, 0, true); 70 fail("IllegalArgumentException should be thrown for null choices"); 75 fail("IllegalArgumentException should be thrown for empty choices"); 80 fail("IllegalArgumentException should be thrown for incorrect choices"); 85 fail("IllegalArgumentException should be thrown for incorrect choices"); 89 new RealmChoiceCallback("prompt", choices, -1, true) [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
ChoiceCallbackTest.java | 40 String[] choices = { "AAA", "BBB" }; field in class:ChoiceCallbackTest 48 cb = new ChoiceCallback(prompt, choices, defaultChoice, true); 50 assertEquals(this.choices, cb.getChoices()); 59 cb = new ChoiceCallback(prompt, choices, defaultChoice, false); 78 cb = new ChoiceCallback(null, choices, defaultChoice, true); 84 cb = new ChoiceCallback(prompt, choices, -1, true); 95 cb = new ChoiceCallback("", choices, defaultChoice, true); 101 cb = new ChoiceCallback(prompt, choices, 5, true); 106 cb = new ChoiceCallback(prompt, choices, 2, true);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/ |
ChoiceCallbackTest.java | 42 String[] choices = {"AAA", "BBB"}; local 44 return new Object[] {new ChoiceCallback(prompt, choices, defaultChoice, true)};
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DriverPropertyInfoTest.java | 76 assertTrue(Arrays.equals(testChoices, aDriverPropertyInfo.choices)); 82 aDriverPropertyInfo.choices = updateChoices; 88 assertTrue(Arrays.equals(updateChoices, aDriverPropertyInfo.choices));
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldDriverPropertyInfoTest.java | 59 String[] choices = info[0].choices; local 60 assertNull(choices);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutContentAssist.java | 41 Object[] choices = super.getChoicesForElement(parent, currentNode); local 42 if (choices == null) { 58 return choices;
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PhotoActionPopup.java | 44 // Build choices, depending on the current mode. We assume this Dialog is never called 45 // if there are NO choices (e.g. a read-only picture is already super-primary) 46 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4); local 49 choices.add(new ChoiceListItem(ChoiceListItem.ID_USE_AS_PRIMARY, 54 choices.add(new ChoiceListItem(ChoiceListItem.ID_REMOVE, 61 choices.add(new ChoiceListItem(ChoiceListItem.ID_TAKE_PHOTO, 68 choices.add(new ChoiceListItem(ChoiceListItem.ID_PICK_PHOTO, 72 R.layout.select_dialog_item, choices); 78 final ChoiceListItem choice = choices.get(position);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidContentAssist.java | 191 Object[] choices = getChoicesForElement(parent, currentNode); local 192 if (choices == null || choices.length == 0) { 211 addMatchingProposals(proposals, choices, offset, 230 Object[] choices = getChoicesForAttribute(parent, currentNode, currentUiNode, local 232 if (choices == null || choices.length == 0) { 245 addMatchingProposals(proposals, choices, offset, parentNode != null ? parentNode : null, 326 * Gets the choices when the user is editing the name of an XML element. 333 * can be found under <manifest>, of which <application> is one of the choices 398 Object[] choices = null; local 470 Object[] choices; local 524 Object[] choices = getElementChoicesForTextNode(parentNode); local 550 Object[] choices = null; local [all...] |
/sdk/rule_api/src/com/android/ide/common/api/ |
RuleAction.java | 36 * or into a flat submenu using the {@link Choices} class. 47 * Character used to split multiple checked choices. 87 * Special value which will insert a separator in the choices' submenu. 169 NestedAction choices = new NestedAction(id, title, provider, callback, local 171 choices.setIconUrl(iconUrl); 172 return choices; 184 * marked. Can be null. Can be an id not present in the choices 195 * @return the new {@link Choices} 197 public static Choices createChoices(String id, String title, 200 Choices choices = new Choices(id, title, callback, titles, iconUrls local 240 Choices choices = new Choices(id, title, callback, titles, iconUrls, local 268 Choices choices = new DelayedChoices(id, title, callback, local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestContentAssist.java | 59 List<Pair<String, String>> choices = new ArrayList<Pair<String, String>>(); local 83 choices.add(Pair.<String, String>of(codeName, null)); 88 choices.add(Pair.of(Integer.toString(i), version)); 91 addMatchingProposals(proposals, choices.toArray(), offset, node, wordPrefix,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutActionBar.java | 23 import com.android.ide.common.api.RuleAction.Choices; 202 if (action instanceof RuleAction.Choices) { 203 RuleAction.Choices choices = (Choices) action; local 204 if (!choices.isRadio()) { 205 addDropdown(choices); 208 addRadio(choices); 288 private void addRadio(final RuleAction.Choices choices) { [all...] |
/external/chromium/chrome/browser/ |
about_flags.h | 78 const Choice* choices; member in struct:about_flags::Experiment 80 // Number of |choices|.
|
about_flags.cc | 31 #define MULTI_VALUE_TYPE(choices) \ 32 Experiment::MULTI_VALUE, "", "", choices, arraysize(choices) 68 // . MULTI_VALUE: a list of choices, the first of which should correspond to a 71 // array of choices. 386 DCHECK(!e.choices); 390 DCHECK(e.choices); 391 DCHECK(e.choices[0].command_line_switch); 392 DCHECK_EQ('\0', e.choices[0].command_line_switch[0]); 459 const Experiment::Choice& choice = experiment.choices[i] [all...] |
/external/srec/tools/cmd/ |
srecres2utd.pl | 86 $token{choices}[0] = $choice; 92 $token{choices}[$i] = $choice; 140 $token->{choices}[0] = $token{topchoice}; 146 my $topch = lc($token->{choices}[0]); 181 my $nchoices = scalar(@{$token->{choices}}); 183 my $choice = lc $token->{choices}[$i];
|
/external/chromium/chrome/common/ |
json_schema_validator.h | 31 // - union types (but replaced with 'choices') 48 // - added the 'choices' property, to allow specifying a list of possible types 159 void ValidateChoices(Value* instance, ListValue* choices, 163 void ValidateEnum(Value* instance, ListValue* choices,
|
json_schema_validator.cc | 64 "Value does not match any valid type choices."; 66 "Value does not match any valid enum choices."; 197 // If the schema has a choices property, the instance must validate against at 199 ListValue* choices = NULL; local 200 if (schema->GetList("choices", &choices)) { 201 ValidateChoices(instance, choices, path); 235 ListValue* choices, 239 for (size_t i = 0; i < choices->GetSize(); ++i) { 241 CHECK(choices->GetDictionary(i, &choice)) [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyRunner.java | 162 args = {"message", "choices", "title"}, 165 "An iterable Python type containing a list of choices to display", 173 Collection<String> choices = Collections2.transform(JythonUtils.getList(ap, 1), local 177 return choice(message, title, choices); 209 * Display a dialog allow the user to pick a choice from a list of choices. 213 * @param choices the list of the choices to display. 216 public static int choice(String message, String title, Collection<String> choices) { 217 Object[] possibleValues = choices.toArray();
|
/external/guava/src/com/google/common/collect/ |
Sets.java | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
LinearLayoutRuleTest.java | 159 assertTrue(menuAction instanceof RuleAction.Choices); 160 RuleAction.Choices choices = (RuleAction.Choices) menuAction; local 161 List<String> titles = choices.getTitles(); 162 List<String> ids = choices.getIds(); 169 assertEquals("42dip", choices.getCurrent()); 191 orientationAction instanceof RuleAction.Choices); 193 RuleAction.Choices choices = (RuleAction.Choices) orientationAction local [all...] |
/external/bluetooth/glib/gio/ |
gmountoperation.h | 71 const char *choices[]);
|
/external/icu4c/common/ |
ucnv2022.c | 1642 int8_t choices[10]; local 2894 int8_t choices[3]; local [all...] |
/external/webkit/Tools/Scripts/ |
new-run-webkit-websocketserver | 44 choices=['start', 'stop'], default='start',
|
/frameworks/compile/libbcc/runtime/make/platform/ |
darwin_fat.mk | 15 # appropriate choices for CC and CFLAGS.
|
/external/icu4c/extra/uconv/ |
makedata.mak | 25 !MESSAGE Possible choices for configuration are:
|