Searched defs:root (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dpv_sqrt.h62 Int32 root; member in struct:intg_sqrt
/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/preload/
H A DWritePreloadedClassFile.java49 Root root = Root.fromFile(rootFile);
52 for (LoadedClass loadedClass : root.loadedClasses.values()) {
80 for (LoadedClass loadedClass : root.loadedClasses.values()) {
98 for (Proc proc : root.processes.values()) {
118 addAllClassesFrom("zygote", root, toPreload);
130 root.toFile(rootFile);
133 private static void addAllClassesFrom(String processName, Root root, argument
135 for (Proc proc : root.processes.values()) {
/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...]
H A DValuesFile.cpp213 XMLNode* root; local
219 root = XMLNode::NewElement(GENERATED_POS, "", "resources", attrs, XMLNode::PRETTY);
230 root->EditChildren().push_back(arrayNode);
250 root->EditChildren().push_back(strNode);
253 return root;
H A DXLIFFFile.cpp59 XMLNode* root = NodeHandler::ParseFile(filename, XMLNode::PRETTY); local
60 if (root == NULL) {
65 vector<XMLNode*> files = root->GetElementsByName(XLIFF_XMLNS, "file");
150 delete root;
456 XMLNode* root; local
464 root = XMLNode::NewElement(GENERATED_POS, XLIFF_XMLNS, "xliff", attrs, XMLNode::PRETTY);
491 root->EditChildren().push_back(fileNode);
572 return root;
H A Dlocalize.cpp29 XMLNode* root = NodeHandler::ParseFile(filename, XMLNode::PRETTY); local
30 if (root == NULL) {
36 vector<XMLNode*> configNodes = root->GetElementsByName("", "configuration");
45 delete root;
54 delete root;
68 delete root;
87 delete root;
98 delete root;
110 delete root;
559 " --root TREE_ROO
[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/core/java/android/view/
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...]
H A DViewDebug.java880 private static View findView(View root, String parameter) { argument
887 View view = root.getRootView();
893 final int id = root.getResources().getIdentifier(parameter, null, null);
894 return root.getRootView().findViewById(id);
900 private static void invalidate(View root, String parameter) { argument
901 final View view = findView(root, parameter);
907 private static void requestLayout(View root, String parameter) { argument
908 final View view = findView(root, parameter);
910 root.post(new Runnable() {
918 private static void profile(View root, OutputStrea argument
948 profileViewAndChildren(final View view, BufferedWriter out, boolean root) argument
1069 captureLayers(View root, final DataOutputStream clientStream) argument
1136 capture(View root, final OutputStream clientStream, String parameter) argument
1197 dump(View root, OutputStream clientStream) argument
[all...]
/frameworks/base/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/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java80 LinearLayout root = new LinearLayout(this);
81 root.setOrientation(LinearLayout.VERTICAL);
87 addLabelToRoot(root, "Prescaled bitmap in drawable");
88 addChildToRoot(root, layout);
94 addLabelToRoot(root, "Autoscaled bitmap in drawable");
95 addChildToRoot(root, layout);
101 addLabelToRoot(root, "Prescaled resource drawable");
102 addChildToRoot(root, layout);
105 addLabelToRoot(root, "Inflated layout");
106 addChildToRoot(root, layou
150 addLabelToRoot(LinearLayout root, String text) argument
157 addChildToRoot(LinearLayout root, LinearLayout layout) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeInflater.java154 public View inflate(int resource, ViewGroup root) { argument
185 return inflate(bridgeParser, root);
/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/libs/ui/
H A DKeyCharacterMap.cpp165 const char* root = getenv("ANDROID_ROOT"); local
174 snprintf(path, sizeof(path), "%s/usr/keychars/%s.kcm.bin", root, tmpfn);
185 snprintf(path, sizeof(path), "%s/usr/keychars/qwerty.kcm.bin", root);
H A DEventHub.cpp778 const char* root = getenv("ANDROID_ROOT"); local
780 "%s/usr/keylayout/%s.kl", root, tmpfn);
784 "%s/usr/keylayout/%s", root, "qwerty.kl");
/frameworks/base/tools/aapt/
H A DXMLNode.h147 sp<XMLNode> root; member in struct:XMLNode::ParseState
H A DXMLNode.cpp516 sp<XMLNode> root = XMLNode::parse(file); local
517 if (root == NULL) {
520 root->removeWhitespace(stripAll, cDataTags);
523 NOISY(root->print());
525 status_t err = root->flatten(rsc, !keepComments, false);
579 if (state.root == NULL) {
583 return state.root;
1109 st->root = node;
1130 st->root = node;
H A DAaptAssets.cpp56 static bool isHidden(const char *root, const char *path) argument
72 String8 subdirName(root);
98 String8 subdirName(root);
1585 String8 root, remain(filePath), partialPath; local
1587 root = remain.walkPath(&remain);
1588 partialPath.appendPath(root);
1590 const String8 rootStr(root);
1658 // place at root of zip.
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java106 public abstract void apply(View root) throws ActionException; argument
136 public void apply(View root) { argument
137 final View target = root.findViewById(viewId);
230 public void apply(View root) { argument
231 final View target = root.findViewById(viewId);
444 public void apply(View root) { argument
445 final View view = root.findViewById(viewId);
509 public void apply(View root) { argument
510 final Context context = root.getContext();
511 final ViewGroup target = (ViewGroup) root
[all...]
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java1369 public static void addToTrie(TrieNode root, String str, String value) { argument
1372 root = root.getOrCreateChild(str.charAt(index++));
1374 root.setValue(value);
1381 private static boolean matches(TrieNode root, String str) { argument
1384 root = root.getChild(str.charAt(index++));
1385 if (root == null) {
1387 } else if (root.exists()) {
1399 TrieNode root, AbstractMessageParse
1398 longestMatch( TrieNode root, AbstractMessageParser p, int start) argument
1408 longestMatch( TrieNode root, AbstractMessageParser p, int start, boolean smiley) argument
[all...]
/frameworks/base/libs/utils/
H A DAssetManager.cpp141 const char* root = getenv("ANDROID_ROOT"); local
142 LOG_ALWAYS_FATAL_IF(root == NULL, "ANDROID_ROOT not set");
144 String8 path(root);
879 * Pass in "" for the root dir.
942 * Pass in "" for the root dir.
1500 * To be consistent, we want entries for the root directory. If
1501 * we're the root, add one now.
1727 * gets to prepend the asset root directory.

Completed in 463 milliseconds

12