/packages/apps/Settings/src/com/android/settings/widget/ |
D | DotsPageIndicator.java | 79 private int pageCount; field in DotsPageIndicator 233 pageCount = pages; in setPageCount() 244 dotCenterX = new float[pageCount]; in calculateDotPositions() 245 for (int i = 0; i < pageCount; i++) { in calculateDotPositions() 262 if (pageCount > 0) { in setCurrentPageImmediate() 268 if (pageCount > 0) { in resetState() 269 joiningFractions = new float[pageCount - 1]; in resetState() 271 dotRevealFractions = new float[pageCount]; in resetState() 330 return pageCount * dotDiameter + (pageCount - 1) * gap; in getRequiredWidth() 339 if (viewPager == null || pageCount == 0) { in onDraw() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FocusLogic.java | 85 int pageCount, boolean isRtl) { in handleKeyEvent() argument 93 cntX, cntY, iconIdx, pageIndex, pageCount)); in handleKeyEvent() 102 } else if (isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { in handleKeyEvent() 108 if (!isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { in handleKeyEvent() 127 newIndex = handlePageDown(pageIndex, pageCount); in handleKeyEvent() 481 private static int handlePageDown(int pageIndex, int pageCount) { 482 if (pageIndex < pageCount -1) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FocusHelper.java | 143 final int pageCount = container.getChildCount(); in handlePagedViewGridLayoutWidgetKeyEvent() local 180 if (pageIndex < (pageCount - 1)) { in handlePagedViewGridLayoutWidgetKeyEvent() 244 if (pageIndex < (pageCount - 1)) { in handlePagedViewGridLayoutWidgetKeyEvent() 303 final int pageCount = container.getChildCount(); in handleAppsCustomizeKeyEvent() local 340 if (pageIndex < (pageCount - 1)) { in handleAppsCustomizeKeyEvent() 404 if (pageIndex < (pageCount - 1)) { in handleAppsCustomizeKeyEvent() 672 int pageCount = workspace.getChildCount(); in handleIconKeyEvent() local 707 if (pageIndex < (pageCount - 1)) { in handleIconKeyEvent() 771 if (pageIndex < (pageCount - 1)) { in handleIconKeyEvent()
|
D | PagedView.java | 598 final int pageCount = getChildCount(); in scrollToNewPageWithoutMovingPages() local 599 for (int i = 0; i < pageCount; i++) { in scrollToNewPageWithoutMovingPages() 785 final int pageCount = getChildCount(); in getVisiblePages() local 787 if (pageCount > 0) { in getVisiblePages() 789 int leftScreen = isRtl ? pageCount - 1 : 0; in getVisiblePages() 791 int endIndex = isRtl ? 0 : pageCount - 1; in getVisiblePages() 835 final int pageCount = getChildCount(); in dispatchDraw() local 836 if (pageCount > 0) { in dispatchDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FocusHelper.java | 111 final int pageCount = pagedView.getPageCount(); in onKey() local 117 pageCount, isLayoutRtl); in onKey() 223 int pageCount = workspace.getChildCount(); in handleHotseatButtonKeyEvent() local 262 pageCount, Utilities.isRtl(v.getResources())); in handleHotseatButtonKeyEvent() 355 final int pageCount = workspace.getChildCount(); in handleIconKeyEvent() local 375 pageCount, Utilities.isRtl(v.getResources())); in handleIconKeyEvent() 398 newPageIndex, pageCount, Utilities.isRtl(v.getResources())); in handleIconKeyEvent() 437 newPageIndex, pageCount, Utilities.isRtl(v.getResources())); in handleIconKeyEvent()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 144 if (currDuplexDisposition == duplex_longEdge && !(pageCount % 2) && mirrorBackside) { in fixXRef() 442 if (currDuplexDisposition == duplex_longEdge && !(pageCount % 2) && mirrorBackside) { in injectRLEStrip() 460 if (currDuplexDisposition == duplex_longEdge && !(pageCount % 2) && mirrorBackside) { in injectRLEStrip() 531 if (currDuplexDisposition == duplex_longEdge && !(pageCount % 2) && mirrorBackside) { in injectLZStrip() 549 if (currDuplexDisposition == duplex_longEdge && !(pageCount % 2) && mirrorBackside) { in injectLZStrip() 626 if (currDuplexDisposition == duplex_longEdge && !(pageCount % 2) && mirrorBackside) { in injectImageTransform() 657 if (currDuplexDisposition == duplex_longEdge && !(pageCount % 2) && mirrorBackside) { in injectJPEG() 676 if (currDuplexDisposition == duplex_longEdge && !(pageCount % 2) && mirrorBackside) { in injectJPEG() 774 if (destColorSpace == adobeRGB && 1 == pageCount) { in writePDFGrammarPage() 1367 pageCount = 0; in PCLmGenerator() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFragment.java | 437 final int pageCount = mAdapter.getCount(); in updatePageIndicators() local 439 final int[] states = computePageIndicatorStates(page, pageIndicatorCount, pageCount); in updatePageIndicators() 460 static int[] computePageIndicatorStates(int page, int pageIndicatorCount, int pageCount) { in computePageIndicatorStates() argument 462 final int rangeSize = Math.min(pageIndicatorCount, pageCount); in computePageIndicatorStates() 469 if (rangeEnd >= pageCount) { in computePageIndicatorStates() 470 rangeEnd = pageCount - 1; in computePageIndicatorStates() 498 if (rangeEnd < pageCount - 1) { in computePageIndicatorStates()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiCategory.java | 68 public CategoryProperties(final int categoryId, final int pageCount) { in CategoryProperties() argument 70 mPageCount = pageCount; in CategoryProperties() 433 final int pageCount = (keys.size() - 1) / maxPageCount + 1; in sortKeysIntoPages() local 434 final Key[][] retval = new Key[pageCount][maxPageCount]; in sortKeysIntoPages()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/inc/ |
D | PCLmGenerator.h | 238 int pageCount; variable
|