Home
last modified time | relevance | path

Searched refs:pageCount (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/print/
DPrintDocumentInfo.java308 public Builder setPageCount(int pageCount) { in setPageCount() argument
309 if (pageCount < 0 && pageCount != PAGE_COUNT_UNKNOWN) { in setPageCount()
314 mPrototype.mPageCount = pageCount; in setPageCount()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDebug.java136 public DbStats(String dbName, long pageCount, long pageSize, int lookaside, in DbStats() argument
140 dbSize = (pageCount * pageSize) / 1024; in DbStats()
DSQLiteConnection.java1113 long pageCount = 0; in collectDbStats() local
1116 pageCount = executeForLong("PRAGMA page_count;", null, null); in collectDbStats()
1121 dbStatsList.add(getMainDbStatsUnsafe(lookaside, pageCount, pageSize)); in collectDbStats()
1132 pageCount = 0; in collectDbStats()
1135 pageCount = executeForLong("PRAGMA " + name + ".page_count;", null, null); in collectDbStats()
1144 dbStatsList.add(new DbStats(label, pageCount, pageSize, 0, 0, 0, 0)); in collectDbStats()
1163 private DbStats getMainDbStatsUnsafe(int lookaside, long pageCount, long pageSize) { in getMainDbStatsUnsafe() argument
1170 return new DbStats(label, pageCount, pageSize, lookaside, in getMainDbStatsUnsafe()
DSQLiteDatabase.java880 long pageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count;", null); in getMaximumSize() local
881 return pageCount * getPageSize(); in getMaximumSize()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java141 int pageCount = header.getNumberOfPages(); in handleGsmBroadcastSms() local
142 if (pageCount > 1) { in handleGsmBroadcastSms()
152 pdus = new byte[pageCount][]; in handleGsmBroadcastSms()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardWidgetPager.java211 final int pageCount = getPageCount(); in updateWidgetFramesImportantForAccessibility() local
212 for (int i = 0; i < pageCount; i++) { in updateWidgetFramesImportantForAccessibility()
DPagedView.java953 final int pageCount = getChildCount(); in dispatchDraw() local
954 if (pageCount > 0) { in dispatchDraw()
966 for (int i = pageCount - 1; i >= 0; i--) { in dispatchDraw()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DPrintJobConfigActivity.java1522 final int pageCount = mDocument.info.getPageCount(); in updateFromAdvancedOptions() local
1524 && pageRanges[pageRanges.length - 1].getEnd() < pageCount) { in updateFromAdvancedOptions()
2243 final int pageCount = mDocument.info.getPageCount(); in updateUi() local
2244 String title = (pageCount != PrintDocumentInfo.PAGE_COUNT_UNKNOWN) in updateUi()
2245 ? getString(R.string.label_pages, String.valueOf(pageCount)) in updateUi()
DPrintSpoolerService.java1165 final int pageCount = Integer.parseInt(parser.getAttributeValue(null, in parsePrintJob() local
1172 .setPageCount(pageCount) in parsePrintJob()