Home
last modified time | relevance | path

Searched refs:FormWidgetInfo (Results 1 – 21 of 21) sorted by relevance

/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Dform_widget_info.cc31 FormWidgetInfo::FormWidgetInfo() in FormWidgetInfo() function in pdfClient::FormWidgetInfo
42 FormWidgetInfo::~FormWidgetInfo() {} in ~FormWidgetInfo()
44 bool FormWidgetInfo::FoundWidget() { in FoundWidget()
48 int FormWidgetInfo::OptionCount() const { in OptionCount()
52 bool FormWidgetInfo::HasOptions() const { in HasOptions()
56 int FormWidgetInfo::widget_type() const { in widget_type()
60 void FormWidgetInfo::set_widget_type(int widget_type) { in set_widget_type()
64 int FormWidgetInfo::widget_index() const { in widget_index()
68 void FormWidgetInfo::set_widget_index(int widget_index) { in set_widget_index()
72 Rectangle_i FormWidgetInfo::widget_rect() const { in widget_rect()
[all …]
Dform_filing_general_test.cc33 using pdfClient::FormWidgetInfo;
61 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kEmptyPointDeviceCoords); in TEST()
126 FormWidgetInfo fwiResult = page_zero->GetFormWidgetInfo(kComboboxDeviceCoords); in TEST()
149 FormWidgetInfo result = page_zero->GetFormWidgetInfo(0); in TEST()
161 FormWidgetInfo result = page_zero->GetFormWidgetInfo(10); in TEST()
173 FormWidgetInfo result = page_zero->GetFormWidgetInfo(0); in TEST()
184 std::vector<FormWidgetInfo> widget_infos; in TEST()
202 std::vector<FormWidgetInfo> combo_widget_infos; in TEST()
211 std::vector<FormWidgetInfo> widget_infos; in TEST()
225 std::vector<FormWidgetInfo> widget_infos; in TEST()
Dform_filing_click_test.cc33 using pdfClient::FormWidgetInfo;
78 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kReadOnlyCheckboxDeviceCoords); in TEST()
133 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kCheckboxDeviceCoords); in TEST()
164 FormWidgetInfo fwiInitial = page_zero->GetFormWidgetInfo(kCheckboxDeviceCoords); in TEST()
168 FormWidgetInfo fwiResult = page_zero->GetFormWidgetInfo(kCheckboxDeviceCoords); in TEST()
194 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kResetButtonDeviceCoords); in TEST()
228 FormWidgetInfo fwiInitial = page_zero->GetFormWidgetInfo(1); in TEST()
233 FormWidgetInfo fwiResult = page_zero->GetFormWidgetInfo(1); in TEST()
261FormWidgetInfo result = page_zero->GetFormWidgetInfo(kReadOnlyRadioButtonLeftButtonDeviceCoords); in TEST()
317 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kRadioButtonLeftButtonDeviceCoords); in TEST()
[all …]
Dform_filing_combo_test.cc34 using pdfClient::FormWidgetInfo;
95 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kReadOnlyLocationDeviceCoords); in TEST()
138 FormWidgetInfo fwiInitial = page_zero->GetFormWidgetInfo(1); in TEST()
145 FormWidgetInfo fwiResult = page_zero->GetFormWidgetInfo(1); in TEST()
156 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kUneditableLocationDeviceCoords); in TEST()
186 FormWidgetInfo fwiInitial = page_zero->GetFormWidgetInfo(2); in TEST()
192 FormWidgetInfo fwiResult = page_zero->GetFormWidgetInfo(2); in TEST()
204 FormWidgetInfo fwiInitial = page_zero->GetFormWidgetInfo(2); in TEST()
211 FormWidgetInfo fwiResult = page_zero->GetFormWidgetInfo(2); in TEST()
222 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kEditableLocationDeviceCoords); in TEST()
Dform_filing_listbox_test.cc33 using pdfClient::FormWidgetInfo;
82 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kReadOnlyLocationDeviceCoords); in TEST()
115 FormWidgetInfo fwiInitial = page_zero->GetFormWidgetInfo(2); in TEST()
122 FormWidgetInfo fwiResult = page_zero->GetFormWidgetInfo(2); in TEST()
157 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kGeneralLocationDeviceCoords); in TEST()
187 FormWidgetInfo fwiInitial = page_zero->GetFormWidgetInfo(1); in TEST()
194 FormWidgetInfo fwiResult = page_zero->GetFormWidgetInfo(1); in TEST()
207 FormWidgetInfo fwiInitial = page_zero->GetFormWidgetInfo(1); in TEST()
214 FormWidgetInfo fwiResult = page_zero->GetFormWidgetInfo(1); in TEST()
241 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kMultiSelectLocationDeviceCoords); in TEST()
Dform_filing_textfield_test.cc35 using pdfClient::FormWidgetInfo;
98 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kReadOnlyLocationDeviceCoords); in TEST()
132 FormWidgetInfo initial = page_zero->GetFormWidgetInfo(annotation_index); in TEST()
137 FormWidgetInfo result = page_zero->GetFormWidgetInfo(annotation_index); in TEST()
149 FormWidgetInfo initial = page_zero->GetFormWidgetInfo(1); in TEST()
154 FormWidgetInfo result = page_zero->GetFormWidgetInfo(1); in TEST()
165 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kGeneralLocationDeviceCoords); in TEST()
206 FormWidgetInfo result = expected_page_zero->GetFormWidgetInfo(2); in TEST()
217 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kCharLimitLocationDeviceCoords); in TEST()
248 FormWidgetInfo result = page_zero->GetFormWidgetInfo(kMultiLineLocationDeviceCoords); in TEST()
Dform_filler.h57 FormWidgetInfo GetFormWidgetInfo(FPDF_PAGE page, const Point_d point);
61 FormWidgetInfo GetFormWidgetInfo(FPDF_PAGE page, const int annotation_index);
64 FormWidgetInfo GetFormWidgetInfo(FPDF_PAGE page, FPDF_ANNOTATION annotation);
71 std::vector<FormWidgetInfo>* widget_infos);
Dform_widget_info.h34 class FormWidgetInfo {
36 FormWidgetInfo();
37 ~FormWidgetInfo();
Dform_filler.cc121 FormWidgetInfo FormFiller::GetFormWidgetInfo(FPDF_PAGE page, const Point_d point) { in GetFormWidgetInfo()
126 FormWidgetInfo FormFiller::GetFormWidgetInfo(FPDF_PAGE page, const int annotation_index) { in GetFormWidgetInfo()
131 FormWidgetInfo FormFiller::GetFormWidgetInfo(FPDF_PAGE page, FPDF_ANNOTATION annotation) { in GetFormWidgetInfo()
133 return FormWidgetInfo(); in GetFormWidgetInfo()
140 return FormWidgetInfo(); in GetFormWidgetInfo()
145 FormWidgetInfo result; in GetFormWidgetInfo()
194 std::vector<FormWidgetInfo>* widget_infos) { in GetFormWidgetInfos()
208 FormWidgetInfo result = GetFormWidgetInfo(page, widget_annot.get()); in GetFormWidgetInfos()
Djni_conversion.h31 using pdfClient::FormWidgetInfo;
99 jobject ToJavaFormWidgetInfo(JNIEnv* env, const FormWidgetInfo& form_action_result);
103 jobject ToJavaFormWidgetInfos(JNIEnv* env, const std::vector<FormWidgetInfo>& widget_infos);
Dpage.h178 FormWidgetInfo GetFormWidgetInfo(Point_i point);
182 FormWidgetInfo GetFormWidgetInfo(int annotation_index);
189 std::vector<FormWidgetInfo>* widget_infos);
Dpage.cc339 FormWidgetInfo Page::GetFormWidgetInfo(Point_i point) { in GetFormWidgetInfo()
341 FormWidgetInfo result = form_filler_->GetFormWidgetInfo(page_.get(), page_point); in GetFormWidgetInfo()
356 FormWidgetInfo Page::GetFormWidgetInfo(int annotation_index) { in GetFormWidgetInfo()
357 FormWidgetInfo result = form_filler_->GetFormWidgetInfo(page_.get(), annotation_index); in GetFormWidgetInfo()
373 std::vector<FormWidgetInfo>* widget_infos) { in GetFormWidgetInfos()
375 for (FormWidgetInfo& widget_info : *widget_infos) { in GetFormWidgetInfos()
Dpdf_document_jni.cc336 FormWidgetInfo result = page->GetFormWidgetInfo(point); in Java_android_graphics_pdf_PdfDocumentProxy_getFormWidgetInfo__III()
353 FormWidgetInfo result = page->GetFormWidgetInfo(index); in Java_android_graphics_pdf_PdfDocumentProxy_getFormWidgetInfo__II()
372 std::vector<FormWidgetInfo> widget_infos; in Java_android_graphics_pdf_PdfDocumentProxy_getFormWidgetInfos()
Djni_conversion.cc279 jobject ToJavaFormWidgetInfo(JNIEnv* env, const FormWidgetInfo& form_action_result) { in ToJavaFormWidgetInfo()
300 jobject ToJavaFormWidgetInfos(JNIEnv* env, const std::vector<FormWidgetInfo>& widget_infos) { in ToJavaFormWidgetInfos()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/
DFormWidgetInfo.java46 public final class FormWidgetInfo implements Parcelable { class
65 public static final Creator<FormWidgetInfo> CREATOR =
68 public FormWidgetInfo createFromParcel(Parcel in) {
69 return new FormWidgetInfo(in);
73 public FormWidgetInfo[] newArray(int size) {
74 return new FormWidgetInfo[size];
95 public FormWidgetInfo( in FormWidgetInfo() method in FormWidgetInfo
123 private FormWidgetInfo(Parcel in) { in FormWidgetInfo() method in FormWidgetInfo
256 if (obj instanceof FormWidgetInfo other) { in equals()
464 public FormWidgetInfo build() { in build()
[all …]
/packages/providers/MediaProvider/pdf/framework/api/
Dcurrent.txt34 …gs.enable_form_filling") @NonNull public android.graphics.pdf.models.FormWidgetInfo getFormWidgetI…
35 …gs.enable_form_filling") @NonNull public android.graphics.pdf.models.FormWidgetInfo getFormWidgetI…
36 …filling") @NonNull public java.util.List<android.graphics.pdf.models.FormWidgetInfo> getFormWidget…
37 …filling") @NonNull public java.util.List<android.graphics.pdf.models.FormWidgetInfo> getFormWidget…
144 …@FlaggedApi("android.graphics.pdf.flags.enable_form_filling") public final class FormWidgetInfo im…
159 …lic static final android.os.Parcelable.Creator<android.graphics.pdf.models.FormWidgetInfo> CREATOR;
170 public static final class FormWidgetInfo.Builder {
171 …ctor public FormWidgetInfo.Builder(int, @IntRange(from=0) int, @NonNull android.graphics.Rect, @No…
172 method @NonNull public android.graphics.pdf.models.FormWidgetInfo build();
173 …method @NonNull public android.graphics.pdf.models.FormWidgetInfo.Builder setEditableText(boolean);
[all …]
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/
DPdfDocumentProxy.java22 import android.graphics.pdf.models.FormWidgetInfo;
218 public native FormWidgetInfo getFormWidgetInfo(int pageNum, int x, int y); in getFormWidgetInfo()
224 public native FormWidgetInfo getFormWidgetInfo(int pageNum, int annotationIndex); in getFormWidgetInfo()
232 public native List<FormWidgetInfo> getFormWidgetInfos(int pageNum, int[] typeIds); in getFormWidgetInfos()
DPdfRendererPreV.java35 import android.graphics.pdf.models.FormWidgetInfo;
521 public List<FormWidgetInfo> getFormWidgetInfos() { in getFormWidgetInfos()
535 public List<FormWidgetInfo> getFormWidgetInfos( in getFormWidgetInfos()
536 @NonNull @FormWidgetInfo.WidgetType int[] types) { in getFormWidgetInfos()
556 public FormWidgetInfo getFormWidgetInfoAtIndex(@IntRange(from = 0) int annotationIndex) { in getFormWidgetInfoAtIndex()
573 public FormWidgetInfo getFormWidgetInfoAtPosition(int x, int y) { in getFormWidgetInfoAtPosition()
DPdfProcessor.java36 import android.graphics.pdf.models.FormWidgetInfo;
427 public List<FormWidgetInfo> getFormWidgetInfos(int pageNum, in getFormWidgetInfos()
428 @NonNull @FormWidgetInfo.WidgetType int[] types) { in getFormWidgetInfos()
443 FormWidgetInfo getFormWidgetInfoAtIndex(int pageNum, int annotationIndex) { in getFormWidgetInfoAtIndex()
446 FormWidgetInfo result = mPdfDocument.getFormWidgetInfo(pageNum, annotationIndex); in getFormWidgetInfoAtIndex()
456 public FormWidgetInfo getFormWidgetInfoAtPosition(int pageNum, int x, int y) { in getFormWidgetInfoAtPosition()
459 FormWidgetInfo result = mPdfDocument.getFormWidgetInfo(pageNum, x, y); in getFormWidgetInfoAtPosition()
/packages/providers/MediaProvider/pdf/framework-v/java/android/graphics/pdf/
DPdfRenderer.java42 import android.graphics.pdf.models.FormWidgetInfo;
699 public List<FormWidgetInfo> getFormWidgetInfos() { in getFormWidgetInfos()
712 public List<FormWidgetInfo> getFormWidgetInfos( in getFormWidgetInfos()
713 @NonNull @FormWidgetInfo.WidgetType int[] types) { in getFormWidgetInfos()
731 public FormWidgetInfo getFormWidgetInfoAtIndex(@IntRange(from = 0) int widgetIndex) { in getFormWidgetInfoAtIndex()
746 public FormWidgetInfo getFormWidgetInfoAtPosition(int x, int y) { in getFormWidgetInfoAtPosition()
/packages/providers/MediaProvider/pdf/framework-v/api/
Dcurrent.txt25 …gs.enable_form_filling") @NonNull public android.graphics.pdf.models.FormWidgetInfo getFormWidgetI…
26 …gs.enable_form_filling") @NonNull public android.graphics.pdf.models.FormWidgetInfo getFormWidgetI…
27 …filling") @NonNull public java.util.List<android.graphics.pdf.models.FormWidgetInfo> getFormWidget…
28 …filling") @NonNull public java.util.List<android.graphics.pdf.models.FormWidgetInfo> getFormWidget…