Searched refs:native_stop (Results 1 – 1 of 1) sorted by relevance
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | pdf_document_jni.cc | 247 SelectionBoundary native_stop = convert::ToNativeBoundary(env, stop); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() local 249 if (native_start.index == -1 && native_stop.index == -1 && in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() 250 native_start.point == native_stop.point) { in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() 253 if (!page->SelectWordAt(point, &native_start, &native_stop)) { in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() 259 page->ConstrainBoundary(&native_stop); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() 261 if (native_start.index > native_stop.index) { in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() 262 std::swap(native_start, native_stop); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() 267 page->GetTextBounds(native_start.index, native_stop.index, &rects); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() 268 std::string text(page->GetTextUtf8(native_start.index, native_stop.index)); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText() 269 return convert::ToJavaSelection(env, pageNum, native_start, native_stop, rects, text); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
|