/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfEditor.cpp | 59 static jint nativeRemovePage(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex) { in nativeRemovePage() argument 60 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeRemovePage() 98 static void nativeWrite(JNIEnv* env, jclass thiz, jlong documentPtr, jint fd) { in nativeWrite() argument 99 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeWrite() 110 static void nativeSetTransformAndClip(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeSetTransformAndClip() argument 112 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeSetTransformAndClip() 165 static void nativeGetPageSize(JNIEnv* env, jclass thiz, jlong documentPtr, in nativeGetPageSize() argument 167 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageSize() 192 static bool nativeGetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeGetPageBox() argument 194 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageBox() [all …]
|
D | PdfUtils.cpp | 115 void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr) { in nativeClose() argument 116 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeClose() 122 jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr) { in nativeGetPageCount() argument 123 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageCount() 128 jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr) { in nativeScaleForPrinting() argument 129 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeScaleForPrinting()
|
D | PdfDocument.cpp | 124 static jlong nativeStartPage(JNIEnv* env, jobject thiz, jlong documentPtr, in nativeStartPage() argument 127 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeStartPage() 133 static void nativeFinishPage(JNIEnv* env, jobject thiz, jlong documentPtr) { in nativeFinishPage() argument 134 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeFinishPage() 138 static void nativeWriteTo(JNIEnv* env, jobject thiz, jlong documentPtr, jobject out, in nativeWriteTo() argument 140 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeWriteTo() 146 static void nativeClose(JNIEnv* env, jobject thiz, jlong documentPtr) { in nativeClose() argument 147 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeClose()
|
D | PdfUtils.h | 28 void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr); 30 jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr); 31 jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr);
|
D | PdfRenderer.cpp | 43 static jlong nativeOpenPageAndGetSize(JNIEnv* env, jclass thiz, jlong documentPtr, in nativeOpenPageAndGetSize() argument 45 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeOpenPageAndGetSize() 75 static void nativeRenderPage(JNIEnv* env, jclass thiz, jlong documentPtr, jlong pagePtr, in nativeRenderPage() argument
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfEditor.java | 353 private static native void nativeClose(long documentPtr); in nativeClose() argument 354 private static native int nativeGetPageCount(long documentPtr); in nativeGetPageCount() argument 355 private static native int nativeRemovePage(long documentPtr, int pageIndex); in nativeRemovePage() argument 356 private static native void nativeWrite(long documentPtr, int fd); in nativeWrite() argument 357 private static native void nativeSetTransformAndClip(long documentPtr, int pageIndex, in nativeSetTransformAndClip() argument 359 private static native void nativeGetPageSize(long documentPtr, int pageIndex, Point outSize); in nativeGetPageSize() argument 360 private static native boolean nativeGetPageMediaBox(long documentPtr, int pageIndex, in nativeGetPageMediaBox() argument 362 private static native void nativeSetPageMediaBox(long documentPtr, int pageIndex, in nativeSetPageMediaBox() argument 364 private static native boolean nativeGetPageCropBox(long documentPtr, int pageIndex, in nativeGetPageCropBox() argument 366 private static native void nativeSetPageCropBox(long documentPtr, int pageIndex, in nativeSetPageCropBox() argument [all …]
|
D | PdfRenderer.java | 484 private static native void nativeClose(long documentPtr); in nativeClose() argument 485 private static native int nativeGetPageCount(long documentPtr); in nativeGetPageCount() argument 486 private static native boolean nativeScaleForPrinting(long documentPtr); in nativeScaleForPrinting() argument 487 private static native void nativeRenderPage(long documentPtr, long pagePtr, Bitmap dest, in nativeRenderPage() argument 490 private static native long nativeOpenPageAndGetSize(long documentPtr, int pageIndex, in nativeOpenPageAndGetSize() argument
|