/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_utilities_poly.cpp | 28 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 D | db_image_homography.cpp | 119 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/functional/com/android/documentsui/ |
H A D | FilesActivityUiTest.java | 57 bots.roots.openRoot("Recent"); 62 bots.roots.openRoot("Images"); 93 bots.roots.openRoot(rootDir0.title); 98 bots.roots.openRoot(rootDir1.title); 115 // switch to separate display modes for two separate roots. Each 118 bots.roots.openRoot("Images"); 120 bots.roots.openRoot("Videos"); 125 bots.roots.openRoot("Images"); 128 bots.roots.openRoot("Videos"); 131 bots.roots [all...] |
H A D | FilesActivityDefaultsUiTest.java | 39 // 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 D | KeyboardNavigationUiTest.java | 44 // 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(); 90 bots.roots.assertHasFocus(); 94 bots.roots.assertHasFocus();
|
H A D | ArchiveUiTest.java | 30 bots.roots.openRoot("ResourcesProvider"); 39 bots.roots.openRoot("ResourcesProvider");
|
H A D | SidebarUiTest.java | 45 bots.roots.openRoot(ROOT_0_ID); 55 bots.roots.openRoot(ROOT_1_ID);
|
H A D | IntegratedDownloadsUiTest.java | 49 bots.roots.openRoot("Downloads"); 60 bots.roots.openRoot("Downloads");
|
H A D | CancelFromNotificationUiTest.java | 203 bots.roots.openRoot(ROOT_0_ID); 221 bots.roots.openRoot(ROOT_0_ID); 231 bots.roots.openRoot(ROOT_1_ID); 243 bots.roots.openRoot(ROOT_1_ID); 247 bots.roots.openRoot(ROOT_0_ID); 253 bots.roots.openRoot(ROOT_0_ID); 271 bots.roots.openRoot(ROOT_0_ID); 281 bots.roots.openRoot(ROOT_1_ID); 293 bots.roots.openRoot(ROOT_1_ID); 297 bots.roots [all...] |
H A D | GestureSelectionUiTest.java | 34 bots.roots.closeDrawer();
|
H A D | SearchViewUiTest.java | 40 bots.roots.closeDrawer(); 53 bots.roots.openRoot(ROOT_1_ID); // root 1 doesn't support search 159 bots.roots.openRoot(ROOT_1_ID); 163 bots.roots.openRoot(ROOT_0_ID);
|
H A D | FileManagementUiTest.java | 97 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/DocumentsUI/tests/common/com/android/documentsui/testing/ |
H A D | TestProvidersAccess.java | 24 import com.android.documentsui.roots.ProvidersAccess; 90 public final Map<String, Collection<RootInfo>> roots = new HashMap<>(); field in class:TestProvidersAccess 101 if (!roots.containsKey(root.authority)) { 102 roots.put(root.authority, new ArrayList<>()); 104 roots.get(root.authority).add(root); 116 if (roots.containsKey(authority)) { 117 for (RootInfo root : roots.get(authority)) { 129 for (String authority : roots.keySet()) { 130 allRoots.addAll(roots.get(authority)); 137 return roots [all...] |
H A D | TestLastAccessedStorage.java | 28 import com.android.documentsui.roots.ProvidersAccess; 41 public @Nullable DocumentStack getLastAccessed(Activity activity, ProvidersAccess roots, State state) { argument
|
H A D | TestPackageManager.java | 45 public void addStubContentProviderForRoot(RootInfo... roots) { argument 46 for (RootInfo root : roots) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
H A D | BootReceiver.java | 17 package com.android.documentsui.roots; 32 // kicked off a task to load roots, so this broadcast is finished once
|
H A D | ProvidersAccess.java | 17 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 D | ProvidersCache.java | 17 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/unit/com/android/documentsui/roots/ |
H A D | ProvidersCacheTest.java | 17 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 D | RootsMonitor.java | 34 import com.android.documentsui.roots.ProvidersAccess; 39 * Monitors roots change and refresh the page when necessary. 109 protected RootInfo run(RootInfo... roots) { argument 110 assert (roots.length == 1); 111 mCurrentRoot = roots[0];
|
H A D | ShortcutsUpdater.java | 50 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/perf-tests/src/com/android/documentsui/ |
H A D | FilesActivityPerfTest.java | 117 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 D | Bots.java | 42 public final SidebarBot roots; field in class:Bots 52 roots = new SidebarBot(device, context, TIMEOUT);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/ |
H A D | ShowInProviderAction.java | 26 import com.android.documentsui.roots.ProvidersAccess;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
H A D | LoadLastAccessedStackTask.java | 25 import com.android.documentsui.roots.ProvidersAccess;
|