Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java272 private final LinkedHashMap<Integer, RenderedPage> mRenderedPages = field in PageContentRepository.PageContentLruCache
284 return mRenderedPages.get(pageIndex); in getRenderedPage()
288 RenderedPage page = mRenderedPages.remove(pageIndex); in removeRenderedPage()
296 RenderedPage oldRenderedPage = mRenderedPages.remove(pageIndex); in putRenderedPage()
309 return mRenderedPages.put(pageIndex, renderedPage); in putRenderedPage()
313 for (Map.Entry<Integer, RenderedPage> entry : mRenderedPages.entrySet()) { in invalidate()
319 if (mRenderedPages.isEmpty()) { in removeLeastNeeded()
325 for (Map.Entry<Integer, RenderedPage> entry : mRenderedPages.entrySet()) { in removeLeastNeeded()
329 mRenderedPages.remove(pageIndex); in removeLeastNeeded()
336 final int pageIndex = mRenderedPages.eldest().getKey(); in removeLeastNeeded()
[all …]