Searched defs:roots (Results 1 - 19 of 19) sorted by relevance

/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 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;
H A DLoadRootTask.java17 package com.android.documentsui.roots;
H A DRootsLoader.java17 package com.android.documentsui.roots;
H A DRootCursorWrapper.java17 package com.android.documentsui.roots;
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...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestPackageManager.java44 public void addStubContentProviderForRoot(RootInfo... roots) { argument
45 for (RootInfo root : roots) {
H A DTestLastAccessedStorage.java28 import com.android.documentsui.roots.ProvidersAccess;
41 public @Nullable DocumentStack getLastAccessed(Activity activity, ProvidersAccess roots, State state) { argument
H A DTestProvidersAccess.java22 import com.android.documentsui.roots.ProvidersAccess;
67 public final Map<String, Collection<RootInfo>> roots = new HashMap<>(); field in class:TestProvidersAccess
78 if (!roots.containsKey(root.authority)) {
79 roots.put(root.authority, new ArrayList<>());
81 roots.get(root.authority).add(root);
93 if (roots.containsKey(authority)) {
94 for (RootInfo root : roots.get(authority)) {
106 for (String authority : roots.keySet()) {
107 allRoots.addAll(roots.get(authority));
114 return roots
[all...]
H A DTestEnv.java58 public final TestProvidersAccess roots = new TestProvidersAccess(); field in class:TestEnv
92 providers = new HashMap<>(roots.getRootsBlocking().size());
97 for (RootInfo root : roots.getRootsBlocking()) {
/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];
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DBots.java42 public final SidebarBot roots; field in class:Bots
51 roots = new SidebarBot(device, context, TIMEOUT);
/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/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_utilities_poly.h39 inline void db_SolveQuadratic(double *roots,int *nr_roots,double a,double b,double c) argument
50 roots[0]= -c/b;
62 roots[0]=q/a;
66 else roots[1]=c/q;
76 For a non-degenerate cubic with two roots, the first root is the single root and
79 DB_API void db_SolveCubic(double *roots,int *nr_roots,double a,double b,double c,double d);
84 DB_API void db_SolveQuartic(double *roots,int *nr_roots,double a,double b,double c,double d,double e);
89 DB_API void db_SolveQuarticForced(double *roots,int *nr_roots,double a,double b,double c,double d,double e);
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/src/com/android/documentsui/sidebar/
H A DRootsFragment.java66 import com.android.documentsui.roots.ProvidersCache;
67 import com.android.documentsui.roots.RootsLoader;
77 * Display list of known storage backend roots.
240 * be included in list of roots (in special section at bottom).
243 Collection<RootInfo> roots, @Nullable Intent handlerAppIntent) {
249 for (final RootInfo root : roots) {
266 if (VERBOSE) Log.v(TAG, "Adding library roots: " + libraries);
273 if (VERBOSE) Log.v(TAG, "Adding plain roots: " + libraries);
285 * Adds apps capable of handling the original intent will be included in list of roots (in
242 sortLoadResult( Collection<RootInfo> roots, @Nullable Intent handlerAppIntent) argument
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 265 milliseconds