Home
last modified time | relevance | path

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

12

/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DAutofillTestHelper.java20 import android.app.assist.AssistStructure.ViewNode;
36 public static ViewNode findNodeByResourceId(List<FillContext> contexts, String resourceId) { in findNodeByResourceId()
38 ViewNode node = findNodeByResourceId(context.getStructure(), resourceId); in findNodeByResourceId()
49 private static ViewNode findNodeByResourceId(AssistStructure structure, String id) { in findNodeByResourceId()
54 final ViewNode rootNode = windowNode.getRootViewNode(); in findNodeByResourceId()
55 final ViewNode node = findNodeByResourceId(rootNode, id); in findNodeByResourceId()
66 private static ViewNode findNodeByResourceId(ViewNode node, String id) { in findNodeByResourceId()
73 final ViewNode found = findNodeByResourceId(node.getChildAt(i), id); in findNodeByResourceId()
DMyAutofillService.java18 import android.app.assist.AssistStructure.ViewNode;
166 ViewNode node = AutofillTestHelper.findNodeByResourceId(request.getFillContexts(), in getAutofillIdByResourceId()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java182 ViewNode node;
253 void pushViewStackEntry(ViewNode node, int pos) { in pushViewStackEntry()
269 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/core/java/android/service/autofill/
DFillContext.java24 import android.app.assist.AssistStructure.ViewNode;
78 private transient @Nullable ArrayMap<AutofillId, AssistStructure.ViewNode> mViewNodeLookupTable;
97 @NonNull public ViewNode[] findViewNodesByAutofillIds(@NonNull AutofillId[] ids) { in findViewNodesByAutofillIds()
98 final LinkedList<ViewNode> nodesToProcess = new LinkedList<>(); in findViewNodesByAutofillIds()
99 final ViewNode[] foundNodes = new AssistStructure.ViewNode[ids.length]; in findViewNodesByAutofillIds()
124 final ViewNode node = nodesToProcess.removeFirst(); in findViewNodesByAutofillIds()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java22 import android.app.assist.AssistStructure.ViewNode;
149 public static ViewNode findViewNodeByAutofillId(@NonNull AssistStructure structure, in findViewNodeByAutofillId()
156 private static ViewNode findViewNode(@NonNull AssistStructure structure, in findViewNode()
158 final ArrayDeque<ViewNode> nodesToProcess = new ArrayDeque<>(); in findViewNode()
164 final ViewNode node = nodesToProcess.removeFirst(); in findViewNode()
185 public static ViewNode sanitizeUrlBar(@NonNull AssistStructure structure, in sanitizeUrlBar()
187 final ViewNode urlBarNode = findViewNode(structure, (node) -> { in sanitizeUrlBar()
232 private static void addAutofillableIds(@NonNull ViewNode node, in addAutofillableIds()
239 final ViewNode child = node.getChildAt(i); in addAutofillableIds()
285 boolean matches(ViewNode node); in matches()
DSession.java64 import android.app.assist.AssistStructure.ViewNode;
240 private ViewNode mUrlBar;
846 final ViewNode[] nodes = fillContext
853 final ViewNode node = nodes[i];
2658 final ViewNode node = Helper.findViewNodeByAutofillId(context.getStructure(),
2683 final ViewNode node = Helper.findViewNodeByAutofillId(context.getStructure(),
2704 final ViewNode[] nodes =
2718 final ViewNode node = nodes[viewStateNum];
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java25 import android.app.assist.AssistStructure.ViewNode;
143 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithManySmallViews()
150 ViewNode title = rootView.getChildAt(0); in assertStructureWithManySmallViews()
157 ViewNode parent = rootView.getChildAt(1); in assertStructureWithManySmallViews()
165 ViewNode smallView = parent.getChildAt(i); in assertStructureWithManySmallViews()
196 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithOneBigView()
203 ViewNode title = rootView.getChildAt(0); in assertStructureWithOneBigView()
210 ViewNode parent = rootView.getChildAt(1); in assertStructureWithOneBigView()
217 ViewNode bigView = parent.getChildAt(0); in assertStructureWithOneBigView()
288 private void assertSmallView(ViewNode view) { in assertSmallView()
[all …]
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/proto/
Dview_capture.proto31 optional ViewNode node = 2;
34 message ViewNode { message
38 repeated ViewNode children = 3;
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java45 public final class ViewNode extends AssistStructure.ViewNode { class
47 private static final String TAG = ViewNode.class.getSimpleName();
120 public ViewNode() { in ViewNode() method in ViewNode
123 private ViewNode(long nodeFlags, @NonNull Parcel parcel) { in ViewNode() method in ViewNode
638 public static void writeToParcel(@NonNull Parcel parcel, @Nullable ViewNode node, int flags) { in writeToParcel()
648 public static @Nullable ViewNode readFromParcel(@NonNull Parcel parcel) { in readFromParcel()
650 return nodeFlags == 0 ? null : new ViewNode(nodeFlags, parcel); in readFromParcel()
657 final ViewNode mNode = new ViewNode();
678 public ViewNode getNode() { in getNode()
1022 int mTextColor = ViewNode.TEXT_COLOR_UNDEFINED;
[all …]
DContentCaptureSession.java32 import android.view.contentcapture.ViewNode.ViewStructureImpl;
380 if (!(node instanceof ViewNode.ViewStructureImpl)) { in notifyViewAppeared()
387 abstract void internalNotifyViewAppeared(@NonNull ViewNode.ViewStructureImpl node); in internalNotifyViewAppeared()
533 return new ViewNode.ViewStructureImpl(view); in newViewStructure()
567 return new ViewNode.ViewStructureImpl(parentId, virtualId, mId); in newVirtualViewStructure()
DContentCaptureEvent.java164 private @Nullable ViewNode mNode;
272 public ContentCaptureEvent setViewNode(@NonNull ViewNode node) { in setViewNode()
398 public ViewNode getViewNode() { in getViewNode()
600 ViewNode.writeToParcel(parcel, mNode, flags); in writeToParcel()
640 final ViewNode node = ViewNode.readFromParcel(parcel);
DChildContentCaptureSession.java22 import android.view.contentcapture.ViewNode.ViewStructureImpl;
DMainContentCaptureSession.java56 import android.view.contentcapture.ViewNode.ViewStructureImpl;
/frameworks/base/core/java/android/service/autofill/augmented/
DFillRequest.java22 import android.app.assist.AssistStructure.ViewNode;
88 public ViewNode getFocusedViewNode() { in getFocusedViewNode()
DAugmentedAutofillService.java29 import android.app.assist.AssistStructure.ViewNode;
420 private ViewNode mFocusedViewNode;
579 public ViewNode getFocusedViewNode() { in getFocusedViewNode()
/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.java27 import android.view.contentcapture.ViewNode.ViewStructureImpl;
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCapture.java45 import com.android.app.viewcapture.data.ViewNode;
410 ViewNode.Builder nodeBuilder = ViewNode.newBuilder();
504 ViewNode.Builder viewNode) {
530 ViewNode.Builder childViewNode = ViewNode.newBuilder();
/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/core/api/
Dtest-lint-baseline.txt16 ArrayReturn: android.view.contentcapture.ViewNode.ViewStructureImpl#setAutofillOptions(CharSequence…
54 EndsWithImpl: android.view.contentcapture.ViewNode.ViewStructureImpl:
674 MissingNullability: android.view.contentcapture.ViewNode.ViewStructureImpl#asyncNewChild(int):
676 MissingNullability: android.view.contentcapture.ViewNode.ViewStructureImpl#getAutofillId():
678 MissingNullability: android.view.contentcapture.ViewNode.ViewStructureImpl#getExtras():
680 MissingNullability: android.view.contentcapture.ViewNode.ViewStructureImpl#getHint():
682 MissingNullability: android.view.contentcapture.ViewNode.ViewStructureImpl#getNode():
684 MissingNullability: android.view.contentcapture.ViewNode.ViewStructureImpl#getTempRect():
686 MissingNullability: android.view.contentcapture.ViewNode.ViewStructureImpl#getText():
688 MissingNullability: android.view.contentcapture.ViewNode.ViewStructureImpl#newChild(int):
[all …]
Dtest-current.txt2402 method @Nullable public android.app.assist.AssistStructure.ViewNode getFocusedViewNode();
3063 public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
3064 …method @Nullable public static android.view.contentcapture.ViewNode readFromParcel(@NonNull androi…
3065 …oid writeToParcel(@NonNull android.os.Parcel, @Nullable android.view.contentcapture.ViewNode, int);
3068 public static final class ViewNode.ViewStructureImpl extends android.view.ViewStructure {
3069 ctor public ViewNode.ViewStructureImpl(@NonNull android.view.View);
3070 ctor public ViewNode.ViewStructureImpl(@NonNull android.view.autofill.AutofillId, long, int);
3078 method public android.view.contentcapture.ViewNode getNode();
Dsystem-lint-baseline.txt2 ArrayReturn: android.view.contentcapture.ViewNode#getAutofillOptions():
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java1277 rootDequeNode = new ViewNode(root); in addChildrenOfRoot()
1804 private class ViewNode implements DequeNode { class in AccessibilityInteractionController
1808 ViewNode(View view) { in ViewNode() method in AccessibilityInteractionController.ViewNode
1852 deque.push(new ViewNode(child)); in addChild()
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java38 import android.app.assist.AssistStructure.ViewNode;
4065 ViewNode viewNode = viewStructure.getViewNode(); in getViewNodeParcelable()
/frameworks/base/core/java/android/widget/
DTextView.java12196 style |= AssistStructure.ViewNode.TEXT_STYLE_BOLD; in onProvideStructure()
12199 style |= AssistStructure.ViewNode.TEXT_STYLE_ITALIC; in onProvideStructure()
12205 style |= AssistStructure.ViewNode.TEXT_STYLE_BOLD; in onProvideStructure()
12208 style |= AssistStructure.ViewNode.TEXT_STYLE_UNDERLINE; in onProvideStructure()
12211 style |= AssistStructure.ViewNode.TEXT_STYLE_STRIKE_THRU; in onProvideStructure()
12217 AssistStructure.ViewNode.TEXT_COLOR_UNDEFINED /* bgColor */, style); in onProvideStructure()

12