Home
last modified time | relevance | path

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

12345678910>>...23

/frameworks/compile/mclinker/unittests/
DPathTest.cpp41 std::string root(TOPDIR); in TEST_F() local
42 root += "/test/lit.cfg"; in TEST_F()
43 m_pTestee->assign(root); in TEST_F()
47 m_pTestee = new Path(root); in TEST_F()
52 const std::string root = "/luck"; in TEST_F() local
53 m_pTestee->assign(root); in TEST_F()
57 m_pTestee = new Path(root); in TEST_F()
62 const std::string root = "../././.."; in TEST_F() local
63 m_pTestee->assign(root); in TEST_F()
67 m_pTestee = new Path(root); in TEST_F()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DDocumentStack.java40 public RootInfo root; field in DocumentStack
43 if (size() == 1 && root != null) { in getTitle()
44 return root.title; in getTitle()
57 for (RootInfo root : matchingRoots) { in updateRoot()
58 if (root.equals(this.root)) { in updateRoot()
59 this.root = root; in updateRoot()
63 throw new FileNotFoundException("Failed to find matching root for " + root); in updateRoot()
83 if (root != null) { in buildKey()
84 builder.append(root.authority).append('#'); in buildKey()
85 builder.append(root.rootId).append('#'); in buildKey()
[all …]
DRootInfo.java129 final RootInfo root = new RootInfo();
130 DurableUtils.readFromParcel(in, root);
131 return root;
141 final RootInfo root = new RootInfo(); in fromRootsCursor() local
142 root.authority = authority; in fromRootsCursor()
143 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID); in fromRootsCursor()
144 root.flags = getCursorInt(cursor, Root.COLUMN_FLAGS); in fromRootsCursor()
145 root.icon = getCursorInt(cursor, Root.COLUMN_ICON); in fromRootsCursor()
146 root.title = getCursorString(cursor, Root.COLUMN_TITLE); in fromRootsCursor()
147 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY); in fromRootsCursor()
[all …]
/frameworks/base/core/java/android/view/
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 …]
DWindowManagerGlobal.java223 final ViewRootImpl root = mRoots.get(i); in getRootView() local
224 if (name.equals(getWindowName(root))) return root.getView(); in getRootView()
257 ViewRootImpl root; in addView() local
299 root = new ViewRootImpl(view.getContext(), display); in addView()
304 mRoots.add(root); in addView()
310 root.setView(view, wparams, panelParentView); in addView()
337 ViewRootImpl root = mRoots.get(index); in updateViewLayout() local
340 root.setLayoutParams(wparams, false); in updateViewLayout()
370 ViewRootImpl root = mRoots.get(i); in closeAll() local
376 + root.getView() + " that was originally added here"); in closeAll()
[all …]
DAccessibilityInteractionController.java149 View root = null; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local
151 root = mViewRootImpl.mView; in findAccessibilityNodeInfoByAccessibilityIdUiThread()
153 root = findViewByAccessibilityId(accessibilityViewId); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
155 if (root != null && isShown(root)) { in findAccessibilityNodeInfoByAccessibilityIdUiThread()
156 mPrefetcher.prefetchAccessibilityNodeInfos(root, virtualDescendantId, flags, infos); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
233 View root = null; in findAccessibilityNodeInfosByViewIdUiThread() local
235 root = findViewByAccessibilityId(accessibilityViewId); in findAccessibilityNodeInfosByViewIdUiThread()
237 root = mViewRootImpl.mView; in findAccessibilityNodeInfosByViewIdUiThread()
239 if (root != null) { in findAccessibilityNodeInfosByViewIdUiThread()
240 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.java154 final RootInfo root = ((BaseActivity) getActivity()).getCurrentRoot(); in onCurrentRootChanged()
158 final RootInfo testRoot = ((RootItem) item).root; in onCurrentRootChanged()
159 if (Objects.equals(testRoot, root)) { in onCurrentRootChanged()
180 activity.onRootPicked(((RootItem) item).root);
223 public final RootInfo root; field in RootsFragment.RootItem
225 public RootItem(RootInfo root) { in RootItem() argument
227 this.root = root; in RootItem()
237 icon.setImageDrawable(root.loadDrawerIcon(context)); in bindView()
238 title.setText(root.title); in bindView()
241 String summaryText = root.summary; in bindView()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp140 void ParameterManagerWrapper::loadCriterionType(cnode *root, bool isInclusive) in loadCriterionType() argument
142 ALOG_ASSERT(root != NULL, "error in parsing file"); in loadCriterionType()
144 for (node = root->first_child; node != NULL; node = node->next) { in loadCriterionType()
185 void ParameterManagerWrapper::loadInclusiveCriterionType(cnode *root) in loadInclusiveCriterionType() argument
187 ALOG_ASSERT(root != NULL, "error in parsing file"); in loadInclusiveCriterionType()
188 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str()); in loadInclusiveCriterionType()
195 void ParameterManagerWrapper::loadExclusiveCriterionType(cnode *root) in loadExclusiveCriterionType() argument
197 ALOG_ASSERT(root != NULL, "error in parsing file"); in loadExclusiveCriterionType()
198 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str()); in loadExclusiveCriterionType()
205 void ParameterManagerWrapper::parseChildren(cnode *root, string &defaultValue, string &type) in parseChildren() argument
[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/services/audiopolicy/common/managerdefinitions/src/
DConfigParsingUtils.cpp126 void ConfigParsingUtils::loadHwModule(cnode *root, HwModuleCollection &hwModules, in loadHwModule() argument
134 sp<HwModule> module = new HwModule(root->name); in loadHwModule()
136 node = config_find(root, DEVICES_TAG); in loadHwModule()
148 node = config_find(root, OUTPUTS_TAG); in loadHwModule()
160 node = config_find(root, INPUTS_TAG); in loadHwModule()
172 loadGlobalConfig(root, module, availableInputDevices, availableOutputDevices, in loadHwModule()
181 void ConfigParsingUtils::loadHwModules(cnode *root, HwModuleCollection &hwModules, in loadHwModules() argument
187 cnode *node = config_find(root, AUDIO_HW_MODULE_TAG); in loadHwModules()
202 void ConfigParsingUtils::loadGlobalConfig(cnode *root, const sp<HwModule>& module, in loadGlobalConfig() argument
208 cnode *node = config_find(root, GLOBAL_CONFIG_TAG); in loadGlobalConfig()
[all …]
/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; \
248 Word32 root = 0; in rsqrt() local
266 if (root < value) in rsqrt()
267 ++root; in rsqrt()
269 root >>= scale; in rsqrt()
270 return root* 46334; in rsqrt()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java134 void buildTextRects(AssistStructure.ViewNode root, int matrixStackIndex,
136 if (root.getVisibility() != View.VISIBLE) {
149 matrix.preTranslate(root.getLeft(), root.getTop());
150 int left = parentLeft + root.getLeft();
151 int top = parentTop + root.getTop();
152 Matrix transform = root.getTransformation();
156 if (root.getText() != null || root.getContentDescription() != null) {
157 TextEntry te = new TextEntry(root, parentLeft, parentTop, matrix);
160 final int N = root.getChildCount();
162 left -= root.getScrollX();
[all …]
/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/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java155 final RootInfo root = new RootInfo(); in updateVolumesLocked() local
156 mRoots.put(rootId, root); in updateVolumesLocked()
158 root.rootId = rootId; in updateVolumesLocked()
159 root.flags = Root.FLAG_SUPPORTS_CREATE | Root.FLAG_LOCAL_ONLY | Root.FLAG_ADVANCED in updateVolumesLocked()
161 root.title = title; in updateVolumesLocked()
163 root.flags |= Root.FLAG_HAS_SETTINGS; in updateVolumesLocked()
166 root.visiblePath = volume.getPathForUser(userId); in updateVolumesLocked()
168 root.visiblePath = null; in updateVolumesLocked()
170 root.path = volume.getInternalPathForUser(userId); in updateVolumesLocked()
171 root.docId = getDocIdForFile(root.path); in updateVolumesLocked()
[all …]
/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/av/services/audiopolicy/service/
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 …]
/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()
/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(), special parameter 'x' must be def…
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/packages/DocumentsUI/tests/src/com/android/documentsui/
DRootsCacheTest.java32 final RootInfo root = new RootInfo(); in buildForMimeTypes() local
33 root.derivedMimeTypes = mimeTypes; in buildForMimeTypes()
34 return root; in buildForMimeTypes()
122 RootInfo root = new RootInfo(); in testExcludedAuthorities() local
123 root.authority = "authority" + i; in testExcludedAuthorities()
124 roots.add(root); in testExcludedAuthorities()
130 for (RootInfo root: roots) { in testExcludedAuthorities()
131 if (!allowedRoots.contains(root)) { in testExcludedAuthorities()
132 mState.excludedAuthorities.add(root.authority); in testExcludedAuthorities()
/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/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h174 void loadInclusiveCriterionType(cnode *root);
181 void loadExclusiveCriterionType(cnode *root);
188 void loadCriteria(cnode *root);
195 void loadCriterion(cnode *root);
203 void loadCriterionType(cnode *root, bool isInclusive);
210 void loadConfig(cnode *root);
219 void parseChildren(cnode *root, std::string &defaultValue, std::string &type);
/frameworks/data-binding/
DpropLoader.gradle4 def root = ext.rootFolder
6 databindingProperties.load(new FileInputStream("${root}/databinding.properties"))
7 def repoBase = databindingProperties.mavenRepoAbsolutePath == "." ? root : databindingProperties.ma…
9 databindingProperties.extraPluginsRepoDir = "${root}/${databindingProperties.extraPluginsRepoName}"
11 databindingProperties.eapOutDir = "${root}/${databindingProperties.eapOutFolderName}"
12 databindingProperties.prebuildFolder = "${root}/${databindingProperties.prebuildFolderName}" +
16 ext.config.externalPrebuiltsBase = "${root}/../../prebuilts"

12345678910>>...23