Searched defs:root (Results 1 - 25 of 141) sorted by path

123456

/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c54 static int loadLibraries(cnode *root);
55 static int loadLibrary(cnode *root, const char *name);
56 static int loadEffects(cnode *root);
59 static int addSubEffect(cnode *root);
474 cnode *root; local
481 root = config_node("", "");
482 config_load(root, data);
483 loadLibraries(root);
484 loadEffects(root);
485 config_free(root);
492 loadLibraries(cnode *root) argument
508 loadLibrary(cnode *root, const char *name) argument
589 addSubEffect(cnode *root) argument
645 loadEffects(cnode *root) argument
661 loadEffect(cnode *root) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c237 if ((0x40000000l >> shift) + root <= value) \
239 value -= (0x40000000l >> shift) + root; \
240 root = (root >> 1) | (0x40000000l >> shift); \
242 root = root >> 1; \
245 Word32 rsqrt(Word32 value, /*!< Operand to square root (0.0 ... 1) */
248 Word32 root = 0; local
266 if (root < value)
267 ++root;
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp34 void ConfigParsingUtils::loadAudioPortGain(cnode *root, AudioPort &audioPort, int index) argument
36 cnode *node = root->first_child;
80 void ConfigParsingUtils::loadAudioPortGains(cnode *root, AudioPort &audioPort) argument
82 cnode *node = root->first_child;
92 void ConfigParsingUtils::loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc) argument
94 loadAudioPortGains(root, *deviceDesc);
101 status_t ConfigParsingUtils::loadHwModuleDevice(cnode *root, DeviceVector &devices) argument
103 cnode *node = root->first_child;
118 sp<DeviceDescriptor> deviceDesc = new DeviceDescriptor(type, String8(root->name));
120 node = root
150 loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role) argument
221 loadHwModule(cnode *root, sp<HwModule> &module, AudioPolicyConfig &config) argument
268 loadHwModules(cnode *root, HwModuleCollection &hwModules, AudioPolicyConfig &config) argument
320 loadModuleGlobalConfig(cnode *root, const sp<HwModule> &module, AudioPolicyConfig &config) argument
368 loadGlobalConfig(cnode *root, AudioPolicyConfig &config, const sp<HwModule>& primaryModule) argument
393 cnode *root; local
[all...]
H A DSerializer.cpp54 static void getReference(const _xmlNode *root, const _xmlNode *&refNode, const string &refName) argument
56 const _xmlNode *col = root;
81 const xmlNode *root = cur->xmlChildrenNode; local
82 while (root != NULL) {
83 if (xmlStrcmp(root->name, (const xmlChar *)Trait::collectionTag) &&
84 xmlStrcmp(root->name, (const xmlChar *)Trait::tag)) {
85 root = root->next;
88 const xmlNode *child = root;
106 if (!xmlStrcmp(root
126 deserialize(_xmlDoc * , const _xmlNode *root, PtrElement &gain, PtrSerializingCtx ) argument
195 deserialize(_xmlDoc * , const _xmlNode *root, PtrElement &profile, PtrSerializingCtx ) argument
278 deserialize(_xmlDoc *doc, const _xmlNode *root, PtrElement &deviceDesc, PtrSerializingCtx ) argument
345 deserialize(_xmlDoc * , const _xmlNode *root, PtrElement &element, PtrSerializingCtx ctx) argument
413 deserialize(xmlDocPtr doc, const xmlNode *root, PtrElement &module, PtrSerializingCtx ctx) argument
494 const xmlNode *root = cur->xmlChildrenNode; local
520 deserialize(_xmlDoc *doc, const _xmlNode *root, PtrElement &element, PtrSerializingCtx ) argument
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp139 void ParameterManagerWrapper::loadCriterionType(cnode *root, bool isInclusive) argument
141 ALOG_ASSERT(root != NULL, "error in parsing file");
143 for (node = root->first_child; node != NULL; node = node->next) {
184 void ParameterManagerWrapper::loadInclusiveCriterionType(cnode *root) argument
186 ALOG_ASSERT(root != NULL, "error in parsing file");
187 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str());
194 void ParameterManagerWrapper::loadExclusiveCriterionType(cnode *root) argument
196 ALOG_ASSERT(root != NULL, "error in parsing file");
197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str());
204 void ParameterManagerWrapper::parseChildren(cnode *root, strin argument
239 loadCriteria(cnode *root) argument
274 loadCriterion(cnode *root) argument
292 loadConfig(cnode *root) argument
310 cnode *root; local
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp466 effect_param_t *AudioPolicyEffects::loadEffectParameter(cnode *root) argument
480 param = config_find(root, PARAM_TAG);
481 value = config_find(root, VALUE_TAG);
484 param = root->first_child;
501 root->name);
541 void AudioPolicyEffects::loadEffectParameters(cnode *root, Vector <effect_param_t *>& params) argument
543 cnode *node = root->first_child;
556 cnode *root,
559 cnode *node = root->first_child;
561 ALOGW("loadInputSource() empty element %s", root
555 loadEffectConfig( cnode *root, const Vector <EffectDesc *>& effects) argument
594 loadInputEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects) argument
621 loadStreamEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects) argument
648 loadEffect(cnode *root) argument
662 loadEffects(cnode *root, Vector <EffectDesc *>& effects) argument
684 cnode *root; local
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java47 * @param root The root accessibility node.
52 public static void dumpWindowToFile(AccessibilityNodeInfo root, int rotation, argument
61 dumpWindowToFile(root,
69 * @param root The root accessibility node.
75 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, argument
77 if (root == null) {
89 dumpNodeRec(root, serializer, 0, width, height);
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java241 ViewNode root = win.mRoot;
243 if (DEBUG_PARCEL_TREE) Log.d(TAG, "Writing initial root view " + root);
244 writeView(root, out, pwriter, 0);
403 WindowNode(AssistStructure assist, ViewRootImpl root) { argument
404 View view = root.getView();
411 mTitle = root.getTitle();
412 mDisplayId = root.getDisplayId();
415 if ((root.getWindowFlags()& WindowManager.LayoutParams.FLAG_SECURE) != 0) {
492 * Returns the {@link ViewNode} containing the root conten
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java46 /** Operation on view root, first parameter in packet should be one of VURT_* constants */
133 return createFailChunk(ERR_INVALID_OP, "Unknown view root operation: " + op);
193 private View getTargetView(View root, ByteBuffer in) { argument
204 return ViewDebug.findView(root, viewName);
213 * TODO: Currently this only returns views starting at the root, need to fix so that
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java215 * @param root Optional parent of the generated hierarchy.
216 * @return The root of the inflated hierarchy. If root was supplied,
217 * this is the root item; otherwise it is the root of the inflated
220 public T inflate(@XmlRes int resource, P root) { argument
221 return inflate(resource, root, root != null);
235 * @param root Optional parent of the generated hierarchy.
236 * @return The root o
240 inflate(XmlPullParser parser, P root) argument
260 inflate(@mlRes int resource, P root, boolean attachToRoot) argument
291 inflate(XmlPullParser parser, P root, boolean attachToRoot) argument
[all...]
/frameworks/base/core/java/android/util/
H A DJsonWriter.java492 * @param root true if the value is a new array or object, the two values
495 private void beforeValue(boolean root) throws IOException { argument
498 if (!lenient && !root) {
/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java149 View root = null;
151 root = mViewRootImpl.mView;
153 root = findViewByAccessibilityId(accessibilityViewId);
155 if (root != null && isShown(root)) {
156 mPrefetcher.prefetchAccessibilityNodeInfos(root, virtualDescendantId, flags, infos);
233 View root = null;
235 root = findViewByAccessibilityId(accessibilityViewId);
237 root = mViewRootImpl.mView;
239 if (root !
1000 prefetchDescendantsOfRealNode(View root, List<AccessibilityNodeInfo> outInfos) argument
1053 prefetchPredecessorsOfVirtualNode(AccessibilityNodeInfo root, View providerHost, AccessibilityNodeProvider provider, List<AccessibilityNodeInfo> outInfos) argument
1135 prefetchDescendantsOfVirtualNode(AccessibilityNodeInfo root, AccessibilityNodeProvider provider, List<AccessibilityNodeInfo> outInfos) argument
[all...]
H A DFocusFinder.java60 * Find the next view to take focus in root's descendants, starting from the view
62 * @param root Contains focused. Cannot be null.
67 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
68 return findNextFocus(root, focused, null, direction);
72 * Find the next view to take focus in root's descendants, searching from
73 * a particular rectangle in root's coordinates.
74 * @param root Contains focusedRect. Cannot be null.
79 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { argument
81 return findNextFocus(root, null, mFocusedRect, direction);
84 private View findNextFocus(ViewGroup root, Vie argument
105 findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction) argument
116 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument
173 findNextFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
195 setFocusBottomRight(ViewGroup root, Rect focusedRect) argument
201 setFocusTopLeft(ViewGroup root, Rect focusedRect) argument
207 findNextFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
517 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument
633 setRoot(ViewGroup root) argument
[all...]
H A DLayoutInflater.java371 * @param root Optional view to be the parent of the generated hierarchy.
372 * @return The root View of the inflated hierarchy. If root was supplied,
373 * this is the root View; otherwise it is the root of the inflated
376 public View inflate(@LayoutRes int resource, @Nullable ViewGroup root) { argument
377 return inflate(resource, root, root != null);
391 * @param root Optional view to be the parent of the generated hierarchy.
392 * @return The root Vie
396 inflate(XmlPullParser parser, @Nullable ViewGroup root) argument
417 inflate(@ayoutRes int resource, @Nullable ViewGroup root, boolean attachToRoot) argument
454 inflate(XmlPullParser parser, @Nullable ViewGroup root, boolean attachToRoot) argument
[all...]
H A DView.java2168 * Default for the root view. The gravity determines the text alignment, ALIGN_NORMAL,
3144 * a View is a root of virtual view hierarchy and may contain the searched
6046 * the parent hierarchy and requesting that the root view place new focus.
6051 * root view place new focus
6077 final View root = getRootView();
6078 return root != null && root.requestFocus();
6696 ViewStructure root = structure.newChild(0);
6697 populateVirtualStructure(root, provider, info);
7116 * view or the root vie
8690 findUserSetNextFocus(View root, @FocusDirection int direction) argument
8721 findViewInsideOutShouldExist(View root, int id) argument
20838 inflate(Context context, @LayoutRes int resource, ViewGroup root) argument
[all...]
H A DViewDebug.java463 public static View findView(View root, String parameter) { argument
470 View view = root.getRootView();
476 final int id = root.getResources().getIdentifier(parameter, null, null);
477 return root.getRootView().findViewById(id);
483 private static void invalidate(View root, String parameter) { argument
484 final View view = findView(root, parameter);
490 private static void requestLayout(View root, String parameter) { argument
491 final View view = findView(root, parameter);
493 root.post(new Runnable() {
501 private static void profile(View root, OutputStrea argument
532 profileViewAndChildren(final View view, BufferedWriter out, boolean root) argument
663 captureLayers(View root, final DataOutputStream clientStream) argument
735 outputDisplayList(View root, String parameter) argument
741 outputDisplayList(View root, View target) argument
745 capture(View root, final OutputStream clientStream, String parameter) argument
753 capture(View root, final OutputStream clientStream, View captureView) argument
813 dump(View root, boolean skipChildren, boolean includeProperties, OutputStream clientStream) argument
[all...]
H A DViewGroup.java866 // root namespace means we should consider ourselves the top of the
1365 ViewRootImpl root = getViewRootImpl();
1444 // If we've changed apparent drag target, tell the view root which view
1447 // has entered its bounds. The root will see setDragFocus() calls all
1451 root.setDragFocus(target);
5882 * <li>The same as the root node's</li>
7816 * a specified root. This enables sorting of views based on their
7817 * coordinates without recomputing the position relative to the root
7839 public static ViewLocationHolder obtain(ViewGroup root, View view) { argument
7844 holder.init(root, vie
7907 init(ViewGroup root, View view) argument
[all...]
H A DWindowManagerGlobal.java255 final ViewRootImpl root = mRoots.get(i);
256 if (name.equals(getWindowName(root))) return root.getView();
289 ViewRootImpl root;
310 // Don't wait for MSG_DIE to make it's way through root's queue.
331 root = new ViewRootImpl(view.getContext(), display);
336 mRoots.add(root);
342 root.setView(view, wparams, panelParentView);
369 ViewRootImpl root = mRoots.get(index);
372 root
455 doRemoveView(ViewRootImpl root) argument
588 getWindowName(ViewRootImpl root) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java673 * Sets the source to be a virtual descendant of the given <code>root</code>.
674 * If <code>virtualDescendantId</code> is {@link View#NO_ID} the root
688 * @param root The root of the virtual subtree.
691 public void setSource(View root, int virtualDescendantId) { argument
693 mWindowId = (root != null) ? root.getAccessibilityWindowId() : UNDEFINED_ITEM_ID;
695 (root != null) ? root.getAccessibilityViewId() : UNDEFINED_ITEM_ID;
900 * Adds a virtual child which is a descendant of the given <code>root</cod
913 addChild(View root, int virtualDescendantId) argument
917 addChildInternal(View root, int virtualDescendantId, boolean checked) argument
942 removeChild(View root, int virtualDescendantId) argument
1175 setTraversalBefore(View root, int virtualDescendantId) argument
1235 setTraversalAfter(View root, int virtualDescendantId) argument
1473 setParent(View root, int virtualDescendantId) argument
2317 setLabelFor(View root, int virtualDescendantId) argument
2369 setLabeledBy(View root, int virtualDescendantId) argument
2678 obtain(View root, int virtualDescendantId) argument
[all...]
H A DAccessibilityRecord.java123 * Sets the source to be a virtual descendant of the given <code>root</code>.
124 * If <code>virtualDescendantId</code> equals to {@link View#NO_ID} the root
133 * @param root The root of the virtual subtree.
136 public void setSource(View root, int virtualDescendantId) { argument
141 if (root != null) {
144 important = root.isImportantForAccessibility();
145 mSourceNode = root.createAccessibilityNodeInfo();
147 AccessibilityNodeProvider provider = root.getAccessibilityNodeProvider();
153 mSourceWindowId = root
[all...]
/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java220 public MenuView getMenuView(ViewGroup root) { argument
222 MenuView result = super.getMenuView(root);
H A DDatePickerSpinnerDelegate.java628 private void trySetContentDescription(View root, int viewId, int contDescResId) { argument
629 View target = root.findViewById(viewId);
H A DRemoteViews.java280 public abstract void apply(View root, ViewGroup rootParent, argument
318 public Action initActionAsync(ViewTree root, ViewGroup rootParent, OnClickHandler handler) { argument
343 public void apply(View root, ViewGroup rootParent, OnClickHandler handler) { }
418 public void apply(View root, ViewGroup rootParent, OnClickHandler handler) { argument
419 final View view = root.findViewById(viewId);
424 final View emptyView = root.findViewById(emptyViewId);
453 public void apply(View root, ViewGroup rootParent, final OnClickHandler handler) { argument
454 final View target = root.findViewById(viewId);
462 if (target == root) {
535 public void apply(View root, ViewGrou argument
631 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
694 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
767 apply(View root, ViewGroup rootParent, final OnClickHandler handler) argument
961 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1023 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1148 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1400 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1419 initActionAsync(ViewTree root, ViewGroup rootParent, OnClickHandler handler) argument
1476 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1528 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1542 initActionAsync(ViewTree root, ViewGroup rootParent, OnClickHandler handler) argument
1695 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1725 initActionAsync(ViewTree root, ViewGroup rootParent, OnClickHandler handler) argument
1790 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1836 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1887 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1978 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
2028 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
3554 ViewTree(View root) argument
[all...]
H A DTimePickerSpinnerDelegate.java521 private void trySetContentDescription(View root, int viewId, int contDescResId) { argument
522 View target = root.findViewById(viewId);
H A DToolbar.java2262 public MenuView getMenuView(ViewGroup root) { argument

Completed in 8974 milliseconds

123456