Home
last modified time | relevance | path

Searched refs:pageIndex (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/graphics/java/android/graphics/pdf/
DPdfEditor.java111 public void removePage(int pageIndex) { in removePage() argument
113 throwIfPageNotInDocument(pageIndex); in removePage()
116 mPageCount = nativeRemovePage(mNativeDocument, pageIndex); in removePage()
129 public void setTransformAndClip(int pageIndex, @Nullable Matrix transform, in setTransformAndClip() argument
132 throwIfPageNotInDocument(pageIndex); in setTransformAndClip()
139 getPageSize(pageIndex, size); in setTransformAndClip()
142 nativeSetTransformAndClip(mNativeDocument, pageIndex, transform.ni(), in setTransformAndClip()
147 nativeSetTransformAndClip(mNativeDocument, pageIndex, transform.ni(), in setTransformAndClip()
159 public void getPageSize(int pageIndex, @NonNull Point outSize) { in getPageSize() argument
162 throwIfPageNotInDocument(pageIndex); in getPageSize()
[all …]
DPdfRenderer.java283 private void throwIfPageNotInDocument(int pageIndex) { in throwIfPageNotInDocument() argument
284 if (pageIndex < 0 || pageIndex >= mPageCount) { in throwIfPageNotInDocument()
499 private static native long nativeOpenPageAndGetSize(long documentPtr, int pageIndex, in nativeOpenPageAndGetSize() argument
/frameworks/base/libs/hwui/jni/pdf/
DPdfEditor.cpp58 static jint nativeRemovePage(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex) { in nativeRemovePage() argument
61 FPDFPage_Delete(document, pageIndex); in nativeRemovePage()
109 static void nativeSetTransformAndClip(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeSetTransformAndClip() argument
113 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeSetTransformAndClip()
123 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); in nativeSetTransformAndClip()
165 jint pageIndex, jobject outSize) { in nativeGetPageSize() argument
168 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeGetPageSize()
178 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); in nativeGetPageSize()
191 static bool nativeGetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeGetPageBox() argument
195 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeGetPageBox()
[all …]
DPdfRenderer.cpp41 jint pageIndex, jobject outSize) { in nativeOpenPageAndGetSize() argument
44 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeOpenPageAndGetSize()
54 int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); in nativeOpenPageAndGetSize()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java170 public PageContentProvider acquirePageContentProvider(int pageIndex, View owner) { in acquirePageContentProvider() argument
174 Log.i(LOG_TAG, "Acquiring provider for page: " + pageIndex); in acquirePageContentProvider()
177 return new PageContentProvider(pageIndex, owner); in acquirePageContentProvider()
227 public PageContentProvider(int pageIndex, View owner) { in PageContentProvider() argument
228 mPageIndex = pageIndex; in PageContentProvider()
283 public RenderedPage getRenderedPage(int pageIndex) { in getRenderedPage() argument
284 return mRenderedPages.get(pageIndex); in getRenderedPage()
287 public RenderedPage removeRenderedPage(int pageIndex) { in removeRenderedPage() argument
288 RenderedPage page = mRenderedPages.remove(pageIndex); in removeRenderedPage()
295 public RenderedPage putRenderedPage(int pageIndex, RenderedPage renderedPage) { in putRenderedPage() argument
[all …]
/frameworks/base/core/java/com/android/internal/app/
DResolverMultiProfilePagerAdapter.java80 ResolverProfileDescriptor getItem(int pageIndex) { in getItem() argument
81 return mItems[pageIndex]; in getItem()
90 void setupListAdapter(int pageIndex) { in setupListAdapter() argument
91 final ListView listView = getItem(pageIndex).listView; in setupListAdapter()
92 listView.setAdapter(getItem(pageIndex).resolverListAdapter); in setupListAdapter()
97 public ResolverListAdapter getAdapterForIndex(int pageIndex) { in getAdapterForIndex() argument
98 return mItems[pageIndex].resolverListAdapter; in getAdapterForIndex()
DChooserMultiProfilePagerAdapter.java95 ChooserProfileDescriptor getItem(int pageIndex) { in getItem() argument
96 return mItems[pageIndex]; in getItem()
106 public ChooserActivity.ChooserGridAdapter getAdapterForIndex(int pageIndex) { in getAdapterForIndex() argument
107 return mItems[pageIndex].chooserGridAdapter; in getAdapterForIndex()
123 void setupListAdapter(int pageIndex) { in setupListAdapter() argument
124 final RecyclerView recyclerView = getItem(pageIndex).recyclerView; in setupListAdapter()
126 getItem(pageIndex).chooserGridAdapter; in setupListAdapter()
DAbstractMultiProfilePagerAdapter.java173 abstract ProfileDescriptor getItem(int pageIndex); in getItem() argument
186 abstract void setupListAdapter(int pageIndex); in setupListAdapter() argument
195 public abstract Object getAdapterForIndex(int pageIndex); in getAdapterForIndex() argument
/frameworks/base/core/java/android/nfc/tech/
DMifareUltralight.java268 private static void validatePageIndex(int pageIndex) { in validatePageIndex() argument
274 if (pageIndex < 0 || pageIndex >= MAX_PAGE_COUNT) { in validatePageIndex()
275 throw new IndexOutOfBoundsException("page out of bounds: " + pageIndex); in validatePageIndex()
/frameworks/base/core/java/android/print/
DPageRange.java95 public boolean contains(int pageIndex) { in contains() argument
96 return (pageIndex >= mStart) && (pageIndex <= mEnd); in contains()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsCbHeader.java173 int pageIndex = (pdu[5] & 0xf0) >>> 4; in SmsCbHeader() local
176 if (pageIndex == 0 || nrOfPages == 0 || pageIndex > nrOfPages) { in SmsCbHeader()
177 pageIndex = 1; in SmsCbHeader()
181 mPageIndex = pageIndex; in SmsCbHeader()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DIPdfRenderer.aidl29 oneway void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, in renderPage() argument
DPdfManipulationService.java105 public void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, in renderPage() argument
111 try (PdfRenderer.Page page = mRenderer.openPage(pageIndex)) { in renderPage()
157 Log.i(LOG_TAG, "Rendering page:" + pageIndex); in renderPage()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java528 final int pageIndex = mConfirmedPagesInDocument.keyAt(i); in computeSelectedPages() local
530 startPageIndex = endPageIndex = pageIndex; in computeSelectedPages()
532 if (endPageIndex + 1 < pageIndex) { in computeSelectedPages()
535 startPageIndex = pageIndex; in computeSelectedPages()
537 endPageIndex = pageIndex; in computeSelectedPages()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DPageRangeUtils.java52 public static boolean contains(PageRange[] pageRanges, int pageIndex) { in contains() argument
56 if (pageRange.contains(pageIndex)) { in contains()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/logging/
DQSLogger.kt331 fun logTileDistributed(tileName: String, pageIndex: Int) { in <lambda>()
337 int1 = pageIndex in <lambda>()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp520 .pageIndex = (*blockIdx)++, in flashToIncFs()
533 .pageIndex = (*blockIdx)++, in flashToIncFs()
853 .pageIndex = static_cast<IncFsBlockIndex>(header.blockIdx), in receiver()
/frameworks/base/services/incremental/
DIncrementalService.cpp2142 .pageIndex = static_cast<IncFsBlockIndex>(i), in setFileContent()