Searched refs:root (Results 1 - 25 of 52) sorted by relevance

123

/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DAssignableFrom.java23 private final Class root; field in class:AssignableFrom
25 AssignableFrom(Class root) { argument
26 this.root = root;
30 return root.isAssignableFrom(testMethod.getEnclosingClass());
/frameworks/base/tools/localize/
H A DXMLHandler_test.cpp70 XMLNode* root = NodeHandler::ParseFile("testdata/xml.xml", XMLNode::EXACT); local
71 if (root == NULL) {
74 string result = root->ToString(NO_NAMESPACES);
75 delete root;
83 XMLNode* root = NodeHandler::ParseFile("testdata/xml.xml", XMLNode::PRETTY); local
84 if (root == NULL) {
87 string result = root->ToString(NO_NAMESPACES);
88 delete root;
97 XMLNode* root = NodeHandler::ParseString("testdata/xml.xml", text, XMLNode::EXACT); local
98 if (root
111 XMLNode* root = NodeHandler::ParseString("testdata/xml.xml", text, XMLNode::PRETTY); local
[all...]
/frameworks/base/tests/backup/
H A Dtest_backup_common.sh22 # restart adb as root and wait for it to come back again
25 root_status=$(a root)
26 if [ "$root_status" != "adbd is already running as root" ]; then
27 echo -n "Restarting adb as root..."
/frameworks/base/core/tests/coretests/src/android/content/
H A DObserverNodeTest.java36 ObserverNode root = new ObserverNode("");
51 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root);
53 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root);
59 root.collectObserversLocked(uris[i], 0, null, false, calls);
66 ObserverNode root = new ObserverNode("");
80 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root);
86 root
[all...]
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dpv_sqrt.h62 Int32 root; member in struct:intg_sqrt
H A Dpv_sqrt.cpp40 Implement root squared of a number
130 result->root = sqrt_cache[2];
199 result->root = y;
204 result->root = 0;
210 sqrt_cache[2] = result->root;
/frameworks/base/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualActivity.java34 View root = getLayoutInflater().inflate(R.layout.gldual_activity, null);
35 mGLView = (GLSurfaceView) root.findViewById(R.id.gl1);
38 mGL2View = (GLDualGL2View) root.findViewById(R.id.gl2);
39 setContentView(root);
/frameworks/base/awt/javax/imageio/metadata/
H A DIIOMetadata.java137 * @param root
138 * the root node of the metadata tree.
143 public abstract void mergeTree(String formatName, Node root) throws IIOInvalidTreeException; argument
334 // Create root node
335 IIOMetadataNode root = new IIOMetadataNode(IIOMetadataFormatImpl.standardMetadataFormatName);
339 root.appendChild(node);
342 root.appendChild(node);
345 root.appendChild(node);
348 root.appendChild(node);
351 root
387 setFromTree(String formatName, Node root) argument
[all...]
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java79 LinearLayout root = new LinearLayout(this);
80 root.setOrientation(LinearLayout.VERTICAL);
86 addLabelToRoot(root, "Prescaled bitmap in drawable");
87 addChildToRoot(root, layout);
93 addLabelToRoot(root, "Autoscaled bitmap in drawable");
94 addChildToRoot(root, layout);
100 addLabelToRoot(root, "Prescaled resource drawable");
101 addChildToRoot(root, layout);
104 addLabelToRoot(root, "Inflated layout");
105 addChildToRoot(root, layou
149 addLabelToRoot(LinearLayout root, String text) argument
156 addChildToRoot(LinearLayout root, LinearLayout layout) argument
[all...]
/frameworks/base/tools/preload/
H A DPrintPsTree.java38 Root root = (Root) oin.readObject();
40 for (Proc proc : root.processes.values()) {
H A DWritePreloadedClassFile.java44 Root root = Root.fromFile(rootFile);
47 for (LoadedClass loadedClass : root.loadedClasses.values()) {
74 for (LoadedClass loadedClass : root.loadedClasses.values()) {
87 for (Proc proc : root.processes.values()) {
107 addAllClassesFrom("zygote", root, toPreload);
119 root.toFile(rootFile);
122 private static void addAllClassesFrom(String processName, Root root, argument
124 for (Proc proc : root.processes.values()) {
H A DCompile.java39 Root root = new Root();
62 root.indexProcess(record);
66 root.indexClassOperation(record);
71 root.toFile(args[1]);
H A DPrintHtmlDiff.java36 Root root = Root.fromFile(args[0]);
43 for (Proc proc : root.processes.values()) {
55 for (LoadedClass loadedClass : root.loadedClasses.values()) {
64 LoadedClass clazz = root.loadedClasses.get(line);
81 printTable(out, root.baseline, added);
83 printTable(out, root.baseline, removed);
/frameworks/base/core/java/android/view/
H A DWindowManagerImpl.java111 ViewRoot root;
128 root = mRoots[index];
129 root.mAddNesting++;
132 root.setLayoutParams(wparams, true);
148 root = new ViewRoot(view.getContext());
149 root.mAddNesting = 1;
173 mRoots[index] = root;
177 root.setView(view, wparams, panelParentView);
192 ViewRoot root = mRoots[index];
194 root
[all...]
H A DFocusFinder.java52 * Find the next view to take focus in root's descendants, starting from the view
54 * @param root Contains focused
59 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
63 View userSetNextFocus = focused.findUserSetNextFocus(root, direction);
73 root.offsetDescendantRectToMyCoords(focused, mFocusedRect);
75 // make up a rect at top left or bottom right of root
79 final int rootTop = root.getScrollY();
80 final int rootLeft = root.getScrollX();
86 final int rootBottom = root.getScrollY() + root
104 findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) argument
108 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) argument
393 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument
[all...]
H A DLayoutInflater.java270 * @param root Optional view to be the parent of the generated hierarchy.
271 * @return The root View of the inflated hierarchy. If root was supplied,
272 * this is the root View; otherwise it is the root of the inflated
275 public View inflate(int resource, ViewGroup root) { argument
276 return inflate(resource, root, root != null);
290 * @param root Optional view to be the parent of the generated hierarchy.
291 * @return The root Vie
295 inflate(XmlPullParser parser, ViewGroup root) argument
316 inflate(int resource, ViewGroup root, boolean attachToRoot) argument
348 inflate(XmlPullParser parser, ViewGroup root, boolean attachToRoot) argument
[all...]
/frameworks/base/media/libdrm/mobile2/src/util/xml/
H A DDomExpatAgent.cpp174 ElementImpl *root = mXMLDocumentPtr->getDocumentElement(); local
176 traverse(root);
182 void DomExpatAgent::traverse(ElementImpl *root) argument
184 if (NULL == root)
189 mXMLostream << "<" << *(root->getNodeName());
191 if (root->hasAttributes())
194 const DOMStringMap* attrMapPtr = (static_cast<XMLElementImpl*>(root))->getAttributeMap();
210 NodeImpl *child = root->getFirstChild();
227 mXMLostream << "</" << *(root->getNodeName()) << ">" << endl;
/frameworks/base/sax/java/android/sax/
H A DRootElement.java26 * The root XML element. The entry point for this API. Not safe for concurrent
46 * RootElement root = new RootElement(ATOM_NAMESPACE, "feed");
47 * Element entry = root.getChild(ATOM_NAMESPACE, "entry");
56 * reader.setContentHandler(root.getContentHandler());
71 * Constructs a new root element with the given name.
81 * Constructs a new root element with the given name. Uses an empty string
115 // This is the root element.
142 Element root = RootElement.this;
143 if (root.uri.compareTo(uri) != 0
144 || root
[all...]
/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/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java91 RootElement root = new RootElement(ATOM_NAMESPACE, "feed");
92 Element entry = root.requireChild(ATOM_NAMESPACE, "entry");
99 root.setElementListener(rootCounter);
103 Xml.parse(xml, root.getContentHandler());
116 RootElement root = new RootElement("feed");
117 root.requireChild("entry");
120 Xml.parse(xml, root.getContentHandler());
131 RootElement root = new RootElement("feed");
132 root.setEndTextElementListener(new EndTextElementListener() {
138 Xml.parse(xml, root
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DHorizontalFocusSearch.java102 private Button addShort(LinearLayout root, String label, boolean atBottom) { argument
126 root.addView(ll);
130 root.addView(ll);
H A DVerticalFocusSearch.java113 * @param root The layout to add the button to.
118 private Button addSkinny(LinearLayout root, String label, boolean atRight) { argument
142 root.addView(ll);
146 root.addView(ll);
H A DVerticalFocusSearchTest.java49 View findNextFocus(ViewGroup root, View focused, int direction); argument
55 public View findNextFocus(ViewGroup root, View focused, int direction) { argument
57 .findNextFocus(root, focused, direction);
/frameworks/base/media/libdrm/mobile2/include/util/xml/
H A DDomExpatAgent.h93 * @param root The specific element start to traverse.
95 void traverse(ElementImpl *root);
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java52 LinearLayout root = new LinearLayout(this);
53 root.setOrientation(LinearLayout.VERTICAL);
60 root.addView(view);
61 setContentView(root);

Completed in 512 milliseconds

123