Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java482 int[] modes = getValueFromKeyNonNull(key); in getAeAvailableAntiBandingModesChecked() local
487 for (int mode : modes) { in getAeAvailableAntiBandingModesChecked()
503 return modes; in getAeAvailableAntiBandingModesChecked()
533 int[] modes = getValueFromKeyNonNull(key); in getAvailableTestPatternModesChecked() local
535 if (modes == null) { in getAvailableTestPatternModesChecked()
540 Integer[] boxedModes = CameraTestUtils.toObject(modes); in getAvailableTestPatternModesChecked()
544 return modes; in getAvailableTestPatternModesChecked()
624 int[] modes = getValueFromKeyNonNull(key); in getAvailableHotPixelModesChecked() local
626 if (modes == null) { in getAvailableHotPixelModesChecked()
630 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableHotPixelModesChecked()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java166 ArrayList<OverlayMode> modes = new ArrayList<>(); in updateOverlayDisplayDevicesLocked() local
178 modes.add(new OverlayMode(width, height, densityDpi)); in updateOverlayDisplayDevicesLocked()
189 if (!modes.isEmpty()) { in updateOverlayDisplayDevicesLocked()
198 + ": name=" + name + ", modes=" + Arrays.toString(modes.toArray())); in updateOverlayDisplayDevicesLocked()
200 mOverlays.add(new OverlayDisplayHandle(name, modes, gravity, secure, number)); in updateOverlayDisplayDevicesLocked()
238 List<OverlayMode> modes, int activeMode, int defaultMode, in OverlayDisplayDevice() argument
249 mRawModes = modes; in OverlayDisplayDevice()
250 mModes = new Display.Mode[modes.size()]; in OverlayDisplayDevice()
251 for (int i = 0; i < modes.size(); i++) { in OverlayDisplayDevice()
252 OverlayMode mode = modes.get(i); in OverlayDisplayDevice()
[all …]
/frameworks/opt/net/voip/src/jni/rtp/
DAmrCodec.cpp76 const char *modes = strcasestr(fmtp, "mode-set="); in set() local
77 if (modes) { in set()
80 for (char c = *modes; c && c != ' '; c = *++modes) { in set()
/frameworks/base/core/java/android/view/
DDisplayInfo.java460 Display.Mode[] modes = supportedModes; in findDefaultModeByRefreshRate() local
462 for (int i = 0; i < modes.length; i++) { in findDefaultModeByRefreshRate()
463 if (modes[i].matches( in findDefaultModeByRefreshRate()
465 return modes[i].getModeId(); in findDefaultModeByRefreshRate()
475 Display.Mode[] modes = supportedModes; in getDefaultRefreshRates() local
478 for (int i = 0; i < modes.length; i++) { in getDefaultRefreshRates()
479 Display.Mode mode = modes[i]; in getDefaultRefreshRates()
DDisplay.java723 final Display.Mode[] modes = mDisplayInfo.supportedModes; in getSupportedModes() local
724 return Arrays.copyOf(modes, modes.length); in getSupportedModes()
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dindex.jd17 implements the Android accessory protocol) through two modes: USB accessory and USB host. In USB
29 <p>Figure 1 shows the differences between the two modes. When the Android-powered device is in
36 <p>USB accessory and host modes are directly supported in Android 3.1 (API level 12) or newer
41 <p class="note"><strong>Note:</strong> Support for USB host and accessory modes are ultimately
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dmime_io.tab24 /* number of speech bits for all modes */
35 /* sorting tables for all modes */
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java159 final String modes[] = {"Touch", "Ball"}; in changeMode() local
162 item.setTitle(modes[mMode]); in changeMode()
/frameworks/av/media/libstagefright/wifi-display/source/
DWifiDisplaySource.cpp770 static void GetAudioModes(const char *s, const char *prefix, uint32_t *modes) { in GetAudioModes() argument
771 *modes = 0; in GetAudioModes()
778 if (sscanf(&s[prefixLen + 1], "%08x %02x", modes, &latency) != 2) { in GetAudioModes()
779 *modes = 0; in GetAudioModes()
905 uint32_t modes; in onReceiveM3Response() local
906 GetAudioModes(value.c_str(), "AAC", &modes); in onReceiveM3Response()
908 bool supportsAAC = (modes & 1) != 0; // AAC 2ch 48kHz in onReceiveM3Response()
910 GetAudioModes(value.c_str(), "LPCM", &modes); in onReceiveM3Response()
912 bool supportsPCM = (modes & 2) != 0; // LPCM 2ch 48kHz in onReceiveM3Response()
/frameworks/native/vulkan/libvulkan/
Dswapchain.h31 …entModesKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkPresentModeKHR* modes);
Dswapchain.cpp374 VkPresentModeKHR* modes) { in GetPhysicalDeviceSurfacePresentModesKHR() argument
381 if (modes) { in GetPhysicalDeviceSurfacePresentModesKHR()
384 std::copy(kModes, kModes + std::min(*count, kNumModes), modes); in GetPhysicalDeviceSurfacePresentModesKHR()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java580 int modes = 0; in readSupportedModes() local
584 modes |= UsbPort.MODE_DFP; in readSupportedModes()
587 modes |= UsbPort.MODE_UFP; in readSupportedModes()
590 return modes; in readSupportedModes()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp368 std::vector<android_color_mode_t> modes; in getColorModes() local
373 return modes; in getColorModes()
378 auto error = hwcDisplay->getColorModes(&modes); in getColorModes()
385 return modes; in getColorModes()
DHWC2.cpp594 std::vector<int32_t> modes(numModes); in getColorModes() local
596 modes.data()); in getColorModes()
604 (*outModes)[i] = static_cast<android_color_mode_t>(modes[i]); in getColorModes()
/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md3 …e status of Data Saver mode, Battery Saver mode, and the app's whitelist on those restricted modes.
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1073 DeviceInfo::OverrideModes modes; in buildFastInfo() local
1078 modes.flashMode = FLASH_MODE_OFF; in buildFastInfo()
1081 modes.flashMode = FLASH_MODE_AUTO; in buildFastInfo()
1084 modes.flashMode = FLASH_MODE_ON; in buildFastInfo()
1087 modes.flashMode = FLASH_MODE_RED_EYE; in buildFastInfo()
1092 modes.flashMode = FLASH_MODE_INVALID; in buildFastInfo()
1095 modes.wbMode = in buildFastInfo()
1108 modes.focusMode = fixedLens ? in buildFastInfo()
1116 modes.focusMode = static_cast<focusMode_t>(afMode); in buildFastInfo()
1121 modes.focusMode = FOCUS_MODE_INVALID; in buildFastInfo()
[all …]
/frameworks/base/docs/html/about/versions/
Dandroid-2.0-highlights.jd78 <img src="{@docRoot}sdk/images/2.0/camera-modes.png" class="screenshot" alt="" /><br/>
93 a contact's information and communication modes. For example, a user can tap a
/frameworks/base/docs/html/guide/components/
Dtasks-and-back-stack.jd14 <li><a href="#TaskLaunchModes">Defining launch modes</a></li>
269 <h3 id="TaskLaunchModes">Defining launch modes</h3>
271 <p>Launch modes allow you to define how a new instance of an activity is associated with the
272 current task. You can define different launch modes in two ways:</p>
289 <p class="note"><strong>Note:</strong> Some launch modes available for the manifest file
290 are not available as flags for an intent and, likewise, some launch modes available as flags
304 task. There are four different launch modes you can assign to the
374 <p>For more information about using launch modes in the manifest file, see the
567 modes</a> that mark activities as always initiating a task, {@code "singleTask"} and
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dindex.jd56 modes. Accessibility services can provide these enhancements for all applications, a set of
/frameworks/base/docs/html/guide/topics/connectivity/nfc/
Dindex.jd17 <p>Android-powered devices with NFC simultaneously support three main modes of operation:</p>
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp742 std::vector<android_color_mode_t> modes = getHwComposer().getColorModes(type); in getDisplayColorModes() local
744 std::copy(modes.cbegin(), modes.cend(), std::back_inserter(*outColorModes)); in getDisplayColorModes()
790 Vector<android_color_mode_t> modes; in setActiveColorMode() local
791 mFlinger.getDisplayColorModes(mDisplay, &modes); in setActiveColorMode()
792 bool exists = std::find(std::begin(modes), std::end(modes), mMode) != std::end(modes); in setActiveColorMode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionInfoUpdater.java316 int[] modes = (int[])ar.result; in handleMessage() local
317 if (modes[0] == 1) { // Manual mode. in handleMessage()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java389 int[] modes = new int[antiBandingModes.size()]; in mapControlAe() local
397 modes[j++] = convertedMode; in mapControlAe()
400 m.set(CONTROL_AE_AVAILABLE_ANTIBANDING_MODES, Arrays.copyOf(modes, j)); in mapControlAe()
/frameworks/base/docs/html/training/articles/
Dkeystore.jd44 restricting keys to be used only in certain cryptographic modes. See
79 modes, padding schemes, and digests with which the key is authorized to be used. To check whether
98 verify), padding schemes, block modes, digests with which the key can be used;</li>
206 operate in one of the two modes:
/frameworks/base/docs/html/guide/topics/ui/
Dmulti-window.jd201 split-screen and freeform modes. If the attribute is set to false, the
267 and freeform modes. If the user moves the divider in split-screen mode
531 and freeform modes.
604 freeform and split-screen modes. Verify that when you do so, the app remains

123