/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfEditor.java | 100 * @param pageIndex The page to remove. 102 public void removePage(int pageIndex) { argument 104 throwIfPageNotInDocument(pageIndex); 105 mPageCount = nativeRemovePage(mNativeDocument, pageIndex); 113 * @param pageIndex The page whose transform to set. 117 public void setTransformAndClip(int pageIndex, @Nullable Matrix transform, argument 120 throwIfPageNotInDocument(pageIndex); 127 getPageSize(pageIndex, size); 128 nativeSetTransformAndClip(mNativeDocument, pageIndex, transform.native_instance, 131 nativeSetTransformAndClip(mNativeDocument, pageIndex, transfor 142 getPageSize(int pageIndex, @NonNull Point outSize) argument 155 getPageMediaBox(int pageIndex, @NonNull Rect outMediaBox) argument 168 setPageMediaBox(int pageIndex, @NonNull Rect mediaBox) argument 181 getPageCropBox(int pageIndex, @NonNull Rect outCropBox) argument 194 setPageCropBox(int pageIndex, @NonNull Rect cropBox) argument 262 throwIfPageNotInDocument(int pageIndex) argument 307 nativeRemovePage(long documentPtr, int pageIndex) argument 309 nativeSetTransformAndClip(long documentPtr, int pageIndex, long transformPtr, int clipLeft, int clipTop, int clipRight, int clipBottom) argument 311 nativeGetPageSize(long documentPtr, int pageIndex, Point outSize) argument 312 nativeGetPageMediaBox(long documentPtr, int pageIndex, Rect outMediaBox) argument 314 nativeSetPageMediaBox(long documentPtr, int pageIndex, Rect mediaBox) argument 316 nativeGetPageCropBox(long documentPtr, int pageIndex, Rect outMediaBox) argument 318 nativeSetPageCropBox(long documentPtr, int pageIndex, Rect mediaBox) argument [all...] |
H A D | PdfRenderer.java | 249 private void throwIfPageNotInDocument(int pageIndex) { argument 250 if (pageIndex < 0 || pageIndex >= mPageCount) { 434 private static native long nativeOpenPageAndGetSize(long documentPtr, int pageIndex, argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | IPdfRenderer.aidl | 29 oneway void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight,
|
H A D | PdfManipulationService.java | 105 public void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, argument 111 try (PdfRenderer.Page page = mRenderer.openPage(pageIndex)) { 157 Log.i(LOG_TAG, "Rendering page:" + pageIndex);
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | MifareUltralight.java | 268 private static void validatePageIndex(int pageIndex) { argument 274 if (pageIndex < 0 || pageIndex >= MAX_PAGE_COUNT) { 275 throw new IndexOutOfBoundsException("page out of bounds: " + pageIndex);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PageContentRepository.java | 151 public PageContentProvider acquirePageContentProvider(int pageIndex, View owner) { argument 155 Log.i(LOG_TAG, "Acquiring provider for page: " + pageIndex); 158 return new PageContentProvider(pageIndex, owner); 205 public PageContentProvider(int pageIndex, View owner) { argument 206 mPageIndex = pageIndex; 260 public RenderedPage getRenderedPage(int pageIndex) { argument 261 return mRenderedPages.get(pageIndex); 264 public RenderedPage removeRenderedPage(int pageIndex) { argument 265 RenderedPage page = mRenderedPages.remove(pageIndex); 272 public RenderedPage putRenderedPage(int pageIndex, RenderedPag argument 576 getCachedPage(int pageIndex, RenderSpec renderSpec, OnPageContentAvailableCallback callback) argument 592 renderPage(int pageIndex, RenderSpec renderSpec, OnPageContentAvailableCallback callback) argument 642 cancelRendering(int pageIndex) argument 751 RenderPageTask(int pageIndex, RenderSpec renderSpec, OnPageContentAvailableCallback callback) argument [all...] |
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 126 static jint nativeRemovePage(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex) { argument 128 FPDFPage_Delete(document, pageIndex); 178 static void nativeSetTransformAndClip(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, argument 182 CPDF_Page* page = (CPDF_Page*) FPDF_LoadPage(document, pageIndex); 192 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); 231 jint pageIndex, jobject outSize) { 234 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); 244 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); 263 static bool nativeGetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, argument 267 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); 230 nativeGetPageSize(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject outSize) argument 297 nativeGetPageMediaBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject outMediaBox) argument 304 nativeGetPageCropBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject outMediaBox) argument 311 nativeSetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, PageBox pageBox, jobject box) argument 336 nativeSetPageMediaBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject mediaBox) argument 341 nativeSetPageCropBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject mediaBox) argument [all...] |
H A D | PdfRenderer.cpp | 108 jint pageIndex, jobject outSize) { 111 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); 122 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); 107 nativeOpenPageAndGetSize(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject outSize) argument
|
/frameworks/base/core/java/android/print/ |
H A D | PageRange.java | 89 * @param pageIndex The page index. 94 public boolean contains(int pageIndex) { argument 95 return (pageIndex >= mStart) && (pageIndex <= mEnd);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SmsCbHeader.java | 131 int pageIndex = (pdu[5] & 0xf0) >>> 4; 134 if (pageIndex == 0 || nrOfPages == 0 || pageIndex > nrOfPages) { 135 pageIndex = 1; 139 mPageIndex = pageIndex;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PagingIndicator.java | 242 public void onPageSelected(int pageIndex, boolean withAnimation) { argument 243 if (mCurrentPage == pageIndex) { 252 mShowAnimator.setTarget(mDots[pageIndex]); 255 setSelectedPage(pageIndex);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | PageRangeUtils.java | 49 * @param pageIndex The page for which to check. 52 public static boolean contains(PageRange[] pageRanges, int pageIndex) { argument 56 if (pageRange.contains(pageIndex)) {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PageAdapter.java | 503 final int pageIndex = mConfirmedPagesInDocument.keyAt(i); 505 startPageIndex = endPageIndex = pageIndex; 507 if (endPageIndex + 1 < pageIndex) { 510 startPageIndex = pageIndex; 512 endPageIndex = pageIndex;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | OnboardingFragment.java | 498 * @param pageIndex The page index. 502 abstract protected CharSequence getPageTitle(int pageIndex); argument 507 * @param pageIndex The page index. 511 abstract protected CharSequence getPageDescription(int pageIndex); argument
|
H A D | OnboardingSupportFragment.java | 500 * @param pageIndex The page index. 504 abstract protected CharSequence getPageTitle(int pageIndex); argument 509 * @param pageIndex The page index. 513 abstract protected CharSequence getPageDescription(int pageIndex); argument
|