Searched defs:root (Results 1 - 25 of 55) 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/compile/mclinker/unittests/
H A DPathTest.cpp46 const std::string root = "/etc/hosts"; local
47 m_pTestee->assign(root);
51 m_pTestee = new Path(root);
56 const std::string root = "/luck"; local
57 m_pTestee->assign(root);
61 m_pTestee = new Path(root);
66 // const std::string root = "/proj/mtk03931/temp/pndk-luba/../";
67 const std::string root = "../././.."; local
68 m_pTestee->assign(root);
72 m_pTestee = new Path(root);
78 const std::string root = "/luck"; local
89 const std::string root = "aaa/bbb/../../ccc/"; local
103 const std::string root = "aa/"; local
117 const std::string root = "aa/"; local
[all...]
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityRecordCompatJellyBean.java27 public static void setSource(Object record, View root, int virtualDescendantId) { argument
28 ((AccessibilityRecord) record).setSource(root, virtualDescendantId);
H A DAccessibilityNodeInfoCompatJellyBean.java32 public static void setSource(Object info, View root, int virtualDescendantId) { argument
33 ((AccessibilityNodeInfo) info).setSource(root, virtualDescendantId);
56 public static Object obtain(View root, int virtualDescendantId) { argument
57 return AccessibilityNodeInfo.obtain(root, virtualDescendantId);
68 public static void setParent(Object info, View root, int virtualDescendantId) { argument
69 ((AccessibilityNodeInfo) info).setParent(root, virtualDescendantId);
/frameworks/base/services/java/com/android/server/am/
H A DTaskAccessInfo.java30 public ActivityRecord root; field in class:TaskAccessInfo
/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/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/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java155 public View inflate(int resource, ViewGroup root) { argument
184 return inflate(bridgeParser, root);
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java47 * @param root The root accessibility node.
52 public static void dumpWindowToFile(AccessibilityNodeInfo root, int rotation, argument
61 dumpWindowToFile(root,
69 * @param root The root accessibility node.
75 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, argument
77 if (root == null) {
89 dumpNodeRec(root, serializer, 0, width, height);
/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/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/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/com/android/internal/view/menu/
H A DMenuPresenter.java66 * @param root Intended parent of the MenuView.
69 public MenuView getMenuView(ViewGroup root); argument
H A DBaseMenuPresenter.java68 public MenuView getMenuView(ViewGroup root) { argument
70 mMenuView = (MenuView) mSystemInflater.inflate(mMenuLayoutRes, root, false);
H A DListMenuPresenter.java97 public MenuView getMenuView(ViewGroup root) { argument
100 com.android.internal.R.layout.expanded_menu_layout, root, false);
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java82 LinearLayout root = new LinearLayout(this);
83 root.setOrientation(LinearLayout.VERTICAL);
89 addLabelToRoot(root, "Prescaled bitmap in drawable");
90 addChildToRoot(root, layout);
96 addLabelToRoot(root, "Autoscaled bitmap in drawable");
97 addChildToRoot(root, layout);
103 addLabelToRoot(root, "Prescaled resource drawable");
104 addChildToRoot(root, layout);
107 addLabelToRoot(root, "Inflated layout");
108 addChildToRoot(root, layou
152 addLabelToRoot(LinearLayout root, String text) argument
159 addChildToRoot(LinearLayout root, LinearLayout layout) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDisplayListLayersActivity.java43 LinearLayout root = createContainer();
44 addChild(root, new LayerView(this, 0xffff0000, LAYER_TYPE_HARDWARE, "hardware"),
46 addChild(root, new LayerView(this, 0xff0000ff, LAYER_TYPE_SOFTWARE, "software"),
48 addChild(root, createButton(root), WRAP_CONTENT, WRAP_CONTENT);
50 setContentView(root);
53 private Button createButton(final LinearLayout root) { argument
59 for (int i = 0; i < root.getChildCount(); i++) {
60 View child = root.getChildAt(i);
71 private void addChild(LinearLayout root, Vie argument
[all...]
/frameworks/rs/
H A DrsScript.h76 int (* root)(); member in struct:android::renderscript::Script::Hal::DriverInfo
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuPresenter.java68 * @param root Intended parent of the MenuView.
71 public MenuView getMenuView(ViewGroup root); argument
/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/core/java/android/view/
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...]
/frameworks/base/tools/aapt/
H A DXMLNode.h147 sp<XMLNode> root; member in struct:XMLNode::ParseState
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java81 private static final String TAG_ROOT_PATH = "root-path";
322 * Add a mapping from a name to a filesystem root. The provider only offers
325 public void addRoot(String name, File root) { argument
332 root = root.getCanonicalFile();
335 "Failed to resolve canonical path for " + root, e);
338 mRoots.put(name, root);
350 // Find the most-specific root path
352 for (Map.Entry<String, File> root : mRoots.entrySet()) {
353 final String rootPath = root
[all...]

Completed in 748 milliseconds

123