/frameworks/base/libs/hwui/jni/pdf/ |
D | PdfEditor.cpp | 55 static jint nativeRemovePage(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex) { in nativeRemovePage() argument 56 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeRemovePage() 94 static void nativeWrite(JNIEnv* env, jclass thiz, jlong documentPtr, jint fd) { in nativeWrite() argument 95 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeWrite() 106 static void nativeSetTransformAndClip(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeSetTransformAndClip() argument 108 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeSetTransformAndClip() 161 static void nativeGetPageSize(JNIEnv* env, jclass thiz, jlong documentPtr, in nativeGetPageSize() argument 163 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageSize() 188 static bool nativeGetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeGetPageBox() argument 190 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageBox() [all …]
|
D | PdfUtils.cpp | 113 void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr) { in nativeClose() argument 114 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeClose() 120 jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr) { in nativeGetPageCount() argument 121 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageCount() 126 jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr) { in nativeScaleForPrinting() argument 127 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);
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfEditor.java | 360 private static native void nativeClose(long documentPtr); in nativeClose() argument 361 private static native int nativeGetPageCount(long documentPtr); in nativeGetPageCount() argument 362 private static native int nativeRemovePage(long documentPtr, int pageIndex); in nativeRemovePage() argument 363 private static native void nativeWrite(long documentPtr, int fd); in nativeWrite() argument 364 private static native void nativeSetTransformAndClip(long documentPtr, int pageIndex, in nativeSetTransformAndClip() argument 366 private static native void nativeGetPageSize(long documentPtr, int pageIndex, Point outSize); in nativeGetPageSize() argument 367 private static native boolean nativeGetPageMediaBox(long documentPtr, int pageIndex, in nativeGetPageMediaBox() argument 369 private static native void nativeSetPageMediaBox(long documentPtr, int pageIndex, in nativeSetPageMediaBox() argument 371 private static native boolean nativeGetPageCropBox(long documentPtr, int pageIndex, in nativeGetPageCropBox() argument 373 private static native void nativeSetPageCropBox(long documentPtr, int pageIndex, in nativeSetPageCropBox() argument [all …]
|