Loading core/java/android/view/ViewStructure.java +7 −4 Original line number Diff line number Diff line Loading @@ -25,7 +25,8 @@ import android.view.autofill.AutoFillValue; /** * Container for storing additional per-view data generated by {@link View#onProvideStructure * View.onProvideStructure}. * View.onProvideStructure} and {@link View#onProvideAutoFillStructure * View.onProvideAutoFillStructure}. */ public abstract class ViewStructure { Loading @@ -33,7 +34,9 @@ public abstract class ViewStructure { * Flag used when adding virtual views for auto-fill, it indicates the contents of the view * (such as * {@link android.app.assist.AssistStructure.ViewNode#getText()} and * {@link android.app.assist.AssistStructure.ViewNode#getAutoFillValue()}) * can be passed to the {@link android.service.autofill.AutoFillService}. * can be passed to the {@link * android.service.autofill.AutoFillService#onFillRequest(android.app.assist.AssistStructure, * Bundle, android.os.CancellationSignal, android.service.autofill.FillCallback)} call. */ public static final int AUTO_FILL_FLAG_SANITIZED = 0x1; Loading Loading @@ -275,7 +278,7 @@ public abstract class ViewStructure { * * @param index child index * @param virtualId id identifying the virtual child inside the custom view. * @param flags currently {@code 0}. * @param flags currently {@code 0} or {@link #AUTO_FILL_FLAG_SANITIZED}. */ // TODO(b/33197203, b/33802548): add CTS/unit test public abstract ViewStructure newChild(int index, int virtualId, int flags); Loading @@ -296,7 +299,7 @@ public abstract class ViewStructure { * * @param index child index * @param virtualId id identifying the virtual child inside the custom view. * @param flags currently {@code 0}. * @param flags currently {@code 0} or {@link #AUTO_FILL_FLAG_SANITIZED}. */ // TODO(b/33197203, b/33802548): add CTS/unit test public abstract ViewStructure asyncNewChild(int index, int virtualId, int flags); Loading Loading
core/java/android/view/ViewStructure.java +7 −4 Original line number Diff line number Diff line Loading @@ -25,7 +25,8 @@ import android.view.autofill.AutoFillValue; /** * Container for storing additional per-view data generated by {@link View#onProvideStructure * View.onProvideStructure}. * View.onProvideStructure} and {@link View#onProvideAutoFillStructure * View.onProvideAutoFillStructure}. */ public abstract class ViewStructure { Loading @@ -33,7 +34,9 @@ public abstract class ViewStructure { * Flag used when adding virtual views for auto-fill, it indicates the contents of the view * (such as * {@link android.app.assist.AssistStructure.ViewNode#getText()} and * {@link android.app.assist.AssistStructure.ViewNode#getAutoFillValue()}) * can be passed to the {@link android.service.autofill.AutoFillService}. * can be passed to the {@link * android.service.autofill.AutoFillService#onFillRequest(android.app.assist.AssistStructure, * Bundle, android.os.CancellationSignal, android.service.autofill.FillCallback)} call. */ public static final int AUTO_FILL_FLAG_SANITIZED = 0x1; Loading Loading @@ -275,7 +278,7 @@ public abstract class ViewStructure { * * @param index child index * @param virtualId id identifying the virtual child inside the custom view. * @param flags currently {@code 0}. * @param flags currently {@code 0} or {@link #AUTO_FILL_FLAG_SANITIZED}. */ // TODO(b/33197203, b/33802548): add CTS/unit test public abstract ViewStructure newChild(int index, int virtualId, int flags); Loading @@ -296,7 +299,7 @@ public abstract class ViewStructure { * * @param index child index * @param virtualId id identifying the virtual child inside the custom view. * @param flags currently {@code 0}. * @param flags currently {@code 0} or {@link #AUTO_FILL_FLAG_SANITIZED}. */ // TODO(b/33197203, b/33802548): add CTS/unit test public abstract ViewStructure asyncNewChild(int index, int virtualId, int flags); Loading