/frameworks/base/libs/hwui/utils/ |
H A D | LinearAllocator.cpp | 86 class LinearAllocator::Page { class in class:android::uirenderer::LinearAllocator 88 Page* next() { return mNextPage; } 89 void setNext(Page* next) { mNextPage = next; } 91 Page() : mNextPage(0) {} function in class:android::uirenderer::LinearAllocator::Page 95 void* start() { return (void*)(((size_t)this) + sizeof(Page)); } 100 Page(const Page& /*other*/) {} function in class:android::uirenderer::LinearAllocator::Page 101 Page* mNextPage; 121 Page* p = mPages; 123 Page* nex [all...] |
H A D | LinearAllocator.h | 122 class Page; 134 Page* newPage(size_t pageSize); 137 void* start(Page* p); 138 void* end(Page* p); 143 Page* mCurrentPage; 144 Page* mPages;
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 53 * Page page = document.startPage(pageInfo); 87 private Page mCurrentPage; 100 * you can get by calling {@link Page#getCanvas()}. After you are done 102 * {@link #finishPage(Page)}. After the page is finished you should 107 * is not finished by calling {@link #finishPage(Page)}. 113 * @see #finishPage(Page) 115 public Page startPage(PageInfo pageInfo) { 124 mCurrentPage = new Page(canvas, pageInfo); 139 public void finishPage(Page page) { 162 * PageInfo)} is not finished by calling {@link #finishPage(Page)} 386 public static final class Page { class in class:PdfDocument 396 private Page(Canvas canvas, PageInfo pageInfo) { method in class:PdfDocument.Page [all...] |
H A D | PdfRenderer.java | 61 * Page page = renderer.openPage(i); 64 * page.render(mBitmap, null, null, Page.RENDER_MODE_FOR_DISPLAY); 121 private Page mCurrentPage; 125 Page.RENDER_MODE_FOR_DISPLAY, 126 Page.RENDER_MODE_FOR_PRINT 222 * @see android.graphics.pdf.PdfRenderer.Page#close() PdfRenderer.Page.close() 224 public Page openPage(int index) { 228 mCurrentPage = new Page(index); 286 public final class Page implement class in class:PdfRenderer 306 private Page(int index) { method in class:PdfRenderer.Page [all...] |
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 37 struct Page { struct in struct:android::PageCache 42 Page *acquirePage(); 43 void releasePage(Page *page); 45 void appendPage(Page *page); 58 List<Page *> mActivePages; 59 List<Page *> mFreePages; 61 void freePages(List<Page *> *list); 76 void PageCache::freePages(List<Page *> *list) { 77 List<Page *>::iterator it = list->begin(); 79 Page *pag [all...] |
/frameworks/base/core/java/android/print/pdf/ |
H A D | PrintedPdfDocument.java | 47 * Page page = document.startPage(0); 112 * get by calling {@link android.graphics.pdf.PdfDocument.Page#getCanvas() Page.getCanvas()}. 114 * {@link #finishPage(Page)}. After the page is finished you should no longer access the page or 120 * {@link #finishPage(Page)}. 126 * @see #finishPage(Page) 128 public @NonNull Page startPage(@IntRange(from = 0) int pageNumber) {
|
/frameworks/support/paging/common/src/test/java/androidx/paging/ |
H A D | PageKeyedDataSourceTest.kt | 36 internal data class Page(val prev: String?, val data: List<Item>, val next: String?) 38 internal class ItemDataSource(val data: Map<String, Page> = PAGE_MAP) 41 private fun getPage(key: String): Page = data[key]!! 296 private val PAGE_MAP: Map<String, Page> 300 val map = HashMap<String, Page>() 310 map.put(key, Page(prev, data, next))
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 111 try (PdfRenderer.Page page = mRenderer.openPage(pageIndex)) { 161 page.render(bitmap, clip, matrix, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY);
|
/frameworks/av/media/extractors/ogg/ |
H A D | OggExtractor.cpp | 97 struct Page { struct in struct:android::MyOggExtractor 115 Page mCurrentPage; 137 ssize_t readPage(off64_t offset, Page *page); 400 Page prevPage; 497 ssize_t MyOggExtractor::readPage(off64_t offset, Page *page) { 878 Page page;
|
/frameworks/support/print/src/main/java/androidx/print/ |
H A D | PrintHelper.java | 639 PdfDocument.Page page = pdfDocument.startPage(1); 649 PdfDocument.Page dummyPage = dummyDocument.startPage(1);
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
H A D | WorkflowTest.java | 223 PdfDocument.Page page = document.startPage(0);
|