Searched refs:roots (Results 1 - 25 of 62) sorted by relevance

123

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DFilesActivityUiTest.java57 bots.roots.openRoot("Recent");
62 bots.roots.openRoot("Images");
69 bots.roots.openRoot("Demo Root");
105 bots.roots.openRoot(rootDir0.title);
110 bots.roots.openRoot(rootDir1.title);
127 // switch to separate display modes for two separate roots. Each
130 bots.roots.openRoot("Images");
132 bots.roots.openRoot("Videos");
137 bots.roots.openRoot("Images");
140 bots.roots
[all...]
H A DFilesActivityDefaultsUiTest.java39 // Overriding to init with no items in test roots
61 bots.roots.openRoot(rootDir0.title);
75 bots.roots.assertRootsPresent(
85 bots.roots.assertRootsPresent("Documents");
87 bots.roots.assertRootsAbsent("Documents");
H A DKeyboardNavigationUiTest.java44 // Tests that pressing tab switches focus between the roots and directory listings.
48 bots.roots.assertHasFocus();
68 bots.roots.closeDrawer();
80 // Tests that arrow keys do not switch focus away from the roots list.
84 bots.roots.openDrawer();
89 bots.roots.assertHasFocus();
93 bots.roots.assertHasFocus();
H A DArchiveUiTest.java30 bots.roots.openRoot("ResourcesProvider");
39 bots.roots.openRoot("ResourcesProvider");
H A DSidebarUiTest.java45 bots.roots.openRoot(ROOT_0_ID);
55 bots.roots.openRoot(ROOT_1_ID);
H A DIntegratedDownloadsUiTest.java49 bots.roots.openRoot("Downloads");
60 bots.roots.openRoot("Downloads");
H A DGestureSelectionUiTest.java34 bots.roots.closeDrawer();
H A DSearchViewUiTest.java40 bots.roots.closeDrawer();
53 bots.roots.openRoot(ROOT_1_ID); // root 1 doesn't support search
157 bots.roots.openRoot(ROOT_1_ID);
161 bots.roots.openRoot(ROOT_0_ID);
H A DFileManagementUiTest.java97 bots.roots.openRoot(ROOT_1_ID);
103 bots.roots.openRoot(ROOT_0_ID);
114 bots.roots.openRoot(ROOT_1_ID);
119 bots.roots.openRoot(ROOT_0_ID);
151 bots.roots.openRoot(ROOT_0_ID);
161 bots.roots.openRoot(ROOT_0_ID);
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_poly.cpp28 void db_SolveCubic(double *roots,int *nr_roots,double a,double b,double c,double d) argument
35 /*For nondegenerate cubics with three roots
40 if(a==0.0) db_SolveQuadratic(roots,nr_roots,b,c,d);
68 roots[0]= -2.0*srq*cos_theta_through3-bp_through3;
69 roots[1]=srq*min2_cos_theta_plu-bp_through3;
70 roots[2]=srq*min2_cos_theta_min-bp_through3;
77 if(A!=0.0) roots[0]=A+q/A-bp_through3;
78 else roots[0]= -bp_through3;
87 roots[0]= -2.0*si_r_srq-bp_through3;
89 roots[
94 db_SolveQuartic(double *roots,int *nr_roots,double a,double b,double c,double d,double e) argument
166 db_SolveQuarticForced(double *roots,int *nr_roots,double a,double b,double c,double d,double e) argument
[all...]
H A Ddb_image_homography.cpp119 double roots[3]; local
162 db_SolveCubic(roots,&nr_roots,p9[4],p9[3],p9[2],p9[1]);
166 if(roots[i]>0)
168 if((!signed_disambiguation) || (db_PolyEval1(p1,roots[i])*db_PolyEval1(p4,roots[i])>0))
170 fsol[j++]=db_SafeSqrtReciprocal(roots[i]);
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestProvidersAccess.java23 import com.android.documentsui.roots.ProvidersAccess;
83 public final Map<String, Collection<RootInfo>> roots = new HashMap<>(); field in class:TestProvidersAccess
94 if (!roots.containsKey(root.authority)) {
95 roots.put(root.authority, new ArrayList<>());
97 roots.get(root.authority).add(root);
109 if (roots.containsKey(authority)) {
110 for (RootInfo root : roots.get(authority)) {
122 for (String authority : roots.keySet()) {
123 allRoots.addAll(roots.get(authority));
130 return roots
[all...]
H A DTestLastAccessedStorage.java28 import com.android.documentsui.roots.ProvidersAccess;
41 public @Nullable DocumentStack getLastAccessed(Activity activity, ProvidersAccess roots, State state) { argument
H A DTestPackageManager.java45 public void addStubContentProviderForRoot(RootInfo... roots) { argument
46 for (RootInfo root : roots) {
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
H A DBootReceiver.java17 package com.android.documentsui.roots;
32 // kicked off a task to load roots, so this broadcast is finished once
H A DProvidersCache.java17 package com.android.documentsui.roots;
68 * Cache of known storage backends and their roots.
77 // MTP provider commonly returns no roots (if no devices are attached).
79 // ArchivesProvider doesn't support any roots.
130 if (DEBUG) Log.i(TAG, "Updating roots due to change at " + uri);
190 * @return {@code true} if cached roots is ready to roll, otherwise
206 * Load roots from authorities that are in stopped state. Normal
220 * Load roots from a stopped authority. Normal {@link UpdateTask} passes
236 * Bring up requested provider and query for all active roots. Will consult cached
237 * roots i
[all...]
H A DProvidersAccess.java17 package com.android.documentsui.roots;
41 * Return the requested {@link RootInfo}, but only loading the roots for the
43 * waiting for all the other roots to come back.
60 * Returns a list of roots for the specified authority. If not found, then
65 public static List<RootInfo> getMatchingRoots(Collection<RootInfo> roots, State state) { argument
70 for (RootInfo root : roots) {
136 if (DEBUG) Log.d(tag, "Matched roots: " + matching);
H A DGetRootDocumentTask.java17 package com.android.documentsui.roots;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/
H A DProvidersCacheTest.java17 package com.android.documentsui.roots;
134 final List<RootInfo> roots = newArrayList();
136 // Set up some roots
140 roots.add(root);
144 roots.get(0), roots.get(2), roots.get(4));
146 for (RootInfo root: roots) {
155 ProvidersAccess.getMatchingRoots(roots, mState));
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DRootsMonitor.java34 import com.android.documentsui.roots.ProvidersAccess;
40 * Monitors roots change and refresh the page when necessary.
110 protected RootInfo run(RootInfo... roots) { argument
111 assert (roots.length == 1);
112 mCurrentRoot = roots[0];
H A DShortcutsUpdater.java50 public void update(Collection<RootInfo> roots) { argument
54 List<ShortcutInfo> devices = getDeviceShortcuts(roots);
76 * Return at most four awesome devices/roots to include as dynamic shortcuts.
78 private List<ShortcutInfo> getDeviceShortcuts(Collection<RootInfo> roots) { argument
80 for (RootInfo root : roots) {
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
H A DShowInProviderAction.java25 import com.android.documentsui.roots.ProvidersAccess;
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
H A DFilesActivityPerfTest.java117 bots.roots.openRoot(STRESS_ROOT_1_ID);
126 bots.roots.openRoot(STRESS_ROOT_0_ID);
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DBots.java42 public final SidebarBot roots; field in class:Bots
52 roots = new SidebarBot(device, context, TIMEOUT);
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
H A DLoadLastAccessedStackTask.java25 import com.android.documentsui.roots.ProvidersAccess;

Completed in 321 milliseconds

123