HomeSort by relevance Sort by last modified time
    Searched refs:mPdfRenderer (Results 1 - 3 of 3) sorted by null

  /developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/
PdfRendererBasicViewModel.java 59 private PdfRenderer mPdfRenderer;
118 if (mPdfRenderer == null || mCurrentPage == null) {
128 if (mPdfRenderer == null || mCurrentPage == null) {
132 if (index + 1 < mPdfRenderer.getPageCount()) {
155 mPdfRenderer = new PdfRenderer(mFileDescriptor);
164 if (mPdfRenderer != null) {
165 mPdfRenderer.close();
179 mCurrentPage = mPdfRenderer.openPage(index);
189 final int count = mPdfRenderer.getPageCount();
  /developers/build/prebuilts/gradle/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/
PdfRendererBasicFragment.java 63 private PdfRenderer mPdfRenderer;
169 mPdfRenderer = new PdfRenderer(mFileDescriptor);
182 mPdfRenderer.close();
192 if (mPdfRenderer.getPageCount() <= index) {
200 mCurrentPage = mPdfRenderer.openPage(index);
219 int pageCount = mPdfRenderer.getPageCount();
231 return mPdfRenderer.getPageCount();
  /development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
PdfRendererBasicFragment.java 62 private PdfRenderer mPdfRenderer;
163 mPdfRenderer = new PdfRenderer(mFileDescriptor);
175 mPdfRenderer.close();
185 if (mPdfRenderer.getPageCount() <= index) {
193 mCurrentPage = mPdfRenderer.openPage(index);
212 int pageCount = mPdfRenderer.getPageCount();
224 return mPdfRenderer.getPageCount();

Completed in 603 milliseconds