Searched refs:match_to_rect (Results 1 – 6 of 6) sorted by relevance
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | text_test.cc | 60 int NumRectsForMatch(std::span<const Rectangle_i> rects, std::span<const int> match_to_rect, in NumRectsForMatch() argument 62 if (match < 0 || match >= match_to_rect.size()) { in NumRectsForMatch() 65 if (match + 1 == match_to_rect.size()) { in NumRectsForMatch() 66 return rects.size() - match_to_rect[match]; in NumRectsForMatch() 68 return match_to_rect[match + 1] - match_to_rect[match]; in NumRectsForMatch()
|
D | jni_conversion.h | 87 const vector<int>& match_to_rect, const vector<int>& char_indexes);
|
D | pdf_document_jni.cc | 231 vector<int> match_to_rect; in Java_android_graphics_pdf_PdfDocumentProxy_searchPageText() local 233 page->BoundsOfMatchesUtf8(query_native, &rects, &match_to_rect, &char_indexes); in Java_android_graphics_pdf_PdfDocumentProxy_searchPageText() 234 jobject match_rects = convert::ToJavaMatchRects(env, rects, match_to_rect, char_indexes); in Java_android_graphics_pdf_PdfDocumentProxy_searchPageText()
|
D | page.cc | 203 vector<int>* match_to_rect, vector<int>* char_indexes) { in BoundsOfMatchesUtf8() argument 214 if (match_to_rect != nullptr) { in BoundsOfMatchesUtf8() 215 match_to_rect->push_back(num_rects); in BoundsOfMatchesUtf8()
|
D | page.h | 169 std::vector<int>* match_to_rect, std::vector<int>* char_indexes);
|
D | jni_conversion.cc | 336 const vector<int>& match_to_rect, const vector<int>& char_indexes) { in ToJavaMatchRects() argument 349 jobject java_m2r = ToJavaList(env, match_to_rect, &ToJavaInteger); in ToJavaMatchRects()
|