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.java449 int choice = 0; in updateConfigurationHistory() local
483 choice = 60; in updateConfigurationHistory()
485 choice = 50; in updateConfigurationHistory()
487 choice = 40; in updateConfigurationHistory()
492 choice = 30; in updateConfigurationHistory()
496 choice = 20; in updateConfigurationHistory()
509 + " choice " + Integer.toString(choice)); in updateConfigurationHistory()
514 choice += currentChoice.intValue(); in updateConfigurationHistory()
517 selected.connectChoices.put(config.configKey(true), choice); in updateConfigurationHistory() local
560 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.java1757 Integer choice = config.connectChoices.get(key); in writeKnownNetworkHistory()
1759 + choice.toString() + SEPARATOR_KEY); in writeKnownNetworkHistory()
2055 int choice = 0; in readNetworkHistory() local
2063 choice = Integer.parseInt(match.group(2)); in readNetworkHistory()
2065 choice = 0; in readNetworkHistory()
2067 if (choice > 0) { in readNetworkHistory()
2071 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>
/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/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/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/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/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/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1197 Integer choice = this.connectChoices.get(key); in toString() local
1198 if (choice != null) { in toString()
1200 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
/frameworks/base/docs/html/training/managing-audio/
Daudio-focus.jd109 <p>Whenever another app requests audio focus as described above, its choice between permanent and
/frameworks/base/docs/html/training/custom-views/
Doptimizing-view.jd98 applications, but it isn't the right choice for every application. The Android framework
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd396 <li><b>Multiple-choice selection for ListView and GridView</b>
402 perform from a list of options in the Action Bar (which has transformed into a Multi-choice
405 <p>To enable multiple-choice selection, call {@link
410 <p>When the user performs a long-press on an item, the Action Bar switches to the Multi-choice
416 <p>For an example of multiple-choice selection, see the <a
646 framework?s plugin API provides a means of adding support for a DRM scheme of choice into the

1234