Home
last modified time | relevance | path

Searched refs:mRoots (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java113 private final ArrayList<ViewRootImpl> mRoots = new ArrayList<ViewRootImpl>(); field in WindowManagerGlobal
169 final int numRoots = mRoots.size(); in getViewRootNames()
172 mViewRoots[i] = getWindowName(mRoots.get(i)); in getViewRootNames()
180 for (int i = mRoots.size() - 1; i >= 0; --i) { in getRootView()
181 final ViewRootImpl root = mRoots.get(i); in getRootView()
215 for (int i = mRoots.size() - 1; i >= 0; --i) { in addView()
216 mRoots.get(i).loadSystemProperties(); in addView()
228 mRoots.get(index).doDie(); in addView()
242 if (mRoots.get(i).mWindow.asBinder() == wparams.token) { in addView()
253 mRoots.add(root); in addView()
[all …]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DRootsCacheTest.java46 private List<RootInfo> mRoots = Lists.newArrayList( field in RootsCacheTest
65 RootsCache.getMatchingRoots(mRoots, mState)); in testMatchingRootsEverything()
72 RootsCache.getMatchingRoots(mRoots, mState)); in testMatchingRootsPngOrWild()
79 RootsCache.getMatchingRoots(mRoots, mState)); in testMatchingRootsAudioWild()
86 RootsCache.getMatchingRoots(mRoots, mState)); in testMatchingRootsAudioWildOrImageWild()
93 RootsCache.getMatchingRoots(mRoots, mState)); in testMatchingRootsAudioSpecific()
100 RootsCache.getMatchingRoots(mRoots, mState)); in testMatchingRootsDocument()
107 RootsCache.getMatchingRoots(mRoots, mState)); in testMatchingRootsApplication()
114 RootsCache.getMatchingRoots(mRoots, mState)); in testMatchingRootsFlacOrPng()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java35 private RootsCache mRoots; field in DocumentsApplication
40 return ((DocumentsApplication) context.getApplicationContext()).mRoots; in getRootsCache()
69 mRoots = new RootsCache(this); in onCreate()
70 mRoots.updateAsync(); in onCreate()
104 mRoots.updatePackageAsync(packageName);
106 mRoots.updateAsync();
DRootsLoader.java30 private final RootsCache mRoots; field in RootsLoader
37 mRoots = roots; in RootsLoader()
46 return mRoots.getMatchingRootsBlocking(mState); in loadInBackground()
DRootsCache.java75 private Multimap<String, RootInfo> mRoots = ArrayListMultimap.create(); field in RootsCache
154 mRoots.putAll(authority, loadRootsForAuthority(resolver, authority)); in loadStoppedAuthorities()
200 mRoots = mTaskRoots; in doInBackground()
221 if (mTaskRoots.putAll(info.authority, mRoots.get(info.authority))) { in handleDocumentsProvider()
280 mRoots.putAll( in getRootOneshot()
297 for (RootInfo root : mRoots.get(authority)) { in getRootLocked()
310 for (RootInfo test : mRoots.get(root.authority)) { in isIconUniqueBlocking()
335 return mRoots.values(); in getRootsBlocking()
343 return getMatchingRoots(mRoots.values(), state); in getMatchingRootsBlocking()
DRecentLoader.java81 private final RootsCache mRoots; field in RecentLoader
157 mRoots = roots; in RecentLoader()
174 final Collection<RootInfo> roots = mRoots.getMatchingRootsBlocking(mState); in loadInBackground()
DRecentsCreateFragment.java149 private final RootsCache mRoots; field in RecentsCreateFragment.RecentsCreateLoader
154 mRoots = roots; in RecentsCreateLoader()
160 final Collection<RootInfo> matchingRoots = mRoots.getMatchingRootsBlocking(mState); in loadInBackground()
DDocumentsActivity.java117 private RootsCache mRoots; field in DocumentsActivity
124 mRoots = DocumentsApplication.getRootsCache(this); in onCreate()
273 return mRoots.getRootOneshot(mRootUri.getAuthority(), rootId); in doInBackground()
316 final Collection<RootInfo> matchingRoots = mRoots.getMatchingRootsBlocking(mState); in doInBackground()
787 return mRoots.getRecentsRoot(); in getCurrentRoot()
881 if (!mRoots.isRecentsRoot(root)) { in onRootPicked()
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java632 private final HashMap<String, File> mRoots = new HashMap<String, File>(); field in FileProvider.SimplePathStrategy
655 mRoots.put(name, root); in addRoot()
669 for (Map.Entry<String, File> root : mRoots.entrySet()) { in getUriForFile()
704 final File root = mRoots.get(tag); in getFileForUri()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java85 private ArrayList<RootInfo> mRoots; field in ExternalStorageProvider
98 mRoots = Lists.newArrayList(); in onCreate()
114 mRoots.clear(); in updateVolumesLocked()
153 mRoots.add(root); in updateVolumesLocked()
160 Log.d(TAG, "After updating volumes, found " + mRoots.size() + " active roots"); in updateVolumesLocked()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java1622 private ArrayDeque<Node> mRoots = new ArrayDeque<Node>(); field in RelativeLayout.DependencyGraph
1637 mRoots.clear(); in clear()
1745 final ArrayDeque<Node> roots = mRoots; in findRoots()