Searched refs:supported (Results 1 - 16 of 16) sorted by relevance

/frameworks/minikin/libs/minikin/
H A DFontLanguage.cpp141 int FontLanguage::calcScoreFor(const FontLanguages& supported) const {
143 for (size_t i = 0; i < supported.size(); ++i) {
144 if (isEqualScript(supported[i]) ||
145 supportsScript(supported[i].mSubScriptBits, mSubScriptBits)) {
146 if (mLanguage == supported[i].mLanguage) {
158 if (supportsScript(supported.getUnionOfSubScriptBits(), mSubScriptBits)) {
161 return (mLanguage == supported[0].mLanguage && supported.isAllTheSameLanguage()) ? 2 : 1;
H A DFontLanguage.h65 int calcScoreFor(const FontLanguages& supported) const;
/frameworks/base/libs/hwui/font/
H A DFontUtil.h35 #error TEXTURE_BORDER_SIZE other than 1 is not currently supported
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DLocaleUtils.java46 * @param supported The locale supported by IME subtype.
51 private static byte calculateMatchingSubScore(@NonNull final ULocale supported, argument
53 // Assuming supported/desired is fully expanded.
54 if (supported.equals(desired)) {
60 final String supportedScript = supported.getScript();
66 final String supportedCountry = supported.getCountry();
78 * <p>The supported locale gets a matching score of 3 if all language, script and country of the
79 * supported locale matches with the desired locale. The supported local
92 calculateMatchingScore(@onNull final ULocale supported, @NonNull final LocaleList desired, @NonNull byte[] out) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioProfile.cpp73 // Search for the closest supported sampling rate that is above (preferred)
112 audio_channel_mask_t supported = mChannelMasks[i]; local
113 if (supported == channelMask) {
120 if (isRecordThread && supported != AUDIO_CHANNEL_NONE) {
122 // The match score measures how well the supported channel mask matches the
136 const bool isSupportedIndex = (audio_channel_mask_get_representation(supported)
143 & audio_channel_mask_get_bits(supported));
146 (1 << audio_channel_count_from_in_mask(supported)) - 1 ;
153 equivalentBits & audio_channel_mask_get_bits(supported));
158 & audio_channel_mask_get_bits(supported));
[all...]
/frameworks/base/libs/androidfw/tests/
H A DConfigLocale_test.cpp283 ResTable_config supported, requested; local
285 fillIn(NULL, NULL, NULL, NULL, &supported);
288 EXPECT_TRUE(supported.match(requested));
290 fillIn("en", "CA", NULL, NULL, &supported);
293 EXPECT_FALSE(supported.match(requested));
295 fillIn("qaa", "FR", NULL, NULL, &supported);
298 EXPECT_FALSE(supported.match(requested));
300 fillIn("qaa", "FR", "Latn", NULL, &supported);
303 EXPECT_FALSE(supported.match(requested));
305 fillIn("qaa", "FR", NULL, NULL, &supported);
375 ResTable_config supported, requested; local
[all...]
/frameworks/wilhelm/src/itf/
H A DIBassBoost.c158 int32_t supported = 0;
165 &supported);
169 *pSupported = (SLboolean) (supported != 0);
H A DIVirtualizer.c160 int32_t supported = 0;
167 VIRTUALIZER_PARAM_STRENGTH_SUPPORTED, &supported);
171 *pSupported = (SLboolean) (supported != 0);
/frameworks/base/core/java/android/os/
H A DLocaleList.java303 private static int matchScore(Locale supported, Locale desired) { argument
304 if (supported.equals(desired)) {
307 if (!supported.getLanguage().equals(desired.getLanguage())) {
310 if (isPseudoLocale(supported) || isPseudoLocale(desired)) {
315 final String supportedScr = getLikelyScript(supported);
320 final String supportedRegion = supported.getCountry();
388 * Returns the first match in the locale list given an unordered array of supported locales
397 false /* assume English is not supported */);
405 false /* assume English is not supported */);
409 * Same as getFirstMatch(), but with English assumed to be supported, eve
[all...]
/frameworks/base/libs/androidfw/
H A DLocaleData.cpp96 size_t findDistance(uint32_t supported, argument
103 supported, script,
107 // of 'supported' to the lowest common ancestor (number of ancestors
108 // written for 'supported' minus 1) plus the distance of 'request' to the
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp244 bool supported = PerfMeasurementContext::isMeasurementSupported(); local
246 return static_cast<jboolean>(supported);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp596 bool supported = true; local
621 supported = false;
625 if (supported) {
/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java91 * Query the media types supported by the codec.
132 // found stuff that is not supported by framework (=> this should not happen)
158 // Enumerates supported profile/level combinations as defined
470 * These features are supported to be used by the codec. These
601 * +: method does not verify that the format parameters are supported
645 // If we recognize this profile, check that this format is supported by the
646 // highest level supported by the codec for that profile. (Ignore specified
648 // guidance. E.g. AVC Level 1 CIF format is supported if codec supports level 1.1
650 // 1080p format is not supported even if codec supports Main Profile Level High,
735 // high tier levels are only supported b
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp270 VkBool32* supported) {
271 *supported = VK_TRUE;
347 // TODO(jessehall): Fill out the set of supported formats. Longer term, add
349 // supported, and check that for each gralloc format that corresponds to a
413 "swapchain imageArrayLayers=%u not supported",
416 "swapchain imageColorSpace=%u not supported",
419 "swapchain preTransform=%#x not supported",
423 "swapchain presentMode=%u not supported",
267 GetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice , uint32_t , VkSurfaceKHR , VkBool32* supported) argument
/frameworks/rs/api/
H A Drs_allocation_create.spec142 only supported usage flags for Allocations created from within a RenderScript
H A Drs_matrix.spec296 <b>Warning:</b> Prior to version 21, storing the result back into right matrix is not supported and

Completed in 340 milliseconds