Home
last modified time | relevance | path

Searched refs:SelectionBoundary (Results 1 – 15 of 15) sorted by relevance

/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/selection/
DSelectionBoundary.java33 public final class SelectionBoundary implements Parcelable { class
35 public static final Creator<SelectionBoundary> CREATOR = new Creator<SelectionBoundary>() {
37 public SelectionBoundary createFromParcel(Parcel in) {
38 return new SelectionBoundary(in);
42 public SelectionBoundary[] newArray(int size) {
43 return new SelectionBoundary[size];
62 public SelectionBoundary(int index, boolean isRtl) { in SelectionBoundary() method in SelectionBoundary
79 public SelectionBoundary(int index) { in SelectionBoundary() method in SelectionBoundary
94 public SelectionBoundary(@NonNull Point point, boolean isRtl) { in SelectionBoundary() method in SelectionBoundary
108 public SelectionBoundary(@NonNull Point point) { in SelectionBoundary() method in SelectionBoundary
[all …]
DPageSelection.java51 private final SelectionBoundary mStart;
52 private final SelectionBoundary mStop;
66 public PageSelection(int page, @NonNull SelectionBoundary start, in PageSelection()
67 @NonNull SelectionBoundary stop, @NonNull List<PdfPageTextContent> selectedContents) { in PageSelection()
80 mStart = in.readParcelable(SelectionBoundary.class.getClassLoader()); in PageSelection()
81 mStop = in.readParcelable(SelectionBoundary.class.getClassLoader()); in PageSelection()
101 public SelectionBoundary getStart() { in getStart()
112 public SelectionBoundary getStop() { in getStop()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/jni/
DSelectionBoundary.java26 public class SelectionBoundary { class
35 public SelectionBoundary(int index, int x, int y, boolean isRtl) { in SelectionBoundary() method in SelectionBoundary
50 public static SelectionBoundary convert( in convert()
51 android.graphics.pdf.models.selection.SelectionBoundary selectionBoundary) { in convert()
53 return new SelectionBoundary( in convert()
56 return new SelectionBoundary(-1, in convert()
79 public android.graphics.pdf.models.selection.SelectionBoundary convert() { in convert()
81 return new android.graphics.pdf.models.selection.SelectionBoundary( in convert()
84 return new android.graphics.pdf.models.selection.SelectionBoundary(mIndex); in convert()
DPageSelection.java40 private final SelectionBoundary mLeft;
43 private final SelectionBoundary mRight;
51 public PageSelection(int page, SelectionBoundary left, SelectionBoundary right, in PageSelection()
64 public SelectionBoundary getLeft() { in getLeft()
68 public SelectionBoundary getRight() { in getRight()
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Dpage.h55 struct SelectionBoundary { struct
60 SelectionBoundary(int i, int x, int y, bool r) : index(i), is_rtl(r) { point = IntPoint(x, y); } in SelectionBoundary() argument
153 bool SelectWordAt(const Point_i& point, SelectionBoundary* start, SelectionBoundary* stop);
160 void ConstrainBoundary(SelectionBoundary* boundary);
255 SelectionBoundary GetBoundaryAtIndex(const int index);
262 SelectionBoundary GetBoundaryAtIndex(const int index, bool is_rtl);
265 SelectionBoundary GetBoundaryAtPoint(const Point_i& point);
Djni_conversion.h36 using pdfClient::SelectionBoundary;
53 SelectionBoundary ToNativeBoundary(JNIEnv* env, jobject jBoundary);
81 jobject ToJavaBoundary(JNIEnv* env, const SelectionBoundary& boundary);
84 jobject ToJavaSelection(JNIEnv* env, const int page, const SelectionBoundary& start,
85 const SelectionBoundary& stop, const vector<Rectangle_i>& rects,
Dpage.cc236 bool Page::SelectWordAt(const Point_i& point, SelectionBoundary* start, SelectionBoundary* stop) { in SelectWordAt()
250 void Page::ConstrainBoundary(SelectionBoundary* boundary) { in ConstrainBoundary()
516 SelectionBoundary Page::GetBoundaryAtIndex(const int index) { in GetBoundaryAtIndex()
533 SelectionBoundary Page::GetBoundaryAtIndex(const int index, bool is_rtl) { in GetBoundaryAtIndex()
547 SelectionBoundary boundary(index, 0, 0, is_rtl); in GetBoundaryAtIndex()
555 SelectionBoundary Page::GetBoundaryAtPoint(const Point_i& point) { in GetBoundaryAtPoint()
556 SelectionBoundary best_boundary(0, point.x, point.y, false); in GetBoundaryAtPoint()
572 SelectionBoundary boundary = GetBoundaryAtIndex(index, is_rtl); in GetBoundaryAtPoint()
Djni_conversion.cc26 using pdfClient::SelectionBoundary;
149 SelectionBoundary ToNativeBoundary(JNIEnv* env, jobject jBoundary) { in ToNativeBoundary()
156 return SelectionBoundary( in ToNativeBoundary()
227 jobject ToJavaBoundary(JNIEnv* env, const SelectionBoundary& boundary) { in ToJavaBoundary()
234 jobject ToJavaSelection(JNIEnv* env, const int page, const SelectionBoundary& start, in ToJavaSelection()
235 const SelectionBoundary& stop, const vector<Rectangle_i>& rects, in ToJavaSelection()
Dpdf_document_jni.cc50 using pdfClient::SelectionBoundary;
244 SelectionBoundary native_start = convert::ToNativeBoundary(env, start); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
245 SelectionBoundary native_stop = convert::ToNativeBoundary(env, stop); in Java_android_graphics_pdf_PdfDocumentProxy_selectPageText()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/
DPdfDocumentProxy.java27 import android.graphics.pdf.models.jni.SelectionBoundary;
191 public native PageSelection selectPageText(int pageNum, SelectionBoundary start, in selectPageText()
192 SelectionBoundary stop); in selectPageText()
DPdfProcessor.java40 import android.graphics.pdf.models.selection.SelectionBoundary;
326 public PageSelection selectPageText(int pageNum, SelectionBoundary start, in selectPageText()
327 SelectionBoundary stop) { in selectPageText()
334 android.graphics.pdf.models.jni.SelectionBoundary.convert(start), in selectPageText()
335 android.graphics.pdf.models.jni.SelectionBoundary.convert(stop)); in selectPageText()
DPdfRendererPreV.java38 import android.graphics.pdf.models.selection.SelectionBoundary;
477 public PageSelection selectContent(@NonNull SelectionBoundary start, in selectContent()
478 @NonNull SelectionBoundary stop) { in selectContent()
/packages/providers/MediaProvider/pdf/framework/api/
Dcurrent.txt47 …roid.graphics.pdf.models.selection.SelectionBoundary, @NonNull android.graphics.pdf.models.selecti…
205 …roid.graphics.pdf.models.selection.SelectionBoundary, @NonNull android.graphics.pdf.models.selecti…
209 method @NonNull public android.graphics.pdf.models.selection.SelectionBoundary getStart();
210 method @NonNull public android.graphics.pdf.models.selection.SelectionBoundary getStop();
215 …@FlaggedApi("android.graphics.pdf.flags.enable_pdf_viewer") public final class SelectionBoundary i…
216 ctor public SelectionBoundary(int);
217 ctor public SelectionBoundary(@NonNull android.graphics.Point);
223 …nal android.os.Parcelable.Creator<android.graphics.pdf.models.selection.SelectionBoundary> CREATOR;
/packages/providers/MediaProvider/pdf/framework-v/java/android/graphics/pdf/
DPdfRenderer.java45 import android.graphics.pdf.models.selection.SelectionBoundary;
655 public PageSelection selectContent(@NonNull SelectionBoundary start, in selectContent()
656 @NonNull SelectionBoundary stop) { in selectContent()
/packages/providers/MediaProvider/pdf/framework-v/api/
Dcurrent.txt39 …roid.graphics.pdf.models.selection.SelectionBoundary, @NonNull android.graphics.pdf.models.selecti…