/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/ |
propget.py | 22 def get(prop, choices=None): 26 if choices: 27 if callable(choices): 28 choices = choices() 30 choices = prop.get_choices() 33 if choices: 35 max = len(choices) 37 value = choices[i-1] 44 value = choices[int_value-1 [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/ |
Scanner.java | 35 * @param choices 43 boolean checkToken(Token.ID... choices);
|
/external/autotest/client/common_lib/ |
host_protections.py | 43 choices = Protection.choices() variable
|
/external/autotest/frontend/client/src/autotest/common/table/ |
BooleanFilter.java | 7 private static final String[] choices = {"Yes", "No"}; field in class:BooleanFilter 11 setChoices(choices);
|
MultipleListFilter.java | 39 public void setChoices(String[] choices) { 40 super.setChoices(choices);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mashups/ |
iobject.py | 35 print('No Choices Available') 40 choices = [] 44 choices.append(item) 51 choices.append(obj) 56 choices.append(obj) 58 if choices: 59 val = raw_input('%s[1-%d]: ' % (prompt, len(choices))) 67 choice = choices[int_val-1] 72 len(choices)))
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mach-o/ |
comm-1.s | 1 # check valid common choices.
|
/libcore/ojluni/src/main/java/java/sql/ |
DriverPropertyInfo.java | 40 * name and value. The <code>description</code> and <code>choices</code> 83 public String[] choices = null; field in class:DriverPropertyInfo
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/setup/ |
ScanResultFragment.java | 97 String[] choices; local 100 choices = getResources().getStringArray(R.array.ut_result_found_choices); 103 choices = getResources().getStringArray(R.array.ut_result_not_found_choices); 106 for (int i = 0; i < choices.length; ++i) { 109 .title(choices[i]).build()); 111 actions.add(new GuidedAction.Builder(getActivity()).id(i).title(choices[i])
|
ConnectionTypeFragment.java | 66 String[] choices = getResources().getStringArray(R.array.ut_connection_choices); local 67 int length = choices.length - 1; 72 .title(choices[i])
|
WelcomeFragment.java | 85 String[] choices = getResources().getStringArray(mChannelCountOnPreference == 0 local 87 for (int i = 0; i < choices.length - 1; ++i) { 88 actions.add(new GuidedAction.Builder(getActivity()).id(i).title(choices[i]) 92 .title(choices[choices.length - 1]).build());
|
/external/chromium-trace/catapult/dashboard/dashboard/models/ |
bug_data.py | 28 choices=[ variable in class:Bug 39 choices=[ variable in class:Bug
|
/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 74 // Build choices, depending on the current mode. We assume this Dialog is never called 75 // if there are NO choices (e.g. a read-only picture is already super-primary) 76 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4); local 79 choices.add(new ChoiceListItem(ChoiceListItem.ID_REMOVE, 90 choices.add(new ChoiceListItem(ChoiceListItem.ID_TAKE_PHOTO, takePhotoString)); 92 choices.add(new ChoiceListItem(ChoiceListItem.ID_PICK_PHOTO, pickPhotoString)); 94 return choices; 99 final ArrayList<ChoiceListItem> choices = getChoices(context, mode) local [all...] |
PhotoSourceDialogFragment.java | 65 final ArrayList<ChoiceListItem> choices = local 69 final CharSequence[] items = new CharSequence[choices.size()]; 71 items[i] = choices.get(i).toString(); 77 final ChoiceListItem choice = choices.get(which);
|
/frameworks/support/compat/gingerbread/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));
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldDriverPropertyInfoTest.java | 59 String[] choices = info[0].choices; local 60 assertNull(choices);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/ |
buyreservation.py | 37 choices=boto.ec2.regions) 38 params['region'] = propget.get(prop, choices=boto.ec2.regions) 43 choices=InstanceTypes) 54 choices=self.ec2.get_all_zones) 74 choices=offerings)
|
/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...] |
/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/compat/java/android/support/v4/app/ |
RemoteInput.java | 43 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, 47 this.mChoices = choices; 70 * Get possible input choices. This can be {@code null} if there are no choices to present. 80 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown 128 * Specifies choices available to the user to satisfy this input. 129 * @param choices an array of pre-defined choices for users input. 134 public Builder setChoices(CharSequence[] choices) { 135 mChoices = choices; [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/ |
property.py | 41 required=False, validator=None, choices=None, unique=False): 47 self.choices = choices 91 if self.choices and value and value not in self.choices: 109 if callable(self.choices): 110 return self.choices() 111 return self.choices 130 choices=None, unique=False): 132 validator, choices, unique [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
util.py | 42 choices=('PEM', 'DER'), default='PEM') 46 choices=('PEM', 'DER'), default='PEM')
|
/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) {
|