Home
last modified time | relevance | path

Searched refs:hdrType (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DHdrFormatSelectionFragment.java144 for (int hdrType : mDeviceHdrTypes) { in onCreatePreferenceControllers()
145 if (mDisplayReportedHdrTypes.contains(hdrType)) { in onCreatePreferenceControllers()
147 new HdrFormatPreferenceController(getContext(), hdrType, mDisplayManager)); in onCreatePreferenceControllers()
244 for (int hdrType : HDR_FORMATS_DISPLAY_ORDER) { in createFormatPreferences()
245 if (mDeviceHdrTypes.contains(hdrType)) { in createFormatPreferences()
246 int titleId = getFormatPreferenceTitleId(hdrType); in createFormatPreferences()
250 if (mDisplayReportedHdrTypes.contains(hdrType)) { in createFormatPreferences()
251 boolean enabled = !mUserDisabledHdrTypes.contains(hdrType); in createFormatPreferences()
253 createSupportedFormatPreference(titleId, hdrType, enabled)); in createFormatPreferences()
256 createUnsupportedFormatPreference(titleId, hdrType)); in createFormatPreferences()
[all …]
DPreferredDynamicRangeForceFragment.java89 for (Integer hdrType : deviceSupportedHdrOutputTypes) { in getIntersectingDeviceAndDisplayHdrTypes()
90 if (displaySupportedHdrTypes.contains(hdrType)) { in getIntersectingDeviceAndDisplayHdrTypes()
91 intersectingHdrTypes.add(hdrType); in getIntersectingDeviceAndDisplayHdrTypes()
97 for (Integer hdrType : intersectingHdrTypes) { in getIntersectingDeviceAndDisplayHdrTypes()
98 mergedArray[index++] = hdrType; in getIntersectingDeviceAndDisplayHdrTypes()
123 String hdrType = key.substring(KEY_HDR_FORMAT_PREFIX.length()); in onPreferenceTreeClick() local
124 int preferredHdrOutputType = Integer.parseInt(hdrType); in onPreferenceTreeClick()
213 private int getFormatPreferenceTitleId(int hdrType) { in getFormatPreferenceTitleId() argument
214 switch (hdrType) { in getFormatPreferenceTitleId()
237 private String getInfoClassName(int hdrType) { in getInfoClassName() argument
[all …]
DDisplaySoundUtils.java147 @Display.HdrCapabilities.HdrType int hdrType) { in enableHdrType() argument
149 disabledHdrTypes.remove(hdrType); in enableHdrType()
154 @Display.HdrCapabilities.HdrType int hdrType) { in disableHdrType() argument
156 disabledHdrTypes.add(hdrType); in disableHdrType()
DHdrFormatPreferenceController.java55 Context context, int hdrType, DisplayManager displayManager) { in HdrFormatPreferenceController() argument
57 mHdrType = hdrType; in HdrFormatPreferenceController()
/packages/modules/Media/apex/framework/java/android/media/
DApplicationMediaCapabilities.java137 @NonNull @MediaFeature.MediaHdrType String hdrType) { in isHdrTypeSupported()
138 if (mSupportedHdrTypes.contains(hdrType)) { in isHdrTypeSupported()
570 @NonNull @MediaFeature.MediaHdrType String hdrType) { in addSupportedHdrType()
571 if (!isValidVideoCodecHdrType(hdrType)) { in addSupportedHdrType()
572 throw new IllegalArgumentException("Invalid hdr type: " + hdrType); in addSupportedHdrType()
574 mSupportedHdrTypes.add(hdrType); in addSupportedHdrType()
582 private boolean isValidVideoCodecHdrType(@NonNull String hdrType) { in isValidVideoCodecHdrType() argument
583 if (!hdrType.equals(MediaFeature.HdrType.DOLBY_VISION) in isValidVideoCodecHdrType()
584 && !hdrType.equals(MediaFeature.HdrType.HDR10) in isValidVideoCodecHdrType()
585 && !hdrType.equals(MediaFeature.HdrType.HDR10_PLUS) in isValidVideoCodecHdrType()
[all …]
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/
DHdrFormatSelectionState.java160 for (int hdrType : HDR_FORMATS_DISPLAY_ORDER) { in createFormatInfo()
161 if (mDeviceHdrTypes.contains(hdrType)) { in createFormatInfo()
162 String title = getFormatPreferenceTitle(mContext, hdrType); in createFormatInfo()
167 String key = KEY_HDR_FORMAT_INFO_PREFIX + hdrType; in createFormatInfo()
168 String[] compoundKey = mDisplayReportedHdrTypes.contains(hdrType) in createFormatInfo()
173 if (mDisplayReportedHdrTypes.contains(hdrType)) { in createFormatInfo()
197 for (int hdrType : HDR_FORMATS_DISPLAY_ORDER) { in createFormatInfoOnManual()
198 if (mDeviceHdrTypes.contains(hdrType)) { in createFormatInfoOnManual()
201 mPreferenceCompatManager, hdrType, mDisplayManager, in createFormatInfoOnManual()
207 if (mDisplayReportedHdrTypes.contains(hdrType)) { in createFormatInfoOnManual()
[all …]
DHdrFormatPreferenceController.java51 int hdrType, in HdrFormatPreferenceController() argument
56 mHdrType = hdrType; in HdrFormatPreferenceController()