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

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DRootsCacheTest.java118 final List<RootInfo> roots = Lists.newArrayList();
120 // Set up some roots
124 roots.add(root);
128 roots.get(0), roots.get(2), roots.get(4));
130 for (RootInfo root: roots) {
139 RootsCache.getMatchingRoots(roots, mState));
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsLoader.java35 public RootsLoader(Context context, RootsCache roots, State state) { argument
37 mRoots = roots;
H A DRecentLoader.java157 public RecentLoader(Context context, RootsCache roots, State state) { argument
159 mRoots = roots;
182 final Collection<RootInfo> roots = mRoots.getMatchingRootsBlocking(mState);
183 for (RootInfo root : roots) {
H A DRecentsCreateFragment.java97 final RootsCache roots = DocumentsApplication.getRootsCache(context);
103 return new RecentsCreateLoader(context, roots, state);
151 public RecentsCreateLoader(Context context, RootsCache roots, State state) { argument
153 mRoots = roots;
175 // restore. This also filters away roots that don't
H A DRootsCache.java58 * Cache of known storage backends and their roots.
64 "content://com.android.documentsui.roots/");
94 if (LOGD) Log.d(TAG, "Updating roots due to change at " + uri);
100 * Gather roots from all known storage providers.
116 * Gather roots from storage providers belonging to given package name.
123 * Gather roots from storage providers belonging to given authority.
144 * Load roots from authorities that are in stopped state. Normal
165 * Update all roots.
172 * Only update roots belonging to given package name. Other roots wil
352 getMatchingRoots(Collection<RootInfo> roots, State state) argument
[all...]
H A DRootsFragment.java56 * Display list of known storage backend roots.
101 final RootsCache roots = DocumentsApplication.getRootsCache(context);
107 return new RootsLoader(context, roots, state);
287 public RootsAdapter(Context context, Collection<RootInfo> roots, Intent includeApps) { argument
299 for (RootInfo root : roots) {
H A DBaseActivity.java246 final RootsFragment roots = RootsFragment.get(getFragmentManager());
247 if (roots != null) {
248 roots.onCurrentRootChanged();
258 // Exclude roots provided by the calling package.
542 RootsCache roots = DocumentsApplication.getRootsCache(BaseActivity.this);
564 final Collection<RootInfo> matchingRoots = roots.getMatchingRootsBlocking(state);
H A DDirectoryFragment.java298 final RootsCache roots = DocumentsApplication.getRootsCache(context);
299 return new RecentLoader(context, roots, state);
858 final RootsCache roots = DocumentsApplication.getRootsCache(context);
961 // We've already had to enumerate roots before any results can
963 final RootInfo root = roots.getRootBlocking(docAuthority, docRootId);
978 if (iconDrawable != null && roots.isIconUniqueBlocking(root)) {
/frameworks/base/test-runner/src/junit/runner/
H A DClassPathTestCollector.java33 Hashtable collectFilesInRoots(Vector roots) { argument
35 Enumeration e= roots.elements();
/frameworks/data-binding/library/src/main/java/android/databinding/
H A DDataBindingUtil.java189 static <T extends ViewDataBinding> T bind(DataBindingComponent bindingComponent, View[] roots, argument
191 return (T) sMapper.getDataBinder(bindingComponent, roots, layoutId);
H A DViewDataBinding.java565 * Walks the view hierarchy under roots and pulls out tagged Views, includes, and views with
570 * @param roots The root Views of the view hierarchy to walk. This is used with merge tags.
579 protected static Object[] mapBindings(DataBindingComponent bindingComponent, View[] roots, argument
582 for (int i = 0; i < roots.length; i++) {
583 mapBindings(bindingComponent, roots[i], bindings, includes, viewsWithIds, true);
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java877 * - All nodes without dependencies become 'roots'
878 * - while roots list is not null
882 * - any nodes with no dependencies are added to the roots list
887 ArrayList<Node> roots = new ArrayList<Node>();
892 roots.add(node);
896 while (roots.size() > 0) {
897 int numRoots = roots.size();
899 Node root = roots.get(i);
912 roots.clear();
913 roots
[all...]
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java1652 * Temporary data structure used to build the list of roots
1700 final ArrayDeque<Node> roots = findRoots(rules);
1704 while ((node = roots.pollLast()) != null) {
1718 roots.add(dependent);
1730 * Finds the roots of the graph. A root is a node with no dependency and
1743 // Find roots can be invoked several times, so make sure to clear
1778 final ArrayDeque<Node> roots = mRoots;
1779 roots.clear();
1781 // Finds all the roots in the graph: all nodes with no dependencies
1784 if (node.dependencies.size() == 0) roots
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 477 milliseconds