Searched refs:root (Results 1 - 25 of 155) sorted by path

1234567

/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.c235 if ((0x40000000l >> shift) + root <= value) \
237 value -= (0x40000000l >> shift) + root; \
238 root = (root >> 1) | (0x40000000l >> shift); \
240 root = root >> 1; \
243 Word32 rsqrt(Word32 value, /*!< Operand to square root (0.0 ... 1) */
246 Word32 root = 0; local
263 if (root < value)
264 ++root;
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp1244 effect_param_t *AudioPolicyService::loadEffectParameter(cnode *root) argument
1252 param = config_find(root, PARAM_TAG);
1253 value = config_find(root, VALUE_TAG);
1256 param = root->first_child;
1270 ALOGW("loadEffectParameter() invalid parameter description %s", root->name);
1308 void AudioPolicyService::loadEffectParameters(cnode *root, Vector <effect_param_t *>& params) argument
1310 cnode *node = root->first_child;
1324 cnode *root,
1327 cnode *node = root->first_child;
1329 ALOGW("loadInputSource() empty element %s", root
1323 loadInputSource( cnode *root, const Vector <EffectDesc *>& effects) argument
1360 loadInputSources(cnode *root, const Vector <EffectDesc *>& effects) argument
1386 loadEffect(cnode *root) argument
1400 loadEffects(cnode *root, Vector <EffectDesc *>& effects) argument
1422 cnode *root; local
[all...]
H A DAudioPolicyService.h320 status_t loadEffects(cnode *root, Vector <EffectDesc *>& effects);
321 EffectDesc *loadEffect(cnode *root);
322 status_t loadInputSources(cnode *root, const Vector <EffectDesc *>& effects);
324 InputSourceDesc *loadInputSource(cnode *root, const Vector <EffectDesc *>& effects);
325 void loadEffectParameters(cnode *root, Vector <effect_param_t *>& params);
326 effect_param_t *loadEffectParameter(cnode *root);
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java842 * - for each root r
862 Node root = roots.get(i);
863 mSortedNodes.add(root);
864 if (root.nodeDependents != null) {
865 int numDependents = root.nodeDependents.size();
867 Node node = root.nodeDependents.get(j);
868 node.nodeDependencies.remove(root);
961 * This information is used in sortNodes(), to determine when a node is a root.
968 * dependency when it is a root node.
/frameworks/base/core/java/android/app/
H A DListFragment.java384 View root = getView();
385 if (root == null) {
388 if (root instanceof ListView) {
389 mList = (ListView)root;
391 mStandardEmptyView = (TextView)root.findViewById(
394 mEmptyView = root.findViewById(android.R.id.empty);
398 mProgressContainer = root.findViewById(com.android.internal.R.id.progressContainer);
399 mListContainer = root.findViewById(com.android.internal.R.id.listContainer);
400 View rawListView = root.findViewById(android.R.id.list);
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java50 /** Operation on view root, first parameter in packet should be one of VURT_* constants */
135 return createFailChunk(ERR_INVALID_OP, "Unknown view root operation: " + op);
201 private View getTargetView(View root, ByteBuffer in) { argument
212 return ViewDebug.findView(root, viewName);
221 * 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...]
H A DPreferenceFragment.java60 * root element should be a {@link PreferenceScreen}. Subsequent elements can point
242 * Sets the root of the preference hierarchy that this fragment is showing.
244 * @param preferenceScreen The root {@link PreferenceScreen} of the preference hierarchy.
256 * Gets the root of the preference hierarchy that this fragment is showing.
258 * @return The {@link PreferenceScreen} that is the root of the preference
344 View root = getView();
345 if (root == null) {
348 View rawListView = root.findViewById(android.R.id.list);
/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.java140 View root = null;
142 root = mViewRootImpl.mView;
144 root = findViewByAccessibilityId(accessibilityViewId);
146 if (root != null && isShown(root)) {
147 mPrefetcher.prefetchAccessibilityNodeInfos(root, virtualDescendantId, flags, infos);
212 View root = null;
214 root = findViewByAccessibilityId(accessibilityViewId);
216 root = mViewRootImpl.mView;
218 if (root !
791 prefetchDescendantsOfRealNode(View root, List<AccessibilityNodeInfo> outInfos) argument
844 prefetchPredecessorsOfVirtualNode(AccessibilityNodeInfo root, View providerHost, AccessibilityNodeProvider provider, List<AccessibilityNodeInfo> outInfos) argument
907 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.java347 * @param root Optional view to be the parent of the generated hierarchy.
348 * @return The root View of the inflated hierarchy. If root was supplied,
349 * this is the root View; otherwise it is the root of the inflated
352 public View inflate(int resource, ViewGroup root) { argument
353 return inflate(resource, root, root != null);
367 * @param root Optional view to be the parent of the generated hierarchy.
368 * @return The root Vie
372 inflate(XmlPullParser parser, ViewGroup root) argument
393 inflate(int resource, ViewGroup root, boolean attachToRoot) argument
425 inflate(XmlPullParser parser, ViewGroup root, boolean attachToRoot) argument
[all...]
H A DView.java1992 * Default for the root view. The gravity determines the text alignment, ALIGN_NORMAL,
2683 * a View is a root of virtual view hierarchy and may contain the searched
4713 * the parent hierarchy and requesting that the root view place new focus.
4718 * root view place new focus
4745 final View root = getRootView();
4746 return root != null && root.requestFocus();
5449 * view or the root view itself.
5838 return false; // We are not attached to the view root
6640 * use the root t
6646 findUserSetNextFocus(View root, int direction) argument
6677 findViewInsideOutShouldExist(View root, int id) argument
17463 inflate(Context context, int resource, ViewGroup root) argument
[all...]
H A DViewDebug.java436 public static View findView(View root, String parameter) { argument
443 View view = root.getRootView();
449 final int id = root.getResources().getIdentifier(parameter, null, null);
450 return root.getRootView().findViewById(id);
456 private static void invalidate(View root, String parameter) { argument
457 final View view = findView(root, parameter);
463 private static void requestLayout(View root, String parameter) { argument
464 final View view = findView(root, parameter);
466 root.post(new Runnable() {
474 private static void profile(View root, OutputStrea argument
505 profileViewAndChildren(final View view, BufferedWriter out, boolean root) argument
636 captureLayers(View root, final DataOutputStream clientStream) argument
708 outputDisplayList(View root, String parameter) argument
714 outputDisplayList(View root, View target) argument
718 capture(View root, final OutputStream clientStream, String parameter) argument
726 capture(View root, final OutputStream clientStream, View captureView) argument
785 dump(View root, boolean skipChildren, boolean includeProperties, OutputStream clientStream) argument
[all...]
H A DViewGroup.java678 // root namespace means we should consider ourselves the top of the
1147 ViewRootImpl root = getViewRootImpl();
1214 // If we've changed apparent drag target, tell the view root which view
1217 // has entered its bounds. The root will see setDragFocus() calls all
1221 root.setDragFocus(target);
4884 * <li>The same as the root node's</li>
6638 * a specified root. This enables sorting of views based on their
6639 * coordinates without recomputing the position relative to the root
6655 public static ViewLocationHolder obtain(ViewGroup root, View view) { argument
6660 holder.init(root, vie
6720 init(ViewGroup root, View view) argument
[all...]
H A DWindowManagerGlobal.java181 final ViewRootImpl root = mRoots.get(i);
182 if (name.equals(getWindowName(root))) return root.getView();
206 ViewRootImpl root;
227 // Don't wait for MSG_DIE to make it's way through root's queue.
248 root = new ViewRootImpl(view.getContext(), display);
253 mRoots.add(root);
259 root.setView(view, wparams, panelParentView);
286 ViewRootImpl root = mRoots.get(index);
289 root
355 doRemoveView(ViewRootImpl root) argument
470 getWindowName(ViewRootImpl root) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityInteractionClient.java158 * Gets the root {@link AccessibilityNodeInfo} in the currently active window.
161 * @return The root {@link AccessibilityNodeInfo} if found, null otherwise.
179 * to start from the root.
236 * to start from the root.
284 * to start from the root.
331 * to start from the root.
375 * to start from the root.
417 * to start from the root.
696 // Find the root node.
697 AccessibilityNodeInfo root
[all...]
H A DAccessibilityNodeInfo.java546 * Sets the source to be a virtual descendant of the given <code>root</code>.
547 * If <code>virtualDescendantId</code> is {@link View#NO_ID} the root
561 * @param root The root of the virtual subtree.
564 public void setSource(View root, int virtualDescendantId) { argument
566 mWindowId = (root != null) ? root.getAccessibilityWindowId() : UNDEFINED;
568 (root != null) ? root.getAccessibilityViewId() : UNDEFINED;
728 * Adds a virtual child which is a descendant of the given <code>root</cod
741 addChild(View root, int virtualDescendantId) argument
981 setParent(View root, int virtualDescendantId) argument
1710 setLabelFor(View root, int virtualDescendantId) argument
1767 setLabeledBy(View root, int virtualDescendantId) argument
2068 obtain(View root, int virtualDescendantId) argument
[all...]
H A DAccessibilityNodeInfoCache.java225 * @param rootNodeId The root id.
256 // Get the root.
262 // which node we start to search for the root.
263 AccessibilityNodeInfo root = mCacheImpl.valueAt(0);
264 AccessibilityNodeInfo parent = root;
266 root = parent;
271 final int windowId = root.getWindowId();
276 fringe.add(root);
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/webkit/
H A DWebViewClient.java251 ViewRootImpl root = view.getViewRootImpl();
252 if (root != null) {
253 root.dispatchUnhandledKey(event);
/frameworks/base/core/java/android/widget/
H A DDatePicker.java763 private void trySetContentDescription(View root, int viewId, int contDescResId) { argument
764 View target = root.findViewById(viewId);
H A DPopupWindow.java1158 final View root = anchor.getRootView();
1160 p.x + mPopupWidth - root.getWidth() > 0) {
1190 p.y = root.getHeight() - mDrawingLocation[1] + yoff;
H A DRemoteViews.java239 public abstract void apply(View root, ViewGroup rootParent, argument
347 public void apply(View root, ViewGroup rootParent, OnClickHandler handler) { argument
348 final View view = root.findViewById(viewId);
353 final View emptyView = root.findViewById(emptyViewId);
382 public void apply(View root, ViewGroup rootParent, final OnClickHandler handler) { argument
383 final View target = root.findViewById(viewId);
391 if (target == root) {
457 public void apply(View root, ViewGroup rootParent, final OnClickHandler handler) { argument
458 final View target = root.findViewById(viewId);
553 public void apply(View root, ViewGrou argument
616 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
689 apply(View root, ViewGroup rootParent, final OnClickHandler handler) argument
853 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
915 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1033 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1258 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1339 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1413 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1457 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
1503 apply(View root, ViewGroup rootParent, OnClickHandler handler) argument
[all...]

Completed in 395 milliseconds

1234567