Home
last modified time | relevance | path

Searched refs:mDisplayCache (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java97 private final WeakDisplayCache mDisplayCache = new WeakDisplayCache(); field in DisplayManager
734 display = mDisplayCache.get(displayId); in getOrCreateDisplay()
743 mDisplayCache.put(display); in getOrCreateDisplay()
1878 private final SparseArray<WeakReference<Display>> mDisplayCache = new SparseArray<>(); field in DisplayManager.WeakDisplayCache
1887 WeakReference<Display> wrDisplay = mDisplayCache.get(displayId); in get()
1902 mDisplayCache.put(display.getDisplayId(), new WeakReference<>(display)); in put()
1910 for (int i = 0; i < mDisplayCache.size(); i++) { in removeStaleEntries()
1911 if (mDisplayCache.valueAt(i).get() == null) { in removeStaleEntries()
1919 mDisplayCache.removeAt(staleEntriesIndices.get(i)); in removeStaleEntries()
DDisplayManagerGlobal.java159 private PropertyInvalidatedCache<Integer, DisplayInfo> mDisplayCache = field in DisplayManagerGlobal
212 if (mDisplayCache != null) { in getDisplayInfoLocked()
213 info = mDisplayCache.query(displayId); in getDisplayInfoLocked()
1403 mDisplayCache = null; in disableLocalDisplayInfoCaches()