Searched defs:mCurrentPage (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp61 mCurrentPage = NULL;
66 assert(mCurrentPage == NULL);
72 mCurrentPage = page;
81 assert(mCurrentPage != NULL);
82 assert(mCurrentPage->mPictureRecorder != NULL);
83 assert(mCurrentPage->mPicture == NULL);
84 mCurrentPage->mPicture = mCurrentPage->mPictureRecorder->finishRecordingAsPicture().release();
85 delete mCurrentPage->mPictureRecorder;
86 mCurrentPage
117 PageRecord* mCurrentPage; member in class:android::PdfDocument
[all...]
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java87 private Page mCurrentPage; field in class:PdfDocument
124 mCurrentPage = new Page(canvas, pageInfo);
125 return mCurrentPage;
144 if (page != mCurrentPage) {
151 mCurrentPage = null;
236 if (mCurrentPage != null) {
H A DPdfRenderer.java121 private Page mCurrentPage; field in class:PdfRenderer
228 mCurrentPage = new Page(index);
229 return mCurrentPage;
246 if (mCurrentPage != null) {
247 mCurrentPage.close();
248 mCurrentPage = null;
272 if (mCurrentPage != null) {
473 mCurrentPage = null;
/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.h143 Page* mCurrentPage; member in class:android::uirenderer::LinearAllocator
/frameworks/support/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/
H A DContentPagerDemoActivity.java55 private int mCurrentPage = -1; field in class:ContentPagerDemoActivity
116 mCurrentPage = 0;
117 mAdapter.loadPage(mCurrentPage);
123 mAdapter.loadPage(mCurrentPage + 1);
129 mAdapter.loadPage(mCurrentPage - 1);
139 prev.setEnabled(mCurrentPage > 0);
140 next.setEnabled(mCurrentPage < lastPage);
173 mCurrentPage = page;
174 int offset = mCurrentPage * mPageSize;
192 mCurrentPage,
[all...]
/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/
H A DContentPagerDemoActivity.java55 private int mCurrentPage = -1; field in class:ContentPagerDemoActivity
116 mCurrentPage = 0;
117 mAdapter.loadPage(mCurrentPage);
123 mAdapter.loadPage(mCurrentPage + 1);
129 mAdapter.loadPage(mCurrentPage - 1);
139 prev.setEnabled(mCurrentPage > 0);
140 next.setEnabled(mCurrentPage < lastPage);
173 mCurrentPage = page;
174 int offset = mCurrentPage * mPageSize;
192 mCurrentPage,
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DPagingIndicator.java117 private int mCurrentPage; field in class:PagingIndicator
290 if (mCurrentPage == pageIndex) {
296 mPreviousPage = mCurrentPage;
420 if (now == mCurrentPage) {
424 mCurrentPage = now;
429 for (int i = 0; i < mCurrentPage; ++i) {
434 mDots[mCurrentPage].select();
435 mDots[mCurrentPage].mDirection = mPreviousPage < mCurrentPage ? Dot.LEFT : Dot.RIGHT;
436 mDots[mCurrentPage]
[all...]
/frameworks/av/media/extractors/ogg/
H A DOggExtractor.cpp115 Page mCurrentPage; member in struct:android::MyOggExtractor
315 mCurrentPage.mNumSegments = 0;
488 mCurrentPage.mNumSegments = 0;
489 mCurrentPage.mPrevPacketSize = -1;
583 if (err == ERROR_END_OF_STREAM || mCurrentPage.mPageNo > 2) {
590 curGranulePosition = mCurrentPage.mGranulePosition;
618 mCurGranulePosition = mCurrentPage.mGranulePosition - currentPageSamples;
685 for (i = mNextLaceIndex; i < mCurrentPage.mNumSegments; ++i) {
686 uint8_t lace = mCurrentPage.mLace[i];
697 if (mNextLaceIndex < mCurrentPage
[all...]

Completed in 13 milliseconds