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

12

/frameworks/base/libs/hwui/font/
H A DFontUtil.h35 #error TEXTURE_BORDER_SIZE other than 1 is not currently supported
/frameworks/base/libs/androidfw/tests/
H A DConfigLocale_test.cpp300 ResTable_config supported, requested; local
302 fillIn(NULL, NULL, NULL, NULL, &supported);
305 EXPECT_TRUE(supported.match(requested));
307 fillIn("en", "CA", NULL, NULL, &supported);
310 EXPECT_FALSE(supported.match(requested));
312 fillIn("tl", "PH", NULL, NULL, &supported);
315 EXPECT_TRUE(supported.match(requested));
317 fillIn("qaa", "FR", NULL, NULL, &supported);
320 EXPECT_FALSE(supported.match(requested));
322 fillIn("qaa", "FR", "Latn", NULL, &supported);
397 ResTable_config supported, requested; local
[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/minikin/libs/minikin/
H A DFontLanguage.cpp287 int FontLanguage::calcScoreFor(const FontLanguages& supported) const {
292 for (size_t i = 0; i < supported.size(); ++i) {
294 mEmojiStyle == supported[i].mEmojiStyle) {
296 if (mLanguage == supported[i].mLanguage) {
300 if (isEqualScript(supported[i]) ||
301 supportsScript(supported[i].mSubScriptBits, mSubScriptBits)) {
303 if (mLanguage == supported[i].mLanguage) {
309 if (supportsScript(supported.getUnionOfSubScriptBits(), mSubScriptBits)) {
311 if (mLanguage == supported[0].mLanguage && supported
[all...]
H A DFontLanguage.h84 int calcScoreFor(const FontLanguages& supported) const;
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DLocaleUtils.java47 * @param supported The locale supported by IME subtype.
52 private static byte calculateMatchingSubScore(@NonNull final ULocale supported, argument
54 // Assuming supported/desired is fully expanded.
55 if (supported.equals(desired)) {
61 final String supportedScript = supported.getScript();
67 final String supportedCountry = supported.getCountry();
/frameworks/compile/slang/lit-tests/
H A Dscriptc-filecheck-wrapper.sh72 echo --type not supported for C++
/frameworks/wilhelm/src/itf/
H A DIBassBoost.cpp158 int32_t supported = 0;
165 &supported);
169 *pSupported = (SLboolean) (supported != 0);
H A DIVirtualizer.cpp160 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/support/compat/java/android/support/v4/os/
H A DLocaleListHelper.java313 private static int matchScore(Locale supported, Locale desired) { argument
314 if (supported.equals(desired)) {
317 if (!supported.getLanguage().equals(desired.getLanguage())) {
320 if (isPseudoLocale(supported) || isPseudoLocale(desired)) {
325 final String supportedScr = getLikelyScript(supported);
330 final String supportedRegion = supported.getCountry();
398 * Returns the first match in the locale list given an unordered array of supported locales
410 false /* assume English is not supported */);
419 false /* assume English is not supported */);
423 * Same as getFirstMatch(), but with English assumed to be supported, eve
[all...]
/frameworks/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/inputmethod/
H A DCommitContentSupport.java130 boolean supported = false;
133 supported = true;
137 if (!supported) {
192 * @param contentMimeTypes A {@link String} array that indicates the supported content MIME
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/inputmethod/
H A DCommitContentSupport.java130 boolean supported = false;
133 supported = true;
137 if (!supported) {
192 * @param contentMimeTypes A {@link String} array that indicates the supported content MIME
/frameworks/support/v13/java/android/support/v13/view/inputmethod/
H A DInputConnectionCompat.java188 boolean supported = false;
191 supported = true;
195 if (!supported) {
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp244 bool supported = PerfMeasurementContext::isMeasurementSupported(); local
246 return static_cast<jboolean>(supported);
/frameworks/base/libs/androidfw/
H A DLocaleData.cpp97 size_t findDistance(uint32_t supported, argument
104 supported, script,
108 // of 'supported' to the lowest common ancestor (number of ancestors
109 // written for 'supported' minus 1) plus the distance of 'request' to the
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp191 std::vector<int32_t> supported; local
192 err = reply.readInt32Vector(&supported);
197 outSupported->reserve(supported.size());
198 for (int32_t s : supported) {
581 std::vector<int32_t> supported; local
582 supported.reserve(supportedTimestamps.size());
584 supported.push_back(static_cast<int32_t>(s));
586 return reply->writeInt32Vector(supported);
H A DSurface.cpp269 // Verify the requested timestamps are supported.
321 status_t Surface::getWideColorSupport(bool* supported) { argument
337 *supported = false;
344 *supported = true;
355 status_t Surface::getHdrSupport(bool* supported) { argument
367 *supported = !hdrCapabilities.getSupportedHdrTypes().empty();
/frameworks/native/include/gui/
H A DSurface.h158 status_t getWideColorSupport(bool* supported);
159 status_t getHdrSupport(bool* 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
475 * These features are supported to be used by the codec. These
607 * +: method does not verify that the format parameters are supported
651 // If we recognize this profile, check that this format is supported by the
652 // highest level supported by the codec for that profile. (Ignore specified
654 // guidance. E.g. AVC Level 1 CIF format is supported if codec supports level 1.1
656 // 1080p format is not supported even if codec supports Main Profile Level High,
741 // high tier levels are only supported b
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DVulkanManager.cpp543 VkBool32 supported;
545 mPresentQueueIndex, surface->mVkSurface, &supported);
548 SkASSERT(VK_SUCCESS == res && supported);
/frameworks/rs/script_api/
H A Drs_allocation_create.spec142 only supported usage flags for Allocations created from within a RenderScript
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp139 // we could fail if GRALLOC_USAGE_PROTECTED is not supported.
280 bool supported; local
281 surface->getWideColorSupport(&supported);
295 ASSERT_EQ(hasWideColorDisplay, supported);
980 // Verify supported bits are forwarded.
991 // Verify supported bits are forwarded.
1566 // when they aren't supported and that an error is returned.
1577 // are not supported.
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.cpp206 [&support](auto status, bool supported) {
208 support = supported;
633 dprintf(fd, " API2 not directly supported\n");

Completed in 1926 milliseconds

12