Home
last modified time | relevance | path

Searched refs:documentPtr (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/jni/pdf/
DPdfEditor.cpp58 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 …]
DPdfUtils.cpp116 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()
DPdfDocument.cpp122 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()
DPdfUtils.h28 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);
DPdfRenderer.cpp40 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/
DPdfEditor.java352 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 …]
DPdfRenderer.java493 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