Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java115 private final ArrayList<ViewRootImpl> mRoots = new ArrayList<ViewRootImpl>(); field in WindowManagerGlobal
184 final int numRoots = mRoots.size(); in getViewRootNames()
187 mViewRoots[i] = getWindowName(mRoots.get(i)); in getViewRootNames()
195 for (int i = mRoots.size() - 1; i >= 0; --i) { in getRootView()
196 final ViewRootImpl root = mRoots.get(i); in getRootView()
238 for (int i = mRoots.size() - 1; i >= 0; --i) { in addView()
239 mRoots.get(i).loadSystemProperties(); in addView()
251 mRoots.get(index).doDie(); in addView()
265 if (mRoots.get(i).mWindow.asBinder() == wparams.token) { in addView()
276 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
152 mRoots.putAll(authority, loadRootsForAuthority(resolver, authority)); in loadStoppedAuthorities()
204 mRoots = mTaskRoots; in doInBackground()
225 if (mTaskRoots.putAll(info.authority, mRoots.get(info.authority))) { in handleDocumentsProvider()
284 mRoots.putAll( in getRootOneshot()
301 for (RootInfo root : mRoots.get(authority)) { in getRootLocked()
314 for (RootInfo test : mRoots.get(root.authority)) { in isIconUniqueBlocking()
339 return mRoots.values(); in getRootsBlocking()
347 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.java147 private final RootsCache mRoots; field in RecentsCreateFragment.RecentsCreateLoader
152 mRoots = roots; in RecentsCreateLoader()
158 final Collection<RootInfo> matchingRoots = mRoots.getMatchingRootsBlocking(mState); in loadInBackground()
DDocumentsActivity.java122 private RootsCache mRoots; field in DocumentsActivity
129 mRoots = DocumentsApplication.getRootsCache(this); in onCreate()
276 return mRoots.getRootOneshot(mRootUri.getAuthority(), rootId); in doInBackground()
319 final Collection<RootInfo> matchingRoots = mRoots.getMatchingRootsBlocking(mState); in doInBackground()
815 return mRoots.getRecentsRoot(); in getCurrentRoot()
918 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.java93 private ArrayList<RootInfo> mRoots; field in ExternalStorageProvider
107 mRoots = Lists.newArrayList(); in onCreate()
123 mRoots.clear(); in updateVolumesLocked()
167 mRoots.add(root); in updateVolumesLocked()
174 Log.d(TAG, "After updating volumes, found " + mRoots.size() + " active roots"); in updateVolumesLocked()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java1632 private ArrayDeque<Node> mRoots = new ArrayDeque<Node>(); field in RelativeLayout.DependencyGraph
1647 mRoots.clear(); in clear()
1755 final ArrayDeque<Node> roots = mRoots; in findRoots()