Searched refs:node (Results 51 - 75 of 206) sorted by relevance

123456789

/frameworks/base/core/java/android/view/
H A DDisplayListCanvas.java51 static DisplayListCanvas obtain(@NonNull RenderNode node, int width, int height) { argument
52 if (node == null) throw new IllegalArgumentException("node cannot be null");
55 canvas = new DisplayListCanvas(node, width, height);
57 nResetDisplayListCanvas(canvas.mNativeCanvasWrapper, node.mNativeRenderNode,
60 canvas.mNode = node;
84 private DisplayListCanvas(@NonNull RenderNode node, int width, int height) { argument
85 super(nCreateDisplayListCanvas(node.mNativeRenderNode, width, height));
245 private static native long nCreateDisplayListCanvas(long node, int width, int height); argument
247 private static native void nResetDisplayListCanvas(long canvas, long node, argument
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DPropertyNode.java128 PropertyNode node = (PropertyNode)obj;
130 if (propName == null || !propName.equals(node.propName)) {
132 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) {
134 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) {
136 } else if (!propGroupSet.equals(node.propGroupSet)) {
140 if (propValue_bytes != null && Arrays.equals(propValue_bytes, node.propValue_bytes)) {
143 if (!propValue.equals(node.propValue)) {
151 return (propValue_vector.equals(node.propValue_vector) ||
153 node.propValue_vector.size() == 1);
/frameworks/av/media/libstagefright/
H A DOmxInfoBuilder.cpp60 const IOmxStore::NodeInfo& node, const char* mime, bool isEncoder,
64 node.owner.c_str(), node.name.c_str(), mime, isEncoder, caps);
68 for (const auto& attribute : node.attributes) {
153 for (const IOmxStore::NodeInfo& node : role.nodes) {
154 const hidl_string& nodeName = node.name;
160 // Create a new MediaCodecInfo for a new node.
165 info->setOwner(node.owner.c_str());
169 // The node has been seen before. Simply retrieve the
176 // Create a new MediaCodecInfo for a new node
59 queryCapabilities( const IOmxStore::NodeInfo& node, const char* mime, bool isEncoder, MediaCodecInfo::CapabilitiesWriter* caps) argument
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
H A DRecentsTransition.java111 RenderNode node = RenderNode.create("RecentsTransition", null);
112 node.setLeftTopRightBottom(0, 0, width, height);
113 node.setClipToBounds(false);
114 DisplayListCanvas c = node.start(width, height);
116 node.end(c);
117 return ThreadedRenderer.createHardwareBitmap(node, width, height);
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp62 void insertAfter(NODE* node, NODE* newNode) { argument
63 newNode->prev = node;
64 newNode->next = node->next;
65 if (node->next == 0) mLast = newNode;
66 else node->next->prev = newNode;
67 node->next = newNode;
70 void insertBefore(NODE* node, NODE* newNode) { argument
71 newNode->prev = node->prev;
72 newNode->next = node;
73 if (node
101 remove(NODE* node) argument
285 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); local
[all...]
/frameworks/wilhelm/src/ut/
H A DOpenSLESUT.c125 iid->node[0], iid->node[1], iid->node[2], iid->node[3], iid->node[4], iid->node[5]);
/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp55 guid->node[0],
56 guid->node[1],
57 guid->node[2],
58 guid->node[3],
59 guid->node[4],
60 guid->node[5]);
/frameworks/base/tools/aapt2/format/binary/
H A DXmlFlattener.cpp81 void Visit(const xml::Text* node) override {
82 std::string text = util::TrimWhitespace(node->text).to_string();
90 if (isspace(node->text[0])) {
93 if (isspace(node->text[node->text.length() - 1])) {
99 flat_node->lineNumber = util::HostToDevice32(node->line_number);
110 void Visit(const xml::Element* node) override {
111 for (const xml::NamespaceDecl& decl : node->namespace_decls) {
122 flat_node->lineNumber = util::HostToDevice32(node->line_number);
128 AddString(node
203 WriteAttributes(const xml::Element* node, ResXMLTree_attrExt* flat_elem, ChunkWriter* writer) argument
318 Flatten(IAaptContext* context, const xml::Node* node) argument
[all...]
H A DXmlFlattener.h48 bool Flatten(IAaptContext* context, const xml::Node* node);
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
H A DUsbDescriptorsConfigNode.java36 * @param configDescriptor The Config Descriptor object wrapped by this tree node.
43 * Adds the inteface node logical contained in this configuration.
57 for (UsbDescriptorsInterfaceNode node : mInterfaceNodes) {
58 node.report(canvas);
/frameworks/base/core/proto/android/os/
H A Dpagetypeinfo.proto50 optional int32 node = 1;
65 optional int32 node = 1;
/frameworks/base/tools/aapt2/
H A DDominatorTree.h33 * A node in the tree represents a resource configuration.
96 virtual void VisitConfig(Node* node) = 0;
99 void VisitNode(Node* node) { argument
100 for (auto& child : node->children()) {
103 VisitConfig(node);
/frameworks/av/soundtrigger/
H A DSoundTrigger.cpp257 guid->node[0] = (uint8_t)tmp[4];
258 guid->node[1] = (uint8_t)tmp[5];
259 guid->node[2] = (uint8_t)tmp[6];
260 guid->node[3] = (uint8_t)tmp[7];
261 guid->node[4] = (uint8_t)tmp[8];
262 guid->node[5] = (uint8_t)tmp[9];
278 guid->node[0],
279 guid->node[1],
280 guid->node[2],
281 guid->node[
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp89 void CanvasContext::destroyLayer(RenderNode* node) { argument
93 OpenGLPipeline::destroyLayer(node);
97 skiapipeline::SkiaPipeline::destroyLayer(node);
160 for (auto& node : mRenderNodes) {
161 node->clearRoot();
166 void CanvasContext::addRenderNode(RenderNode* node, bool placeFront) { argument
168 node->makeRoot();
169 mRenderNodes.emplace(mRenderNodes.begin() + pos, node);
172 void CanvasContext::removeRenderNode(RenderNode* node) { argument
173 node
549 prepareAndDraw(RenderNode* node) argument
566 markLayerInUse(RenderNode* node) argument
584 buildLayer(RenderNode* node) argument
[all...]
/frameworks/av/media/libstagefright/omx/1.0/
H A DOmxStore.cpp72 NodeInfo node; local
73 node.name = nodePair.second.name;
74 node.owner = owner;
75 hidl_vec<NodeAttribute>& attributeList = node.attributes;
85 nodeList[j] = std::move(node);
/frameworks/support/customview/src/androidTest/java/androidx/customview/widget/
H A DExploreByTouchHelperTest.java66 final AccessibilityNodeInfoCompat node =
68 assertNotNull(node);
75 node.getBoundsInParent(nodeBoundsInParent);
80 node.getBoundsInScreen(nodeBoundsInScreen);
87 // Generate a node for the new position.
141 @NonNull AccessibilityNodeInfoCompat node) {
143 node.setContentDescription("test");
146 node.setBoundsInParent(hostBounds);
140 onPopulateNodeForVirtualView(int virtualViewId, @NonNull AccessibilityNodeInfoCompat node) argument
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java47 TextEntry(AssistStructure.ViewNode node, int parentLeft, int parentTop, Matrix matrix) { argument
48 int left = parentLeft+node.getLeft();
49 int top = parentTop+node.getTop();
50 bounds = new Rect(left, top, left+node.getWidth(), top+node.getHeight());
54 this.className = node.getClassName();
55 this.textSize = node.getTextSize();
56 this.textColor = node.getTextColor();
57 this.text = node.getText() != null ? node
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DStaticLayoutPerfTest.java254 final RenderNode node = RenderNode.create("benchmark", null);
259 final DisplayListCanvas c = node.start(1200, 200);
269 final RenderNode node = RenderNode.create("benchmark", null);
275 final DisplayListCanvas c = node.start(1200, 200);
285 final RenderNode node = RenderNode.create("benchmark", null);
291 final DisplayListCanvas c = node.start(1200, 200);
301 final RenderNode node = RenderNode.create("benchmark", null);
307 final DisplayListCanvas c = node.start(1200, 200);
318 final RenderNode node = RenderNode.create("benchmark", null);
324 final DisplayListCanvas c = node
[all...]
/frameworks/base/tools/aapt/
H A DXMLNode.cpp806 SourcePos(mFilename, child->getStartLineNumber()).error("Child to CDATA node.");
817 SourcePos(mFilename, child->getStartLineNumber()).error("Child to CDATA node.");
829 SourcePos(mFilename, getStartLineNumber()).error("Child to CDATA node.");
893 SourcePos(mFilename, getStartLineNumber()).error("Adding characters to element node.");
934 sp<XMLNode> node = mChildren.itemAt(i);
935 if (node->getType() == TYPE_CDATA) {
936 // This is a CDATA node...
937 const char16_t* p = node->mChars.string();
942 // (int)(p-node->mChars.string()),
943 // String8(node
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DHelper.java152 return findViewNode(structure, (node) -> {
153 return autofillId.equals(node.getAutofillId());
165 final ViewNode node = nodesToProcess.removeFirst();
166 if (filter.matches(node)) {
167 return node;
169 for (int i = 0; i < node.getChildCount(); i++) {
170 nodesToProcess.addLast(node.getChildAt(i));
178 * Sanitize the {@code webDomain} property of the URL bar node on compat mode.
183 * @return the node containing the URL bar
188 final ViewNode urlBarNode = findViewNode(structure, (node)
219 matches(ViewNode node) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
H A DAsn1DecoderTest.java52 Asn1Node node = root.getChild(0x5A);
55 assertEquals(node, root.getChildren().get(0));
56 assertEquals(node, root.getChildren(0x5A).get(0));
57 assertFalse(node.isConstructed());
58 assertEquals(0x5A, node.getTag());
59 assertEquals(0x0C, node.getEncodedLength());
60 assertTrue(node.hasValue());
62 new byte[] {(byte) 0x98, 0x10, 0x21, 0, 0, 0, 0, 0, 0, 0}, node.asBytes());
81 Asn1Node node = root.getChild(0x5A);
82 assertEquals(0x0C, node
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DActionReplacingCallbackTest.java79 AccessibilityNodeInfo node = (AccessibilityNodeInfo) o;
80 if (!node.getActionList().isEmpty()) return false;
81 return (!node.isScrollable() && !node.isLongClickable() && !node.isClickable()
82 && !node.isContextClickable() && !node.isDismissable() && !node.isFocusable());
95 AccessibilityNodeInfo node = (AccessibilityNodeInfo) o;
96 List<AccessibilityAction> actions = node
[all...]
/frameworks/base/tools/preload/
H A Dsorttable.js199 getInnerText: function(node) {
206 hasInputs = (typeof node.getElementsByTagName == 'function') &&
207 node.getElementsByTagName('input').length;
209 if (node.getAttribute("sorttable_customkey") != null) {
210 return node.getAttribute("sorttable_customkey");
212 else if (typeof node.textContent != 'undefined' && !hasInputs) {
213 return node.textContent.replace(/^\s+|\s+$/g, '');
215 else if (typeof node.innerText != 'undefined' && !hasInputs) {
216 return node.innerText.replace(/^\s+|\s+$/g, '');
218 else if (typeof node
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java307 * Set the search criteria to match the widget by its node
600 * can also be a single level referencing only one node. In such cases the return
604 * reference child node.
657 boolean isMatchFor(AccessibilityNodeInfo node, int index) { argument
668 if (node.isChecked() != getBoolean(criterion)) {
673 s = node.getClassName();
679 s = node.getClassName();
685 if (node.isClickable() != getBoolean(criterion)) {
690 if (node.isCheckable() != getBoolean(criterion)) {
695 if (node
[all...]
/frameworks/base/core/java/android/service/autofill/
H A DFillContext.java110 * @param ids The ids of the node to find.
143 final ViewNode node = nodesToProcess.removeFirst();
149 if (id.equals(node.getAutofillId())) {
150 foundNodes[index] = node;
156 mViewNodeLookupTable.put(id, node);
163 for (int i = 0; i < node.getChildCount(); i++) {
164 nodesToProcess.addLast(node.getChildAt(i));

Completed in 2430 milliseconds

123456789