Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 194) sorted by relevance

12345678

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/
H A DShadeViewDifferTest.kt61 node(controller2, node(controller3), node(controller4)),
62 node(controller5)
71 node(controller2, node(controller3), node(controller4)),
72 node(controller5)
85 node(controller2, node(controller3), node(controller4)),
94 node(controller3, node(controller2))
123 node(controller2, node(controller3), node(controller4), node(controller5))
144 node(controller2, node(controller3), node(controller4), node(controller5))
171 node(controller2, node(controller3), node(controller4), node(controller5))
198 node(controller2, node(controller3), node(controller4)),
[all …]
/aosp14/system/core/libcutils/
H A Dconfig_utils.cpp30 if(node) { in config_node()
35 return node; in config_node()
43 for(node = root->first_child; node; node = node->next) in config_find()
52 cnode *node; in _config_create() local
63 return node; in _config_create()
68 cnode *node; in config_bool() local
71 if(!node) in config_bool()
89 if(!node) in config_str()
99 if(node) in config_set()
267 if(!node || *node->value) in parse_expr()
[all …]
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java152 if(node == null) { in getChildCount()
183 return node; in findAccessibilityNodeInfo()
398 if(node == null) { in click()
438 if(node == null) { in clickAndWaitForNewWindow()
456 if(node == null) { in clickTopLeft()
473 if(node == null) { in longClickBottomRight()
490 if(node == null) { in clickBottomRight()
507 if(node == null) { in longClick()
524 if(node == null) { in longClickTopLeft()
541 if(node == null) { in getText()
[all …]
H A DAccessibilityNodeInfoDumper.java200 if (!nafExcludedClass(node) && !nafCheck(node)) in dumpNodeRec()
219 node, width, height).toShortString()); in dumpNodeRec()
220 int count = node.getChildCount(); in dumpNodeRec()
222 AccessibilityNodeInfo child = node.getChild(i); in dumpNodeRec()
232 i, count, node.toString())); in dumpNodeRec()
265 private static boolean nafCheck(AccessibilityNodeInfo node) { in nafCheck() argument
266 boolean isNaf = node.isClickable() && node.isEnabled() in nafCheck()
268 && safeCharSeqToString(node.getText()).isEmpty(); in nafCheck()
276 return childNafCheck(node); in nafCheck()
292 int childCount = node.getChildCount(); in childNafCheck()
[all …]
/aosp14/system/core/libcutils/include/cutils/
H A Dlist.h31 #define node_to_item(node, container, member) \ argument
40 #define list_for_each_reverse(node, list) \ argument
41 for ((node) = (list)->prev; (node) != (list); (node) = (node)->prev)
43 #define list_for_each_safe(node, n, list) \ argument
44 for ((node) = (list)->next, (n) = (node)->next; \
45 (node) != (list); \
46 (node) = (n), (n) = (node)->next)
49 for (struct listnode* __n = ((node) = (list)->next)->next; (node) != (list); \
50 (node) = __n, __n = (node)->next)
54 node->next = node; in list_init()
[all …]
/aosp14/system/core/libcutils/include_outside_system/cutils/
H A Dlist.h31 #define node_to_item(node, container, member) \ argument
40 #define list_for_each_reverse(node, list) \ argument
41 for ((node) = (list)->prev; (node) != (list); (node) = (node)->prev)
43 #define list_for_each_safe(node, n, list) \ argument
44 for ((node) = (list)->next, (n) = (node)->next; \
45 (node) != (list); \
46 (node) = (n), (n) = (node)->next)
49 for (struct listnode* __n = ((node) = (list)->next)->next; (node) != (list); \
50 (node) = __n, __n = (node)->next)
54 node->next = node; in list_init()
[all …]
/aosp14/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java587 node.mStartTime = node.mStartTime == DURATION_INFINITE ?
589 node.mEndTime = node.mEndTime == DURATION_INFINITE ?
1314 node.mEnded = node.mAnimation.pulseAnimationFrame(
1325 Node node,
1534 size = node.mSiblings == null ? 0 : node.mSiblings.size();
1538 size = node.mParents == null ? 0 : node.mParents.size();
1644 findSiblings(node, node.mSiblings);
1645 node.mSiblings.remove(node);
1650 node.addParents(node.mSiblings.get(j).mParents);
1663 if (node != mRootNode && node.mParents == null) {
[all …]
/aosp14/frameworks/base/tools/aapt2/java/
H A DProguardRules.cpp61 AddClass(node->line_number, node->name, ctor_signature_); in Visit()
143 BaseVisitor::Visit(node); in Visit()
156 if (node->namespace_uri.empty() && node->name == "item") { in Visit()
175 BaseVisitor::Visit(node); in Visit()
191 node->name == "PreferenceScreen" || node->name == "header"; in Visit()
202 BaseVisitor::Visit(node); in Visit()
224 BaseVisitor::Visit(node); in Visit()
239 node->namespace_uri.empty() && (node->name == "transition" || node->name == "pathMotion"); in Visit()
303 } else if (node->name == "activity" || node->name == "service" || in Visit()
304 node->name == "receiver" || node->name == "provider") { in Visit()
[all …]
/aosp14/frameworks/base/tools/incident_report/
H A Dgeneric_message.cpp30 Node node; in addInt32() local
31 node.type = TYPE_VALUE32; in addInt32()
32 node.value32 = value; in addInt32()
39 Node node; in addInt64() local
40 node.type = TYPE_VALUE64; in addInt64()
41 node.value64 = value; in addInt64()
49 Node node; in addMessage() local
50 node.type = TYPE_MESSAGE; in addMessage()
51 node.message = result; in addMessage()
59 Node node; in addString() local
[all …]
/aosp14/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h178 sp<RenderNode> node = new RenderNode(); in createNode() local
188 return node; in createNode()
195 sp<RenderNode> node = new RenderNode(); in createNode() local
204 return node; in createNode()
209 node.stagingProperties().getWidth(), node.stagingProperties().getHeight(), &node)); in recordNode()
211 canvas->finishRecording(&node); in recordNode()
222 node->setName(name);
238 return node;
254 return node; in getSyncedNode()
362 node->syncProperties(); in syncHierarchyPropertiesAndDisplayListImpl()
[all …]
/aosp14/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp109 auto node = mDtorList; in ~LinearAllocator() local
111 node->dtor(node->addr); in ~LinearAllocator()
180 node->dtor = dtor; in addToDestructionList()
181 node->addr = addr; in addToDestructionList()
182 node->next = mDtorList; in addToDestructionList()
183 mDtorList = node; in addToDestructionList()
187 auto node = mDtorList; in runDestructorFor() local
189 while (node) { in runDestructorFor()
196 node->dtor(node->addr); in runDestructorFor()
200 previous = node; in runDestructorFor()
[all …]
/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/
H A DCallingIdentityTokenDetector.kt97 val variableName = node.getName()
98 if (!node.isFinal) {
142 node.sourcePsi?.getUseScope(),
156 isCallerAwareMethod(node) -> checkCallerAwareMethod(node)
171 context.getLocation(node),
180 val token = findFirstTokenInScope(node)
184 context.getLocation(node),
187 node.asRenderString()
215 context.getLocation(node),
291 val enclosingBlock = node
[all …]
/aosp14/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
H A DAutofillTestHelper.java38 ViewNode node = findNodeByResourceId(context.getStructure(), resourceId); in findNodeByResourceId() local
39 if (node != null) { in findNodeByResourceId()
40 return node; in findNodeByResourceId()
55 final ViewNode node = findNodeByResourceId(rootNode, id); in findNodeByResourceId() local
56 if (node != null) { in findNodeByResourceId()
57 return node; in findNodeByResourceId()
66 private static ViewNode findNodeByResourceId(ViewNode node, String id) { in findNodeByResourceId() argument
67 if (id.equals(node.getIdEntry())) { in findNodeByResourceId()
68 return node; in findNodeByResourceId()
70 final int childrenSize = node.getChildCount(); in findNodeByResourceId()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java380 onPopulateNodeForHost(node); in createNodeForHost()
399 return node; in createNodeForHost()
439 node.setEnabled(true); in createNodeForChild()
440 node.setClassName(DEFAULT_CLASS_NAME); in createNodeForChild()
447 if ((node.getText() == null) && (node.getContentDescription() == null)) { in createNodeForChild()
452 node.getBoundsInParent(tempParentRect); in createNodeForChild()
458 final int actions = node.getActions(); in createNodeForChild()
470 node.setSource(mView, virtualViewId); in createNodeForChild()
471 node.setParent(mView); in createNodeForChild()
484 node.setVisibleToUser(true); in createNodeForChild()
[all …]
/aosp14/frameworks/base/core/java/android/content/
H A DUriMatcher.java178 UriMatcher node = this; in addURI() local
188 node = child; in addURI()
196 node = child; in addURI()
199 node.mCode = code; in addURI()
226 UriMatcher node = this;
238 node = null;
257 node = n;
260 node = n;
263 if (node != null) {
267 if (node == null) {
[all …]
/aosp14/frameworks/base/packages/SystemUI/checks/src/com/android/internal/systemui/lint/
H A DDemotingTestWithoutBugDetector.kt41 override fun visitAnnotation(node: UAnnotation) {
43 if (node.qualifiedName in DEMOTING_ANNOTATION_BUG_ID) {
44 if (!containsBugId(node)) {
45 val location = context.getLocation(node)
49 context.report(ISSUE, node, location, message)
53 if (node.qualifiedName == DEMOTING_ANNOTATION_IGNORE) {
54 if (!containsBugString(node)) {
55 val location = context.getLocation(node)
58 context.report(ISSUE, node, location, message)
65 private fun containsBugId(node: UAnnotation): Boolean {
[all …]
/aosp14/frameworks/base/libs/hwui/tests/microbench/
H A DRenderNodeBench.cpp29 auto node = new RenderNode(); in BM_RenderNode_create() local
30 node->incStrong(0); in BM_RenderNode_create()
31 benchmark::DoNotOptimize(node); in BM_RenderNode_create()
32 node->decStrong(0); in BM_RenderNode_create()
38 sp<RenderNode> node = new RenderNode(); in BM_RenderNode_recordSimple() local
40 canvas->finishRecording(node.get()); in BM_RenderNode_recordSimple()
43 canvas->resetRecording(100, 100, node.get()); in BM_RenderNode_recordSimple()
45 canvas->finishRecording(node.get()); in BM_RenderNode_recordSimple()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DRenderNodePerfTest.java36 final RenderNode node = RenderNode.create("benchmark", null); in testMeasureRenderNodeJniOverhead() local
40 node.setTranslationX(1.0f); in testMeasureRenderNodeJniOverhead()
63 RenderNode node = RenderNode.create("LinearLayout", null); in testIsValid() local
65 node.hasDisplayList(); in testIsValid()
72 RenderNode node = RenderNode.create("LinearLayout", null); in testStartEnd() local
74 node.beginRecording(100, 100); in testStartEnd()
75 node.endRecording(); in testStartEnd()
100 RenderNode node = RenderNode.create("LinearLayout", null); in testHasIdentityMatrix() local
102 node.hasIdentityMatrix(); in testHasIdentityMatrix()
117 node.setOutline(a); in testSetOutline()
[all …]
H A DCanvasPerfTest.java43 RenderNode node = RenderNode.create("benchmark", null); in testBasicViewGroupDraw() local
47 RecordingCanvas canvas = node.start(100, 100); in testBasicViewGroupDraw()
48 node.end(canvas); in testBasicViewGroupDraw()
54 canvas = node.start(200, 200); in testBasicViewGroupDraw()
63 node.end(canvas); in testBasicViewGroupDraw()
72 RenderNode node = RenderNode.create("benchmark", null); in testRecordSimpleBitmapView() local
74 RecordingCanvas canvas = node.start(100, 100); in testRecordSimpleBitmapView()
75 node.end(canvas); in testRecordSimpleBitmapView()
81 canvas = node.start(100, 100); in testRecordSimpleBitmapView()
93 node.end(canvas); in testRecordSimpleBitmapView()
/aosp14/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java224 out.append(node.mText); in extractText()
257 out.append(node.mText); in extractTtmlFragment()
262 out.append(node.mName); in extractTtmlFragment()
263 out.append(node.mAttributes); in extractTtmlFragment()
269 out.append(node.mName); in extractTtmlFragment()
501 return node; in parseNode()
525 void onTtmlNodeParsed(TtmlNode node); in onTtmlNodeParsed() argument
591 mTtmlNodes.addLast(node); in onTtmlNodeParsed()
592 addTimeEvents(node); in onTtmlNodeParsed()
597 mRootNode = node; in onRootNodeParsed()
[all …]
/aosp14/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/
H A DSimpleProperties.java.txt1 package com.android.node;
103 propertyReader.readBoolean(mBooleanId, node.getBoolean());
104 propertyReader.readByte(mByteId, node.getByte());
105 propertyReader.readChar(mCharId, node.getChar());
106 propertyReader.readColor(mColorId, node.getColor());
107 propertyReader.readDouble(mDoubleId, node.getDouble());
108 propertyReader.readFloat(mFloatId, node.getFloat());
110 propertyReader.readInt(mIntId, node.getInt());
111 propertyReader.readLong(mLongId, node.getLong());
112 propertyReader.readObject(mObjectId, node.getObject());
[all …]
/aosp14/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/
H A DEnforcePermissionHelperDetector.kt44 override fun visitMethod(node: UMethod) {
45 if (context.evaluator.isAbstract(node)) return
48 if (!isContainedInSubclassOfStub(context, node)) {
51 node,
52 context.getLocation(node),
58 val targetExpression = getHelperMethodCallSourceString(node)
62 val firstExpression = (node.uastBody as? UBlockExpression)
68 context.getLocation(node),
81 val directSuper = context.evaluator.getSuperMethod(node)
90 context.getLocation(node),
[all …]
H A DEnforcePermissionUtils.kt31 fun getContainingAidlInterface(context: JavaContext, node: UMethod): String? {
32 if (!isContainedInSubclassOfStub(context, node)) return null
33 for (superMethod in node.findSuperMethods()) {
44 fun isContainedInSubclassOfStub(context: JavaContext, node: UMethod?): Boolean {
45 var superClass = node?.containingClass?.superClass
75 fun getHelperMethodCallSourceString(node: UMethod) = "${node.name}$AIDL_PERMISSION_HELPER_SUFFIX()"
78 node: UMethod,
82 val helperMethodSource = getHelperMethodCallSourceString(node)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
H A DShadeViewDiffer.kt68 nodes.values.firstOrNull { node -> node.view === view }?.label ?: view.toString()
183 var node = nodes[spec.controller] regex
184 if (node == null) {
185 node = ShadeNode(spec.controller)
186 nodes[node.controller] = node
188 return node
204 private fun registerNodes(node: NodeSpec, map: MutableMap<NodeController, NodeSpec>) {
205 if (map.containsKey(node.controller)) {
208 map[node.controller] = node
210 if (node.children.isNotEmpty()) {
[all …]
/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DXmlFlattener.cpp81 void Visit(const xml::Text* node) override { in Visit() argument
82 std::string text(util::TrimWhitespace(node->text)); in Visit()
90 if (isspace(node->text[0])) { in Visit()
93 if (isspace(node->text.back())) { in Visit()
107 void Visit(const xml::Element* node) override { in Visit() argument
132 WriteAttributes(node, flat_elem, &start_writer); in Visit()
137 xml::ConstVisitor::Visit(node); in Visit()
154 for (auto iter = node->namespace_decls.rbegin(); iter != node->namespace_decls.rend(); ++iter) { in Visit()
203 filtered_attrs_.reserve(node->attributes.size()); in WriteAttributes()
206 for (const xml::Attribute& attr : node->attributes) { in WriteAttributes()
[all …]

12345678