Searched refs:pageCount (Results 1 – 5 of 5) sorted by relevance
/developers/build/prebuilts/gradle/PdfRendererBasic/Application/tests/src/com/example/android/pdfrendererbasic/tests/ |
D | PdfRendererBasicFragmentTests.java | 82 int pageCount = mFragment.getPageCount(); in testButtons_nextDisabledLastPage() local 84 turnPages(pageCount - 1); in testButtons_nextDisabledLastPage() 87 pageCount, pageCount); in testButtons_nextDisabledLastPage() 100 int pageCount = mFragment.getPageCount(); in testOrientationChangePreserveState() local 102 2, pageCount); in testOrientationChangePreserveState()
|
/developers/build/prebuilts/gradle/PdfRendererBasic/kotlinApp/Application/src/androidTest/java/com/example/android/pdfrendererbasic/ |
D | PdfRendererBasicFragmentTests.kt | 79 val pageCount = fragment.getPageCount() in testButtons_nextDisabledLastPage() constant 81 turnPages(pageCount - 1) in testButtons_nextDisabledLastPage() 84 R.string.app_name_with_index, pageCount, pageCount) in testButtons_nextDisabledLastPage() 96 val pageCount = fragment.getPageCount() in testOrientationChangePreserveState() constant 98 .getString(R.string.app_name_with_index, 2, pageCount) in testOrientationChangePreserveState()
|
/developers/build/prebuilts/gradle/PdfRendererBasic/kotlinApp/Application/src/main/java/com/example/android/pdfrendererbasic/ |
D | PdfRendererBasicFragment.kt | 190 if (pdfRenderer.pageCount <= index) return in showPage() 213 val pageCount = pdfRenderer.pageCount in updateUi() constant 215 btnNext.isEnabled = (index + 1 < pageCount) in updateUi() 216 activity?.title = getString(R.string.app_name_with_index, index + 1, pageCount) in updateUi() 222 fun getPageCount() = pdfRenderer.pageCount in getPageCount()
|
/developers/build/prebuilts/gradle/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/ |
D | PdfRendererBasicFragment.java | 219 int pageCount = mPdfRenderer.getPageCount(); in updateUi() local 221 mButtonNext.setEnabled(index + 1 < pageCount); in updateUi() 222 getActivity().setTitle(getString(R.string.app_name_with_index, index + 1, pageCount)); in updateUi()
|
/developers/samples/android/ui/graphics/PdfRendererBasic/kotlinApp/Application/src/main/java/com/example/android/pdfrendererbasic/ |
D | PdfRendererBasicViewModel.kt | 105 if (page.index + 1 < renderer.pageCount) { in <lambda>() 145 val count = renderer.pageCount in <lambda>()
|