Home
last modified time | relevance | path

Searched refs:getVariant (Results 1 – 25 of 47) sorted by relevance

12

/aosp12/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java117 assertEquals("", req.getValue().getVariant()); in testSetLanguage_availableLanguage()
141 assertEquals("", req2.getValue().getVariant()); in testSetLanguage_unavailableLanguage()
170 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName()
175 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName()
184 assertEquals("", req.getValue().getVariant()); in testDefaultLanguage_setsVoiceName()
/aosp12/frameworks/base/core/java/android/speech/tts/
H A DEventLogger.java72 if (!TextUtils.isEmpty(mRequest.getVariant())) { in getLocaleString()
74 sb.append(mRequest.getVariant()); in getLocaleString()
H A DTextToSpeechService.java254 if (locale.getVariant().isEmpty()) { in getExpectedLanguageAvailableStatus()
285 locale.getISO3Country(), locale.getVariant()); in onGetVoices()
294 locale.getISO3Country(), locale.getVariant()); in onGetVoices()
296 locale.getISO3Country(), locale.getVariant()); in onGetVoices()
367 locale.getISO3Country(), locale.getVariant()); in onLoadVoice()
372 locale.getISO3Country(), locale.getVariant()); in onLoadVoice()
398 locale.getISO3Country(), locale.getVariant()); in onIsValidVoiceName()
1048 request.setLanguage(getLanguage(), getCountry(), getVariant()); in setRequestParams()
1079 private String getVariant() { in getVariant() method in TextToSpeechService.SynthesisSpeechItem
H A DSynthesisRequest.java102 public String getVariant() { in getVariant() method in SynthesisRequest
H A DTextToSpeech.java1380 locale.getISO3Language(), locale.getISO3Country(), locale.getVariant());
1555 String variant = loc.getVariant();
1607 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1719 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1842 return service.isLanguageAvailable(language, country, loc.getVariant());
H A DTtsEngines.java462 return new Locale(language, country, ttsLocale.getVariant()); in normalizeTTSLocale()
484 ret[2] = locale.getVariant(); in toOldLocaleStringFormat()
/aosp12/frameworks/base/services/core/java/com/android/server/graphics/fonts/
H A DFontManagerShellCommand.java194 if (family.getVariant() != FontConfig.FontFamily.VARIANT_DEFAULT) { in dumpFontConfig()
196 switch (family.getVariant()) { in dumpFontConfig()
244 if (family.getVariant() != FontConfig.FontFamily.VARIANT_DEFAULT) { in dumpFamily()
246 switch (family.getVariant()) { in dumpFamily()
/aosp12/hardware/interfaces/fastboot/1.0/default/
H A DFastboot.cpp37 Return<void> Fastboot::getVariant(getVariant_cb _hidl_cb) { in getVariant() function in android::hardware::fastboot::V1_0::implementation::Fastboot
H A DFastboot.h36 Return<void> getVariant(getVariant_cb _hidl_cb) override;
/aosp12/hardware/interfaces/fastboot/1.1/default/
H A DFastboot.cpp37 Return<void> Fastboot::getVariant(getVariant_cb _hidl_cb) { in getVariant() function in android::hardware::fastboot::V1_1::implementation::Fastboot
H A DFastboot.h39 Return<void> getVariant(getVariant_cb _hidl_cb) override;
/aosp12/hardware/google/pixel/fastboot/include/fastboot/
H A DFastboot.h46 Return<void> getVariant(getVariant_cb _hidl_cb) override;
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DTextToSpeechFragment.java302 if (!TextUtils.isEmpty(mCurrentDefaultLocale.getVariant())) { in evaluateDefaultLocale()
303 defaultLocaleStr += "-" + mCurrentDefaultLocale.getVariant(); in evaluateDefaultLocale()
355 intent.putExtra("variant", mCurrentDefaultLocale.getVariant()); in getSampleText()
/aosp12/frameworks/base/services/core/java/com/android/server/textservices/
H A DLocaleUtils.java77 final String variant = systemLocale.getVariant(); in getSuitableLocalesForSpellChecker()
/aosp12/frameworks/base/graphics/java/android/graphics/fonts/
H A DSystemFonts.java99 final int variant = xmlFamily.getVariant(); in pushFamilyToFallback()
200 xmlFamily.getLocaleList().toLanguageTags(), xmlFamily.getVariant(), in appendNamedFamily()
H A DFontFamily.java167 public int getVariant() { in getVariant() method in FontFamily
/aosp12/build/make/tools/product_config/src/com/android/build/config/
H A DKatiImpl.java40 mOptions.getProduct() + '-' + mOptions.getVariant()).toString(); in getWorkDirPath()
H A DOptions.java44 public String getVariant() { in getVariant() method in Options
/aosp12/frameworks/base/location/java/android/location/
H A DGeocoderParams.java123 parcel.writeString(mLocale.getVariant()); in writeToParcel()
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java374 ffdVariant = ffd.getVariant(); in next()
381 ffdVariant = ffd.getVariant(); in next()
/aosp12/build/make/tools/product_config/test/com/android/build/config/
H A DOptionsTest.java133 Assert.assertEquals("user", options.getVariant()); in testEnv()
/aosp12/packages/apps/Settings/src/com/android/settings/tts/
H A DTextToSpeechSettings.java440 if (!TextUtils.isEmpty(mCurrentDefaultLocale.getVariant())) { in evaluateDefaultLocale()
441 defaultLocaleStr += "-" + mCurrentDefaultLocale.getVariant(); in evaluateDefaultLocale()
486 intent.putExtra("variant", mCurrentDefaultLocale.getVariant()); in getSampleText()
/aosp12/hardware/interfaces/fastboot/1.0/
H A DIFastboot.hal51 getVariant() generates (string variant, Result result);
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/fonts/
H A DFontFamily_Builder_Delegate.java167 public FontVariant getVariant() {
/aosp12/hardware/google/pixel/fastboot/
H A DFastboot.cpp57 Return<void> Fastboot::getVariant(getVariant_cb _hidl_cb) { in getVariant() function in android::hardware::fastboot::V1_1::implementation::Fastboot

12