/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 | 45 /** If set, show choices to take a picture with the camera, or pick one from the gallery. */ 48 * If set, modifies the wording in the choices for TAKE_OR_PICK_PHOTO 75 // Build choices, depending on the current mode. We assume this Dialog is never called 76 // if there are NO choices (e.g. a read-only picture is already super-primary) 77 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4); local 80 choices.add(new ChoiceListItem(ChoiceListItem.ID_USE_AS_PRIMARY, 85 choices.add(new ChoiceListItem(ChoiceListItem.ID_REMOVE, 95 choices.add(new ChoiceListItem(ChoiceListItem.ID_TAKE_PHOTO, takePhotoString)); 96 choices.add(new ChoiceListItem(ChoiceListItem.ID_PICK_PHOTO, pickPhotoString)); 100 R.layout.select_dialog_item, choices); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidContentAssist.java | 193 Object[] choices = getChoicesForElement(parent, currentNode); local 194 if (choices == null || choices.length == 0) { 213 addMatchingProposals(proposals, choices, offset, 232 Object[] choices = getChoicesForAttribute(parent, currentNode, currentUiNode, local 234 if (choices == null || choices.length == 0) { 247 addMatchingProposals(proposals, choices, offset, parentNode != null ? parentNode : null, 328 * Gets the choices when the user is editing the name of an XML element. 335 * can be found under <manifest>, of which <application> is one of the choices 401 Object[] choices = null; local 475 Object[] choices; local 529 Object[] choices = getElementChoicesForTextNode(parentNode); local 555 Object[] choices = null; 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...] |
/sdk/rule_api/src/com/android/ide/common/api/ |
RuleAction.java | 39 * or into a flat submenu using the {@link Choices} class. 51 * Character used to split multiple checked choices. 91 * Special value which will insert a separator in the choices' submenu. 192 NestedAction choices = new NestedAction(id, title, provider, callback, local 194 choices.setIconUrl(iconUrl); 195 return choices; 207 * marked. Can be null. Can be an id not present in the choices 218 * @return the new {@link Choices} 221 public static Choices createChoices( 232 Choices choices = new Choices(id, title, callback, titles, iconUrls local 279 Choices choices = new Choices(id, title, callback, titles, iconUrls, local 314 Choices choices = new DelayedChoices(id, title, callback, local [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];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
ValuesContentAssist.java | 207 String[] choices = UiResourceAttributeNode.computeResourceStringMatches( local 209 if (choices == null || choices.length == 0) { 218 for (String s : choices) { 225 choices = filtered.toArray(new String[filtered.size()]); 230 addMatchingProposals(proposals, choices, offset, currentNode,
|
/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();
|
/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/guava/guava/src/com/google/common/collect/ |
Sets.java | [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Sets.java | [all...] |
/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',
|