Home
last modified time | relevance | path

Searched refs:ViewTranslationRequest (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/view/translation/
DViewTranslationRequest.java40 public final class ViewTranslationRequest implements Parcelable { class
159 public ViewTranslationRequest build() { in build()
166 ViewTranslationRequest o = new ViewTranslationRequest( in build()
219 public ViewTranslationRequest( in ViewTranslationRequest() method in ViewTranslationRequest
254 ViewTranslationRequest that = (ViewTranslationRequest) o; in equals()
290 /* package-private */ ViewTranslationRequest(@NonNull Parcel in) { in ViewTranslationRequest() method in ViewTranslationRequest
309 public static final @NonNull Parcelable.Creator<ViewTranslationRequest> CREATOR
310 = new Parcelable.Creator<ViewTranslationRequest>() {
312 public ViewTranslationRequest[] newArray(int size) {
313 return new ViewTranslationRequest[size];
[all …]
DTranslationRequest.java87 private final List<ViewTranslationRequest> mViewTranslationRequests;
97 private static List<ViewTranslationRequest> defaultViewTranslationRequests() { in defaultViewTranslationRequests()
114 @NonNull ViewTranslationRequest value); in addViewTranslationRequest()
170 @NonNull List<ViewTranslationRequest> viewTranslationRequests) { in TranslationRequest()
213 public @NonNull List<ViewTranslationRequest> getViewTranslationRequests() { in getViewTranslationRequests()
255 List<ViewTranslationRequest> viewTranslationRequests = new ArrayList<>(); in TranslationRequest()
256 … in.readParcelableList(viewTranslationRequests, ViewTranslationRequest.class.getClassLoader()); in TranslationRequest()
299 private @NonNull List<ViewTranslationRequest> mViewTranslationRequests;
348 … public @NonNull Builder setViewTranslationRequests(@NonNull List<ViewTranslationRequest> value) { in setViewTranslationRequests()
361 public @NonNull Builder addViewTranslationRequest(@NonNull ViewTranslationRequest value) { in addViewTranslationRequest()
DViewTranslationRequest.aidl19 parcelable ViewTranslationRequest;
DUiTranslationController.java482 List<ViewTranslationRequest> requests) { in sendTranslationRequest()
492 for (ViewTranslationRequest viewRequest: requests) { in sendTranslationRequest()
536 ArrayList<ViewTranslationRequest> requests = new ArrayList<>(); in onUiTranslationStarted()
696 private static String sanitizedViewTranslationRequest(@NonNull ViewTranslationRequest request) { in sanitizedViewTranslationRequest()
/frameworks/base/core/java/android/text/method/
DTranslationTransformationMethod.java25 import android.view.translation.ViewTranslationRequest;
72 ViewTranslationRequest.ID_TEXT); in getTransformation()
/frameworks/base/core/java/android/widget/
DTextViewTranslationCallback.java32 import android.view.translation.ViewTranslationRequest;
87 if (response.getKeys().contains(ViewTranslationRequest.ID_CONTENT_DESCRIPTION)) { in onShowTranslation()
89 response.getValue(ViewTranslationRequest.ID_CONTENT_DESCRIPTION).getText(); in onShowTranslation()
DTextView.java200 import android.view.translation.ViewTranslationRequest;
13916 @NonNull Consumer<ViewTranslationRequest> requestsCollector) { in onCreateViewTranslationRequest()
13923 ViewTranslationRequest.Builder requestBuilder = in onCreateViewTranslationRequest()
13924 new ViewTranslationRequest.Builder(getAutofillId()); in onCreateViewTranslationRequest()
13949 requestBuilder.setValue(ViewTranslationRequest.ID_TEXT, in onCreateViewTranslationRequest()
13952 requestBuilder.setValue(ViewTranslationRequest.ID_CONTENT_DESCRIPTION, in onCreateViewTranslationRequest()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java55 import android.view.translation.ViewTranslationRequest;
375 Consumer<ViewTranslationRequest> requestsCollector) { in onCreateVirtualViewTranslationRequests()
387 @NonNull @SuppressWarnings("unused") List<ViewTranslationRequest> requests) { in dispatchCreateViewTranslationRequest()
DWebView.java71 import android.view.translation.ViewTranslationRequest;
2868 @NonNull Consumer<ViewTranslationRequest> requestsCollector) { in onCreateVirtualViewTranslationRequests()
2877 @NonNull List<ViewTranslationRequest> requests) { in dispatchCreateViewTranslationRequest()
/frameworks/base/core/java/android/view/
DView.java158 import android.view.translation.ViewTranslationRequest;
30844 @NonNull Consumer<ViewTranslationRequest> requestsCollector) { in onCreateViewTranslationRequest()
30868 @NonNull Consumer<ViewTranslationRequest> requestsCollector) { in onCreateVirtualViewTranslationRequests()
30987 @NonNull List<ViewTranslationRequest> requests) { in dispatchCreateViewTranslationRequest()
31003 private class ViewTranslationRequestConsumer implements Consumer<ViewTranslationRequest> {
31004 private final List<ViewTranslationRequest> mRequests;
31007 ViewTranslationRequestConsumer(List<ViewTranslationRequest> requests) { in ViewTranslationRequestConsumer()
31012 public void accept(ViewTranslationRequest request) { in accept()
DViewGroup.java74 import android.view.translation.ViewTranslationRequest;
9287 @NonNull List<ViewTranslationRequest> requests) { in dispatchCreateViewTranslationRequest()
/frameworks/base/core/api/
Dremoved.txt557 …equest.Builder addViewTranslationRequest(@NonNull android.view.translation.ViewTranslationRequest);
Dcurrent.txt48570 …n.TranslationCapability, @NonNull java.util.List<android.view.translation.ViewTranslationRequest>);
48889 …Null int[], @NonNull java.util.function.Consumer<android.view.translation.ViewTranslationRequest>);
48890 …Null int[], @NonNull java.util.function.Consumer<android.view.translation.ViewTranslationRequest>);
52884 …method @NonNull public java.util.List<android.view.translation.ViewTranslationRequest> getViewTran…
52898 …tViewTranslationRequests(@NonNull java.util.List<android.view.translation.ViewTranslationRequest>);
52988 public final class ViewTranslationRequest implements android.os.Parcelable {
52994 …tatic final android.os.Parcelable.Creator<android.view.translation.ViewTranslationRequest> CREATOR;
52998 public static final class ViewTranslationRequest.Builder {
52999 ctor public ViewTranslationRequest.Builder(@NonNull android.view.autofill.AutofillId);
53000 ctor public ViewTranslationRequest.Builder(@NonNull android.view.autofill.AutofillId, long);
[all …]
Dsystem-current.txt14873 …n.TranslationCapability, @NonNull java.util.List<android.view.translation.ViewTranslationRequest>);
14885 …Null int[], @NonNull java.util.function.Consumer<android.view.translation.ViewTranslationRequest>);