Home
last modified time | relevance | path

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

12

/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()
419 ViewNode.writeToParcel(parcel, mNode, flags); in writeToParcel()
447 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/api/
Dsystem-lint-baseline.txt12 ArrayReturn: android.view.contentcapture.ViewNode#getAutofillOptions():
112 MissingNullability: android.view.contentcapture.ViewNode#getAutofillId():
114 MissingNullability: android.view.contentcapture.ViewNode#getClassName():
116 MissingNullability: android.view.contentcapture.ViewNode#getContentDescription():
118 MissingNullability: android.view.contentcapture.ViewNode#getExtras():
120 MissingNullability: android.view.contentcapture.ViewNode#getHint():
122 MissingNullability: android.view.contentcapture.ViewNode#getIdEntry():
124 MissingNullability: android.view.contentcapture.ViewNode#getIdPackage():
126 MissingNullability: android.view.contentcapture.ViewNode#getIdType():
128 MissingNullability: android.view.contentcapture.ViewNode#getLocaleList():
[all …]
Dtest-lint-baseline.txt120 ArrayReturn: android.view.contentcapture.ViewNode#getAutofillOptions():
122 ArrayReturn: android.view.contentcapture.ViewNode.ViewStructureImpl#setAutofillOptions(CharSequence…
294 EndsWithImpl: android.view.contentcapture.ViewNode.ViewStructureImpl:
2106 MissingNullability: android.view.contentcapture.ViewNode#getAutofillId():
2108 MissingNullability: android.view.contentcapture.ViewNode#getClassName():
2110 MissingNullability: android.view.contentcapture.ViewNode#getContentDescription():
2112 MissingNullability: android.view.contentcapture.ViewNode#getExtras():
2114 MissingNullability: android.view.contentcapture.ViewNode#getHint():
2116 MissingNullability: android.view.contentcapture.ViewNode#getIdEntry():
2118 MissingNullability: android.view.contentcapture.ViewNode#getIdPackage():
[all …]
Dtest-current.txt451 public static class AssistStructure.ViewNode {
452 ctor public AssistStructure.ViewNode();
4450 method @Nullable public android.view.contentcapture.ViewNode getViewNode();
4476 public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
4478 …method @Nullable public static android.view.contentcapture.ViewNode readFromParcel(@NonNull androi…
4479 …oid writeToParcel(@NonNull android.os.Parcel, @Nullable android.view.contentcapture.ViewNode, int);
4482 public static final class ViewNode.ViewStructureImpl extends android.view.ViewStructure {
4483 ctor public ViewNode.ViewStructureImpl(@NonNull android.view.View);
4484 ctor public ViewNode.ViewStructureImpl(@NonNull android.view.autofill.AutofillId, long, int);
4492 method public android.view.contentcapture.ViewNode getNode();
Dsystem-current.txt751 public static class AssistStructure.ViewNode {
752 ctor public AssistStructure.ViewNode();
10460 method @Nullable public android.view.contentcapture.ViewNode getViewNode();
10477 public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
/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/non-updatable-api/
Dsystem-lint-baseline.txt2 ArrayReturn: android.view.contentcapture.ViewNode#getAutofillOptions():
Dsystem-current.txt751 public static class AssistStructure.ViewNode {
752 ctor public AssistStructure.ViewNode();
10358 method @Nullable public android.view.contentcapture.ViewNode getViewNode();
10375 public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
Dcurrent.txt7147 public static class AssistStructure.ViewNode {
7154 method public android.app.assist.AssistStructure.ViewNode getChildAt(int);
7216 method public android.app.assist.AssistStructure.ViewNode getRootViewNode();
/frameworks/base/core/java/android/widget/
DTextView.java11574 style |= AssistStructure.ViewNode.TEXT_STYLE_BOLD; in onProvideStructure()
11577 style |= AssistStructure.ViewNode.TEXT_STYLE_ITALIC; in onProvideStructure()
11583 style |= AssistStructure.ViewNode.TEXT_STYLE_BOLD; in onProvideStructure()
11586 style |= AssistStructure.ViewNode.TEXT_STYLE_UNDERLINE; in onProvideStructure()
11589 style |= AssistStructure.ViewNode.TEXT_STYLE_STRIKE_THRU; in onProvideStructure()
11595 AssistStructure.ViewNode.TEXT_COLOR_UNDEFINED /* bgColor */, style); in onProvideStructure()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt3902 …tructure$ParcelTransferWriter;->pushViewStackEntry(Landroid/app/assist/AssistStructure$ViewNode;I)V
3906 …re$ParcelTransferWriter;->writeView(Landroid/app/assist/AssistStructure$ViewNode;Landroid/os/Parce…
3909 Landroid/app/assist/AssistStructure$ViewNode;-><init>()V
3910 Landroid/app/assist/AssistStructure$ViewNode;-><init>(Landroid/app/assist/AssistStructure$ParcelTra…
3911 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_ACCESSIBILITY_FOCUSED:I
3912 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_ACTIVATED:I
3913 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_ALL_CONTROL:I
3914 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_ASSIST_BLOCKED:I
3915 Landroid/app/assist/AssistStructure$ViewNode;->FLAGS_CHECKABLE:I
3916 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;

12