Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/pdf/
DPdfDocument.cpp61 mCurrentPage = NULL; in PdfDocument()
66 assert(mCurrentPage == NULL); in startPage()
72 mCurrentPage = page; in startPage()
81 assert(mCurrentPage != NULL); in finishPage()
82 assert(mCurrentPage->mPictureRecorder != NULL); in finishPage()
83 assert(mCurrentPage->mPicture == NULL); in finishPage()
84 mCurrentPage->mPicture = mCurrentPage->mPictureRecorder->endRecording(); in finishPage()
85 delete mCurrentPage->mPictureRecorder; in finishPage()
86 mCurrentPage->mPictureRecorder = NULL; in finishPage()
87 mCurrentPage = NULL; in finishPage()
[all …]
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp115 , mCurrentPage(0) in LinearAllocator()
147 return mNext && ((char*)mNext + size) <= end(mCurrentPage); in fitsInCurrentPage()
153 if (mCurrentPage && mPageSize < MAX_PAGE_SIZE) { in ensureNext()
160 if (mCurrentPage) { in ensureNext()
161 mCurrentPage->setNext(p); in ensureNext()
163 mCurrentPage = p; in ensureNext()
165 mPages = mCurrentPage; in ensureNext()
167 mNext = start(mCurrentPage); in ensureNext()
179 if (!mCurrentPage) in allocImpl()
180 mCurrentPage = mPages; in allocImpl()
[all …]
DLinearAllocator.h143 Page* mCurrentPage; variable
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfRenderer.java112 private Page mCurrentPage; field in PdfRenderer
207 mCurrentPage = new Page(index); in openPage()
208 return mCurrentPage; in openPage()
224 if (mCurrentPage != null) { in doClose()
225 mCurrentPage.close(); in doClose()
244 if (mCurrentPage != null) { in throwIfPageOpened()
418 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()
233 if (mCurrentPage != null) { in throwIfCurrentPageNotFinished()
/frameworks/av/media/libstagefright/
DOggExtractor.cpp110 Page mCurrentPage; member
313 mCurrentPage.mNumSegments = 0; in MyOggExtractor()
485 mCurrentPage.mNumSegments = 0; in seekToOffset()
486 mCurrentPage.mPrevPacketSize = -1; in seekToOffset()
580 if (err == ERROR_END_OF_STREAM || mCurrentPage.mPageNo > 2) { in readNextPacket()
583 curGranulePosition = mCurrentPage.mGranulePosition; in readNextPacket()
611 mCurGranulePosition = mCurrentPage.mGranulePosition - currentPageSamples; in readNextPacket()
678 for (i = mNextLaceIndex; i < mCurrentPage.mNumSegments; ++i) { in _readNextPacket()
679 uint8_t lace = mCurrentPage.mLace[i]; in _readNextPacket()
690 if (mNextLaceIndex < mCurrentPage.mNumSegments) { in _readNextPacket()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPagingIndicator.java110 private int mCurrentPage; field in PagingIndicator
243 if (mCurrentPage == pageIndex) { in onPageSelected()
249 mPreviousPage = mCurrentPage; in onPageSelected()
373 if (now == mCurrentPage) { in setSelectedPage()
377 mCurrentPage = now; in setSelectedPage()
382 for (int i = 0; i < mCurrentPage; ++i) { in adjustDotPosition()
387 mDots[mCurrentPage].select(); in adjustDotPosition()
388 mDots[mCurrentPage].mDirection = mPreviousPage < mCurrentPage ? Dot.LEFT : Dot.RIGHT; in adjustDotPosition()
389 mDots[mCurrentPage].mCenterX = mDotSelectedX[mCurrentPage]; in adjustDotPosition()
390 for (int i = mCurrentPage + 1; i < mPageCount; ++i) { in adjustDotPosition()