Home
last modified time | relevance | path

Searched refs:ViewNode (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/app/assist/
DAssistStructure.java183 ViewNode node;
254 void pushViewStackEntry(ViewNode node, int pos) { in pushViewStackEntry()
270 void writeView(ViewNode child, Parcel out, PooledStringWriter pwriter, int levelAdj) { in writeView()
279 if ((flags&ViewNode.FLAGS_HAS_CHILDREN) != 0) { in writeView()
297 ViewNode child = mCurViewStackEntry.node.mChildren[mCurViewStackEntry.curChild]; in writeNextEntryToParcel()
330 ViewNode root = win.mRoot; in writeNextEntryToParcel()
440 int mTextColor = ViewNode.TEXT_COLOR_UNDEFINED;
441 int mTextBackgroundColor = ViewNode.TEXT_COLOR_UNDEFINED;
452 return mTextBackgroundColor == ViewNode.TEXT_COLOR_UNDEFINED in isSimple()
498 final ViewNode mRoot;
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java22 import android.app.assist.AssistStructure.ViewNode;
142 public static ViewNode findViewNodeByAutofillId(@NonNull AssistStructure structure, in findViewNodeByAutofillId()
149 private static ViewNode findViewNode(@NonNull AssistStructure structure, in findViewNode()
151 final ArrayDeque<ViewNode> nodesToProcess = new ArrayDeque<>(); in findViewNode()
157 final ViewNode node = nodesToProcess.removeFirst(); in findViewNode()
178 public static ViewNode sanitizeUrlBar(@NonNull AssistStructure structure, in sanitizeUrlBar()
180 final ViewNode urlBarNode = findViewNode(structure, (node) -> { in sanitizeUrlBar()
225 private static void addAutofillableIds(@NonNull ViewNode node, in addAutofillableIds()
232 final ViewNode child = node.getChildAt(i); in addAutofillableIds()
238 boolean matches(ViewNode node); in matches()
DSession.java45 import android.app.assist.AssistStructure.ViewNode;
166 private ViewNode mUrlBar;
503 final ViewNode[] nodes = fillContext in fillContextWithAllowedValuesLocked()
510 final ViewNode node = nodes[i]; in fillContextWithAllowedValuesLocked()
1979 final ViewNode node = Helper.findViewNodeByAutofillId(context.getStructure(), in getValueFromContextsLocked()
2005 final ViewNode node = Helper.findViewNodeByAutofillId(context.getStructure(), id); in getAutofillOptionsFromContextsLocked()
2025 final ViewNode[] nodes = in updateValuesForSaveLocked()
2039 final ViewNode node = nodes[viewStateNum]; in updateValuesForSaveLocked()
/frameworks/base/core/java/android/service/autofill/
DFillContext.java24 import android.app.assist.AssistStructure.ViewNode;
58 @Nullable private ArrayMap<AutofillId, AssistStructure.ViewNode> mViewNodeLookupTable;
129 @NonNull public ViewNode[] findViewNodesByAutofillIds(@NonNull AutofillId[] ids) { in findViewNodesByAutofillIds()
130 final LinkedList<ViewNode> nodesToProcess = new LinkedList<>(); in findViewNodesByAutofillIds()
131 final ViewNode[] foundNodes = new AssistStructure.ViewNode[ids.length]; in findViewNodesByAutofillIds()
156 final ViewNode node = nodesToProcess.removeFirst(); in findViewNodesByAutofillIds()
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java25 import android.app.assist.AssistStructure.ViewNode;
139 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithManySmallViews()
146 ViewNode title = rootView.getChildAt(0); in assertStructureWithManySmallViews()
153 ViewNode parent = rootView.getChildAt(1); in assertStructureWithManySmallViews()
161 ViewNode smallView = parent.getChildAt(i); in assertStructureWithManySmallViews()
192 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithOneBigView()
199 ViewNode title = rootView.getChildAt(0); in assertStructureWithOneBigView()
206 ViewNode parent = rootView.getChildAt(1); in assertStructureWithOneBigView()
213 ViewNode bigView = parent.getChildAt(0); in assertStructureWithOneBigView()
234 private void assertSmallView(ViewNode view) { in assertSmallView()
[all …]
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java46 public final class ViewNode extends AssistStructure.ViewNode { class
48 private static final String TAG = ViewNode.class.getSimpleName();
117 public ViewNode() { in ViewNode() method in ViewNode
120 private ViewNode(long nodeFlags, @NonNull Parcel parcel) { in ViewNode() method in ViewNode
592 public static void writeToParcel(@NonNull Parcel parcel, @Nullable ViewNode node, int flags) { in writeToParcel()
602 public static @Nullable ViewNode readFromParcel(@NonNull Parcel parcel) { in readFromParcel()
604 return nodeFlags == 0 ? null : new ViewNode(nodeFlags, parcel); in readFromParcel()
611 final ViewNode mNode = new ViewNode();
632 public ViewNode getNode() { in getNode()
966 int mTextColor = ViewNode.TEXT_COLOR_UNDEFINED;
[all …]
DContentCaptureEvent.java135 private @Nullable ViewNode mNode;
233 public ContentCaptureEvent setViewNode(@NonNull ViewNode node) { in setViewNode()
270 public ViewNode getViewNode() { in getViewNode()
418 ViewNode.writeToParcel(parcel, mNode, flags); in writeToParcel()
446 final ViewNode node = ViewNode.readFromParcel(parcel);
DContentCaptureSession.java30 import android.view.contentcapture.ViewNode.ViewStructureImpl;
364 if (!(node instanceof ViewNode.ViewStructureImpl)) { in notifyViewAppeared()
371 abstract void internalNotifyViewAppeared(@NonNull ViewNode.ViewStructureImpl node); in internalNotifyViewAppeared()
479 return new ViewNode.ViewStructureImpl(view); in newViewStructure()
513 return new ViewNode.ViewStructureImpl(parentId, virtualId, mId); in newVirtualViewStructure()
DChildContentCaptureSession.java21 import android.view.contentcapture.ViewNode.ViewStructureImpl;
DMainContentCaptureSession.java48 import android.view.contentcapture.ViewNode.ViewStructureImpl;
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DViewNodeTest.java25 import android.view.contentcapture.ViewNode.ViewStructureImpl;
52 ViewNode node = structure.getNode(); in testUnsupportedProperties()
DContentCaptureSessionTest.java26 import android.view.contentcapture.ViewNode.ViewStructureImpl;
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java47 TextEntry(AssistStructure.ViewNode node, int parentLeft, int parentTop, Matrix matrix) { in TextEntry()
140 void buildTextRects(AssistStructure.ViewNode root, int matrixStackIndex,
172 AssistStructure.ViewNode child = root.getChildAt(i);
/frameworks/base/api/
Dtest-current.txt442 public static class AssistStructure.ViewNode {
443 ctor public AssistStructure.ViewNode();
3383 method @Nullable public android.view.contentcapture.ViewNode getViewNode();
3409 public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
3411 …method @Nullable public static android.view.contentcapture.ViewNode readFromParcel(@NonNull androi…
3412 …oid writeToParcel(@NonNull android.os.Parcel, @Nullable android.view.contentcapture.ViewNode, int);
3415 public static final class ViewNode.ViewStructureImpl extends android.view.ViewStructure {
3416 ctor public ViewNode.ViewStructureImpl(@NonNull android.view.View);
3417 ctor public ViewNode.ViewStructureImpl(@NonNull android.view.autofill.AutofillId, long, int);
3425 method public android.view.contentcapture.ViewNode getNode();
Dsystem-current.txt726 public static class AssistStructure.ViewNode {
727 ctor public AssistStructure.ViewNode();
9491 method @Nullable public android.view.contentcapture.ViewNode getViewNode();
9508 public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
Dcurrent.txt7144 public static class AssistStructure.ViewNode {
7151 method public android.app.assist.AssistStructure.ViewNode getChildAt(int);
7213 method public android.app.assist.AssistStructure.ViewNode getRootViewNode();
/frameworks/base/core/java/android/widget/
DTextView.java11546 style |= AssistStructure.ViewNode.TEXT_STYLE_BOLD; in onProvideStructure()
11549 style |= AssistStructure.ViewNode.TEXT_STYLE_ITALIC; in onProvideStructure()
11555 style |= AssistStructure.ViewNode.TEXT_STYLE_BOLD; in onProvideStructure()
11558 style |= AssistStructure.ViewNode.TEXT_STYLE_UNDERLINE; in onProvideStructure()
11561 style |= AssistStructure.ViewNode.TEXT_STYLE_STRIKE_THRU; in onProvideStructure()
11567 AssistStructure.ViewNode.TEXT_COLOR_UNDEFINED /* bgColor */, style); in onProvideStructure()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4197 …tructure$ParcelTransferWriter;->pushViewStackEntry(Landroid/app/assist/AssistStructure$ViewNode;I)V
4201 …re$ParcelTransferWriter;->writeView(Landroid/app/assist/AssistStructure$ViewNode;Landroid/os/Parce…
4205 Landroid/app/assist/AssistStructure$ViewNode;-><init>()V
4206 Landroid/app/assist/AssistStructure$ViewNode;-><init>(Landroid/app/assist/AssistStructure$ParcelTra…
4207 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_ACCESSIBILITY_FOCUSED:I
4208 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_ACTIVATED:I
4209 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_ALL_CONTROL:I
4210 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_ASSIST_BLOCKED:I
4211 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_CHECKABLE:I
4212 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_CHECKED:I
[all …]
Dboot-image-profile.txt2577 …tructure$ParcelTransferWriter;->pushViewStackEntry(Landroid/app/assist/AssistStructure$ViewNode;I)V
2581 …re$ParcelTransferWriter;->writeView(Landroid/app/assist/AssistStructure$ViewNode;Landroid/os/Parce…
2583 HSPLandroid/app/assist/AssistStructure$ViewNode;-><init>(Landroid/app/assist/AssistStructure$Parcel…
2584 HPLandroid/app/assist/AssistStructure$ViewNode;->getAutofillId()Landroid/view/autofill/AutofillId;
2585 HPLandroid/app/assist/AssistStructure$ViewNode;->getAutofillType()I
2586 HSPLandroid/app/assist/AssistStructure$ViewNode;->getChildAt(I)Landroid/app/assist/AssistStructure$
2587 HSPLandroid/app/assist/AssistStructure$ViewNode;->getChildCount()I
2588 HPLandroid/app/assist/AssistStructure$ViewNode;->setAutofillOverlay(Landroid/app/assist/AssistStruc…
2589 HSPLandroid/app/assist/AssistStructure$ViewNode;->writeSelfToParcel(Landroid/os/Parcel;Landroid/os/…
2618 …/assist/AssistStructure$WindowNode;->getRootViewNode()Landroid/app/assist/AssistStructure$ViewNode;
[all …]
Dpreloaded-classes523 android.app.assist.AssistStructure$ViewNode
/frameworks/base/services/
Dart-profile4478 …Lambda$Helper$nK3g_oXXf8NGajcUf0W5JsQzf3w;->matches(Landroid/app/assist/AssistStructure$ViewNode;)Z
4580 …utofill/Helper;->addAutofillableIds(Landroid/app/assist/AssistStructure$ViewNode;Landroid/util/Arr…
4581 …e;Lcom/android/server/autofill/Helper$ViewNodeFilter;)Landroid/app/assist/AssistStructure$ViewNode;