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

1234

/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c52 static int loadLibraries(cnode *root);
53 static int loadLibrary(cnode *root, const char *name);
54 static int loadEffects(cnode *root);
57 static int addSubEffect(cnode *root);
465 cnode *root; local
472 root = config_node("", "");
473 config_load(root, data);
474 loadLibraries(root);
475 loadEffects(root);
476 config_free(root);
483 loadLibraries(cnode *root) argument
499 loadLibrary(cnode *root, const char *name) argument
564 addSubEffect(cnode *root) argument
620 loadEffects(cnode *root) argument
636 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) */
250 Word32 root = 0; local
267 if (root < value)
268 ++root;
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyEffects.cpp438 effect_param_t *AudioPolicyEffects::loadEffectParameter(cnode *root) argument
446 param = config_find(root, PARAM_TAG);
447 value = config_find(root, VALUE_TAG);
450 param = root->first_child;
464 ALOGW("loadEffectParameter() invalid parameter description %s", root->name);
502 void AudioPolicyEffects::loadEffectParameters(cnode *root, Vector <effect_param_t *>& params) argument
504 cnode *node = root->first_child;
519 cnode *root,
522 cnode *node = root->first_child;
524 ALOGW("loadInputSource() empty element %s", root
518 loadEffectConfig( cnode *root, const Vector <EffectDesc *>& effects) argument
556 loadInputEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects) argument
583 loadStreamEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects) argument
610 loadEffect(cnode *root) argument
624 loadEffects(cnode *root, Vector <EffectDesc *>& effects) argument
646 cnode *root; local
[all...]
H A DAudioPolicyManager.cpp6267 status_t AudioPolicyManager::HwModule::loadInput(cnode *root) argument
6269 cnode *node = root->first_child;
6271 sp<IOProfile> profile = new IOProfile(String8(root->name), AUDIO_PORT_ROLE_SINK, this);
6313 status_t AudioPolicyManager::HwModule::loadOutput(cnode *root) argument
6315 cnode *node = root->first_child;
6317 sp<IOProfile> profile = new IOProfile(String8(root->name), AUDIO_PORT_ROLE_SOURCE, this);
6359 status_t AudioPolicyManager::HwModule::loadDevice(cnode *root) argument
6361 cnode *node = root->first_child;
6376 sp<DeviceDescriptor> deviceDesc = new DeviceDescriptor(String8(root->name), type);
6379 node = root
6724 loadGain(cnode *root, int index) argument
6770 loadGains(cnode *root) argument
7498 loadGains(cnode *root) argument
7847 loadHwModule(cnode *root) argument
7896 loadHwModules(cnode *root) argument
7911 loadGlobalConfig(cnode *root, const sp<HwModule>& module) argument
7960 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/ddm/
H A DDdmHandleViewDebug.java50 /** Operation on view root, first parameter in packet should be one of VURT_* constants */
140 return createFailChunk(ERR_INVALID_OP, "Unknown view root operation: " + op);
206 private View getTargetView(View root, ByteBuffer in) { argument
217 return ViewDebug.findView(root, viewName);
226 * TODO: Currently this only returns views starting at the root, need to fix so that
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java214 * @param root Optional parent of the generated hierarchy.
215 * @return The root of the inflated hierarchy. If root was supplied,
216 * this is the root item; otherwise it is the root of the inflated
219 public T inflate(int resource, P root) { argument
220 return inflate(resource, root, root != null);
234 * @param root Optional parent of the generated hierarchy.
235 * @return The root o
239 inflate(XmlPullParser parser, P root) argument
259 inflate(int resource, P root, boolean attachToRoot) argument
290 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.java148 View root = null;
150 root = mViewRootImpl.mView;
152 root = findViewByAccessibilityId(accessibilityViewId);
154 if (root != null && isShown(root)) {
155 mPrefetcher.prefetchAccessibilityNodeInfos(root, virtualDescendantId, flags, infos);
224 View root = null;
226 root = findViewByAccessibilityId(accessibilityViewId);
228 root = mViewRootImpl.mView;
230 if (root !
955 prefetchDescendantsOfRealNode(View root, List<AccessibilityNodeInfo> outInfos) argument
1008 prefetchPredecessorsOfVirtualNode(AccessibilityNodeInfo root, View providerHost, AccessibilityNodeProvider provider, List<AccessibilityNodeInfo> outInfos) argument
1083 prefetchDescendantsOfVirtualNode(AccessibilityNodeInfo root, AccessibilityNodeProvider provider, List<AccessibilityNodeInfo> outInfos) argument
[all...]
H A DFocusFinder.java57 * Find the next view to take focus in root's descendants, starting from the view
59 * @param root Contains focused. Cannot be null.
64 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
65 return findNextFocus(root, focused, null, direction);
69 * Find the next view to take focus in root's descendants, searching from
70 * a particular rectangle in root's coordinates.
71 * @param root Contains focusedRect. Cannot be null.
76 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { argument
78 return findNextFocus(root, null, mFocusedRect, direction);
81 private View findNextFocus(ViewGroup root, Vie argument
102 findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction) argument
113 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument
170 findNextFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
191 setFocusBottomRight(ViewGroup root, Rect focusedRect) argument
197 setFocusTopLeft(ViewGroup root, Rect focusedRect) argument
203 findNextFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
513 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument
615 setRoot(ViewGroup root) argument
[all...]
H A DLayoutInflater.java359 * @param root Optional view to be the parent of the generated hierarchy.
360 * @return The root View of the inflated hierarchy. If root was supplied,
361 * this is the root View; otherwise it is the root of the inflated
364 public View inflate(int resource, ViewGroup root) { argument
365 return inflate(resource, root, root != null);
379 * @param root Optional view to be the parent of the generated hierarchy.
380 * @return The root Vie
384 inflate(XmlPullParser parser, ViewGroup root) argument
405 inflate(int resource, ViewGroup root, boolean attachToRoot) argument
442 inflate(XmlPullParser parser, ViewGroup root, boolean attachToRoot) argument
[all...]
H A DView.java2098 * Default for the root view. The gravity determines the text alignment, ALIGN_NORMAL,
2835 * a View is a root of virtual view hierarchy and may contain the searched
5074 * the parent hierarchy and requesting that the root view place new focus.
5079 * root view place new focus
5105 final View root = getRootView();
5106 return root != null && root.requestFocus();
5859 * view or the root view itself.
6343 return false; // We are not attached to the view root
7318 * use the root t
7324 findUserSetNextFocus(View root, @FocusDirection int direction) argument
7355 findViewInsideOutShouldExist(View root, int id) argument
18530 inflate(Context context, int resource, ViewGroup root) argument
[all...]
H A DViewDebug.java456 public static View findView(View root, String parameter) { argument
463 View view = root.getRootView();
469 final int id = root.getResources().getIdentifier(parameter, null, null);
470 return root.getRootView().findViewById(id);
476 private static void invalidate(View root, String parameter) { argument
477 final View view = findView(root, parameter);
483 private static void requestLayout(View root, String parameter) { argument
484 final View view = findView(root, parameter);
486 root.post(new Runnable() {
494 private static void profile(View root, OutputStrea argument
525 profileViewAndChildren(final View view, BufferedWriter out, boolean root) argument
656 captureLayers(View root, final DataOutputStream clientStream) argument
728 outputDisplayList(View root, String parameter) argument
734 outputDisplayList(View root, View target) argument
738 capture(View root, final OutputStream clientStream, String parameter) argument
746 capture(View root, final OutputStream clientStream, View captureView) argument
805 dump(View root, boolean skipChildren, boolean includeProperties, OutputStream clientStream) argument
[all...]
H A DViewGroup.java713 // root namespace means we should consider ourselves the top of the
1234 ViewRootImpl root = getViewRootImpl();
1301 // If we've changed apparent drag target, tell the view root which view
1304 // has entered its bounds. The root will see setDragFocus() calls all
1308 root.setDragFocus(target);
5294 * <li>The same as the root node's</li>
7194 * a specified root. This enables sorting of views based on their
7195 * coordinates without recomputing the position relative to the root
7217 public static ViewLocationHolder obtain(ViewGroup root, View view) { argument
7222 holder.init(root, vie
7285 init(ViewGroup root, View view) argument
[all...]
H A DWindowManagerGlobal.java196 final ViewRootImpl root = mRoots.get(i);
197 if (name.equals(getWindowName(root))) return root.getView();
229 ViewRootImpl root;
250 // Don't wait for MSG_DIE to make it's way through root's queue.
271 root = new ViewRootImpl(view.getContext(), display);
276 mRoots.add(root);
282 root.setView(view, wparams, panelParentView);
309 ViewRootImpl root = mRoots.get(index);
312 root
378 doRemoveView(ViewRootImpl root) argument
511 getWindowName(ViewRootImpl root) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java605 * Sets the source to be a virtual descendant of the given <code>root</code>.
606 * If <code>virtualDescendantId</code> is {@link View#NO_ID} the root
620 * @param root The root of the virtual subtree.
623 public void setSource(View root, int virtualDescendantId) { argument
625 mWindowId = (root != null) ? root.getAccessibilityWindowId() : UNDEFINED_ITEM_ID;
627 (root != null) ? root.getAccessibilityViewId() : UNDEFINED_ITEM_ID;
832 * Adds a virtual child which is a descendant of the given <code>root</cod
845 addChild(View root, int virtualDescendantId) argument
849 addChildInternal(View root, int virtualDescendantId, boolean checked) argument
874 removeChild(View root, int virtualDescendantId) argument
1103 setTraversalBefore(View root, int virtualDescendantId) argument
1163 setTraversalAfter(View root, int virtualDescendantId) argument
1401 setParent(View root, int virtualDescendantId) argument
2154 setLabelFor(View root, int virtualDescendantId) argument
2206 setLabeledBy(View root, int virtualDescendantId) argument
2503 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
140 important = (root != null) ? root.isImportantForAccessibility() : true;
145 mSourceWindowId = (root != null) ? root.getAccessibilityWindowId() : UNDEFINED;
146 final int rootViewId = (root !
[all...]
/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java161 public MenuView getMenuView(ViewGroup root) { argument
162 MenuView result = super.getMenuView(root);
H A DDatePicker.java1120 private void trySetContentDescription(View root, int viewId, int contDescResId) { argument
1121 View target = root.findViewById(viewId);
H A DRemoteViews.java238 public abstract void apply(View root, ViewGroup rootParent, argument
346 public void apply(View root, ViewGroup rootParent, OnClickHandler handler) { argument
347 final View view = root.findViewById(viewId);
352 final View emptyView = root.findViewById(emptyViewId);
381 public void apply(View root, ViewGroup rootParent, final OnClickHandler handler) { argument
382 final View target = root.findViewById(viewId);
390 if (target == root) {
456 public void apply(View root, ViewGroup rootParent, final OnClickHandler handler) { argument
457 final View target = root.findViewById(viewId);
552 public void apply(View root, ViewGrou argument
615 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
688 apply(View root, ViewGroup rootParent, final OnClickHandler handler) argument
852 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
914 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1032 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1270 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1351 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1425 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1469 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1515 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1571 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
[all...]
H A DTimePickerSpinnerDelegate.java551 private void trySetContentDescription(View root, int viewId, int contDescResId) { argument
552 View target = root.findViewById(viewId);
H A DToolbar.java1886 public MenuView getMenuView(ViewGroup root) { argument
/frameworks/base/core/java/com/android/internal/view/menu/
H A DBaseMenuPresenter.java68 public MenuView getMenuView(ViewGroup root) { argument
70 mMenuView = (MenuView) mSystemInflater.inflate(mMenuLayoutRes, root, false);
H A DListMenuPresenter.java96 public MenuView getMenuView(ViewGroup root) { argument
99 com.android.internal.R.layout.expanded_menu_layout, root, false);
H A DMenuPopupHelper.java264 public MenuView getMenuView(ViewGroup root) { argument

Completed in 2356 milliseconds

1234