Searched refs:TextLanguage (Results 1 – 16 of 16) sorted by relevance
46 final TextLanguage reference = new TextLanguage.Builder() in testParcel()56 final TextLanguage result = TextLanguage.CREATOR.createFromParcel(parcel); in testParcel()75 final TextLanguage.Request reference = new TextLanguage.Request.Builder(text) in testRequestParcel()83 final TextLanguage.Request result = TextLanguage.Request.CREATOR.createFromParcel(parcel); in testRequestParcel()
401 TextLanguage.Request request = new TextLanguage.Request.Builder(text).build(); in testDetectLanguage()402 TextLanguage textLanguage = mClassifier.detectLanguage(request); in testDetectLanguage()410 TextLanguage.Request request = new TextLanguage.Request.Builder(text).build(); in testDetectLanguage_japanese()411 TextLanguage textLanguage = mClassifier.detectLanguage(request); in testDetectLanguage_japanese()649 private static Matcher<TextLanguage> isTextLanguage(final String languageTag) {650 return new BaseMatcher<TextLanguage>() {653 if (o instanceof TextLanguage) {654 TextLanguage result = (TextLanguage) o;
46 public final class TextLanguage implements Parcelable { class48 …ic static final @android.annotation.NonNull Creator<TextLanguage> CREATOR = new Creator<TextLangua…50 public TextLanguage createFromParcel(Parcel in) {55 public TextLanguage[] newArray(int size) {56 return new TextLanguage[size];60 static final TextLanguage EMPTY = new Builder().build();66 private TextLanguage( in TextLanguage() method in TextLanguage145 private static TextLanguage readFromParcel(Parcel in) { in readFromParcel()146 return new TextLanguage( in readFromParcel()202 public TextLanguage build() { in build()[all …]
19 parcelable TextLanguage;20 parcelable TextLanguage.Request;
180 public TextLanguage detectLanguage(TextLanguage.Request request) { in detectLanguage()187 final BlockingCallback<TextLanguage> callback = in detectLanguage()190 final TextLanguage textLanguage = callback.get(); in detectLanguage()
401 public TextLanguage detectLanguage(@NonNull TextLanguage.Request request) { in detectLanguage()405 final TextLanguage.Builder builder = new TextLanguage.Builder(); in detectLanguage()519 TextLanguage.Request request = new TextLanguage.Request.Builder(text).build(); in detectLanguageTagsFromText()520 TextLanguage textLanguage = detectLanguage(request); in detectLanguageTagsFromText()
348 default TextLanguage detectLanguage(@NonNull TextLanguage.Request request) { in detectLanguage()351 return TextLanguage.EMPTY; in detectLanguage()
80 TextLanguage.Request request = createTextLanguageRequest(text); in testDetectLanguage()97 private static TextLanguage.Request createTextLanguageRequest(CharSequence text) { in createTextLanguageRequest()98 return new TextLanguage.Request.Builder(text).build(); in createTextLanguageRequest()
27 import android.view.textclassifier.TextLanguage;70 in TextLanguage.Request request, in onDetectLanguage()
48 import android.view.textclassifier.TextLanguage;164 TextLanguage.Request request,268 @NonNull TextLanguage.Request request, in onDetectLanguage()270 @NonNull Callback<TextLanguage> callback) { in onDetectLanguage()
43 import android.view.textclassifier.TextLanguage;251 TextLanguage.Request request, in onDetectLanguage()
54961 …c default android.view.textclassifier.TextLanguage detectLanguage(@NonNull android.view.textclassi…55113 public final class TextLanguage implements android.os.Parcelable {55121 …ublic static final android.os.Parcelable.Creator<android.view.textclassifier.TextLanguage> CREATOR;55124 public static final class TextLanguage.Builder {55125 ctor public TextLanguage.Builder();55126 method @NonNull public android.view.textclassifier.TextLanguage build();55127 …method @NonNull public android.view.textclassifier.TextLanguage.Builder putLocale(@NonNull android…55128 …method @NonNull public android.view.textclassifier.TextLanguage.Builder setExtras(@NonNull android…55129 method @NonNull public android.view.textclassifier.TextLanguage.Builder setId(@Nullable String);55132 public static final class TextLanguage.Request implements android.os.Parcelable {[all …]
7484 …TextLanguage.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassif…
55105 …c default android.view.textclassifier.TextLanguage detectLanguage(@NonNull android.view.textclassi…55257 public final class TextLanguage implements android.os.Parcelable {55265 …ublic static final android.os.Parcelable.Creator<android.view.textclassifier.TextLanguage> CREATOR;55268 public static final class TextLanguage.Builder {55269 ctor public TextLanguage.Builder();55270 method @NonNull public android.view.textclassifier.TextLanguage build();55271 …method @NonNull public android.view.textclassifier.TextLanguage.Builder putLocale(@NonNull android…55272 …method @NonNull public android.view.textclassifier.TextLanguage.Builder setExtras(@NonNull android…55273 method @NonNull public android.view.textclassifier.TextLanguage.Builder setId(@Nullable String);55276 public static final class TextLanguage.Request implements android.os.Parcelable {[all …]
7586 …TextLanguage.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassif…
18328 …>detectLanguage(Landroid/view/textclassifier/TextLanguage$Request;)Landroid/view/textclassifier/Te…18338 HSPLandroid/view/textclassifier/TextLanguage$1;-><init>()V18339 HSPLandroid/view/textclassifier/TextLanguage$Builder;-><init>()V18340 HSPLandroid/view/textclassifier/TextLanguage$Builder;->build()Landroid/view/textclassifier/TextLang…18341 …roid/view/textclassifier/TextLanguage$Builder;->putLocale(Landroid/icu/util/ULocale;F)Landroid/vie…18342 HSPLandroid/view/textclassifier/TextLanguage$Request$1;-><init>()V