Home
last modified time | relevance | path

Searched refs:native_start (Results 1 – 2 of 2) sorted by relevance

/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Dpdf_document_jni.cc244 SelectionBoundary native_start = convert::ToNativeBoundary(env, start); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() local
247 if (native_start.index == -1 && native_stop.index == -1 && in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
248 native_start.point == native_stop.point) { in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
250 Point_i point = native_start.point; in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
251 if (!page->SelectWordAt(point, &native_start, &native_stop)) { in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
256 page->ConstrainBoundary(&native_start); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
259 if (native_start.index > native_stop.index) { in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
260 std::swap(native_start, native_stop); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
265 page->GetTextBounds(native_start.index, native_stop.index, &rects); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
266 std::string text(page->GetTextUtf8(native_start.index, native_stop.index)); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/
DFuseDaemon.java82 native_start(ptr, mFuseDeviceFd, mPath, mUncachedMode, in run()
335 private native void native_start(long daemon, int deviceFd, String path, in native_start() method in FuseDaemon