/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | UserChoiceInfo.java | 64 public void put(@PAGE int page, String info) { in put() argument 65 mDataSummary.put(page, info); in put() 68 public void put(@PAGE int page, int choice) { in put() argument 69 mChoiceSummary.put(page, choice); in put() 79 public boolean choiceChosen(CharSequence choice, @PAGE int page) { in choiceChosen() argument 80 if (!mDataSummary.containsKey(page)) { in choiceChosen() 83 return TextUtils.equals(choice, mDataSummary.get(page)); in choiceChosen() 86 public Integer getChoice(@PAGE int page) { in getChoice() argument 87 if (!mChoiceSummary.containsKey(page)) { in getChoice() 90 return mChoiceSummary.get(page); in getChoice() [all …]
|
D | AdvancedOptionsFlowInfo.java | 78 public void put(@PAGE int page, CharSequence info) { in put() argument 79 mPageSummary.put(page, info); in put() 89 public boolean choiceChosen(CharSequence choice, @PAGE int page) { in choiceChosen() argument 90 if (!mPageSummary.containsKey(page)) { in choiceChosen() 93 return TextUtils.equals(choice, mPageSummary.get(page)); in choiceChosen() 102 public boolean containsPage(@PAGE int page) { in containsPage() argument 103 return mPageSummary.containsKey(page); in containsPage() 112 public String get(@PAGE int page) { in get() argument 113 if (!mPageSummary.containsKey(page)) { in get() 116 return mPageSummary.get(page).toString(); in get() [all …]
|
/packages/apps/Settings/tests/perftests/src/com/android/settings/tests/perf/ |
D | LaunchSettingsTest.java | 99 for (Page page : PAGES) { in setUp() 100 mResult.put(page.title, new ArrayList<Integer>()); in setUp() 116 for (Page page : PAGES) { in settingsPerformanceTest() 117 executePreformanceTest(page.action, page.displayName, page.title); in settingsPerformanceTest() 166 private String getMax(String page) { in getMax() argument 167 if (mResult.get(page).size() == TEST_TIME) { in getMax() 168 return String.format("%s", Collections.max(mResult.get(page))); in getMax() 170 Log.e(TAG, String.format("Fail to get max of %s.", page)); in getMax() 175 private String getMin(String page) { in getMin() argument 176 if (mResult.get(page).size() == TEST_TIME) { in getMin() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 163 CellLayout page = (CellLayout) getChildAt(i); in unbindItems() local 164 ShortcutAndWidgetContainer container = page.getShortcutsAndWidgets(); in unbindItems() 169 page.removeAllViews(); in unbindItems() 170 mViewCache.recycleView(R.layout.folder_page, page); in unbindItems() 244 CellLayout page = mViewCache.getView(R.layout.folder_page, getContext(), this); in createAndAddNewPage() local 245 page.setCellDimensions(grid.folderCellWidthPx, grid.folderCellHeightPx); in createAndAddNewPage() 246 page.getShortcutsAndWidgets().setMotionEventSplittingEnabled(false); in createAndAddNewPage() 247 page.setInvertIfRtl(true); in createAndAddNewPage() 248 page.setGridSize(mGridCountX, mGridCountY); in createAndAddNewPage() 250 addView(page, -1, generateDefaultLayoutParams()); in createAndAddNewPage() [all …]
|
D | FolderGridOrganizer.java | 156 public <T, R extends T> ArrayList<R> previewItemsForPage(int page, List<T> contents) { in previewItemsForPage() argument 159 int start = itemsPerPage * page; in previewItemsForPage() 163 if (isItemInPreview(page, rank)) { in previewItemsForPage() 186 public boolean isItemInPreview(int page, int rank) { in isItemInPreview() argument 189 if (page > 0 || mDisplayingUpperLeftQuadrant) { in isItemInPreview()
|
D | FolderAnimationManager.java | 246 int page = mIsOpening ? mContent.getCurrentPage() : mContent.getDestinationPage(); in getAnimator() local 247 int left = mContent.getPaddingLeft() + page * lp.width; in getAnimator() 328 private List<BubbleTextView> getPreviewIconsOnPage(int page) { in getPreviewIconsOnPage() argument 330 .previewItemsForPage(page, mFolder.getIconsInReadingOrder()); in getPreviewIconsOnPage()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | ImageToPdfTask.java | 77 PdfDocument.Page page = mDocument.startPage(1); in writeBitmapToDocument() local 79 writeBitmapToPage(page, true); in writeBitmapToDocument() 82 writeBitmapToPage(page, false); in writeBitmapToDocument() 84 mDocument.finishPage(page); in writeBitmapToDocument() 87 private void writeBitmapToPage(PdfDocument.Page page, boolean fill) { in writeBitmapToPage() argument 88 RectF extent = new RectF(page.getInfo().getContentRect()); in writeBitmapToPage() 105 drawDirect(page, extent, fill, rotate); in writeBitmapToPage() 108 drawOptimized(page, extent, scale, rotate); in writeBitmapToPage() 115 private void drawDirect(PdfDocument.Page page, RectF extent, boolean fill, boolean rotate) { in drawDirect() argument 134 page.getCanvas().clipRect(extent); in drawDirect() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
D | TelecomPageTab.java | 88 private void initFragment(FragmentManager fragmentManager, @Page String page, in initFragment() argument 90 mFragmentTag = makeFragmentTag(page); in initFragment() 93 mFragment = mFactory.createFragment(page); in initFragment() 121 private String makeFragmentTag(@Page String page) { in makeFragmentTag() argument 122 return String.format("%s:%s", getClass().getSimpleName(), page); in makeFragmentTag() 166 private Fragment createFragment(@Page String page) { in createFragment() argument 167 switch (page) { in createFragment() 187 String page = mTabConfig[i]; in recreateTabs() local 189 context.getDrawable(TAB_ICONS.get(page)), in recreateTabs() 190 context.getString(TAB_LABELS.get(page)), in recreateTabs() [all …]
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | lib_wprint.c | 787 _page_t page; in _job_thread() local 989 while (OK == msgQReceive(jq->pageQ, (char *) &page, sizeof(page), in _job_thread() 1006 if (page.last_page && ((i == jq->job_params.num_copies - 1) || in _job_thread() 1010 jq->job_params.last_page = page.last_page; in _job_thread() 1015 if (strlen(page.filename) > 0) { in _job_thread() 1020 if (page.pdf_page) { in _job_thread() 1021 jq->job_params.page_num = page.page_num; in _job_thread() 1027 jq->job_params.print_top_margin += page.top_margin; in _job_thread() 1028 jq->job_params.print_left_margin += page.left_margin; in _job_thread() 1029 jq->job_params.print_right_margin += page.right_margin; in _job_thread() [all …]
|
D | wprintJNI.c | 1323 jstring page = (jstring) (*env)->GetObjectArrayElement(env, array, pageIndex); in Java_com_android_bips_ipp_Backend_nativeStartJob() local 1324 const char *pageStr = (*env)->GetStringUTFChars(env, page, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob() 1338 (*env)->ReleaseStringUTFChars(env, page, pageStr); in Java_com_android_bips_ipp_Backend_nativeStartJob() 1341 jstring page = (jstring) (*env)->GetObjectArrayElement(env, array, index); in Java_com_android_bips_ipp_Backend_nativeStartJob() local 1342 const char *pageStr = (*env)->GetStringUTFChars(env, page, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob() 1359 (*env)->ReleaseStringUTFChars(env, page, pageStr); in Java_com_android_bips_ipp_Backend_nativeStartJob() 1389 jstring page = (jstring) (*env)->GetObjectArrayElement(env, array, index); in Java_com_android_bips_ipp_Backend_nativeStartJob() local 1390 const char *pageStr = (*env)->GetStringUTFChars(env, page, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob() 1402 (*env)->ReleaseStringUTFChars(env, page, pageStr); in Java_com_android_bips_ipp_Backend_nativeStartJob()
|
/packages/services/BuiltInPrintService/src/com/android/bips/render/ |
D | PdfRenderService.java | 73 public SizeD getPageSize(int page) throws RemoteException { 74 if (!openPage(page)) { 81 public ParcelFileDescriptor renderPageStripe(int page, int y, int width, int height, 84 if (!openPage(page)) { 129 private boolean openPage(int page) { 135 if (mPage != null && mPage.getIndex() != page) { 141 mPage = mRenderer.openPage(page); 182 RenderThread(PdfRenderer.Page page, int y, int width, int height, double zoom, in RenderThread() argument 184 mPage = page; in RenderThread()
|
D | IPdfRender.aidl | 36 SizeD getPageSize(int page); in getPageSize() argument 48 ParcelFileDescriptor renderPageStripe(int page, int y, int width, int height, in renderPageStripe() argument
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | StaggeredWorkspaceAnim.java | 102 workspace.forEachVisiblePage(page -> addAnimationForPage((CellLayout) page, totalRows)); in StaggeredWorkspaceAnim() 164 private void addAnimationForPage(CellLayout page, int totalRows) { in addAnimationForPage() argument 165 ShortcutAndWidgetContainer itemsContainer = page.getShortcutsAndWidgets(); in addAnimationForPage() 167 boolean pageClipChildren = page.getClipChildren(); in addAnimationForPage() 168 boolean pageClipToPadding = page.getClipToPadding(); in addAnimationForPage() 170 page.setClipChildren(false); in addAnimationForPage() 171 page.setClipToPadding(false); in addAnimationForPage() 183 page.setClipChildren(pageClipChildren); in addAnimationForPage() 184 page.setClipToPadding(pageClipToPadding); in addAnimationForPage()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | DotsPageIndicator.java | 352 for (int page = 0; page < pageCount; page++) { in drawUnselected() 353 int nextXIndex = page == pageCount - 1 ? page : page + 1; in drawUnselected() 357 Path unselectedPath = getUnselectedPath(page, in drawUnselected() 358 dotCenterX[page], in drawUnselected() 360 page == pageCount - 1 ? INVALID_FRACTION : joiningFractions[page], in drawUnselected() 361 dotRevealFractions[page]); in drawUnselected() 364 canvas.drawCircle(dotCenterX[page], dotCenterY, dotRadius, unselectedPaint); in drawUnselected() 396 private Path getUnselectedPath(int page, in getUnselectedPath() argument 405 && !(page == currentPage && selectedDotInPosition == true)) { in getUnselectedPath() 407 unselectedDotPath.addCircle(dotCenterX[page], dotCenterY, dotRadius, Path.Direction.CW); in getUnselectedPath() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 312 View page = getPageAt(i); in forEachVisiblePage() local 313 if (page != null) { in forEachVisiblePage() 314 callback.accept(page); in forEachVisiblePage() 329 private int ensureWithinScrollBounds(int page) { in ensureWithinScrollBounds() argument 331 int currScroll = getScrollForPage(page); in ensureWithinScrollBounds() 334 page += dir; in ensureWithinScrollBounds() 336 currScroll = getScrollForPage(page); in ensureWithinScrollBounds() 343 page -= dir; in ensureWithinScrollBounds() 345 currScroll = getScrollForPage(page); in ensureWithinScrollBounds() 351 return page; in ensureWithinScrollBounds() [all …]
|
D | Workspace.java | 394 private float getWallpaperOffsetForPage(int page) { in getWallpaperOffsetForPage() argument 395 int pageScroll = getScrollForPage(page); in getWallpaperOffsetForPage() 444 CellLayout page = (CellLayout) getPageAt(pageIndex); in onDragStart() local 445 if (page.hasReorderSolution(dragObject.dragInfo)) { in onDragStart() 1408 private void updateAccessibilityFlags(int accessibilityFlag, CellLayout page) { in updateAccessibilityFlags() argument 1409 page.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO); in updateAccessibilityFlags() 1410 page.getShortcutsAndWidgets().setImportantForAccessibility(accessibilityFlag); in updateAccessibilityFlags() 1411 page.setContentDescription(null); in updateAccessibilityFlags() 1412 page.setAccessibilityDelegate(null); in updateAccessibilityFlags() 1999 for (int page = nextPage; page < nextPage + panelCount; page++) { [all …]
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
D | PdfRender.java | 126 public SizeD getPageSize(int page) { in getPageSize() argument 127 if (DEBUG) Log.d(TAG, "getPageSize() page=" + page); in getPageSize() 133 return mService.getPageSize(page - 1); in getPageSize() 150 public boolean renderPageStripe(int page, int y, int width, int height, in renderPageStripe() argument 153 Log.d(TAG, "renderPageStripe() page=" + page + " y=" + y + " w=" + width in renderPageStripe() 162 ParcelFileDescriptor input = mService.renderPageStripe(page - 1, y, width, height, in renderPageStripe()
|
/packages/services/BuiltInPrintService/jni/plugins/ |
D | pdf_render.c | 60 static int getPageAttributes(pdf_render_ifc_t *obj, int page, double *width, double *height) { in getPageAttributes() argument 61 LOGD("getPageAttributes %p %d", obj, page); in getPageAttributes() 67 page); in getPageAttributes() 76 static int renderPageStripe(pdf_render_ifc_t *obj, int page, int width, int height, float zoom, in renderPageStripe() argument 78 LOGD("renderPageStripe %p %d", obj, page); in renderPageStripe() 86 if (!(*self->env)->CallBooleanMethod(self->env, self->obj, gPdfRenderRenderPageStripe, page, in renderPageStripe()
|
D | plugin_pcl.c | 64 int page; member 137 priv->pcl_ifc->end_page(&priv->job_info, msg.param.end_page.page); in _send_thread() 309 msg.param.end_page.page = -1; in _print_page() 451 msg.param.end_page.page = job_params->page_num; in _print_page() 461 msg.param.end_page.page = -1; in _print_page() 470 msg.param.end_page.page = -1; in _print_page() 480 msg.param.end_page.page = -1; in _print_page() 488 msg.param.end_page.page = -1; in _print_page() 512 msg.param.end_page.page = -1; in _print_blank_page()
|
D | wprint_mupdf.c | 54 result = pdf_render->getPageAttributes(pdf_render, image_info->decoder_data.page, &pageWidth, in _mupdf_get_hdr() 72 LOGI("Render page=%d w=%.0f h=%.0f res=%d zoom=%0.2f size=%d", image_info->decoder_data.page, in _mupdf_get_hdr() 77 result = pdf_render->renderPageStripe(pdf_render, image_info->decoder_data.page, imageWidth, in _mupdf_get_hdr()
|
D | wprint_mupdf.h | 43 status_t (*renderPageStripe)(pdf_render_ifc_t *self, int page, int width, 49 status_t (*getPageAttributes)(pdf_render_ifc_t *self, int page,
|
/packages/apps/ThemePicker/src/com/android/customization/picker/ |
D | BasePreviewAdapter.java | 79 T page = mPages.get(position); in instantiateItem() local 81 page.setCard(card); in instantiateItem() 82 page.bindPreviewContent(); in instantiateItem() 87 return page; in instantiateItem()
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | ViewGroupFocusHelper.java | 59 PagedView page = (PagedView) parent; in computeLocationRelativeToContainer() local 60 outRect.left -= page.getScrollForPage(page.indexOfChild(child)); in computeLocationRelativeToContainer()
|
/packages/apps/SettingsIntelligence/proto/ |
D | settings_intelligence_log.proto | 25 // Opens search page 28 // Leaves search page 49 // Leaves search page without entering any query
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFragment.kt | 387 val page: Int = mViewPager.getCurrentItem() in updatePageIndicators() constant 391 val states = computePageIndicatorStates(page, pageIndicatorCount, pageCount) in updatePageIndicators() 707 page: Int, in computePageIndicatorStates() 715 var rangeStart = page - rangeSize / 2 in computePageIndicatorStates() 753 states[page - rangeStart] = R.drawable.ic_swipe_circle_light in computePageIndicatorStates()
|