Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/frameworks/compile/mclinker/unittests/
DPathTest.cpp46 std::string root(TOPDIR); in TEST_F() local
47 root += "/test/lit.cfg"; in TEST_F()
48 m_pTestee->assign(root); in TEST_F()
52 m_pTestee = new Path(root); in TEST_F()
57 const std::string root = "/luck"; in TEST_F() local
58 m_pTestee->assign(root); in TEST_F()
62 m_pTestee = new Path(root); in TEST_F()
67 const std::string root = "../././.."; in TEST_F() local
68 m_pTestee->assign(root); in TEST_F()
72 m_pTestee = new Path(root); in TEST_F()
[all …]
DBinTreeTest.cpp50 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
60 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F()
74 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
93 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
103 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F()
113 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
116 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F()
128 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
157 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
187 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DDocumentStack.java38 public RootInfo root; field in DocumentStack
41 if (size() == 1 && root != null) { in getTitle()
42 return root.title; in getTitle()
55 for (RootInfo root : matchingRoots) { in updateRoot()
56 if (root.equals(this.root)) { in updateRoot()
57 this.root = root; in updateRoot()
61 throw new FileNotFoundException("Failed to find matching root for " + root); in updateRoot()
81 if (root != null) { in buildKey()
82 builder.append(root.authority).append('#'); in buildKey()
83 builder.append(root.rootId).append('#'); in buildKey()
[all …]
DRootInfo.java131 final RootInfo root = new RootInfo();
132 DurableUtils.readFromParcel(in, root);
133 return root;
143 final RootInfo root = new RootInfo(); in fromRootsCursor() local
144 root.authority = authority; in fromRootsCursor()
145 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID); in fromRootsCursor()
146 root.flags = getCursorInt(cursor, Root.COLUMN_FLAGS); in fromRootsCursor()
147 root.icon = getCursorInt(cursor, Root.COLUMN_ICON); in fromRootsCursor()
148 root.title = getCursorString(cursor, Root.COLUMN_TITLE); in fromRootsCursor()
149 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY); in fromRootsCursor()
[all …]
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java196 final ViewRootImpl root = mRoots.get(i); in getRootView() local
197 if (name.equals(getWindowName(root))) return root.getView(); in getRootView()
229 ViewRootImpl root; in addView() local
271 root = new ViewRootImpl(view.getContext(), display); in addView()
276 mRoots.add(root); in addView()
282 root.setView(view, wparams, panelParentView); in addView()
309 ViewRootImpl root = mRoots.get(index); in updateViewLayout() local
312 root.setLayoutParams(wparams, false); in updateViewLayout()
342 ViewRootImpl root = mRoots.get(i); in closeAll() local
348 + root.getView() + " that was originally added here"); in closeAll()
[all …]
DFocusFinder.java64 public final View findNextFocus(ViewGroup root, View focused, int direction) { in findNextFocus() argument
65 return findNextFocus(root, focused, null, direction); in findNextFocus()
76 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { in findNextFocusFromRect() argument
78 return findNextFocus(root, null, mFocusedRect, direction); in findNextFocusFromRect()
81 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { in findNextFocus() argument
84 next = findNextUserSpecifiedFocus(root, focused, direction); in findNextFocus()
92 root.addFocusables(focusables, direction); in findNextFocus()
94 next = findNextFocus(root, focused, focusedRect, direction, focusables); in findNextFocus()
102 private View findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction) { in findNextUserSpecifiedFocus() argument
104 View userSetNextFocus = focused.findUserSetNextFocus(root, direction); in findNextUserSpecifiedFocus()
[all …]
DAccessibilityInteractionController.java148 View root = null; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local
150 root = mViewRootImpl.mView; in findAccessibilityNodeInfoByAccessibilityIdUiThread()
152 root = findViewByAccessibilityId(accessibilityViewId); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
154 if (root != null && isShown(root)) { in findAccessibilityNodeInfoByAccessibilityIdUiThread()
155 mPrefetcher.prefetchAccessibilityNodeInfos(root, virtualDescendantId, flags, infos); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
224 View root = null; in findAccessibilityNodeInfosByViewIdUiThread() local
226 root = findViewByAccessibilityId(accessibilityViewId); in findAccessibilityNodeInfosByViewIdUiThread()
228 root = mViewRootImpl.mView; in findAccessibilityNodeInfosByViewIdUiThread()
230 if (root != null) { in findAccessibilityNodeInfosByViewIdUiThread()
231 final int resolvedViewId = root.getContext().getResources() in findAccessibilityNodeInfosByViewIdUiThread()
[all …]
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java82 LinearLayout root = new LinearLayout(this); in onCreate() local
83 root.setOrientation(LinearLayout.VERTICAL); in onCreate()
89 addLabelToRoot(root, "Prescaled bitmap in drawable"); in onCreate()
90 addChildToRoot(root, layout); in onCreate()
96 addLabelToRoot(root, "Autoscaled bitmap in drawable"); in onCreate()
97 addChildToRoot(root, layout); in onCreate()
103 addLabelToRoot(root, "Prescaled resource drawable"); in onCreate()
104 addChildToRoot(root, layout); in onCreate()
107 addLabelToRoot(root, "Inflated layout"); in onCreate()
108 addChildToRoot(root, layout); in onCreate()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsCache.java263 final RootInfo root = RootInfo.fromRootsCursor(authority, cursor); in loadRootsForAuthority() local
264 roots.add(root); in loadRootsForAuthority()
282 RootInfo root = getRootLocked(authority, rootId); in getRootOneshot() local
283 if (root == null) { in getRootOneshot()
286 root = getRootLocked(authority, rootId); in getRootOneshot()
288 return root; in getRootOneshot()
301 for (RootInfo root : mRoots.get(authority)) { in getRootLocked()
302 if (Objects.equals(root.rootId, rootId)) { in getRootLocked()
303 return root; in getRootLocked()
309 public boolean isIconUniqueBlocking(RootInfo root) { in isIconUniqueBlocking() argument
[all …]
DRootsFragment.java156 final RootInfo root = ((DocumentsActivity) getActivity()).getCurrentRoot(); in onCurrentRootChanged()
160 final RootInfo testRoot = ((RootItem) item).root; in onCurrentRootChanged()
161 if (Objects.equals(testRoot, root)) { in onCurrentRootChanged()
182 activity.onRootPicked(((RootItem) item).root, true);
224 public final RootInfo root; field in RootsFragment.RootItem
226 public RootItem(RootInfo root) { in RootItem() argument
228 this.root = root; in RootItem()
238 icon.setImageDrawable(root.loadDrawerIcon(context)); in bindView()
239 title.setText(root.title); in bindView()
242 String summaryText = root.summary; in bindView()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDisplayListLayersActivity.java43 LinearLayout root = createContainer(); in onCreate() local
44 addChild(root, new LayerView(this, 0xffff0000, LAYER_TYPE_HARDWARE, "hardware"), in onCreate()
46 addChild(root, new LayerView(this, 0xff0000ff, LAYER_TYPE_SOFTWARE, "software"), in onCreate()
48 addChild(root, createButton(root), WRAP_CONTENT, WRAP_CONTENT); in onCreate()
50 setContentView(root); in onCreate()
53 private Button createButton(final LinearLayout root) { in createButton() argument
59 for (int i = 0; i < root.getChildCount(); i++) { in createButton()
60 View child = root.getChildAt(i); in createButton()
71 private void addChild(LinearLayout root, View child, int width, int height) { in addChild() argument
75 root.addView(child, params); in addChild()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DObserverNodeTest.java40 ObserverNode root = new ObserverNode(""); in testUri() local
55 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root, in testUri()
58 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root, in testUri()
65 root.collectObserversLocked(uris[i], 0, null, false, myUserHandle, calls); in testUri()
74 ObserverNode root = new ObserverNode(""); in testUriNotNotify() local
88 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root, in testUriNotNotify()
95 root.collectObserversLocked(uris[i], 0, null, false, myUserHandle, calls); in testUriNotNotify()
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
Doper_32b.c237 if ((0x40000000l >> shift) + root <= value) \
239 value -= (0x40000000l >> shift) + root; \
240 root = (root >> 1) | (0x40000000l >> shift); \
242 root = root >> 1; \
250 Word32 root = 0; in rsqrt() local
267 if (root < value) in rsqrt()
268 ++root; in rsqrt()
270 root >>= scale; in rsqrt()
271 return root* 46334; in rsqrt()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DAssignableFrom.java23 private final Class root; field in AssignableFrom
25 AssignableFrom(Class root) { in AssignableFrom() argument
26 this.root = root; in AssignableFrom()
30 return root.isAssignableFrom(testMethod.getEnclosingClass()); in apply()
/frameworks/support/v4/java/android/support/v4/app/
DListFragment.java93 FrameLayout root = new FrameLayout(context); in onCreateView() local
108 root.addView(pframe, new FrameLayout.LayoutParams( in onCreateView()
128 root.addView(lframe, new FrameLayout.LayoutParams( in onCreateView()
133 root.setLayoutParams(new FrameLayout.LayoutParams( in onCreateView()
136 return root; in onCreateView()
326 View root = getView(); in ensureList() local
327 if (root == null) { in ensureList()
330 if (root instanceof ListView) { in ensureList()
331 mList = (ListView)root; in ensureList()
333 mStandardEmptyView = (TextView)root.findViewById(INTERNAL_EMPTY_ID); in ensureList()
[all …]
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java49 Root root = Root.fromFile(rootFile); in main() local
52 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main()
80 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main()
98 for (Proc proc : root.processes.values()) { in main()
118 addAllClassesFrom("zygote", root, toPreload); in main()
130 root.toFile(rootFile); in main()
133 private static void addAllClassesFrom(String processName, Root root, in addAllClassesFrom() argument
135 for (Proc proc : root.processes.values()) { in addAllClassesFrom()
DCompile.java39 Root root = new Root(); in main() local
62 root.indexProcess(record); in main()
66 root.indexClassOperation(record); in main()
71 root.toFile(args[1]); in main()
/frameworks/av/services/audiopolicy/
DAudioPolicyEffects.cpp438 effect_param_t *AudioPolicyEffects::loadEffectParameter(cnode *root) in loadEffectParameter() argument
446 param = config_find(root, PARAM_TAG); in loadEffectParameter()
447 value = config_find(root, VALUE_TAG); in loadEffectParameter()
450 param = root->first_child; in loadEffectParameter()
464 ALOGW("loadEffectParameter() invalid parameter description %s", root->name); in loadEffectParameter()
502 void AudioPolicyEffects::loadEffectParameters(cnode *root, Vector <effect_param_t *>& params) in loadEffectParameters() argument
504 cnode *node = root->first_child; in loadEffectParameters()
519 cnode *root, in loadEffectConfig() argument
522 cnode *node = root->first_child; in loadEffectConfig()
524 ALOGW("loadInputSource() empty element %s", root->name); in loadEffectConfig()
[all …]
DAudioPolicyEffects.h161 status_t loadEffects(cnode *root, Vector <EffectDesc *>& effects);
162 EffectDesc *loadEffect(cnode *root);
165 status_t loadInputEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects);
166 status_t loadStreamEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects);
167 EffectDescVector *loadEffectConfig(cnode *root, const Vector <EffectDesc *>& effects);
170 void loadEffectParameters(cnode *root, Vector <effect_param_t *>& params);
171 effect_param_t *loadEffectParameter(cnode *root);
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatJellyBean.java32 public static void setSource(Object info, View root, int virtualDescendantId) { in setSource() argument
33 ((AccessibilityNodeInfo) info).setSource(root, virtualDescendantId); in setSource()
56 public static Object obtain(View root, int virtualDescendantId) { in obtain() argument
57 return AccessibilityNodeInfo.obtain(root, virtualDescendantId); in obtain()
68 public static void setParent(Object info, View root, int virtualDescendantId) { in setParent() argument
69 ((AccessibilityNodeInfo) info).setParent(root, virtualDescendantId); in setParent()
/frameworks/compile/slang/tests/F_root_compute_really_bad/
Dstderr.txt.expect1 root_compute_really_bad.rs:4:5: error: Compute kernel root() is required to return a void type
2 root_compute_really_bad.rs:5:31: error: In compute kernel root(), parameter 'x' should be defined b…
3 root_compute_really_bad.rs:6:19: error: In compute kernel root(), parameter 'extra1' cannot appear …
4 root_compute_really_bad.rs:6:36: error: In compute kernel root(), parameter 'extra2' cannot appear …
5 root_compute_really_bad.rs:4:14: error: Compute kernel root() cannot have non-pointer parameters be…
6 root_compute_really_bad.rs:4:23: error: Compute kernel root() cannot have non-pointer parameters be…
7 root_compute_really_bad.rs:4:33: error: Compute kernel root() cannot have non-pointer parameters be…
8 root_compute_really_bad.rs:4:48: error: Compute kernel root() cannot have non-pointer parameters be…
9 root_compute_really_bad.rs:4:59: error: Compute kernel root() cannot have non-pointer parameters be…
10 root_compute_really_bad.rs:4:5: error: Compute kernel root() must have at least one parameter for i…
/frameworks/base/core/java/android/app/
DListFragment.java384 View root = getView(); in ensureList() local
385 if (root == null) { in ensureList()
388 if (root instanceof ListView) { in ensureList()
389 mList = (ListView)root; in ensureList()
391 mStandardEmptyView = (TextView)root.findViewById( in ensureList()
394 mEmptyView = root.findViewById(android.R.id.empty); in ensureList()
398 mProgressContainer = root.findViewById(com.android.internal.R.id.progressContainer); in ensureList()
399 mListContainer = root.findViewById(com.android.internal.R.id.listContainer); in ensureList()
400 View rawListView = root.findViewById(android.R.id.list); in ensureList()
/frameworks/support/v4/api22/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi22.java35 public static void setTraversalBefore(Object info, View root, int virtualDescendantId) { in setTraversalBefore() argument
36 ((AccessibilityNodeInfo) info).setTraversalBefore(root, virtualDescendantId); in setTraversalBefore()
47 public static void setTraversalAfter(Object info, View root, int virtualDescendantId) { in setTraversalAfter() argument
48 ((AccessibilityNodeInfo) info).setTraversalAfter(root, virtualDescendantId); in setTraversalAfter()
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualActivity.java34 View root = getLayoutInflater().inflate(R.layout.gldual_activity, null); in onCreate() local
35 mGLView = (GLSurfaceView) root.findViewById(R.id.gl1); in onCreate()
38 mGL2View = (GLDualGL2View) root.findViewById(R.id.gl2); in onCreate()
39 setContentView(root); in onCreate()
/frameworks/base/core/java/android/preference/
DGenericInflater.java219 public T inflate(int resource, P root) { in inflate() argument
220 return inflate(resource, root, root != null); in inflate()
239 public T inflate(XmlPullParser parser, P root) { in inflate() argument
240 return inflate(parser, root, root != null); in inflate()
259 public T inflate(int resource, P root, boolean attachToRoot) { in inflate() argument
263 return inflate(parser, root, attachToRoot); in inflate()
290 public T inflate(XmlPullParser parser, P root, in inflate() argument
295 T result = (T) root; in inflate()
320 result = (T) onMergeRoots(root, attachToRoot, (P) xmlRoot); in inflate()

12345678910>>...18