Searched defs:page (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/
H A DPageAndListRowActivity.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
H A DSettingsIconPresenter.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
H A DCustomTitleView.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
H A DGridFragment.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
H A DPageAndListRowFragment.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
162 * Simple page fragment implementation.
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/
H A DPageAndListRowActivity.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
H A DSettingsIconPresenter.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
H A DCustomTitleView.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
H A DGridFragment.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
H A DPageAndListRowFragment.java15 package android.support.v17.leanback.supportleanbackshowcase.app.page;
162 * Simple page fragment implementation.
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewPagerActions.java33 * Moves <code>ViewPager</code> to the right by one page.
44 return "ViewPager scroll one page to the right";
61 * Moves <code>ViewPager</code> to the left by one page.
72 return "ViewPager scroll one page to the left";
89 * Moves <code>ViewPager</code> to the last page.
100 return "ViewPager scroll to last page";
119 * Moves <code>ViewPager</code> to the first page.
130 return "ViewPager scroll to first page";
149 * Moves <code>ViewPager</code> to specific page.
151 public static ViewAction scrollToPage(final int page) { argument
[all...]
/frameworks/support/core-ui/tests/java/android/support/v4/view/
H A DViewPagerActions.java167 * Moves <code>ViewPager</code> to the right by one page.
178 return "ViewPager move one page to the right";
195 * Moves <code>ViewPager</code> to the left by one page.
206 return "ViewPager move one page to the left";
223 * Moves <code>ViewPager</code> to the last page.
234 return "ViewPager move to last page";
253 * Moves <code>ViewPager</code> to the first page.
264 return "ViewPager move to first page";
283 * Moves <code>ViewPager</code> to specific page.
285 public static ViewAction scrollToPage(final int page, fina argument
[all...]
H A DBaseViewPagerTest.java243 public View getButton(int page, int idx) { argument
244 return mButtons.get(page)[idx];
284 // Try "scrolling" beyond the last page and test that we're still on the last page.
286 assertEquals("Scroll right beyond last page", 2, mViewPager.getCurrentItem());
287 // We're still on this page, so we shouldn't have been called again with index 2
300 // Try "scrolling" beyond the first page and test that we're still on the first page.
302 assertEquals("Scroll left beyond first page", 0, mViewPager.getCurrentItem());
303 // We're still on this page, s
[all...]
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp71 PageRecord* page = new PageRecord(width, height, contentRect); local
72 mPages.push_back(page);
73 mCurrentPage = page;
75 SkCanvas* canvas = page->mPictureRecorder->beginRecording(
94 PageRecord* page = mPages[i]; local
96 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight,
97 &(page->mContentRect));
101 toSRGBCanvas->drawPicture(page->mPicture);
H A DPdfRenderer.cpp47 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local
48 if (!page) {
50 "cannot load page");
61 "cannot get page size");
69 return reinterpret_cast<jlong>(page);
73 FPDF_PAGE page = reinterpret_cast<FPDF_PAGE>(pagePtr); local
74 FPDF_ClosePage(page);
81 FPDF_PAGE page = reinterpret_cast<FPDF_PAGE>(pagePtr); local
108 SkMatrix moveUp = SkMatrix::MakeTrans(0, FPDF_GetPageHeight(page));
133 FPDF_RenderPageBitmapWithMatrix(bitmap, page,
[all...]
H A DPdfEditor.cpp120 FPDF_PAGE* page = (FPDF_PAGE*) FPDF_LoadPage(document, pageIndex); local
121 if (!page) {
123 "cannot open page");
134 "cannot get page size");
139 FPDF_ClosePage(page);
146 SkMatrix moveUp = SkMatrix::MakeTrans(0, FPDF_GetPageHeight(page));
158 FPDF_ClosePage(page);
172 FPDFPage_TransFormWithClip(page, &transform, &clip);
175 FPDF_ClosePage(page);
179 FPDF_ClosePage(page);
187 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local
221 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local
276 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local
[all...]
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java35 * create a new document and then for every page you want to add you start a page,
36 * write content to the page, and finish the page. After you are done with all
39 * created one by one, i.e. you can have only a single page to which you are
49 * // crate a page description
52 * // start a page
53 * Page page = document.startPage(pageInfo);
55 * // draw something on the page
57 * content.draw(page
139 finishPage(Page page) argument
[all...]
/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp34 // The ideal size of a page allocation (these need to be multiples of 8)
38 // The maximum amount of wasted space we can have per page
39 // Allocations exceeding this will have their own dedicated page
174 // Allocation is too large, create a dedicated page for the allocation
175 Page* page = newPage(size); local
177 page->setNext(mPages);
178 mPages = page;
181 return start(page);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DBrowseFragment.java59 // The number of media items per page.
80 int page = options.getInt(MediaBrowserCompat.EXTRA_PAGE, -1);
82 if (page < 0 || pageSize != PAGE_SIZE || children == null
87 int itemIndex = page * PAGE_SIZE;
92 // An additional page is loaded.
95 // An existing page is replaced by the newly loaded page.
105 // If the newly loaded page contains less than {PAGE_SIZE} items,
106 // then this page should be the last page
243 loadPage(int page) argument
[all...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DBrowseFragment.java59 // The number of media items per page.
80 int page = options.getInt(MediaBrowserCompat.EXTRA_PAGE, -1);
82 if (page < 0 || pageSize != PAGE_SIZE || children == null
87 int itemIndex = page * PAGE_SIZE;
92 // An additional page is loaded.
95 // An existing page is replaced by the newly loaded page.
105 // If the newly loaded page contains less than {PAGE_SIZE} items,
106 // then this page should be the last page
243 loadPage(int page) argument
[all...]
/frameworks/av/media/libstagefright/
H A DNuCachedSource2.cpp43 void releasePage(Page *page);
45 void appendPage(Page *page);
79 Page *page = *it; local
81 free(page->mData);
82 delete page;
83 page = NULL;
92 Page *page = *it; local
95 return page;
98 Page *page = new Page; local
99 page
105 releasePage(Page *page) argument
110 appendPage(Page *page) argument
121 Page *page = *it; local
360 PageCache::Page *page = mCache->acquirePage(); local
[all...]
H A DOggExtractor.cpp132 ssize_t readPage(off64_t offset, Page *page);
355 // Given the offset of the "current" page, find the page immediately preceding
357 // To do this we back up from the "current" page's offset until we find any
358 // page preceding it and then scan forward to just before the current page.
376 // We are at the last page and didn't back off enough;
389 // We did not find a page preceding this one.
475 // We found the page we wanted to seek to, but we'll also need
476 // the page precedin
494 readPage(off64_t offset, Page *page) argument
872 Page page; local
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPageAdapter.java303 View page;
306 page = mLayoutInflater.inflate(R.layout.preview_page_selected, parent, false);
308 page = mLayoutInflater.inflate(R.layout.preview_page, parent, false);
311 return new MyViewHolder(page);
323 PreviewPageFrame page = (PreviewPageFrame) holder.itemView;
324 page.setOnClickListener(mPageClickListener);
326 page.setTag(holder);
333 PageContentView content = (PageContentView) page.findViewById(R.id.page_content);
358 page.setSelected(true);
360 page
790 recyclePageView(PageContentView page, int pageIndexInAdapter) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java174 Log.i(LOG_TAG, "Acquiring provider for page: " + pageIndex);
184 Log.i(LOG_TAG, "Releasing provider for page: " + provider.mPageIndex);
285 RenderedPage page = mRenderedPages.remove(pageIndex);
286 if (page != null) {
287 mSizeInBytes -= page.getSizeInBytes();
289 return page;
296 throw new IllegalStateException("Wrong page size");
320 // First try to remove a rendered page that holds invalidated
398 public boolean hasSameSize(RenderedPage page) { argument
399 Bitmap bitmap = page
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java117 private int mCurItem; // Index of currently displayed page.
207 * Indicates that the pager is in an idle, settled state. The current page
232 * Callback interface for responding to changing state of the selected page.
237 * This method will be invoked when the current page is scrolled, either as part
240 * @param position Position index of the first page currently being displayed.
242 * @param positionOffset Value from [0, 1) indicating the offset from the page at position.
248 * This method will be invoked when a new page becomes selected. Animation is not
251 * @param position Position index of the new selected page.
257 * begins dragging, when the pager is automatically settling to the current page,
291 * A PageTransformer is invoked whenever a visible/attached page i
308 transformPage(View page, float position) argument
[all...]

Completed in 1442 milliseconds

12