Home
last modified time | relevance | path

Searched refs:page (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomPageTab.java69 private void initFragment(FragmentManager fragmentManager, @Page String page) { in initFragment() argument
70 mFragmentTag = makeFragmentTag(page); in initFragment()
73 mFragment = mFactory.createFragment(page); in initFragment()
95 private String makeFragmentTag(@Page String page) { in makeFragmentTag() argument
96 return String.format("%s:%s", getClass().getSimpleName(), page); in makeFragmentTag()
133 private Fragment createFragment(@Page String page) { in createFragment() argument
134 switch (page) { in createFragment()
149 String page = mTabs[tabIndex]; in createTab() local
151 context.getDrawable(TAB_ICONS.get(page)), in createTab()
152 context.getString(TAB_LABELS.get(page)), this); in createTab()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java257 CellLayout page = (CellLayout) mInflater.inflate(R.layout.folder_page, this, false); in createAndAddNewPage() local
258 page.setCellDimensions(grid.folderCellWidthPx, grid.folderCellHeightPx); in createAndAddNewPage()
259 page.getShortcutsAndWidgets().setMotionEventSplittingEnabled(false); in createAndAddNewPage()
260 page.setInvertIfRtl(true); in createAndAddNewPage()
261 page.setGridSize(mGridCountX, mGridCountY); in createAndAddNewPage()
263 addView(page, -1, generateDefaultLayoutParams()); in createAndAddNewPage()
264 return page; in createAndAddNewPage()
310 CellLayout page = (CellLayout) getChildAt(i); in arrangeChildren() local
311 page.removeAllViews(); in arrangeChildren()
312 pages.add(page); in arrangeChildren()
[all …]
DFolderIconPreviewVerifier.java75 public boolean isItemInPreview(int page, int rank) { in isItemInPreview() argument
82 if (page > 0 || mDisplayingUpperLeftQuadrant) { in isItemInPreview()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DAdvancedOptionsFlowInfo.java78 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 …]
DUserChoiceInfo.java63 public void put(@PAGE int page, String info) { in put() argument
64 mDataSummary.put(page, info); in put()
74 public boolean choiceChosen(CharSequence choice, @PAGE int page) { in choiceChosen() argument
75 if (!mDataSummary.containsKey(page)) { in choiceChosen()
78 return TextUtils.equals(choice, mDataSummary.get(page)); in choiceChosen()
87 public CharSequence getPageSummary(@PAGE int page) { in getPageSummary() argument
88 if (!mDataSummary.containsKey(page)) { in getPageSummary()
91 return mDataSummary.get(page); in getPageSummary()
99 public void removePageSummary(@PAGE int page) { in removePageSummary() argument
100 mDataSummary.remove(page); in removePageSummary()
/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c784 _page_t page; in _job_thread() local
1002 while (OK == msgQReceive(jq->pageQ, (char *) &page, sizeof(page), in _job_thread()
1019 if (page.last_page && ((i == jq->job_params.num_copies - 1) || in _job_thread()
1023 jq->job_params.last_page = page.last_page; in _job_thread()
1028 if (strlen(page.filename) > 0) { in _job_thread()
1033 if (page.pdf_page) { in _job_thread()
1034 jq->job_params.page_num = page.page_num; in _job_thread()
1040 jq->job_params.print_top_margin += page.top_margin; in _job_thread()
1041 jq->job_params.print_left_margin += page.left_margin; in _job_thread()
1042 jq->job_params.print_right_margin += page.right_margin; in _job_thread()
[all …]
DwprintJNI.c1323 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/
DPdfRenderService.java73 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()
DIPdfRender.aidl36 SizeD getPageSize(int page); in getPageSize() argument
48 ParcelFileDescriptor renderPageStripe(int page, int y, int width, int height, in renderPageStripe() argument
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java352 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java352 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/
DPagedView.java279 private int ensureWithinScrollBounds(int page) { in ensureWithinScrollBounds() argument
281 int currScroll = getScrollForPage(page); in ensureWithinScrollBounds()
284 page += dir; in ensureWithinScrollBounds()
286 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()
293 page -= dir; in ensureWithinScrollBounds()
295 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()
301 return page; in ensureWithinScrollBounds()
722 int page = indexToPage(indexOfChild(child)); in requestChildRectangleOnScreen() local
723 if (page != mCurrentPage || !mScroller.isFinished()) { in requestChildRectangleOnScreen()
725 setCurrentPage(page); in requestChildRectangleOnScreen()
[all …]
DWorkspace.java320 CellLayout page = mWorkspaceScreens.valueAt(i); in setInsets() local
321 page.setRotationMode(rotationMode); in setInsets()
322 page.setPadding(paddingLeftRight, 0, paddingLeftRight, paddingBottom); in setInsets()
417 CellLayout page = (CellLayout) getPageAt(pageIndex); in onDragStart() local
418 if (page.hasReorderSolution(dragObject.dragInfo)) { in onDragStart()
1425 private void updateAccessibilityFlags(int accessibilityFlag, CellLayout page) { in updateAccessibilityFlags() argument
1426 page.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO); in updateAccessibilityFlags()
1427 page.getShortcutsAndWidgets().setImportantForAccessibility(accessibilityFlag); in updateAccessibilityFlags()
1428 page.setContentDescription(null); in updateAccessibilityFlags()
1429 page.setAccessibilityDelegate(null); in updateAccessibilityFlags()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DPdfRender.java126 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/
Dpdf_render.c60 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()
Dplugin_pcl.c64 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()
Dwprint_mupdf.c54 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()
Dwprint_mupdf.h43 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/
DBasePreviewAdapter.java77 T page = mPages.get(position); in instantiateItem() local
79 page.setCard(card); in instantiateItem()
80 page.bindPreviewContent(); in instantiateItem()
85 return page; in instantiateItem()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DSpringLoadedDragController.java59 int page = w.indexOfChild(mScreen); in onAlarm() local
60 if (page != w.getCurrentPage()) { in onAlarm()
61 w.snapToPage(page); in onAlarm()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DViewGroupFocusHelper.java59 PagedView page = (PagedView) parent; in computeLocationRelativeToContainer() local
60 outRect.left -= page.getScrollForPage(page.indexOfChild(child)); in computeLocationRelativeToContainer()
/packages/apps/SettingsIntelligence/proto/
Dsettings_intelligence_log.proto25 // Opens search page
28 // Leaves search page
49 // Leaves search page without entering any query
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeFragment.java515 for (ThemePreviewPage page : mPages) { in rebindWallpaperIfAvailable()
516 if (page.containsWallpaper()) { in rebindWallpaperIfAvailable()
517 page.bindBody(true); in rebindWallpaperIfAvailable()
523 for (ThemePreviewPage page : mPages) { in updateTime()
524 if (page instanceof TimeContainer) { in updateTime()
525 ((TimeContainer)page).updateTime(); in updateTime()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.java434 final int page = mViewPager.getCurrentItem(); in updatePageIndicators() local
438 final int[] states = computePageIndicatorStates(page, pageIndicatorCount, pageCount); in updatePageIndicators()
459 static int[] computePageIndicatorStates(int page, int pageIndicatorCount, int pageCount) { in computePageIndicatorStates() argument
464 int rangeStart = page - (rangeSize / 2); in computePageIndicatorStates()
502 states[page - rangeStart] = R.drawable.ic_swipe_circle_light; in computePageIndicatorStates()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java782 final public void startScroll(int dx, int dy, boolean easeFling, int duration, boolean page) { in startScroll() argument
820 duration = getScrollDuration((int) Math.sqrt(dx * dx + dy * dy), page); in startScroll()
839 int duration, boolean page) { in startScrollByMain() argument
848 startScroll(dx, dy, easeFling, duration, page); in startScrollByMain()

123