Home
last modified time | relevance | path

Searched refs:TranslationResponse (Results 1 – 11 of 11) sorted by relevance

/aosp12/frameworks/base/core/java/android/view/translation/
H A DTranslationResponse.java36 public final class TranslationResponse implements Parcelable { class
185 /* package-private */ TranslationResponse( in TranslationResponse() method in TranslationResponse
285 /* package-private */ TranslationResponse(@NonNull Parcel in) { in TranslationResponse() method in TranslationResponse
319 public static final @NonNull Parcelable.Creator<TranslationResponse> CREATOR
320 = 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 …]
H A DTranslator.java281 @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()
H A DTranslationResponse.aidl19 parcelable TranslationResponse;
H A DUiTranslationController.java294 public void onTranslationCompleted(TranslationResponse response) { in onTranslationCompleted()
296 != TranslationResponse.TRANSLATION_STATUS_SUCCESS) { in onTranslationCompleted()
/aosp12/frameworks/base/core/java/android/service/translation/
H A DOnTranslationResultCallbackWrapper.java23 import android.view.translation.TranslationResponse;
35 Consumer<TranslationResponse> {
52 public void accept(TranslationResponse response) { in accept()
H A DITranslationCallback.aidl19 import android.view.translation.TranslationResponse;
27 void onTranslationResponse(in TranslationResponse translationResponse); in onTranslationResponse()
H A DTranslationService.java49 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()
/aosp12/frameworks/base/core/api/
H A Dremoved.txt560 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>);
H A Dsystem-removed.txt204 method public void onTranslationSuccess(@NonNull android.view.translation.TranslationResponse);
H A Dcurrent.txt53007 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 …]
H A Dsystem-current.txt10467 …llationSignal, @NonNull java.util.function.Consumer<android.view.translation.TranslationResponse>);