Home
last modified time | relevance | path

Searched refs:page (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/core/jni/android/graphics/pdf/
DPdfEditor.cpp114 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeSetTransformAndClip() local
115 if (!page) { in nativeSetTransformAndClip()
134 SkMatrix moveUp = SkMatrix::MakeTrans(0, FPDF_GetPageHeight(page)); in nativeSetTransformAndClip()
146 FPDF_ClosePage(page); in nativeSetTransformAndClip()
160 FPDFPage_TransFormWithClip(page, &transform, &clip); in nativeSetTransformAndClip()
162 FPDF_ClosePage(page); in nativeSetTransformAndClip()
169 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeGetPageSize() local
170 if (!page) { in nativeGetPageSize()
189 FPDF_ClosePage(page); in nativeGetPageSize()
196 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeGetPageBox() local
[all …]
DPdfDocument.cpp70 PageRecord* page = new PageRecord(width, height, contentRect); in startPage() local
71 mPages.push_back(page); in startPage()
72 mCurrentPage = page; in startPage()
74 SkCanvas* canvas = page->mPictureRecorder->beginRecording( in startPage()
93 PageRecord* page = mPages[i]; in write() local
95 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, in write()
96 &(page->mContentRect)); in write()
97 canvas->drawPicture(page->mPicture); in write()
DPdfRenderer.cpp47 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeOpenPageAndGetSize() local
48 if (!page) { in nativeOpenPageAndGetSize()
67 return reinterpret_cast<jlong>(page); in nativeOpenPageAndGetSize()
71 FPDF_PAGE page = reinterpret_cast<FPDF_PAGE>(pagePtr); in nativeClosePage() local
72 FPDF_ClosePage(page); in nativeClosePage()
78 FPDF_PAGE page = reinterpret_cast<FPDF_PAGE>(pagePtr); in nativeRenderPage() local
110 FPDF_RenderPageBitmapWithMatrix(bitmap, page, &transform, &clip, renderFlags); in nativeRenderPage()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java81 public void transformPage(View page, float position) { in initialize()
92 page.setTranslationX(0); in initialize()
93 page.setAlpha(1.f); in initialize()
94 page.setScaleX(1); in initialize()
95 page.setScaleY(1); in initialize()
97 page.setTranslationX(-position * page.getWidth()); in initialize()
98 page.setAlpha(Math.max(0,1.f - position)); in initialize()
100 page.setScaleX(scale); in initialize()
101 page.setScaleY(scale); in initialize()
/frameworks/av/media/libdatasource/
DNuCachedSource2.cpp43 void releasePage(Page *page);
45 void appendPage(Page *page);
79 Page *page = *it; in freePages() local
81 free(page->mData); in freePages()
82 delete page; in freePages()
83 page = NULL; in freePages()
92 Page *page = *it; in acquirePage() local
95 return page; in acquirePage()
98 Page *page = new Page; in acquirePage() local
99 page->mData = malloc(mPageSize); in acquirePage()
[all …]
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfDocument.java139 public void finishPage(Page page) { in finishPage() argument
141 if (page == null) { in finishPage()
144 if (page != mCurrentPage) { in finishPage()
147 if (page.isFinished()) { in finishPage()
150 mPages.add(page.getInfo()); in finishPage()
153 page.finish(); in finishPage()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java303 View page; in onCreateViewHolder() local
306 page = mLayoutInflater.inflate(R.layout.preview_page_selected, parent, false); in onCreateViewHolder()
308 page = mLayoutInflater.inflate(R.layout.preview_page, parent, false); in onCreateViewHolder()
311 return new MyViewHolder(page); in onCreateViewHolder()
323 PreviewPageFrame page = (PreviewPageFrame) holder.itemView; in onBindViewHolder() local
324 page.setOnClickListener(mPageClickListener); in onBindViewHolder()
326 page.setTag(holder); in onBindViewHolder()
333 PageContentView content = (PageContentView) page.findViewById(R.id.page_content); in onBindViewHolder()
358 page.setSelected(true); in onBindViewHolder()
360 page.setSelected(false); in onBindViewHolder()
[all …]
/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp125 for (uint32_t page = fromPage + 1; page < maxPage; page++) { in nextSetBit() local
126 uint16_t index = mIndices[page]; in nextSetBit()
134 return (page << kLogValuesPerPage) + (j << kLogBitsPerEl) + CountLeadingZeros(e); in nextSetBit()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp140 ssize_t readPage(off64_t offset, Page *page);
516 ssize_t MyOggExtractor::readPage(off64_t offset, Page *page) { in readPage() argument
543 page->mFlags = header[5]; in readPage()
545 if (page->mFlags & ~7) { in readPage()
550 page->mGranulePosition = U64LE_AT(&header[6]); in readPage()
554 page->mGranulePosition, page->mGranulePosition); in readPage()
557 page->mSerialNo = U32LE_AT(&header[14]); in readPage()
558 page->mPageNo = U32LE_AT(&header[18]); in readPage()
560 page->mNumSegments = header[26]; in readPage()
562 offset + sizeof(header), page->mLace, page->mNumSegments) in readPage()
[all …]
/frameworks/base/core/proto/android/os/
Dpagetypeinfo.proto27 * For example, the order of a page ranges form 0 to 10.
28 * An order-0 page is 4 KB in size and 4 KB aligned.
29 * An order-1 page is 8 KB in size and 8 KB aligned.
30 * An order-10 page is 4096 KB in size and 4096 aligned.
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp160 Page* page = newPage(size); in allocImpl() local
162 page->setNext(mPages); in allocImpl()
163 mPages = page; in allocImpl()
165 return start(page); in allocImpl()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java111 try (PdfRenderer.Page page = mRenderer.openPage(pageIndex)) { in renderPage() argument
112 final int srcWidthPts = page.getWidth(); in renderPage()
113 final int srcHeightPts = page.getHeight(); in renderPage()
161 page.render(bitmap, clip, matrix, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY); in renderPage()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java288 RenderedPage page = mRenderedPages.remove(pageIndex); in removeRenderedPage() local
289 if (page != null) { in removeRenderedPage()
290 mSizeInBytes -= page.getSizeInBytes(); in removeRenderedPage()
292 return page; in removeRenderedPage()
401 public boolean hasSameSize(RenderedPage page) { in hasSameSize() argument
402 Bitmap bitmap = page.content.getBitmap(); in hasSameSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java122 int page = getCurrentItem(); in getCurrentPageNumber() local
124 page = mPages.size() - 1 - page; in getCurrentPageNumber()
126 return page; in getCurrentPageNumber()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java718 int page = options.getInt(MediaBrowser.EXTRA_PAGE, -1); in applyOptions() local
720 if (page == -1 && pageSize == -1) { in applyOptions()
723 int fromIndex = pageSize * page; in applyOptions()
725 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) { in applyOptions()
/frameworks/av/services/mediacodec/seccomp_policy/
Dmediacodec-arm.policy22 # |old_address| and |new_address| from touching the exception vector page, which
Dmediaswcodec-arm64.policy34 # |old_address| and |new_address| from touching the exception vector page, which
Dmediaswcodec-arm.policy30 # |old_address| and |new_address| from touching the exception vector page, which
/frameworks/av/services/mediaextractor/seccomp_policy/
Dmediaextractor-arm.policy53 # |old_address| and |new_address| from touching the exception vector page, which
/frameworks/native/opengl/specs/
DEGL_ANDROID_front_buffer_auto_refresh.txt57 "Surface Attributes", page 43:
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java224 PdfDocument.Page page = document.startPage(0); in print()
225 document.finishPage(page); in print()
/frameworks/av/media/codec2/hidl/services/seccomp_policy/
Dcodec2.software.base-arm.policy33 # |old_address| and |new_address| from touching the exception vector page, which
Dcodec2.vendor.base-arm.policy33 # |old_address| and |new_address| from touching the exception vector page, which
/frameworks/native/docs/
DDoxyfile38 # for a project that appears at the top of each page and should give viewer
191 # a new page for each member. If set to NO, the documentation of a member will
318 # @ingroup) instead of on a separate page (for HTML and Man pages) or
327 # structs, classes, and unions are shown on a separate page (for HTML and Man
578 # Set the SHOW_FILES tag to NO to disable the generation of the Files page.
585 # Namespaces page. This will remove the Namespaces entry from the Quick Index
829 # is part of the input, its contents will be placed on the main page (index.html).
831 # the introduction page also for the doxygen output.
929 # each generated HTML page (for example: .htm,.php,.asp). If it is left blank
935 # each generated HTML page. If it is left blank doxygen will generate a
[all …]
/frameworks/wilhelm/doc/
DDoxyfile165 # a new page for each member. If set to NO, the documentation of a member will
492 # Set the SHOW_FILES tag to NO to disable the generation of the Files page.
499 # Namespaces page.
786 # each generated HTML page (for example: .htm,.php,.asp). If it is left blank
792 # each generated HTML page. If it is left blank doxygen will generate a
798 # each generated HTML page. If it is left blank doxygen will generate a
804 # style sheet that is used by each HTML page. It can be used to
838 # page will contain the date and time when the page was generated. Setting
851 # page has loaded. For this to work a browser that supports
1009 # top of each HTML page. The value NO (the default) enables the index and
[all …]

12