/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
PagingIndicatorTest.java | 50 int pageCount = mIndicator.getPageCount(); 51 int mid = pageCount / 2; 53 int sum = selectedX[0] + selectedX[pageCount - 1]; 56 selectedX[i] + selectedX[pageCount - i - 1]); 60 sum = leftX[0] + rightX[pageCount - 1]; 61 for (int i = 1; i < pageCount - 1; ++i) { 63 leftX[i] + rightX[pageCount - i - 1]); 68 int pageCount = mIndicator.getPageCount(); 73 for (int i = 2; i < pageCount; ++i) { 78 for (int i = 2; i < pageCount - 1; ++i) [all...] |
/developers/build/prebuilts/gradle/PdfRendererBasic/Application/tests/src/com/example/android/pdfrendererbasic/tests/ |
PdfRendererBasicFragmentTests.java | 82 int pageCount = mFragment.getPageCount(); 84 turnPages(pageCount - 1); 87 pageCount, pageCount); 100 int pageCount = mFragment.getPageCount(); 102 2, pageCount);
|
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/tests/src/com/example/android/pdfrendererbasic/tests/ |
PdfRendererBasicFragmentTests.java | 82 int pageCount = mFragment.getPageCount(); 84 turnPages(pageCount - 1); 87 pageCount, pageCount); 100 int pageCount = mFragment.getPageCount(); 102 2, pageCount);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
PageRangeUtils.java | 68 * @param pageCount The total number of pages. 71 public static boolean contains(PageRange[] ourRanges, PageRange[] otherRanges, int pageCount) { 81 otherRanges[0] = new PageRange(0, pageCount - 1); 346 int pageCount = 0; 354 pageCount += pageRange.getSize(); 357 return pageCount; 360 public static PageRange asAbsoluteRange(PageRange pageRange, int pageCount) { 362 return new PageRange(0, pageCount - 1); 382 public static boolean isAllPages(PageRange[] pageRanges, int pageCount) { 386 if (isAllPages(pageRange, pageCount)) { [all...] |
/external/javasqlite/src/main/java/SQLite/ |
Backup.java | 81 public int pagecount() throws SQLite.Exception { method in class:Backup
|
/frameworks/base/core/java/android/print/ |
PrintDocumentInfo.java | 266 builder.append(", pageCount=").append(mPageCount); 320 * @param pageCount The number of pages. Must be greater than or equal to zero or 324 public @NonNull Builder setPageCount(@IntRange(from = -1) int pageCount) { 325 if (pageCount < 0 && pageCount != PAGE_COUNT_UNKNOWN) { 326 throw new IllegalArgumentException("pageCount" 330 mPrototype.mPageCount = pageCount;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
DotsPageIndicator.java | 79 private int pageCount; 233 pageCount = pages; 244 dotCenterX = new float[pageCount]; 245 for (int i = 0; i < pageCount; i++) { 262 if (pageCount > 0) { 268 if (pageCount > 0) { 269 joiningFractions = new float[pageCount - 1]; 271 dotRevealFractions = new float[pageCount]; 330 return pageCount * dotDiameter + (pageCount - 1) * gap [all...] |
/hardware/ti/omap4-aah/kernel-headers-ti/linux/ |
bvbuffdesc.h | 42 unsigned int pagecount; member in struct:bvphysdesc
|
/developers/build/prebuilts/gradle/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/ |
PdfRendererBasicFragment.java | 190 int pageCount = mPdfRenderer.getPageCount(); 192 mButtonNext.setEnabled(index + 1 < pageCount); 193 getActivity().setTitle(getString(R.string.app_name_with_index, index + 1, pageCount));
|
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/ |
PdfRendererBasicFragment.java | 190 int pageCount = mPdfRenderer.getPageCount(); 192 mButtonNext.setEnabled(index + 1 < pageCount); 193 getActivity().setTitle(getString(R.string.app_name_with_index, index + 1, pageCount));
|
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/ |
PdfRendererBasicFragment.java | 190 int pageCount = mPdfRenderer.getPageCount(); 192 mButtonNext.setEnabled(index + 1 < pageCount); 193 getActivity().setTitle(getString(R.string.app_name_with_index, index + 1, pageCount));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmCellBroadcastHandler.java | 141 int pageCount = header.getNumberOfPages(); 142 if (pageCount > 1) { 152 pdus = new byte[pageCount][];
|
/libcore/ojluni/src/main/java/java/nio/ |
MappedByteBuffer.java | 143 return isLoaded0(mappingAddress(offset), length, Bits.pageCount(length)); 172 int count = Bits.pageCount(length); 212 private native boolean isLoaded0(long address, long length, int pageCount);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerFragment.java | 338 final int pageCount = mAdapter.getCount(); 340 final int[] states = computePageIndicatorStates(page, pageIndicatorCount, pageCount); 354 * @param page the selected page; value between 0 and {@code pageCount} 356 * @param pageCount the number of pages that exist 361 static int[] computePageIndicatorStates(int page, int pageIndicatorCount, int pageCount) { 363 final int rangeSize = Math.min(pageIndicatorCount, pageCount); 370 if (rangeEnd >= pageCount) { 371 rangeEnd = pageCount - 1; 399 if (rangeEnd < pageCount - 1) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FocusHelper.java | 143 final int pageCount = container.getChildCount(); 180 if (pageIndex < (pageCount - 1)) { 244 if (pageIndex < (pageCount - 1)) { 303 final int pageCount = container.getChildCount(); 340 if (pageIndex < (pageCount - 1)) { 404 if (pageIndex < (pageCount - 1)) { 672 int pageCount = workspace.getChildCount(); 707 if (pageIndex < (pageCount - 1)) { [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDebug.java | 136 public DbStats(String dbName, long pageCount, long pageSize, int lookaside, 140 dbSize = (pageCount * pageSize) / 1024;
|
SQLiteConnection.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
FocusHelper.java | 108 final int pageCount = pagedView.getPageCount(); 114 pageCount, isLayoutRtl); 220 int pageCount = workspace.getChildCount(); 269 pageCount, Utilities.isRtl(v.getResources())); 362 final int pageCount = workspace.getChildCount(); 392 pageCount, Utilities.isRtl(v.getResources())); 415 newPageIndex, pageCount, Utilities.isRtl(v.getResources())); 454 newPageIndex, pageCount, Utilities.isRtl(v.getResources()));
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
FocusLogic.java | 84 int pageCount, boolean isRtl) { 92 cntX, cntY, iconIdx, pageIndex, pageCount)); 101 } else if (isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { 107 if (!isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { 126 newIndex = handlePageDown(pageIndex, pageCount); 476 private static int handlePageDown(int pageIndex, int pageCount) { 477 if (pageIndex < pageCount -1) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiCategory.java | 68 public CategoryProperties(final int categoryId, final int pageCount) { 70 mPageCount = pageCount; 433 final int pageCount = (keys.size() - 1) / maxPageCount + 1; 434 final Key[][] retval = new Key[pageCount][maxPageCount];
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PrintActivity.java | 523 final int pageCount = PageRangeUtils.getNormalizedPageCount(document.writtenPages, 527 .setPageCount(pageCount) 874 final int pageCount = (info != null) ? getAdjustedPageCount(info) : 0 [all...] |
PrintPreviewController.java | 301 final int pageCount = args.argi1; 304 mPageAdapter.update(writtenPages, selectedPages, pageCount,
|
/external/skia/src/doc/ |
SkDocument_PDF.cpp | 149 int pageCount = treeCapacity; 151 pageCount = ((pages.count() - 1) % treeCapacity) + 1; 153 newNode->insertInt("Count", pageCount);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
PdfManipulationService.java | 289 final int pageCount = mEditor.getPageCount(); 290 for (int i = 0; i < pageCount; i++) {
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
PdfRenderer.java | 56 * final int pageCount = renderer.getPageCount(); 57 * for (int i = 0; i < pageCount; i++) {
|