Home
last modified time | relevance | path

Searched refs:choice (Results 1 – 25 of 78) sorted by relevance

1234

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgentFactory.java77 private static CameraApi validateApiChoice(CameraApi choice) { in validateApiChoice() argument
86 if (choice == null) { in validateApiChoice()
88 choice = CameraApi.AUTO; in validateApiChoice()
90 if (choice == CameraApi.AUTO) { in validateApiChoice()
91 choice = highestSupportedApi(); in validateApiChoice()
94 return choice; in validateApiChoice()
/frameworks/base/core/java/android/hardware/camera2/utils/
DListUtils.java92 for (T choice : choices) { in listSelectFirstFrom()
93 if (list.contains(choice)) { in listSelectFirstFrom()
94 return choice; in listSelectFirstFrom()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiAutoJoinController.java432 int choice = 0; in updateConfigurationHistory() local
466 choice = 60; in updateConfigurationHistory()
468 choice = 50; in updateConfigurationHistory()
470 choice = 40; in updateConfigurationHistory()
475 choice = 30; in updateConfigurationHistory()
479 choice = 20; in updateConfigurationHistory()
492 + " choice " + Integer.toString(choice)); in updateConfigurationHistory()
497 choice += currentChoice.intValue(); in updateConfigurationHistory()
500 selected.connectChoices.put(config.configKey(true), choice); in updateConfigurationHistory() local
543 Integer choice = null; in getConnectChoice() local
[all …]
DREADME.txt29 … mode will be on even though Wi-Fi is being turned off. The user has the choice to turn this notif…
DWifiConfigStore.java1675 Integer choice = config.connectChoices.get(key); in writeKnownNetworkHistory()
1677 + choice.toString() + SEPARATOR_KEY); in writeKnownNetworkHistory()
1953 int choice = 0; in readNetworkHistory() local
1961 choice = Integer.parseInt(match.group(2)); in readNetworkHistory()
1963 choice = 0; in readNetworkHistory()
1965 if (choice > 0) { in readNetworkHistory()
1969 config.connectChoices.put(configKey, choice); in readNetworkHistory()
/frameworks/base/docs/html/tools/help/
Dhprof-conv.jd9 can view the file in a profiling tool of your choice. </p>
DMonkeyRunner.jd47 <a href="#choice">choice</a>
191 <A NAME="choice"></A>
197 <span class="sympad">choice</span>
Dindex.jd41 you can view the file in a profiling tool of your choice.</dd>
/frameworks/rs/
Drsg_generator.c654 char choice = fgetc(input); in main() local
657 if (choice < '0' || choice > '3') { in main()
658 fprintf(stderr, "Uknown command: \'%c\'\n", choice); in main()
668 switch (choice) { in main()
/frameworks/base/docs/html/design/building-blocks/
Dseek-bars.jd7 interactive nature of the slider makes it a great choice for settings that reflect intensity levels,
/frameworks/base/docs/html/guide/topics/ui/
Ddialogs.jd272 <li>A traditional single-choice list</li>
273 <li>A persistent single-choice list (radio buttons)</li>
274 <li>A persistent multiple-choice list (checkboxes)</li>
277 <p>To create a single-choice list like the one in figure 3,
312 unless you're using one of the following persistent choice lists.</p>
317 A list of multiple-choice items.</p>
321 <h4 id="Checkboxes">Adding a persistent multiple-choice or single-choice list</h4>
323 <p>To add a list of multiple-choice items (checkboxes) or
324 single-choice items (radio buttons), use the
330 <p>For example, here's how you can create a multiple-choice list like the
[all …]
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c273 unsigned choice = (rand() & 0x7FFFFFFF) % totalProbability; in main() local
279 if (totalProbability <= choice) in main()
/frameworks/base/docs/html/design/patterns/
Dsettings.jd148 For example, you might be able to redesign two related checkbox settings into one multiple choice
189 <h4>Multiple choice</h4>
353 <li>Which choice would most users be likely to choose on their own if there were no default?</li>
354 <li>Which choice is the most neutral or middle-of-the-road?</li>
355 <li>Which choice is the least risky, controversial, or over-the-top?</li>
356 <li>Which choice uses the least amount of battery or mobile data?</li>
357 <li>Which choice best supports the design principle
359 <li>Which choice best supports the design principle
571 <p>In this multiple choice setting, we changed the label to a friendlier term and also replaced
/frameworks/base/docs/html/training/tv/discovery/
Dindex.jd24 least amount of input possible. With the amount of choice available to users, it is important for
/frameworks/base/docs/html/training/scheduling/
Dalarms.jd78 not be the best choice for your app, particularly if you need to trigger network
98 <p>Every choice you make in designing your repeating alarm can have consequences in how your
146 <p>As described above, repeating alarms are a good choice for scheduling regular events or
180 hour), use one of the elapsed real time types. In general, this is the better choice.</p>
279 choice.
/frameworks/base/docs/html/distribute/monetize/
Dpayments.jd3 page.metaDescription=Users can purchase instantly with a choice of payment methods.
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
DSendActivity.java166 public void onClick(DialogInterface dialog, int choice) { in showDialog()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1091 Integer choice = this.connectChoices.get(key); in toString() local
1092 if (choice != null) { in toString()
1094 sbuf.append(" = ").append(choice); in toString()
/frameworks/base/docs/html/training/activity-testing/
Dpreparing-activity-testing.jd43 are free to use the IDE of your choice or the command-line.</p>
/frameworks/base/docs/html/guide/topics/location/
Dindex.jd21 location provider choice and power management. Location Services also provides new
/frameworks/base/docs/html/guide/topics/ui/controls/
Dspinner.jd89 this method is a layout resource that defines how the selected choice appears in the
/frameworks/base/docs/html/distribute/tools/
Dopen-distribution.jd8 As an open platform, Android offers choice. You can distribute your Android
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dactivity_task_design.jd516 existing activity, then the system presents the user with a choice
568 them with a choice between the Android System's ringtone activity and
569 the new one. This dialog box has an option to remember their choice
684 Intent object which displays a dialog box with a choice between the
969 consider setting up that activity to appear as a choice to the
1034 picker (and letting them save their choice) as shown in the
/frameworks/base/docs/html/training/volley/
Drequestqueue.jd42 on your choice of {@link android.net.http.AndroidHttpClient} or {@link java.net.HttpURLConnection}.…
/frameworks/base/docs/html/training/cloudsave/
Dconflict-res.jd100 always replace old data. For example, if the data represents the player's choice
101 for a character's shirt color, then a more recent choice should override an
102 older choice. In this case, you would probably choose to store the timestamp in the cloud

1234