Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/pdf/
DPdfDocument.cpp59 mCurrentPage = NULL; in PdfDocument()
64 assert(mCurrentPage == NULL); in startPage()
70 mCurrentPage = page; in startPage()
79 assert(mCurrentPage != NULL); in finishPage()
80 assert(mCurrentPage->mPictureRecorder != NULL); in finishPage()
81 assert(mCurrentPage->mPicture == NULL); in finishPage()
82mCurrentPage->mPicture = mCurrentPage->mPictureRecorder->finishRecordingAsPicture().release(); in finishPage()
83 delete mCurrentPage->mPictureRecorder; in finishPage()
84 mCurrentPage->mPictureRecorder = NULL; in finishPage()
85 mCurrentPage = NULL; in finishPage()
[all …]
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp100 , mCurrentPage(0) in LinearAllocator()
132 return mNext && ((char*)mNext + size) <= end(mCurrentPage); in fitsInCurrentPage()
138 if (mCurrentPage && mPageSize < MAX_PAGE_SIZE) { in ensureNext()
145 if (mCurrentPage) { in ensureNext()
146 mCurrentPage->setNext(p); in ensureNext()
148 mCurrentPage = p; in ensureNext()
150 mPages = mCurrentPage; in ensureNext()
152 mNext = start(mCurrentPage); in ensureNext()
164 if (!mCurrentPage) mCurrentPage = mPages; in allocImpl()
212 if (ptr >= start(mCurrentPage) && ptr < end(mCurrentPage) && in rewindIfLastAlloc()
DLinearAllocator.h144 Page* mCurrentPage; variable
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfRenderer.java126 private Page mCurrentPage; field in PdfRenderer
233 mCurrentPage = new Page(index); in openPage()
234 return mCurrentPage; in openPage()
252 if (mCurrentPage != null) { in doClose()
253 mCurrentPage.close(); in doClose()
254 mCurrentPage = null; in doClose()
278 if (mCurrentPage != null) { in throwIfPageOpened()
482 mCurrentPage = null; in doClose()
DPdfDocument.java87 private Page mCurrentPage; field in PdfDocument
124 mCurrentPage = new Page(canvas, pageInfo); in startPage()
125 return mCurrentPage; in startPage()
144 if (page != mCurrentPage) { in finishPage()
151 mCurrentPage = null; in finishPage()
236 if (mCurrentPage != null) { in throwIfCurrentPageNotFinished()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp116 Page mCurrentPage; member
325 mCurrentPage.mNumSegments = 0; in MyOggExtractor()
326 mCurrentPage.mFlags = 0; in MyOggExtractor()
507 mCurrentPage.mNumSegments = 0; in seekToOffset()
508 mCurrentPage.mPrevPacketSize = -1; in seekToOffset()
602 if (err == AMEDIA_ERROR_END_OF_STREAM || mCurrentPage.mPageNo > 2) { in readNextPacket()
609 curGranulePosition = mCurrentPage.mGranulePosition; in readNextPacket()
638 (void) __builtin_sub_overflow(mCurrentPage.mGranulePosition, currentPageSamples, in readNextPacket()
762 for (i = mNextLaceIndex; i < mCurrentPage.mNumSegments; ++i) { in _readNextPacket()
763 uint8_t lace = mCurrentPage.mLace[i]; in _readNextPacket()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DAbstractMultiProfilePagerAdapter.java63 private int mCurrentPage; field in AbstractMultiProfilePagerAdapter
76 mCurrentPage = currentPage; in AbstractMultiProfilePagerAdapter()
145 mCurrentPage = position; in setupViewPager()
163 viewPager.setCurrentItem(mCurrentPage); in setupViewPager()
164 mLoadedPages.add(mCurrentPage); in setupViewPager()
171 mLoadedPages.remove(1 - mCurrentPage); in clearInactiveProfileCache()
192 return mCurrentPage; in getCurrentPage()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt21128 Landroid/graphics/pdf/PdfDocument;->mCurrentPage:Landroid/graphics/pdf/PdfDocument$Page;