Home
last modified time | relevance | path

Searched refs:mPageCount (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/print/
DPrintDocumentInfo.java105 private int mPageCount; field in PrintDocumentInfo
123 mPageCount = prototype.mPageCount; in PrintDocumentInfo()
135 mPageCount = parcel.readInt(); in PrintDocumentInfo()
158 return mPageCount; in getPageCount()
202 parcel.writeInt(mPageCount); in writeToParcel()
213 result = prime * result + mPageCount; in hashCode()
237 if (mPageCount != other.mPageCount) { in equals()
251 builder.append(", pageCount=").append(mPageCount); in toString()
314 mPrototype.mPageCount = pageCount; in setPageCount()
344 if (mPrototype.mPageCount == 0) { in build()
[all …]
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfEditor.java44 private int mPageCount; field in PdfEditor
83 mPageCount = nativeGetPageCount(mNativeDocument); in PdfEditor()
94 return mPageCount; in getPageCount()
105 mPageCount = nativeRemovePage(mNativeDocument, pageIndex); in removePage()
263 if (pageIndex < 0 || pageIndex >= mPageCount) { in throwIfPageNotInDocument()
DPdfRenderer.java108 private final int mPageCount; field in PdfRenderer
154 mPageCount = nativeGetPageCount(mNativeDocument); in PdfRenderer()
175 return mPageCount; in getPageCount()
246 if (pageIndex < 0 || pageIndex >= mPageCount) { in throwIfPageNotInDocument()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java424 private int mPageCount = PrintDocumentInfo.PAGE_COUNT_UNKNOWN; field in PageContentRepository.AsyncRenderer
501 mPageCount = PrintDocumentInfo.PAGE_COUNT_UNKNOWN; in close()
541 if (lastShownPage + halfPreloadCount >= mPageCount) { in startPreload()
542 excessFromEnd = (lastShownPage + halfPreloadCount) - mPageCount; in startPreload()
549 mPageCount - 1); in startPreload()
567 return mPageCount; in getPageCount()
703 mPageCount = PrintDocumentInfo.PAGE_COUNT_UNKNOWN; in onPostExecute()
709 mPageCount = PrintDocumentInfo.PAGE_COUNT_UNKNOWN; in onPostExecute()
715 mPageCount = pageCount; in onPostExecute()
DRemotePrintDocument.java868 private final int mPageCount; field in RemotePrintDocument.WriteCommand
885 mPageCount = pageCount; in WriteCommand()
983 mPages, writtenPages, mPageCount); in handleOnWriteFinished()
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp123 , mPageCount(0) in LinearAllocator()
242 mPageCount++; in newPage()
268 ALOGD("%sPages %zu (dedicated %zu)", prefix, mPageCount, mDedicatedPageCount); in dumpMemoryStats()
DLinearAllocator.h133 size_t mPageCount; variable