/frameworks/base/core/java/android/app/ |
RemoteInput.java | 89 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, 93 this.mChoices = choices; 115 * Get possible input choices. This can be {@code null} if there are no choices to present. 144 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown 191 * Specifies choices available to the user to satisfy this input. 192 * @param choices an array of pre-defined choices for users input. 197 public Builder setChoices(CharSequence[] choices) { 198 if (choices == null) [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
ListFilter.java | 78 public void setChoices(String[] choices) { 86 for (int i = 0; i < choices.length; i++) { 87 select.addItem(choices[i]);
|
/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...] |
audio_query_delegate_impl.py | 51 choices = [] 55 choices.append(tool) 57 choices.append('Manual playback') 65 input_handlers.MultipleChoiceInputHandler(choices, default=1), 68 if idx < len(choices) - 1:
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/ |
TransliteratorInputMethod.java | 74 private static JComboBox choices; field in class:TransliteratorInputMethod 150 choices = new JComboBox(types.toArray()); 152 choices.setEditable(false); 153 choices.setSelectedIndex(0); 154 choices.setRenderer(new NameRenderer()); 155 choices.setActionCommand("transliterator"); 157 choices.addActionListener(new ActionListener() { 165 sw.add(choices); 260 choices.setSelectedIndex(selectedIndex == -1 ? choices [all...] |
/external/autotest/frontend/server/ |
models.py | 34 choices=STATUS.choices()) variable in class:Server 115 role = dbmodels.CharField(max_length=128, choices=ROLE.choices())
|
/external/brotli/python/ |
bro.py | 89 choices=[0, 1, 2], 98 choices=list(range(0, 12)), 106 choices=list(range(10, 25)), 113 choices=[0] + list(range(16, 25)),
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsEnum.java | 41 @Parameter(names = "-choices", variableArity = true) 42 public List<ChoiceType> choices = new ArrayList<ChoiceType>(); field in class:ArgsEnum
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
IUI.java | 39 <T> T showChoiceDialog(String title, String message, T[] choices);
|
/external/deqp/scripts/ |
launchcontrol_build.py | 81 choices=BUILD_CONFIGS.keys(), 87 choices=["Debug", "Release"],
|
/external/r8/tools/ |
run-d8-on-gmscore.py | 28 choices = ['v9', 'v10']) 32 choices = ['proguarded', 'deploy'])
|
test.py | 42 choices=ALL_ART_VMS + ["all"]) 48 default=None, choices=["r8", "d8"])
|
/prebuilts/go/darwin-x86/test/chan/ |
select5.go | 438 var choices []choice var 446 if cp >= len(choices) { 448 choices = append(choices, choice{0, n}) 449 cp = len(choices) 453 if n != choices[cp].n { 454 panic("inconsistent choices") 456 i := choices[cp].i 469 cp = len(choices) - 1 470 for cp >= 0 && choices[cp].i == choices[cp].n-1 [all...] |
/prebuilts/go/linux-x86/test/chan/ |
select5.go | 438 var choices []choice var 446 if cp >= len(choices) { 448 choices = append(choices, choice{0, n}) 449 cp = len(choices) 453 if n != choices[cp].n { 454 panic("inconsistent choices") 456 i := choices[cp].i 469 cp = len(choices) - 1 470 for cp >= 0 && choices[cp].i == choices[cp].n-1 [all...] |
/external/python/cpython2/Demo/tkinter/guido/ |
tkman.py | 60 self.choices = [] 138 self.choices = [] 142 if choice not in self.choices: 143 self.choices.append(choice) 144 self.choices.sort() 148 self.choices[len(self.choices):] = list 149 self.choices.sort() 176 self.choices)
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
HtmlPolicyBuilderFuzzerTest.java | 162 private static String pick(Random rnd, String[] choices) { 163 return choices[rnd.nextInt(choices.length)];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
ValuesContentAssist.java | 211 String[] choices = UiResourceAttributeNode.computeResourceStringMatches( local 213 if (choices == null || choices.length == 0) { 222 for (String s : choices) { 229 choices = filtered.toArray(new String[filtered.size()]); 234 addMatchingProposals(proposals, choices, offset, currentNode,
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/ |
run-tests.py | 32 '--compiler', choices=('clang', 'gcc'), default='clang') 34 '--bitness', choices=(32, 64), type=int, default=32)
|
/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.'
|
/external/autotest/frontend/afe/ |
rdb_model_extensions.py | 191 choices=Status.choices(), variable in class:AbstractHostModel 196 choices=host_protections.choices, variable in class:AbstractHostModel
|
/external/swiftshader/third_party/subzero/pydir/ |
if.py | 20 argparser.add_argument('--cond', choices={'true', 'false'} , required=False,
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/ |
build.py | 33 '--arch', choices=build_support.ALL_ARCHITECTURES,
|
/prebuilts/ndk/r11/sources/cxx-stl/stlport/ |
build.py | 33 '--arch', choices=build_support.ALL_ARCHITECTURES,
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/ |
build.py | 33 '--arch', choices=build_support.ALL_ARCHITECTURES,
|
/external/chromium-trace/catapult/tracing/ |
tracing_project.py | 187 choices = self.GetConfigNames() 190 choices=choices, default=self.GetDefaultConfigName(), 191 help='Picks a browser config. Valid choices: %s' % ', '.join(choices)) 192 return choices
|