Searched refs:modes (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DStaticMetadata.java351 // Check available AF modes
476 * Get the available anti-banding modes.
478 * @return The array contains available anti-banding modes.
482 int[] modes = getValueFromKeyNonNull(key);
487 for (int mode : modes) {
503 return modes;
533 int[] modes = getValueFromKeyNonNull(key);
535 if (modes == null) {
540 Integer[] boxedModes = CameraTestUtils.toObject(modes);
544 return modes;
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayAdapter.java166 ArrayList<OverlayMode> modes = new ArrayList<>();
178 modes.add(new OverlayMode(width, height, densityDpi));
189 if (!modes.isEmpty()) {
198 + ": name=" + name + ", modes=" + Arrays.toString(modes.toArray()));
200 mOverlays.add(new OverlayDisplayHandle(name, modes, gravity, secure, number));
238 List<OverlayMode> modes, int activeMode, int defaultMode,
249 mRawModes = modes;
250 mModes = new Display.Mode[modes.size()];
251 for (int i = 0; i < modes
237 OverlayDisplayDevice(IBinder displayToken, String name, List<OverlayMode> modes, int activeMode, int defaultMode, float refreshRate, long presentationDeadlineNanos, boolean secure, int state, SurfaceTexture surfaceTexture, int number) argument
371 OverlayDisplayHandle(String name, List<OverlayMode> modes, int gravity, boolean secure, int number) argument
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAmrCodec.cpp76 const char *modes = strcasestr(fmtp, "mode-set="); local
77 if (modes) {
80 for (char c = *modes; c && c != ' '; c = *++modes) {
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java168 * The supported modes of this display.
175 /** The list of supported color modes */
473 Display.Mode[] modes = supportedModes;
475 for (int i = 0; i < modes.length; i++) {
476 if (modes[i].matches(
478 return modes[i].getModeId();
488 Display.Mode[] modes = supportedModes;
491 for (int i = 0; i < modes.length; i++) {
492 Display.Mode mode = modes[i];
617 sb.append(", modes ");
[all...]
H A DDisplay.java762 * This method only returns refresh rates for the display's default modes. For more options, use
786 * Gets the supported modes of this display.
791 final Display.Mode[] modes = mDisplayInfo.supportedModes;
792 return Arrays.copyOf(modes, modes.length);
866 * Gets the supported color modes of this device.
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.h31 VKAPI_ATTR VkResult GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkPresentModeKHR* modes);
H A Dswapchain.cpp692 // shared present modes as for other modes.
743 VkPresentModeKHR* modes) {
759 if (modes) {
763 std::copy(present_modes.begin(), present_modes.begin() + int(*count), modes);
740 GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice pdev, VkSurfaceKHR , uint32_t* count, VkPresentModeKHR* modes) argument
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
H A DTouchLatencyActivity.java159 final String modes[] = {"Touch", "Ball"};
162 item.setTitle(modes[mMode]);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp770 static void GetAudioModes(const char *s, const char *prefix, uint32_t *modes) { argument
771 *modes = 0;
778 if (sscanf(&s[prefixLen + 1], "%08x %02x", modes, &latency) != 2) {
779 *modes = 0;
905 uint32_t modes; local
906 GetAudioModes(value.c_str(), "AAC", &modes);
908 bool supportsAAC = (modes & 1) != 0; // AAC 2ch 48kHz
910 GetAudioModes(value.c_str(), "LPCM", &modes);
912 bool supportsPCM = (modes & 2) != 0; // LPCM 2ch 48kHz
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp466 std::vector<Hwc2::ColorMode> modes; local
467 auto intError = mDevice.mComposer->getColorModes(mId, &modes);
468 uint32_t numModes = modes.size();
476 (*outModes)[i] = static_cast<android_color_mode_t>(modes[i]);
H A DHWComposer.cpp343 std::vector<android_color_mode_t> modes; local
348 return modes;
353 auto error = hwcDisplay->getColorModes(&modes);
360 return modes;
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp884 std::vector<android_color_mode_t> modes = getHwComposer().getColorModes(type); local
886 std::copy(modes.cbegin(), modes.cend(), std::back_inserter(*outColorModes));
932 Vector<android_color_mode_t> modes; local
933 mFlinger.getDisplayColorModes(mDisplay, &modes);
934 bool exists = std::find(std::begin(modes), std::end(modes), mMode) != std::end(modes);
1177 std::vector<android_color_mode_t> modes = getHwComposer().getColorModes(type); local
1178 for (android_color_mode_t colorMode : modes) {
3535 std::vector<android_color_mode_t> modes = getHwComposer().getColorModes(hwcId); local
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp672 // No flash means null flash mode and supported flash modes keys, so
1103 // which are AE, AWB, and AF override modes the HAL wants for that scene
1115 DeviceInfo::OverrideModes modes; local
1120 modes.flashMode = FLASH_MODE_OFF;
1123 modes.flashMode = FLASH_MODE_AUTO;
1126 modes.flashMode = FLASH_MODE_ON;
1129 modes.flashMode = FLASH_MODE_RED_EYE;
1134 modes.flashMode = FLASH_MODE_INVALID;
1137 modes.wbMode =
1150 modes
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyMetadataMapper.java389 int[] modes = new int[antiBandingModes.size()];
397 modes[j++] = convertedMode;
400 m.set(CONTROL_AE_AVAILABLE_ANTIBANDING_MODES, Arrays.copyOf(modes, j));
522 // No AF modes supported? That's unpossible!
524 Log.w(TAG, "No AF modes supported (HAL bug); defaulting to AF_MODE_OFF only");
572 // No AWB modes supported? That's unpossible!
574 Log.w(TAG, "No AWB modes supported (HAL bug); defaulting to AWB_MODE_AUTO only");
1465 * @param supportedFocusModes list of camera1's supported focus modes
1470 Log.w(TAG, "No focus modes supported; API1 bug");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionInfoUpdater.java303 int[] modes = (int[])ar.result;
304 if (modes[0] == 1) { // Manual mode.
H A DPhone.java1149 int[] modes = (int[])ar.result;
1150 if (modes[0] == 0) {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceHalTest.java1841 HashSet<Byte> modes = new HashSet<Byte>();
1846 modes.add(mode);
1854 assertTrue(modes.contains(ISupplicantP2pIface.MiracastMode.SOURCE));
1857 assertTrue(modes.contains(ISupplicantP2pIface.MiracastMode.SINK));
1861 assertTrue(modes.contains(ISupplicantP2pIface.MiracastMode.DISABLED));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DHalDeviceManager.java776 * Get current information about all the chips in the system: modes, current mode (if any), and
833 (WifiStatus status, ArrayList<IWifiChip.ChipMode> modes) -> {
836 availableModesResp.value = modes;
1604 // first delete interfaces/change modes
/frameworks/native/vulkan/include/vulkan/
H A Dvulkan.h4642 VkDeviceGroupPresentModeFlagsKHX modes; member in struct:VkDeviceGroupPresentCapabilitiesKHX
4679 VkDeviceGroupPresentModeFlagsKHX modes; member in struct:VkDeviceGroupSwapchainCreateInfoKHX
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 2406 milliseconds