/aosp_15_r20/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | page.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "page.h" 42 #define LOG_TAG "page" 58 Page::Page(FPDF_DOCUMENT doc, int page_num, FormFiller* form_filler) in Page() function in pdfClient::Page 65 Page::Page(Page&& p) = default; 67 Page::~Page() {} in ~Page() 69 int Page::Width() const { in Width() 73 int Page::Height() const { in Height() 77 Rectangle_i Page::Dimensions() const { in Dimensions() 81 void Page::Render(FPDF_BITMAP bitmap, FS_MATRIX transform, int clip_left, int clip_top, in Render() [all …]
|
D | page.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 48 // A start index (inclusive) and a stop index (exclusive) into the string of 52 // A start index (inclusive) or stop index (exclusive) into the string of 56 int index; member 60 SelectionBoundary(int i, int x, int y, bool r) : index(i), is_rtl(r) { point = IntPoint(x, y); } in SelectionBoundary() 69 void set_page_number(int page_number) { this->page_number = page_number; } in set_page_number() 71 void set_x(float x) { this->x = x; } in set_x() 73 void set_y(float y) { this->y = y; } in set_y() 75 void set_zoom(float zoom) { this->zoom = zoom; } in set_zoom() 84 class Page { [all …]
|
D | pdf_document_jni.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 37 #include "page.h" 47 using pdfClient::Page; 59 /** Matrix organizes its values in row-major order. These constants correspond to each 84 const char* password = jpassword == NULL ? NULL : env->GetStringUTFChars(jpassword, NULL); in Java_android_graphics_pdf_PdfDocumentProxy_createFromFd() 89 size_t pdfSizeInBytes = fileReader->CompleteSize(); in Java_android_graphics_pdf_PdfDocumentProxy_createFromFd() 94 env->ReleaseStringUTFChars(jpassword, password); in Java_android_graphics_pdf_PdfDocumentProxy_createFromFd() 116 return doc->SaveAs(std::move(fd)); in Java_android_graphics_pdf_PdfDocumentProxy_saveToFd() 124 std::shared_ptr<Page> page = doc->GetPage(pageNum); in Java_android_graphics_pdf_PdfDocumentProxy_getPageDimensions() local 125 Rectangle_i dimensions = page->Dimensions(); in Java_android_graphics_pdf_PdfDocumentProxy_getPageDimensions() [all …]
|
/aosp_15_r20/external/pdfium/public/ |
H A D | fpdf_text.h | 2 // Use of this source code is governed by a BSD-style license that can be 10 // clang-format off 20 // Prepare information about all characters in a page. 22 // page - Handle to the page. Returned by FPDF_LoadPage function 25 // A handle to the text page information structure. 28 // Application must call FPDFText_ClosePage to release the text page 31 FPDF_EXPORT FPDF_TEXTPAGE FPDF_CALLCONV FPDFText_LoadPage(FPDF_PAGE page); 34 // Release all resources allocated for a text page information 37 // text_page - Handle to a text page information structure. 45 // Get number of characters in a page. [all …]
|
H A D | fpdf_edit.h | 2 // Use of this source code is governed by a BSD-style license that can be 37 // The page object constants. 46 #define FPDF_SEGMENT_UNKNOWN -1 82 // The image's horizontal pixel-per-inch. 84 // The image's vertical pixel-per-inch. 90 // The image's marked content ID. Useful for pairing with associated alt-text. 91 // A value of -1 indicates no ID. 104 // Create a new PDF page. 106 // document - handle to document. 107 // page_index - suggested 0-based index of the page to create. If it is larger [all …]
|
/aosp_15_r20/external/google-cloud-java/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/ |
H A D | Document.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 88 * The 0-based index of this shard. 114 * The index of the first character in 180 * The 0-based index of this shard. 216 * The index of the first character in 230 private byte memoizedIsInitialized = -1; 259 if (size != -1) return size; in getSerializedSize() 525 int index, in setRepeatedField() argument 527 return super.setRepeatedField(field, index, value); in setRepeatedField() 626 * The 0-based index of this shard. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/ |
H A D | Document.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 89 * The 0-based index of this shard. 115 …* The index of the first character in [Document.text][google.cloud.documentai.v1beta2.Document.tex… 180 * The 0-based index of this shard. 216 …* The index of the first character in [Document.text][google.cloud.documentai.v1beta2.Document.tex… 229 private byte memoizedIsInitialized = -1; 258 if (size != -1) return size; in getSerializedSize() 524 int index, in setRepeatedField() argument 526 return super.setRepeatedField(field, index, value); in setRepeatedField() 625 * The 0-based index of this shard. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ |
H A D | Page.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/cloud/dialogflow/cx/v3/page.proto 29 * moment, exactly one page is the current page, the current page is considered 30 * active, and the flow associated with that page is considered active. Every 31 * flow has a special start page. When a flow initially becomes active, the 32 * start page page becomes the current page. For each conversational turn, the 33 * current page will either stay the same or transition to another page. 34 * You configure each page to collect information from the end-user that is 35 * relevant for the conversational state represented by the page. 37 * [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). [all …]
|
H A D | Flow.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 27 * Conversations always start with the built-in Start Flow (with an all-0 ID). 149 * Required. The human-readable name of the flow. 172 * Required. The human-readable name of the flow. 256 * * They are inherited by every page's [transition 257 * routes][Page.transition_routes] and can support use cases such as the user 259 * way regardless of the current page. Transition routes defined in the page 281 * * They are inherited by every page's [transition 282 * routes][Page.transition_routes] and can support use cases such as the user 284 * way regardless of the current page. Transition routes defined in the page [all …]
|
/aosp_15_r20/external/google-cloud-java/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ |
H A D | Page.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 17 // source: google/cloud/dialogflow/cx/v3beta1/page.proto 29 * moment, exactly one page is the current page, the current page is considered 30 * active, and the flow associated with that page is considered active. Every 31 * flow has a special start page. When a flow initially becomes active, the 32 * start page page becomes the current page. For each conversational turn, the 33 * current page will either stay the same or transition to another page. 34 * You configure each page to collect information from the end-user that is 35 * relevant for the conversational state represented by the page. 37 * [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). [all …]
|
H A D | Flow.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 27 * Conversations always start with the built-in Start Flow (with an all-0 ID). 149 * Required. The human-readable name of the flow. 172 * Required. The human-readable name of the flow. 256 * * They are inherited by every page's [transition 257 * routes][Page.transition_routes] and can support use cases such as the user 259 * way regardless of the current page. Transition routes defined in the page 282 * * They are inherited by every page's [transition 283 * routes][Page.transition_routes] and can support use cases such as the user 285 * way regardless of the current page. Transition routes defined in the page [all …]
|
/aosp_15_r20/external/google-cloud-java/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ |
H A D | Document.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 89 * The 0-based index of this shard. 115 * The index of the first character in 181 * The 0-based index of this shard. 217 * The index of the first character in 231 private byte memoizedIsInitialized = -1; 260 if (size != -1) return size; in getSerializedSize() 525 int index, in setRepeatedField() argument 527 return super.setRepeatedField(field, index, value); in setRepeatedField() 626 * The 0-based index of this shard. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ |
H A D | Document.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 89 * The 0-based index of this shard. 115 * The index of the first character in 181 * The 0-based index of this shard. 217 * The index of the first character in 231 private byte memoizedIsInitialized = -1; 260 if (size != -1) return size; in getSerializedSize() 526 int index, in setRepeatedField() argument 528 return super.setRepeatedField(field, index, value); in setRepeatedField() 627 * The 0-based index of this shard. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ |
H A D | ProductEventDetail.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 84 * The user's search query as UTF-8 encoded text with a length limit of 5 KiB. 108 * The user's search query as UTF-8 encoded text with a length limit of 5 KiB. 138 * Required for `category-page-view` events. Other event types should not set 140 * The categories associated with a category page. 142 * instance, a special sale page may have the category hierarchy: 159 * Required for `category-page-view` events. Other event types should not set 161 * The categories associated with a category page. 163 * instance, a special sale page may have the category hierarchy: 182 * Required for `category-page-view` events. Other event types should not set [all …]
|
/aosp_15_r20/external/sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ |
H A D | Page.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 25 * Represents a documentation page. A page can contain subpages to represent 29 * Protobuf type {@code google.api.Page} 31 public final class Page extends com.google.protobuf.GeneratedMessageV3 class 33 // @@protoc_insertion_point(message_implements:google.api.Page) 36 // Use Page.newBuilder() to construct. 37 private Page(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in Page() method in Page 41 private Page() { in Page() method in Page 50 return new Page(); in newInstance() 67 com.google.api.Page.class, com.google.api.Page.Builder.class); in internalGetFieldAccessorTable() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ |
H A D | AnnotateFileRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 175 public com.google.cloud.vision.v1p4beta1.Feature getFeatures(int index) { in getFeatures() argument 176 return features_.get(index); in getFeatures() 188 public com.google.cloud.vision.v1p4beta1.FeatureOrBuilder getFeaturesOrBuilder(int index) { in getFeaturesOrBuilder() argument 189 return features_.get(index); in getFeaturesOrBuilder() 251 * Pages starts from 1, we assume the first page of the file is page 1. 253 * Page 1 means the first page. 254 * Page 2 means the second page. 255 * Page -1 means the last page. 256 * Page -2 means the second to the last page. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ |
H A D | AnnotateFileRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 175 public com.google.cloud.vision.v1.Feature getFeatures(int index) { in getFeatures() argument 176 return features_.get(index); in getFeatures() 188 public com.google.cloud.vision.v1.FeatureOrBuilder getFeaturesOrBuilder(int index) { in getFeaturesOrBuilder() argument 189 return features_.get(index); in getFeaturesOrBuilder() 251 * Pages starts from 1, we assume the first page of the file is page 1. 253 * Page 1 means the first page. 254 * Page 2 means the second page. 255 * Page -1 means the last page. 256 * Page -2 means the second to the last page. [all …]
|
/aosp_15_r20/external/squashfs-tools/kernel/fs/squashfs/ |
H A D | file.c | 2 * Squashfs - a compressed read only filesystem for Linux 19 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 27 * compressed fragment block (tail-end packed block). The compressed size 32 * larger), the code implements an index cache that caches the mapping from 33 * block index to datablock location on disk. 35 * The index cache allows Squashfs to handle large files (up to 1.75 TiB) while 36 * retaining a simple and space-efficient block list on disk. The cache 39 * The index cache is designed to be memory efficient, and by default uses 58 * Locate cache slot in range [offset, index] for specified inode. If 59 * there's more than one return the slot closest to index. [all …]
|
/aosp_15_r20/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/ |
D | PdfRendererPreV.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 62 * document. To render each page, you open the page using the renderer instance created earlier, 63 * render it, and close the page. After you are done with rendering, you close the renderer. After 65 * one, i.e. you can have only a single page opened at any given time. 74 * Page page = renderer.openPage(i); 75 * RenderParams params = new RenderParams.Builder(Page.RENDER_MODE_FOR_DISPLAY).build(); 78 * page.render(mBitmap, params, null, null); 82 * // close the page 83 * page.close(); 93 /** Represents a non-linearized PDF document. */ [all …]
|
/aosp_15_r20/external/stressapptest/src/ |
H A D | finelock_queue.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 // This is an interface to a simple thread safe container with fine-grain locks, 23 // Page entry queue implementation follows. 25 // page entry, while preserving queue semantics. 28 // never shuffled or re-ordered like that of a real queue. Instead, Get 29 // functions return a random page entry of a given type and lock that particular 30 // page entry until it is unlocked by corresponding Put functions. 32 // In this implementation, a free page is those page entries where pattern is 33 // null (pe->pattern == 0) 47 { // Init all the page locks. in FineLockPEQueue() [all …]
|
/aosp_15_r20/external/squashfs-tools/kernel-2.4/fs/squashfs/ |
H A D | inode.c | 2 * Squashfs - a compressed read only filesystem for Linux 19 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 46 static int squashfs_symlink_readpage(struct file *file, struct page *page); 47 static int squashfs_readpage(struct file *file, struct page *page); 48 static int squashfs_readpage4K(struct file *file, struct page *page); 52 static long long read_blocklist(struct inode *inode, int index, 91 struct squashfs_sb_info *msblk = &s->u.squashfs_sb; in get_block_length() 98 if (msblk->devblksize - *offset == 1) { in get_block_length() 99 if (msblk->swap) in get_block_length() 101 (bh->b_data + *offset)); in get_block_length() [all …]
|
/aosp_15_r20/external/harfbuzz_ng/src/ |
H A D | hb-bit-set.hh | 32 #include "hb-bit-page.hh" 72 int cmp (uint32_t o_major) const { return (int) o_major - (int) major; } in cmp() 75 uint32_t index; member 105 sz >>= (page_t::PAGE_BITS_LOG_2 - 1); in alloc() 137 auto &page = pages.arrayZ[map.index]; in hash() local 138 if (unlikely (page.is_empty ())) continue; in hash() 139 h = h * 31 + hb_hash (map.major) + hb_hash (page); in hash() 153 page_t *page = page_for (g, true); if (unlikely (!page)) return; in add() local 154 page->add (g); in add() 165 page_t *page = page_for (a, true); if (unlikely (!page)) return false; in add_range() local [all …]
|
/aosp_15_r20/external/sg3_utils/doc/ |
H A D | sg_ses.8 | 1 .TH SG_SES "8" "October 2021" "sg3_utils\-1.47" SG3_UTILS 3 sg_ses \- access a SCSI Enclosure Services (SES) device 6 [\fI\-\-all\fR] [\fI\-\-ALL\fR] [\fI\-\-descriptor=DES\fR] 7 [\fI\-\-dev\-slot\-num=SN\fR] [\fI\-\-eiioe=A_F\fR] [\fI\-\-filter\fR] 8 [\fI\-\-get=STR\fR] [\fI\-\-hex\fR] [\fI\-\-index=IIA\fR | 9 \fI\-\-index=TIA,II\fR] [\fI\-\-inner\-hex\fR] [\fI\-\-join\fR] 10 [\fI\-\-maxlen=LEN\fR] [\fI\-\-page=PG\fR] [\fI\-\-quiet\fR] [\fI\-\-raw\fR] 11 [\fI\-\-readonly\fR] [\fI\-\-sas\-addr=SA\fR] [\fI\-\-status\fR] 12 [\fI\-\-verbose\fR] [\fI\-\-warn\fR] \fIDEVICE\fR 15 \fI\-\-control\fR [\fI\-\-byte1=B1\fR] [\fI\-\-clear=STR\fR] [all …]
|
/aosp_15_r20/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 77 public static final int ACTION_MOVE_ALLOW_EASY_FLING = MotionEvent.ACTION_MASK - 1; 78 public static final int INVALID_PAGE = -1; 79 …protected static final ComputePageScrollsLogic SIMPLE_SCROLL_LOGIC = (v) -> v.getVisibility() != G… 82 // The page is moved more than halfway, automatically move to the next page on touch up. 99 // Difference between current scroll position and mCurrentPage's page scroll. Used to maintain 101 // page. 103 // The current page the PagedView is scrolling over on it's way to the destination page. 137 protected static final int INVALID_POINTER = -1; 144 // Page Indicator [all …]
|
/aosp_15_r20/external/google-cloud-java/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ |
H A D | ListIndexesResponse.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 75 private java.util.List<com.google.cloud.aiplatform.v1.Index> indexes_; 80 * List of indexes in the requested page. 83 * <code>repeated .google.cloud.aiplatform.v1.Index indexes = 1;</code> 86 public java.util.List<com.google.cloud.aiplatform.v1.Index> getIndexesList() { in getIndexesList() 93 * List of indexes in the requested page. 96 * <code>repeated .google.cloud.aiplatform.v1.Index indexes = 1;</code> 107 * List of indexes in the requested page. 110 * <code>repeated .google.cloud.aiplatform.v1.Index indexes = 1;</code> 120 * List of indexes in the requested page. [all …]
|