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

12345678

/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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dcopy.fs19 uchar4 RS_KERNEL root(uchar4 v_in) {
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dcopy.rs20 uchar4 RS_KERNEL root(uchar4 v_in) {
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dcopy.rs20 uchar4 RS_KERNEL root(uchar4 v_in) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentStack.java38 public RootInfo root; field in class:DocumentStack
41 if (size() == 1 && root != null) {
42 return root.title;
55 for (RootInfo root : matchingRoots) {
56 if (root.equals(this.root)) {
57 this.root = root;
61 throw new FileNotFoundException("Failed to find matching root for " + root);
[all...]
H A DRootInfo.java131 final RootInfo root = new RootInfo();
132 DurableUtils.readFromParcel(in, root);
133 return root;
143 final RootInfo root = new RootInfo();
144 root.authority = authority;
145 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID);
146 root.flags = getCursorInt(cursor, Root.COLUMN_FLAGS);
147 root.icon = getCursorInt(cursor, Root.COLUMN_ICON);
148 root.title = getCursorString(cursor, Root.COLUMN_TITLE);
149 root
[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/compile/mclinker/unittests/
H A DPathTest.cpp46 std::string root(TOPDIR);
47 root += "/test/lit.cfg";
48 m_pTestee->assign(root);
52 m_pTestee = new Path(root);
57 const std::string root = "/luck"; local
58 m_pTestee->assign(root);
62 m_pTestee = new Path(root);
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/av/services/audioflinger/tests/
H A Drun_all_unit_tests.sh9 adb root && adb wait-for-device remount
/frameworks/rs/tests/latency/
H A Dlatency.rs21 void root(const uint32_t *v_in, uint32_t *v_out) {
/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/native/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/support/v4/api22/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatApi22.java35 public static void setTraversalBefore(Object info, View root, int virtualDescendantId) { argument
36 ((AccessibilityNodeInfo) info).setTraversalBefore(root, virtualDescendantId);
47 public static void setTraversalAfter(Object info, View root, int virtualDescendantId) { argument
48 ((AccessibilityNodeInfo) info).setTraversalAfter(root, virtualDescendantId);
/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/base/services/tests/servicestests/src/com/android/server/content/
H A DObserverNodeTest.java40 ObserverNode root = new ObserverNode("");
55 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root,
58 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root,
65 root.collectObserversLocked(uris[i], 0, null, false, myUserHandle, calls);
74 ObserverNode root = new ObserverNode("");
88 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root,
95 root
[all...]
/frameworks/base/core/java/android/view/
H A DWindowManagerGlobal.java196 final ViewRootImpl root = mRoots.get(i);
197 if (name.equals(getWindowName(root))) return root.getView();
229 ViewRootImpl root;
250 // Don't wait for MSG_DIE to make it's way through root's queue.
271 root = new ViewRootImpl(view.getContext(), display);
276 mRoots.add(root);
282 root.setView(view, wparams, panelParentView);
309 ViewRootImpl root = mRoots.get(index);
312 root
378 doRemoveView(ViewRootImpl root) argument
511 getWindowName(ViewRootImpl root) argument
[all...]
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/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/packages/DocumentsUI/
H A Dwrap_alpha.py7 for root, dirs, files in os.walk('.'):
8 if "res/drawable-" not in root: continue
14 os.rename(os.path.join(root, before), os.path.join(root, after))
18 for root, dirs, files in os.walk('.'):
19 if "res/drawable-" not in root: continue
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintProgressFragment.java36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument
37 return inflater.inflate(R.layout.print_progress_fragment, root, false);
/frameworks/base/tools/preload/
H A DPrintPsTree.java38 Root root = (Root) oin.readObject();
40 for (Proc proc : root.processes.values()) {
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()) {
H A DCompile.java39 Root root = new Root();
62 root.indexProcess(record);
66 root.indexClassOperation(record);
71 root.toFile(args[1]);
/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java42 public void draw(ViewGroup root, Canvas c, View content) { argument
48 final int width = root.getWidth();
49 final int height = root.getHeight();
55 final int childCount = root.getChildCount();
57 final View child = root.getChildAt(i);

Completed in 900 milliseconds

12345678