Searched refs:native_stop (Results 1 – 1 of 1) sorted by relevance
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | pdf_document_jni.cc | 245 SelectionBoundary native_stop = convert::ToNativeBoundary(env, stop); 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() 251 if (!page->SelectWordAt(point, &native_start, &native_stop)) { in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() 257 page->ConstrainBoundary(&native_stop); 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() 267 return convert::ToJavaSelection(env, pageNum, native_start, native_stop, rects, text); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
|