/frameworks/base/libs/hwui/jni/pdf/ |
D | PdfEditor.cpp | 58 static jint nativeRemovePage(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex) { in nativeRemovePage() argument 59 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeRemovePage() 97 static void nativeWrite(JNIEnv* env, jclass thiz, jlong documentPtr, jint fd) { in nativeWrite() argument 98 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeWrite() 109 static void nativeSetTransformAndClip(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeSetTransformAndClip() argument 111 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeSetTransformAndClip() 164 static void nativeGetPageSize(JNIEnv* env, jclass thiz, jlong documentPtr, in nativeGetPageSize() argument 166 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageSize() 191 static bool nativeGetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeGetPageBox() argument 193 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageBox() [all …]
|
D | PdfUtils.cpp | 116 void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr) { in nativeClose() argument 117 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeClose() 123 jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr) { in nativeGetPageCount() argument 124 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageCount() 129 jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr) { in nativeScaleForPrinting() argument 130 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeScaleForPrinting()
|
D | PdfDocument.cpp | 122 static jlong nativeStartPage(JNIEnv* env, jobject thiz, jlong documentPtr, in nativeStartPage() argument 125 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeStartPage() 131 static void nativeFinishPage(JNIEnv* env, jobject thiz, jlong documentPtr) { in nativeFinishPage() argument 132 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeFinishPage() 136 static void nativeWriteTo(JNIEnv* env, jobject thiz, jlong documentPtr, jobject out, in nativeWriteTo() argument 138 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeWriteTo() 144 static void nativeClose(JNIEnv* env, jobject thiz, jlong documentPtr) { in nativeClose() argument 145 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 | 40 static jlong nativeOpenPageAndGetSize(JNIEnv* env, jclass thiz, jlong documentPtr, in nativeOpenPageAndGetSize() argument 42 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeOpenPageAndGetSize() 72 static void nativeRenderPage(JNIEnv* env, jclass thiz, jlong documentPtr, jlong pagePtr, in nativeRenderPage() argument
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfEditor.java | 352 private static native void nativeClose(long documentPtr); in nativeClose() argument 353 private static native int nativeGetPageCount(long documentPtr); in nativeGetPageCount() argument 354 private static native int nativeRemovePage(long documentPtr, int pageIndex); in nativeRemovePage() argument 355 private static native void nativeWrite(long documentPtr, int fd); in nativeWrite() argument 356 private static native void nativeSetTransformAndClip(long documentPtr, int pageIndex, in nativeSetTransformAndClip() argument 358 private static native void nativeGetPageSize(long documentPtr, int pageIndex, Point outSize); in nativeGetPageSize() argument 359 private static native boolean nativeGetPageMediaBox(long documentPtr, int pageIndex, in nativeGetPageMediaBox() argument 361 private static native void nativeSetPageMediaBox(long documentPtr, int pageIndex, in nativeSetPageMediaBox() argument 363 private static native boolean nativeGetPageCropBox(long documentPtr, int pageIndex, in nativeGetPageCropBox() argument 365 private static native void nativeSetPageCropBox(long documentPtr, int pageIndex, in nativeSetPageCropBox() argument [all …]
|
D | PdfRenderer.java | 493 private static native void nativeClose(long documentPtr); in nativeClose() argument 494 private static native int nativeGetPageCount(long documentPtr); in nativeGetPageCount() argument 495 private static native boolean nativeScaleForPrinting(long documentPtr); in nativeScaleForPrinting() argument 496 private static native void nativeRenderPage(long documentPtr, long pagePtr, long bitmapHandle, in nativeRenderPage() argument 499 private static native long nativeOpenPageAndGetSize(long documentPtr, int pageIndex, in nativeOpenPageAndGetSize() argument
|