Searched defs:node (Results 1 - 25 of 105) sorted by path

12345

/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c62 static int loadEffect(cnode *node);
63 // To get and add the effect pointed by the passed node to the gSubEffectList
292 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2],
293 uuid->node[3],uuid->node[4],uuid->node[5]);
413 uuid->clockSeq, uuid->node[0], uuid->node[
499 cnode *node; local
572 cnode *node; local
655 cnode *node; local
710 cnode *node; local
726 cnode *node; local
[all...]
/frameworks/av/media/libstagefright/
H A DACodec.cpp6598 ALOGE("[%s] Unable to configure for node (err %d)",
7339 VendorExtensionIterator(const sp<IOMXNode> &node, size_t index) argument
7340 : mNode(node),
7431 VendorExtensions(const sp<IOMXNode> &node) argument
7432 : mNode(node) {
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp36 cnode *node = root->first_child; local
40 while (node) {
41 if (strcmp(node->name, GAIN_MODE) == 0) {
42 gain->setMode(GainModeConverter::maskFromString(node->value));
43 } else if (strcmp(node->name, GAIN_CHANNELS) == 0) {
46 if (InputChannelConverter::fromString(node->value, mask)) {
50 if (OutputChannelConverter::fromString(node->value, mask)) {
54 } else if (strcmp(node->name, GAIN_MIN_VALUE) == 0) {
55 gain->setMinValueInMb(atoi(node->value));
56 } else if (strcmp(node
82 cnode *node = root->first_child; local
103 cnode *node = root->first_child; local
153 cnode *node = root->first_child; local
225 cnode *node = config_find(root, DEVICES_TAG); local
271 cnode *node = config_find(root, AUDIO_HW_MODULE_TAG); local
323 cnode *node = config_find(root, GLOBAL_CONFIG_TAG); local
370 cnode *node = config_find(root, GLOBAL_CONFIG_TAG); local
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp142 cnode *node; local
143 for (node = root->first_child; node != NULL; node = node->next) {
145 ALOG_ASSERT(node != NULL, "error in parsing file");
146 const char *typeName = node->name;
147 char *valueNames = strndup(node->value, strlen(node->value));
187 cnode *node local
197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str()); local
207 cnode *node; local
242 cnode *node = config_find(root, gCriterionTag.c_str()); local
295 cnode *node = config_find(root, gPolicyConfTag.c_str()); local
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp405 size_t AudioPolicyEffects::readParamValue(cnode *node, argument
413 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) {
418 *(short *)(*param + pos) = (short)atoi(node->value);
421 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) {
426 *(int *)(*param + pos) = atoi(node->value);
429 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) {
434 *(float *)(*param + pos) = (float)atof(node->value);
437 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) {
442 if (strncmp(node->value, "true", strlen("true") + 1) == 0) {
450 } else if (strncmp(node
549 cnode *node = root->first_child; local
565 cnode *node = root->first_child; local
603 cnode *node = config_find(root, PREPROCESSING_TAG); local
630 cnode *node = config_find(root, OUTPUT_SESSION_PROCESSING_TAG); local
656 cnode *node = config_find(root, UUID_TAG); local
670 cnode *node = config_find(root, EFFECTS_TAG); local
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java47 * @param root The root accessibility node.
69 * @param root The root accessibility node.
101 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, argument
103 serializer.startTag("", "node");
104 if (!nafExcludedClass(node) && !nafCheck(node))
107 serializer.attribute("", "text", safeCharSeqToString(node.getText()));
108 serializer.attribute("", "resource-id", safeCharSeqToString(node.getViewIdResourceName()));
109 serializer.attribute("", "class", safeCharSeqToString(node.getClassName()));
110 serializer.attribute("", "package", safeCharSeqToString(node
150 nafExcludedClass(AccessibilityNodeInfo node) argument
169 nafCheck(AccessibilityNodeInfo node) argument
195 childNafCheck(AccessibilityNodeInfo node) argument
[all...]
H A DAccessibilityNodeInfoHelper.java28 * Returns the node's bounds clipped to the size of the display
30 * @param node
33 * @return null if node is null, else a Rect containing visible bounds
35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { argument
36 if (node == null) {
39 // targeted node's bounds
41 node.getBoundsInScreen(nodeRect);
H A DUiObject.java151 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout());
152 if(node == null) {
155 return node.getChildCount();
167 AccessibilityNodeInfo node = null;
171 node = getQueryController().findAccessibilityNodeInfo(getSelector());
172 if (node != null) {
183 return node;
335 * @param node
336 * @return null if node is null, else a Rect containing visible bounds
338 private Rect getVisibleBounds(AccessibilityNodeInfo node) { argument
376 getScrollableParent(AccessibilityNodeInfo node) argument
[all...]
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/animation/
H A DAnimatorSet.java79 * to a single node representing that Animator, not create a new Node
190 throw new AndroidRuntimeException("Error: animation ended is not in the node map");
306 Node node = mNodes.get(i);
307 if (node != mRootNode) {
308 childList.add(node.mAnimation);
325 Node node = mNodes.get(i);
326 Animator animation = node.mAnimation;
573 Node node = mNodes.get(i);
574 if (node == mRootNode) {
575 node
1159 pulseFrame(Node node, long animPlayTime) argument
1168 getPlayTimeForNode(long overallPlayTime, Node node) argument
1172 getPlayTimeForNode(long overallPlayTime, Node node, boolean inReverse) argument
1707 findSiblings(Node node, ArrayList<Node> siblings) argument
1827 addChild(Node node) argument
1837 addSibling(Node node) argument
1847 addParent(Node node) argument
1884 AnimationEvent(Node node, int event) argument
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java169 ViewNode node; field in class:AssistStructure.ViewStackEntry
240 void pushViewStackEntry(ViewNode node, int pos) { argument
250 entry.node = node;
251 entry.numChildren = node.getChildCount();
277 // Write next view node if appropriate.
282 + mCurViewStackEntry.curChild + " in " + mCurViewStackEntry.node);
283 ViewNode child = mCurViewStackEntry.node.mChildren[mCurViewStackEntry.curChild];
292 if (DEBUG_PARCEL_TREE) Log.d(TAG, "Done with " + mCurViewStackEntry.node
620 // POJO used to override some autofill-related values when the node i
1448 ViewNodeBuilder(AssistStructure assist, ViewNode node, boolean async) argument
1952 dump(String prefix, ViewNode node, boolean showSensitive) argument
[all...]
/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...]
H A DRenderNodeAnimator.java125 * Creates a new render node animator for a field on a Paint property.
292 private void setTarget(RenderNode node) { argument
298 mTarget = node;
H A DThreadedRenderer.java323 // applied as translation when updating the root render node.
675 * @param node The node to add.
676 * @param placeFront If true, the render node will be placed in front of the content node,
677 * otherwise behind the content node.
679 public void addRenderNode(RenderNode node, boolean placeFront) { argument
680 nAddRenderNode(mNativeProxy, node.mNativeRenderNode, placeFront);
685 * @param node The node whic
687 removeRenderNode(RenderNode node) argument
696 drawRenderNode(RenderNode node) argument
805 buildLayer(RenderNode node) argument
887 createHardwareBitmap(RenderNode node, int width, int height) argument
1006 nBuildLayer(long nativeProxy, long node) argument
[all...]
H A DViewRootImpl.java3189 * Requests that the root render node is invalidated next time we perform a draw, such that
3331 void setAccessibilityFocus(View view, AccessibilityNodeInfo node) { argument
3357 // Clear accessibility focus in the virtual node.
3371 // Set the new focus host and node.
3373 mAccessibilityFocusedVirtualView = node;
7089 final AccessibilityNodeInfo node;
7090 node = provider.createAccessibilityNodeInfo(virtualNodeId);
7091 setAccessibilityFocus(source, node);
7177 // Refresh the node for the focused virtual view.
7182 // Error state: The node n
[all...]
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java1210 // insert an extra node for it.
1229 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { argument
1230 node.setClassName(getClass().getName());
1231 node.addAction(AccessibilityAction.ACTION_CLICK);
1236 node.setContentDescription(description);
1239 node.setBoundsInParent(mTempRect);
1242 node.setSelected(selected);
1246 node.setTraversalBefore(RadialTimePickerView.this, nextId);
H A DSimpleMonthView.java1080 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { argument
1084 // The day is invalid, kill the node.
1086 node.setContentDescription("");
1087 node.setBoundsInParent(mTempRect);
1088 node.setVisibleToUser(false);
1092 node.setText(getDayText(virtualViewId));
1093 node.setContentDescription(getDayDescription(virtualViewId));
1094 node.setBoundsInParent(mTempRect);
1098 node.addAction(AccessibilityAction.ACTION_CLICK);
1101 node
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java49 /** Virtual node identifier value for invalid nodes. */
52 /** Virtual node identifier value for the host view's node. */
110 * @return The accessibility node provider for this helper.
301 * Constructs and returns an {@link AccessibilityEvent} for the host node.
354 * construct a node.
371 * @return An {@link AccessibilityNodeInfo} for the parent node.
374 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView);
375 mView.onInitializeAccessibilityNodeInfo(node);
376 final int realNodeCount = node
772 onPopulateNodeForVirtualView( int virtualViewId, AccessibilityNodeInfo node) argument
783 onPopulateNodeForHost(AccessibilityNodeInfo node) argument
[all...]
H A DLockPatternView.java1403 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfo node) { argument
1408 node.setText(getTextForVirtualView(virtualViewId));
1409 node.setContentDescription(getTextForVirtualView(virtualViewId));
1412 node.setFocusable(true);
1415 // Mark this node of interest by making it clickable.
1416 node.addAction(AccessibilityAction.ACTION_CLICK);
1417 node.setClickable(isClickable(virtualViewId));
1424 node.setBoundsInParent(bounds);
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp82 VectorDrawable::Node* node = reinterpret_cast<VectorDrawable::Node*>(nodePtr); local
84 node->setName(nodeName);
H A Dandroid_view_ThreadedRenderer.cpp237 RenderNode* node = mPendingAnimatingRenderNodes[i].get(); local
238 context->addAnimatingRenderNode(*node);
612 RootRenderNode* node = new RootRenderNode(env); local
613 node->incStrong(0);
614 node->setName("RootRenderNode");
615 return reinterpret_cast<jlong>(node);
744 RenderNode* node = reinterpret_cast<RenderNode*>(nodePtr); local
745 proxy->buildLayer(node);
/frameworks/base/libs/hwui/
H A DAnimationContext.cpp46 void AnimationContext::addAnimatingRenderNode(RenderNode& node) { argument
47 if (!node.animators().hasAnimationHandle()) {
48 AnimationHandle* handle = new AnimationHandle(node, *this);
H A DDisplayList.h122 virtual bool reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context) { argument
H A DFrameBuilder.cpp82 // only schedule repaint if node still on layer - possible it may have been
129 static Rect nodeBounds(RenderNode& node) { argument
130 auto& props = node.properties();
162 // Bounds that content will fill in render target space (note content node bounds may be bigger)
186 // content node translation to catch up with backdrop
210 void FrameBuilder::deferNodePropsAndOps(RenderNode& node) { argument
211 const RenderProperties& properties = node.properties();
261 ATRACE_FORMAT("%s alpha caused saveLayer %dx%d", node.getName(), width, height);
285 if (node.getLayer()) {
287 LayerOp* drawLayerOp = mAllocator.create_trivial<LayerOp>(node);
397 auto& node = *casterNodeOp.renderNode; local
[all...]
H A DRecordedOp.h512 explicit LayerOp(RenderNode& node) argument
513 : RecordedOp(RecordedOpId::LayerOp, Rect(node.getWidth(), node.getHeight()), Matrix4::identity(), nullptr, nullptr)
514 , layerHandle(node.getLayerHandle())
515 , alpha(node.properties().layerProperties().alpha() / 255.0f)
516 , mode(node.properties().layerProperties().xferMode())
517 , colorFilter(node.properties().layerProperties().colorFilter()) {}

Completed in 2826 milliseconds

12345