/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/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...] |
/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) {
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mach-o/ |
comm-1.s | 1 # check valid common choices.
|
/external/autotest/site_utils/tester_feedback/ |
input_handlers.py | 16 """Returns a pair of supplement strings representing input choices. 19 choices, and a corresponding concise descriptor of available 20 input choices with optional default. 32 """Returns an input choices descriptor and a default (if any).""" 37 """Returns a detailed description (string) of input choices.""" 109 def __init__(self, choices, default=None): 112 @param choices: An iterable of input choices. 115 max_idx = len(choices) 118 self._choices = choices [all...] |
/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)))
|
/external/libjpeg-turbo/release/ |
Distribution.xml | 13 <choices-outline> 17 </choices-outline>
|
/build/core/ |
apicheck_msg_current.txt | 5 To make these errors go away, you have two choices:
|
/frameworks/base/cmds/uiautomator/library/ |
apicheck_msg_current.txt | 5 To make these errors go away, you have two choices:
|
/packages/services/Car/ |
apicheck_msg_current.txt | 5 To make these errors go away, you have two 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 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);
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/setup/ |
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());
|
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])
|
/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/autotest/client/common_lib/ |
enum.py | 16 >>> e.choices() 53 def choices(self): member in class:Enum 54 'Return choice list suitable for Django model choices.'
|
host_protections.py | 43 choices = Protection.choices() variable
|
/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...] |
/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/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/dashboard/dashboard/models/ |
bug_data.py | 28 choices=[ variable in class:Bug 39 choices=[ variable in class:Bug
|
/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,
|
/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...] |