/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/ |
choice_helpers_unittest.cc | 27 Choices choices = SplitChoices("Single Choice"); local 28 EXPECT_EQ(1u, choices.size()); 29 EXPECT_EQ("Single Choice", choices[0]); 33 Choices choices = SplitChoices("Single Choice\n"); local 34 EXPECT_EQ(1u, choices.size()); 35 EXPECT_EQ("Single Choice", choices[0]); 39 Choices choices = SplitChoices local 50 Choices choices = SplitChoices( local [all...] |
choice_helpers.cc | 22 ChoiceBuilder::ChoiceBuilder(const std::string& title, const Choices& choices) 23 : choices_(choices), 26 new IntegerWithinRangeValidator(1, choices.size())); 36 Choices::const_iterator iterator = std::find( 56 Choices::const_iterator iterator = choices_.begin(); 65 Choices SplitChoices(const std::string& raw_choices) {
|
choice_helpers.h | 21 typedef std::vector<std::string> Choices; 30 * will print a menu presenting the two choices and ask for input. The user, 41 explicit ChoiceBuilder(const std::string& title, const Choices& choices); 43 // Specifies the choice as the default. The choice must be one of the choices 52 // the choice number (choices start at 1). 57 Choices choices_; 62 // choices are separated by \n. 66 // Creates choices from a string where choices are separated by \n [all...] |
/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
ChoiceCallback.java | 34 private String[] choices; field in class:ChoiceCallback 38 private void setChoices(String[] choices) { 39 if (choices == null || choices.length == 0) { 42 for (int i = 0; i < choices.length; i++) { 43 if (choices[i] == null || choices[i].length() == 0) { 47 //FIXME: System.arraycopy(choices, 0 , new String[choices.length], 0, choices.length) [all...] |
/external/smack/src/org/apache/harmony/javax/security/sasl/ |
RealmChoiceCallback.java | 26 public RealmChoiceCallback(String prompt, String[] choices, int defaultChoice, 28 super(prompt, choices, defaultChoice, multiple);
|
/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/chromium_org/tools/set_default_handler/ |
set_default_handler_main.cc | 50 std::vector<base::string16> choices; local 53 result = controller.RunSynchronously(NULL, protocol, program, &choices); 57 } else if (!choices.empty()) { 58 printf("failed to set program. possible choices: %ls\n", 59 JoinString(choices, L", ").c_str());
|
/frameworks/support/v4/donut/android/support/v4/app/ |
RemoteInputCompatBase.java | 32 CharSequence[] choices, boolean allowFreeFormInput, Bundle extras);
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DriverPropertyInfoTest.java | 75 assertTrue(Arrays.equals(testChoices, aDriverPropertyInfo.choices)); 81 aDriverPropertyInfo.choices = updateChoices; 87 assertTrue(Arrays.equals(updateChoices, aDriverPropertyInfo.choices));
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
KeyStoreSelectionDialog.java | 50 final CharSequence[] choices = { local 56 .setSingleChoiceItems(choices, 0, new DialogInterface.OnClickListener() { 59 if (choices[id] == SYSTEM_STORE) {
|
/external/chromium_org/tools/ |
omahaproxy.py | 54 choices=oses, 59 choices=channels, 64 choices=fields,
|
prepare-bisect-perf-regression.py | 46 choices=['chromium', 'cros', 'android'], 48 help='The target platform. Choices are "chromium" (current '
|
/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/manifest/ |
ManifestContentAssist.java | 60 List<Pair<String, String>> choices = new ArrayList<Pair<String, String>>(); local 74 choices.add(Pair.of(version.getCodename(), version.getCodename())); 76 choices.add(Pair.of(Integer.toString(apiLevel), target.getFullName())); 82 choices.add(Pair.of(Integer.toString(api), name)); 85 addMatchingProposals(proposals, choices.toArray(), offset, node, wordPrefix,
|
/frameworks/base/core/java/android/app/ |
RemoteInput.java | 79 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, 83 this.mChoices = choices; 104 * Get possible input choices. This can be {@code null} if there are no choices to present. 113 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown 159 * Specifies choices available to the user to satisfy this input. 160 * @param choices an array of pre-defined choices for users input. 165 public Builder setChoices(CharSequence[] choices) { 166 if (choices == null) [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PhotoActionPopup.java | 47 /** If set, show choices to take a picture with the camera, or pick one from the gallery. */ 50 * If set, modifies the wording in the choices for TAKE_OR_PICK_PHOTO 77 // Build choices, depending on the current mode. We assume this Dialog is never called 78 // if there are NO choices (e.g. a read-only picture is already super-primary) 79 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4); local 82 choices.add(new ChoiceListItem(ChoiceListItem.ID_USE_AS_PRIMARY, 87 choices.add(new ChoiceListItem(ChoiceListItem.ID_REMOVE, 98 choices.add(new ChoiceListItem(ChoiceListItem.ID_TAKE_PHOTO, takePhotoString)); 100 choices.add(new ChoiceListItem(ChoiceListItem.ID_PICK_PHOTO, pickPhotoString)); 104 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 | 199 Object[] choices = getChoicesForElement(parent, currentNode); local 200 if (choices == null || choices.length == 0) { 219 addMatchingProposals(proposals, choices, offset, 240 Object[] choices = getChoicesForAttribute(parent, currentNode, currentUiNode, local 242 if (choices == null || choices.length == 0) { 255 addMatchingProposals(proposals, choices, offset, parentNode != null ? parentNode : null, 287 * Gets the choices when the user is editing the name of an XML element. 294 * can be found under <manifest>, of which <application> is one of the choices 360 Object[] choices = null; local 434 Object[] choices; local 498 Object[] choices = getElementChoicesForTextNode(parentNode); local 524 ElementDescriptor[] choices = null; local [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
RemoteInput.java | 43 RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, 47 this.mChoices = choices; 68 * Get possible input choices. This can be {@code null} if there are no choices to present. 77 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown 123 * Specifies choices available to the user to satisfy this input. 124 * @param choices an array of pre-defined choices for users input. 129 public Builder setChoices(CharSequence[] choices) { 130 mChoices = choices; [all...] |
/external/chromium_org/tools/cr/cr/actions/ |
action.py | 26 choices=cls.Choices(),
|
/external/chromium_org/win8/test/ |
open_with_dialog_controller.h | 26 // possible choices if the desired program could not be selected. 47 // on success. Otherwise, |choices| may contain the list of possible choices 52 std::vector<base::string16>* choices);
|
open_with_dialog_controller.cc | 36 std::vector<base::string16> choices) { 38 *choices_out = choices; 78 void OnAutomationResult(HRESULT result, std::vector<base::string16> choices); 194 std::vector<base::string16> choices) { 199 automation_choices_ = choices; 269 std::vector<base::string16>* choices) { 286 &result, choices)));
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
ListUtils.java | 77 * Return the first item from {@code choices} that is contained in the {@code list}. 79 * <p>Choices with an index closer to 0 get higher priority. If none of the {@code choices} 82 * @param list a list of objects which may or may not contain one or more of the choices 83 * @param choices an array of objects which should be used to select an item from 85 * @return the first item from {@code choices} contained in {@code list}, otherwise {@code null} 87 public static <T> T listSelectFirstFrom(List<T> list, T[] choices) { 92 for (T choice : choices) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutContentAssist.java | 76 Object[] choices = super.getChoicesForElement(parent, currentNode); local 77 if (choices == null) { 93 if (choices == null && parent.length() >= 1 && Character.isLowerCase(parent.charAt(0))) { 109 return choices; 114 ElementDescriptor[] choices = super.getElementChoicesForTextNode(parentNode); local 121 choices = ObjectArrays.concat(choices, array, ElementDescriptor.class); 122 choices = sort(choices); 125 return choices; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutActionBar.java | 24 import com.android.ide.common.api.RuleAction.Choices; 252 assert newAction instanceof Choices; 253 Choices choices = (Choices) newAction; local 254 String current = choices.getCurrent(); 294 if (action instanceof RuleAction.Choices) { 295 RuleAction.Choices choices = (Choices) action local [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
run_all.py | 77 choices=['debug', 'info', 'warning', 'warn', 'error', variable
|