Searched refs:mDisplayCache (Results 1 – 2 of 2) sorted by relevance
97 private final WeakDisplayCache mDisplayCache = new WeakDisplayCache(); field in DisplayManager734 display = mDisplayCache.get(displayId); in getOrCreateDisplay()743 mDisplayCache.put(display); in getOrCreateDisplay()1878 private final SparseArray<WeakReference<Display>> mDisplayCache = new SparseArray<>(); field in DisplayManager.WeakDisplayCache1887 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()
159 private PropertyInvalidatedCache<Integer, DisplayInfo> mDisplayCache = field in DisplayManagerGlobal212 if (mDisplayCache != null) { in getDisplayInfoLocked()213 info = mDisplayCache.query(displayId); in getDisplayInfoLocked()1403 mDisplayCache = null; in disableLocalDisplayInfoCaches()