Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DAppsCustomizePagedView.java75 page = p; in AsyncTaskPageData()
95 int page; field in AsyncTaskPageData
111 page = p; in AppsCustomizeAsyncTask()
137 int page; field in AppsCustomizeAsyncTask
356 int page = getPageForComponent(mSaveInstanceStateItemIndex); in onDataReady() local
357 invalidatePageData(Math.max(0, page), hostIsTransitioning); in onDataReady()
864 mDirtyPageContent.set(task.page, true); in cancelAllTasks()
867 View v = getPageAt(task.page); in cancelAllTasks()
879 int page = (mContentType != type) ? 0 : getCurrentPage(); in setContentType() local
881 invalidatePageData(page, true); in setContentType()
[all …]
DPagedView.java792 public void addFullScreenPage(View page) { in addFullScreenPage() argument
795 super.addView(page, 0, lp); in addFullScreenPage()
1237 int page = indexToPage(indexOfChild(child)); in requestChildRectangleOnScreen() local
1238 if (page != mCurrentPage || !mScroller.isFinished()) { in requestChildRectangleOnScreen()
1239 snapToPage(page); in requestChildRectangleOnScreen()
1538 protected float getBoundedScrollProgress(int screenCenter, View v, int page) { in getBoundedScrollProgress() argument
1544 return getScrollProgress(screenCenter, v, page); in getBoundedScrollProgress()
1547 protected float getScrollProgress(int screenCenter, View v, int page) { in getScrollProgress() argument
1550 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress()
1555 int adjacentPage = page + 1; in getScrollProgress()
[all …]
DLauncher.java1944 for (int page: mSynchronouslyBoundPages) { in onRestoreInstanceState()
1945 mWorkspace.restoreInstanceStateForChild(page); in onRestoreInstanceState()
3250 final View page = content.getPageAt(content.getCurrentPage()); in showAppsCustomizeHelper() local
3308 if (page != null) { in showAppsCustomizeHelper()
3309 page.setVisibility(View.VISIBLE); in showAppsCustomizeHelper()
3310 page.setLayerType(View.LAYER_TYPE_HARDWARE, null); in showAppsCustomizeHelper()
3311 layerViews.add(page); in showAppsCustomizeHelper()
3313 ObjectAnimator pageDrift = ObjectAnimator.ofFloat(page, "translationY", yDrift, 0); in showAppsCustomizeHelper()
3314 page.setTranslationY(yDrift); in showAppsCustomizeHelper()
3320 page.setAlpha(0f); in showAppsCustomizeHelper()
[all …]
DSpringLoadedDragController.java54 int page = w.indexOfChild(mScreen); in onAlarm() local
55 if (page != w.getCurrentPage()) { in onAlarm()
56 w.snapToPage(page); in onAlarm()
DFocusHelper.java76 ViewGroup page = (ViewGroup) ((PagedView) container).getPageAt(index); in getAppsCustomizePage() local
77 if (page instanceof CellLayout) { in getAppsCustomizePage()
79 page = ((CellLayout) page).getShortcutsAndWidgets(); in getAppsCustomizePage()
81 return page; in getAppsCustomizePage()
DDragLayer.java913 int page = workspace.getNextPage(); in drawPageHints() local
915 CellLayout leftPage = (CellLayout) workspace.getChildAt(isRtl ? page + 1 : page - 1); in drawPageHints()
916 CellLayout rightPage = (CellLayout) workspace.getChildAt(isRtl ? page - 1 : page + 1); in drawPageHints()
DWorkspace.java4483 final int page = getNextPage() +
4488 if (0 <= page && page < getChildCount()) {
4490 if (getScreenIdForPageIndex(page) == CUSTOM_CONTENT_SCREEN_ID) {
4494 CellLayout layout = (CellLayout) getChildAt(page);
5036 private void moveToScreen(int page, boolean animate) {
5039 snapToPage(page);
5041 setCurrentPage(page);
5044 View child = getChildAt(page);
5089 public void syncPageItems(int page, boolean immediate) {
5098 int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java82 page = p; in AsyncTaskPageData()
102 int page; field in AsyncTaskPageData
118 page = p; in AppsCustomizeAsyncTask()
144 int page; field in AppsCustomizeAsyncTask
402 int page = getPageForComponent(mSaveInstanceStateItemIndex); in onDataReady() local
403 invalidatePageData(Math.max(0, page), hostIsTransitioning); in onDataReady()
936 mDirtyPageContent.set(task.page, true); in cancelAllTasks()
939 View v = getPageAt(task.page); in cancelAllTasks()
964 int pageIndex = task.page; in snapToPage()
1017 public void syncAppsPageItems(int page, boolean immediate) { in syncAppsPageItems() argument
[all …]
DPagedView.java600 View page = (View) getPageAt(i); in scrollToNewPageWithoutMovingPages() local
601 page.setX(page.getX() + delta); in scrollToNewPageWithoutMovingPages()
862 int page = indexToPage(indexOfChild(child)); in requestChildRectangleOnScreen() local
863 if (page != mCurrentPage || !mScroller.isFinished()) { in requestChildRectangleOnScreen()
864 snapToPage(page); in requestChildRectangleOnScreen()
1141 protected float getScrollProgress(int screenCenter, View v, int page) { in getScrollProgress() argument
1145 int delta = screenCenter - (getChildOffset(page) - in getScrollProgress()
1146 getRelativeChildOffset(page) + halfScreenSize); in getScrollProgress()
1442 int page = indexToPage(indexOfChild(child)); in requestChildFocus() local
1443 if (page >= 0 && page != getCurrentPage() && !isInTouchMode()) { in requestChildFocus()
[all …]
DWorkspace.java586 final View page = getChildAt(index); in hitsPage() local
587 if (page != null) { in hitsPage()
589 mapPointFromSelfToChild(page, localXY); in hitsPage()
590 return (localXY[0] >= 0 && localXY[0] < page.getWidth() in hitsPage()
591 && localXY[1] >= 0 && localXY[1] < page.getHeight()); in hitsPage()
956 private void computeWallpaperScrollRatio(int page) { in computeWallpaperScrollRatio() argument
961 int scaled = getChildOffset(page) - getRelativeChildOffset(page); in computeWallpaperScrollRatio()
963 float unscaled = getChildOffset(page) - getRelativeChildOffset(page); in computeWallpaperScrollRatio()
3510 final int page = getNextPage() +
3516 if (0 <= page && page < getChildCount()) {
[all …]
DSpringLoadedDragController.java54 int page = w.indexOfChild(mScreen); in onAlarm() local
55 if (page != w.getCurrentPage()) { in onAlarm()
56 w.snapToPage(page); in onAlarm()
DDragLayer.java788 int page = workspace.getNextPage(); in dispatchDraw() local
790 CellLayout leftPage = (CellLayout) workspace.getChildAt(isRtl ? page + 1 : page - 1); in dispatchDraw()
791 CellLayout rightPage = (CellLayout) workspace.getChildAt(isRtl ? page - 1 : page + 1); in dispatchDraw()
DFocusHelper.java122 ViewGroup page = (ViewGroup) ((PagedView) container).getPageAt(index); in getAppsCustomizePage() local
123 if (page instanceof PagedViewCellLayout) { in getAppsCustomizePage()
125 page = (ViewGroup) page.getChildAt(0); in getAppsCustomizePage()
127 return page; in getAppsCustomizePage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/
DMultiPagedForm.java91 public void onBundlePageResult(FormPage page, Bundle bundleResults) { in onBundlePageResult() argument
93 page.complete(bundleResults); in onBundlePageResult()
98 if (!onPageComplete(page)) { in onBundlePageResult()
127 FormPage page = (FormPage) currentLocation; in onActivityResult() local
136 onBundlePageResult(page, results); in onActivityResult()
403 FormPage page = (FormPage) currentLocation; in displayCurrentStep() local
404 if (page.getType() == FormPage.Type.INTENT) { in displayCurrentStep()
405 startActivityForResult(page.getIntent(), INTENT_FORM_PAGE_DATA_REQUEST); in displayCurrentStep()
407 displayPage(page, this, forward); in displayCurrentStep()
539 private void handleStringPageResult(FormPage page, String stringResults) { in handleStringPageResult() argument
[all …]
/packages/apps/Exchange/src/com/android/exchange/adapter/
DSerializer.java123 final int page = mPendingTag >> Tags.PAGE_SHIFT; in checkPendingTag() local
125 if (page != mTagPage) { in checkPendingTag()
126 mTagPage = page; in checkPendingTag()
128 mOutput.write(page); in checkPendingTag()
133 if (!Tags.isValidPage(page)) { in checkPendingTag()
134 log("Unrecognized page " + page); in checkPendingTag()
135 } else if (!Tags.isValidTag(page, tag)) { in checkPendingTag()
136 log("Unknown tag " + tag + " on page " + page); in checkPendingTag()
138 name = Tags.getTagName(page, tag); in checkPendingTag()
DParser.java92 public Tag(final int page, final int id) { in Tag() argument
93 mPage = page; in Tag()
129 private int page; field in Parser
435 page = id >>> Tags.PAGE_SHIFT; in pushTag()
446 startTag = new Tag(page, id); in push()
475 page = readByte(); in getNext()
477 if (!Tags.isValidPage(page)) { in getNext()
480 throw new EasParserException("Unknown code page " + page); in getNext()
482 logVerbose("Page: " + page); in getNext()
DTags.java733 public static boolean isValidPage(final int page) { in isValidPage() argument
734 return page >= 0 && page < mPages.length; in isValidPage()
737 public static boolean isValidTag(final int page, final int tag) { in isValidTag() argument
739 return isValidPage(page) && tagIndex >= 0 && tagIndex < mPages[page].length; in isValidTag()
746 public static String getTagName(final int page, final int tag) { in getTagName() argument
747 return mPages[page][tag - TAG_BASE]; in getTagName()
/packages/experimental/PrintApp/src/foo/bar/print/
DPrintActivity.java187 Page page = mPdfDocument.startPage(i); in printView()
193 page.getCanvas().scale(scale, scale); in printView()
194 view.draw(page.getCanvas()); in printView()
195 mPdfDocument.finishPage(page); in printView()
264 private boolean containsPage(PageRange[] pageRanges, int page) { in printView()
267 if (pageRanges[i].getStart() <= page in printView()
268 && pageRanges[i].getEnd() >= page) { in printView()
/packages/apps/Browser/src/com/android/browser/
DEventLogTags.logtags10 # This event is logged after a page has finished loading. It is sending back the page url,
11 # and how long it took to load the page. Could maybe also tell the kind of connection (2g, 3g, WiFi…
14 …is event is logged when the user navigates to a new page, sending the time spent on the current pa…
/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()
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile175 # a new page for each member. If set to NO, the documentation of a member will
496 # Set the SHOW_FILES tag to NO to disable the generation of the Files page.
503 # Namespaces page. This will remove the Namespaces entry from the Quick Index
815 # each generated HTML page (for example: .htm,.php,.asp). If it is left blank
821 # each generated HTML page. If it is left blank doxygen will generate a
827 # each generated HTML page. If it is left blank doxygen will generate a
833 # style sheet that is used by each HTML page. It can be used to
849 # page has loaded. For this to work a browser that supports
975 # top of each HTML page. The value NO (the default) enables the index and
1075 # contain links (just like the HTML output) instead of page references
[all …]
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile175 # a new page for each member. If set to NO, the documentation of a member will
496 # Set the SHOW_FILES tag to NO to disable the generation of the Files page.
503 # Namespaces page. This will remove the Namespaces entry from the Quick Index
815 # each generated HTML page (for example: .htm,.php,.asp). If it is left blank
821 # each generated HTML page. If it is left blank doxygen will generate a
827 # each generated HTML page. If it is left blank doxygen will generate a
833 # style sheet that is used by each HTML page. It can be used to
849 # page has loaded. For this to work a browser that supports
975 # top of each HTML page. The value NO (the default) enables the index and
1075 # contain links (just like the HTML output) instead of page references
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile175 # a new page for each member. If set to NO, the documentation of a member will
496 # Set the SHOW_FILES tag to NO to disable the generation of the Files page.
503 # Namespaces page. This will remove the Namespaces entry from the Quick Index
815 # each generated HTML page (for example: .htm,.php,.asp). If it is left blank
821 # each generated HTML page. If it is left blank doxygen will generate a
827 # each generated HTML page. If it is left blank doxygen will generate a
833 # style sheet that is used by each HTML page. It can be used to
849 # page has loaded. For this to work a browser that supports
975 # top of each HTML page. The value NO (the default) enables the index and
1075 # contain links (just like the HTML output) instead of page references
[all …]
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile175 # a new page for each member. If set to NO, the documentation of a member will
496 # Set the SHOW_FILES tag to NO to disable the generation of the Files page.
503 # Namespaces page. This will remove the Namespaces entry from the Quick Index
815 # each generated HTML page (for example: .htm,.php,.asp). If it is left blank
821 # each generated HTML page. If it is left blank doxygen will generate a
827 # each generated HTML page. If it is left blank doxygen will generate a
833 # style sheet that is used by each HTML page. It can be used to
849 # page has loaded. For this to work a browser that supports
975 # top of each HTML page. The value NO (the default) enables the index and
1075 # contain links (just like the HTML output) instead of page references
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DTosWebViewFragment.java115 public static TosWebViewFragment newInstance(String page) { in newInstance() argument
118 args.putString(ARGUMENT_CONTENT_STRING, page); in newInstance()

12