Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/speech/tts/
DEventLoggerV1.java72 if (!TextUtils.isEmpty(mRequest.getVariant())) { in getLocaleString()
74 sb.append(mRequest.getVariant()); in getLocaleString()
DTextToSpeechService.java257 if (locale.getVariant().isEmpty()) { in getExpectedLanguageAvailableStatus()
288 locale.getISO3Country(), locale.getVariant()); in onGetVoices()
297 locale.getISO3Country(), locale.getVariant()); in onGetVoices()
368 locale.getISO3Country(), locale.getVariant()); in onLoadVoice()
373 locale.getISO3Country(), locale.getVariant()); in onLoadVoice()
399 locale.getISO3Country(), locale.getVariant()); in onIsValidVoiceName()
922 request.setLanguage(getLanguage(), getCountry(), getVariant()); in setRequestParams()
951 private String getVariant() { in getVariant() method in TextToSpeechService.SynthesisSpeechItemV1
DSynthesisRequest.java102 public String getVariant() { in getVariant() method in SynthesisRequest
DTtsEngines.java456 return new Locale(language, country, ttsLocale.getVariant()); in normalizeTTSLocale()
480 ret[2] = locale.getVariant(); in toOldLocaleStringFormat()
DTextToSpeech.java1291 locale.getISO3Language(), locale.getISO3Country(), locale.getVariant());
1477 String variant = loc.getVariant();
1632 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1757 return service.isLanguageAvailable(language, country, loc.getVariant());
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java98 FontVariant ffdVariant = ffd.getVariant(); in getFonts()
109 FontVariant ffd2Variant = ffd2.getVariant(); in getFonts()
114 if (variant == ffd.getVariant()) { in getFonts()
DFontFamily_Delegate.java175 public FontVariant getVariant() { in getVariant() method in FontFamily_Delegate
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java106 assertEquals("", req.getValue().getVariant()); in testSetLanguage_availableLanguage()
130 assertEquals("", req2.getValue().getVariant()); in testSetLanguage_unavailableLanguage()
166 assertEquals("", req.getValue().getVariant()); in testDefaultLanguage_setsVoiceName()
/frameworks/base/core/java/android/text/style/
DLocaleSpan.java59 dest.writeString(mLocale.getVariant()); in writeToParcel()
/frameworks/base/location/java/android/location/
DGeocoderParams.java91 parcel.writeString(mLocale.getVariant()); in writeToParcel()
/frameworks/minikin/include/minikin/
DFontFamily.h77 int getVariant() const { return (bits >> kVariantShift) & kVariantMask; } in getVariant() function
/frameworks/base/core/java/android/content/res/
DConfiguration.java1126 dest.writeString(locale.getVariant()); in writeToParcel()
1217 n = this.locale.getVariant().compareTo(that.locale.getVariant()); in compareTo()
1340 boolean v = (locale.getVariant().length() != 0); in localeToResourceQualifier()
1349 sb.append("-v").append(locale.getVariant()); in localeToResourceQualifier()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp166 int variant = style.getVariant(); in itemize()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java16802 SystemProperties.set("persist.sys.localevar", l.getVariant()); in saveLocaleLocked()
/frameworks/base/api/
Dsystem-current.txt29085 method public java.lang.String getVariant();
50971 method public java.lang.String getVariant();
Dcurrent.txt27374 method public java.lang.String getVariant();
48442 method public java.lang.String getVariant();