Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java295 public RenderedPage putRenderedPage(int pageIndex, RenderedPage renderedPage) { in putRenderedPage() argument
298 if (!oldRenderedPage.renderSpec.equals(renderedPage.renderSpec)) { in putRenderedPage()
302 final int contentSizeInBytes = renderedPage.getSizeInBytes(); in putRenderedPage()
309 return mRenderedPages.put(pageIndex, renderedPage); in putRenderedPage()
326 RenderedPage renderedPage = entry.getValue(); in removeLeastNeeded() local
327 if (renderedPage.state == RenderedPage.STATE_SCRAP) { in removeLeastNeeded()
330 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded()
331 return renderedPage; in removeLeastNeeded()
337 RenderedPage renderedPage = mRenderedPages.remove(pageIndex); in removeLeastNeeded() local
338 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPageContentView.java65 public void onPageContentAvailable(BitmapDrawable renderedPage) { in onPageContentAvailable() argument
66 mIsFailed = (renderedPage == null); in onPageContentAvailable()
71 setBackground(renderedPage); in onPageContentAvailable()