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

/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp61 PageRecord* page = new PageRecord(width, height, contentRect); local
62 mPages.push_back(page);
63 mCurrentPage = page;
65 SkCanvas* canvas = page->mPicture->beginRecording(
85 PageRecord* page = mPages[i]; local
87 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight,
88 &(page->mContentRect));
90 canvas->clipRect(page->mContentRect);
91 canvas->translate(page
[all...]
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java35 * open 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/av/media/libstagefright/
H A DNuCachedSource2.cpp41 void releasePage(Page *page);
43 void appendPage(Page *page);
77 Page *page = *it; local
79 free(page->mData);
80 delete page;
81 page = NULL;
90 Page *page = *it; local
93 return page;
96 Page *page = new Page; local
97 page
103 releasePage(Page *page) argument
108 appendPage(Page *page) argument
119 Page *page = *it; local
314 PageCache::Page *page = mCache->acquirePage(); local
[all...]
H A DOggExtractor.cpp118 ssize_t readPage(off64_t offset, Page *page);
258 // Given the offset of the "current" page, find the page immediately preceding
260 // To do this we back up from the "current" page's offset until we find any
261 // page preceding it and then scan forward to just before the current page.
288 // We did not find a page preceding this one.
361 // We found the page we wanted to seek to, but we'll also need
362 // the page preceding it to determine how many valid samples are on
363 // this page
379 readPage(off64_t offset, Page *page) argument
648 Page page; local
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java69 * which is a convenient way to supply and manage the lifecycle of each page.
136 private int mCurItem; // Index of currently displayed page.
226 * Indicates that the pager is in an idle, settled state. The current page
251 * Callback interface for responding to changing state of the selected page.
256 * This method will be invoked when the current page is scrolled, either as part
259 * @param position Position index of the first page currently being displayed.
261 * @param positionOffset Value from [0, 1) indicating the offset from the page at position.
267 * This method will be invoked when a new page becomes selected. Animation is not
270 * @param position Position index of the new selected page.
276 * begins dragging, when the pager is automatically settling to the current page,
327 transformPage(View page, float position) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPagedView.java73 // the min drag distance for a fling to register, to prevent random page shifts
84 // The page is moved more than halfway, automatically move to the next page on touch up.
183 // to switch to a new page
229 // The runnable that settles the page after snapToPage and animateDragViewToOriginalPosition
263 private int mPageSwapIndex = -1; // the page we swapped out if needed
264 private int mPageWarpIndex = -1; // the page we intend to warp
415 * Returns the index of the currently displayed page.
417 * @return The index of the currently displayed page.
440 * Updates the scroll of the current page immediatel
1303 getBoundedScrollProgress(int screenCenter, View v, int page) argument
1312 getScrollProgress(int screenCenter, View v, int page) argument
[all...]

Completed in 488 milliseconds