Searched refs:TranslationResponse (Results 1 – 11 of 11) sorted by relevance
36 public final class TranslationResponse implements Parcelable { class185 /* package-private */ TranslationResponse( in TranslationResponse() method in TranslationResponse285 /* package-private */ TranslationResponse(@NonNull Parcel in) { in TranslationResponse() method in TranslationResponse319 public static final @NonNull Parcelable.Creator<TranslationResponse> CREATOR320 = new Parcelable.Creator<TranslationResponse>() {322 public TranslationResponse[] newArray(int size) {323 return new TranslationResponse[size];327 public TranslationResponse createFromParcel(@NonNull Parcel in) {328 return new TranslationResponse(in);421 public @NonNull TranslationResponse build() { in build()[all …]
281 @NonNull Consumer<TranslationResponse> callback) { in translate()319 @NonNull Consumer<TranslationResponse> callback) { in translate()381 @NonNull Consumer<TranslationResponse> callback) { in requestUiTranslate()398 private final Consumer<TranslationResponse> mCallback;401 TranslationResponseCallbackImpl(Consumer<TranslationResponse> callback, Executor executor) { in TranslationResponseCallbackImpl()407 public void onTranslationResponse(TranslationResponse response) throws RemoteException { in onTranslationResponse()
19 parcelable TranslationResponse;
294 public void onTranslationCompleted(TranslationResponse response) { in onTranslationCompleted()296 != TranslationResponse.TRANSLATION_STATUS_SUCCESS) { in onTranslationCompleted()
23 import android.view.translation.TranslationResponse;35 Consumer<TranslationResponse> {52 public void accept(TranslationResponse response) { in accept()
19 import android.view.translation.TranslationResponse;27 void onTranslationResponse(in TranslationResponse translationResponse); in onTranslationResponse()
49 import android.view.translation.TranslationResponse;152 void onTranslationSuccess(@NonNull TranslationResponse response); in onTranslationSuccess()170 final Consumer<TranslationResponse> consumer =285 @NonNull Consumer<TranslationResponse> callback); in onTranslationRequest()
560 public static final class TranslationResponse.Builder {561 …method @Deprecated @NonNull public android.view.translation.TranslationResponse.Builder setTransla…570 …rent.Executor, @NonNull java.util.function.Consumer<android.view.translation.TranslationResponse>);
204 method public void onTranslationSuccess(@NonNull android.view.translation.TranslationResponse);
53007 public final class TranslationResponse implements android.os.Parcelable {53014 …c static final android.os.Parcelable.Creator<android.view.translation.TranslationResponse> CREATOR;53020 public static final class TranslationResponse.Builder {53021 ctor public TranslationResponse.Builder(int);53022 method @NonNull public android.view.translation.TranslationResponse build();53023 …method @NonNull public android.view.translation.TranslationResponse.Builder setFinalResponse(boole…53024 …method @NonNull public android.view.translation.TranslationResponse.Builder setTranslationResponse…53025 …method @NonNull public android.view.translation.TranslationResponse.Builder setTranslationResponse…53026 …method @NonNull public android.view.translation.TranslationResponse.Builder setViewTranslationResp…53027 …method @NonNull public android.view.translation.TranslationResponse.Builder setViewTranslationResp…[all …]
10467 …llationSignal, @NonNull java.util.function.Consumer<android.view.translation.TranslationResponse>);