Searched refs:AutofillValue (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/view/autofill/
H A DAutofillValue.aidl19 parcelable AutofillValue
H A DAutofillValue.java40 * <p>Each {@link AutofillValue} is associated with a {@code type}, as defined by
43 public final class AutofillValue implements Parcelable { class in inherits:Parcelable
47 private AutofillValue(@View.AutofillType int type, @NonNull Object value) { method in class:AutofillValue
161 final AutofillValue other = (AutofillValue) obj;
216 private AutofillValue(@NonNull Parcel parcel) { method in class:AutofillValue
238 public static final Parcelable.Creator<AutofillValue> CREATOR =
239 new Parcelable.Creator<AutofillValue>() {
241 public AutofillValue createFromParcel(Parcel source) {
242 return new AutofillValue(sourc
[all...]
H A DIAutoFillManager.aidl25 import android.view.autofill.AutofillValue;
37 in Rect bounds, in AutofillValue value, int userId, boolean hasCallback, int flags,
42 in AutofillValue value, int action, int flags, int userId);
44 in AutofillId autoFillId, in Rect bounds, in AutofillValue value, int userId,
H A DParcelableMap.java26 * A parcelable HashMap for {@link AutofillId} and {@link AutofillValue}
30 class ParcelableMap extends HashMap<AutofillId, AutofillValue> implements Parcelable {
44 for (Map.Entry<AutofillId, AutofillValue> entry : entrySet()) {
60 AutofillValue value = source.readParcelable(null);
H A DIAutoFillManagerClient.aidl26 import android.view.autofill.AutofillValue;
43 void autofill(int sessionId, in List<AutofillId> ids, in List<AutofillValue> values);
H A DAutofillManager.java100 * calls to {@link View#autofill(AutofillValue)} or {@link View#autofill(SparseArray)}.
600 final AutofillValue value = view.getAutofillValue();
781 AutofillValue value = null;
832 public void notifyValueChanged(View view, int virtualId, AutofillValue value) {
993 @NonNull AutofillValue value, int flags) {
1061 private void updateSessionLocked(AutofillId id, Rect bounds, AutofillValue value, int action,
1226 private void setAutofilledIfValuesIs(@NonNull View view, @Nullable AutofillValue targetValue) {
1227 AutofillValue currentValue = view.getAutofillValue();
1239 private void autofill(int sessionId, List<AutofillId> ids, List<AutofillValue> values) {
1252 ArrayMap<View, SparseArray<AutofillValue>> virtualValue
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DViewState.java29 import android.view.autofill.AutofillValue;
45 @Nullable AutofillValue value);
77 private AutofillValue mCurrentValue;
78 private AutofillValue mAutofilledValue;
101 AutofillValue getCurrentValue() {
105 void setCurrentValue(AutofillValue value) {
110 AutofillValue getAutofilledValue() {
114 void setAutofilledValue(@Nullable AutofillValue value) {
154 void update(@Nullable AutofillValue autofillValue, @Nullable Rect virtualBounds, int flags) {
167 * Listener#onFillReady(FillResponse, AutofillId, AutofillValue)} i
[all...]
H A DHelper.java27 import android.view.autofill.AutofillValue;
95 static ArrayMap<AutofillId, AutofillValue> getFields(@NonNull Dataset dataset) {
97 final ArrayList<AutofillValue> values = dataset.getFieldValues();
99 final ArrayMap<AutofillId, AutofillValue> fields = new ArrayMap<>(size);
H A DSession.java71 import android.view.autofill.AutofillValue;
288 AutofillValue value = null;
344 final AutofillValue currentValue = viewState.getCurrentValue();
345 final AutofillValue filledValue = viewState.getAutofilledValue();
863 final ArrayMap<AutofillId, AutofillValue> currentValues = new ArrayMap<>();
884 AutofillValue value = viewState.getCurrentValue();
886 final AutofillValue initialValue = getValueFromContextsLocked(id);
902 final AutofillValue filledValue = viewState.getAutofilledValue();
927 final AutofillValue currentValue = viewState.getCurrentValue();
929 final AutofillValue filledValu
[all...]
H A DAutofillManagerService.java62 import android.view.autofill.AutofillValue;
535 Rect bounds, AutofillValue value, int userId, boolean hasCallback, int flags,
594 AutofillValue value, int action, int flags, int userId) {
606 AutofillId autoFillId, Rect bounds, AutofillValue value, int userId,
H A DAutofillManagerServiceImpl.java65 import android.view.autofill.AutofillValue;
285 @NonNull Rect virtualBounds, @Nullable AutofillValue value, boolean hasCallback,
470 AutofillValue value, int action, int flags) {
/frameworks/base/core/java/android/service/autofill/
H A DDataset.java27 import android.view.autofill.AutofillValue;
38 * {@link AutofillId} and {@link AutofillValue} respectively); and one or more
56 private final ArrayList<AutofillValue> mFieldValues;
77 public @Nullable ArrayList<AutofillValue> getFieldValues() {
128 private ArrayList<AutofillValue> mFieldValues;
149 * {@link #setValue(AutofillId, AutofillValue, RemoteViews)}.
231 public @NonNull Builder setValue(@NonNull AutofillId id, @Nullable AutofillValue value) {
253 public @NonNull Builder setValue(@NonNull AutofillId id, @Nullable AutofillValue value,
261 private void setValueAndPresentation(AutofillId id, AutofillValue value,
337 final ArrayList<AutofillValue> value
[all...]
H A DAutofillService.java35 import android.view.autofill.AutofillValue;
86 * <li>Fill the dataset(s) with the proper {@link AutofillId}s and {@link AutofillValue}s.
97 * .setValue(id1, AutofillValue.forText("homer"), createPresentation("homer"))
98 * .setValue(id2, AutofillValue.forText("D'OH!"), createPresentation("password for homer"))
108 * .setValue(id1, AutofillValue.forText("homer"), createPresentation("homer"))
109 * .setValue(id2, AutofillValue.forText("D'OH!"), createPresentation("password for homer"))
112 * .setValue(id1, AutofillValue.forText("flanders"), createPresentation("flanders"))
113 * .setValue(id2, AutofillValue.forText("OkelyDokelyDo"), createPresentation("password for flanders"))
216 * .setValue(id1, AutofillValue.forText("homer"), createPresentation("homer"))
217 * .setValue(id2, AutofillValue
[all...]
H A DSaveInfo.java31 import android.view.autofill.AutofillValue;
60 * .setValue(id1, AutofillValue.forText("homer"), createPresentation("homer")) // username
61 * .setValue(id2, AutofillValue.forText("D'OH!"), createPresentation("password for homer")) // password
92 * .setValue(id1, AutofillValue.forText("742 Evergreen Terrace"),
94 * .setValue(id2, AutofillValue.forText("Springfield"),
116 * <li>The {@link AutofillValue}s of all required views (as set by the {@code requiredIds} passed
118 * <li>The {@link AutofillValue} of at least one view (be it required or optional) has changed
/frameworks/base/core/java/android/widget/
H A DTimePicker.java36 import android.view.autofill.AutofillValue;
372 void autofill(AutofillValue value);
373 AutofillValue getAutofillValue();
450 public final void autofill(AutofillValue value) {
468 public final AutofillValue getAutofillValue() {
470 return AutofillValue.forDate(mAutofilledValue);
476 return AutofillValue.forDate(cal.getTimeInMillis());
562 public void autofill(AutofillValue value) {
574 public AutofillValue getAutofillValue() {
H A DDatePicker.java38 import android.view.autofill.AutofillValue;
532 void autofill(AutofillValue value);
533 AutofillValue getAutofillValue();
622 public final void autofill(AutofillValue value) {
641 public final AutofillValue getAutofillValue() {
645 return AutofillValue.forDate(time);
806 public void autofill(AutofillValue value) {
818 public AutofillValue getAutofillValue() {
H A DRadioGroup.java28 import android.view.autofill.AutofillValue;
427 public void autofill(AutofillValue value) {
451 public AutofillValue getAutofillValue() {
458 return AutofillValue.forList(i);
H A DAbsSpinner.java30 import android.view.autofill.AutofillValue;
495 public void autofill(AutofillValue value) {
512 public AutofillValue getAutofillValue() {
513 return isEnabled() ? AutofillValue.forList(getSelectedItemPosition()) : null;
H A DCompoundButton.java40 import android.view.autofill.AutofillValue;
585 public void autofill(AutofillValue value) {
602 public AutofillValue getAutofillValue() {
603 return isEnabled() ? AutofillValue.forToggle(isChecked()) : null;
/frameworks/base/core/java/android/view/
H A DViewStructure.java27 import android.view.autofill.AutofillValue;
325 * Sets the {@link AutofillValue} representing the current value of this node.
327 public abstract void setAutofillValue(AutofillValue value);
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewStructureImpl.java25 import android.view.autofill.AutofillValue;
247 public void setAutofillValue(AutofillValue value) {
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java45 import android.view.autofill.AutofillValue;
337 public default void autofill(SparseArray<AutofillValue>values) {
H A DWebView.java60 import android.view.autofill.AutofillValue;
2729 * {@link ViewStructure#setAutofillValue(AutofillValue)} must be set.
2759 * username.setAutofillValue(AutofillValue.forText("Type your username"));
2780 public void autofill(SparseArray<AutofillValue>values) {
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java33 import android.view.autofill.AutofillValue;
615 AutofillValue mAutofillValue;
862 final AutofillValue sanitizedValue;
1003 @Nullable public AutofillValue getAutofillValue() {
1043 * Updates the {@link AutofillValue} of this structure.
1051 public void updateAutofillValue(AutofillValue value) {
1440 public AutofillValue value;
1748 public void setAutofillValue(AutofillValue value) {
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DFillUi.java42 import android.view.autofill.AutofillValue;
167 final AutofillValue value = dataset.getFieldValues().get(index);

Completed in 344 milliseconds

12