Searched refs:page (Results 1 - 10 of 10) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewPager.java77 // Set the page transformer to perform the transition animation
78 // for each page in the view.
81 public void transformPage(View page, float position) {
83 // The >= 1 is needed so that the page
84 // (page A) that transitions behind the newly visible
85 // page (page B) that comes in from the left does not
87 // (page A is still technically on screen despite being
92 page.setTranslationX(0);
93 page
[all...]
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java34 * open a new document and then for every page you want to add you start a page,
35 * write content to the page, and finish the page. After you are done with all
38 * created one by one, i.e. you can have only a single page to which you are
48 * // crate a page description
51 * // start a page
52 * Page page = document.startPage(pageInfo);
54 * // draw something on the page
56 * content.draw(page
132 finishPage(Page page) argument
235 nativeAppendPage(int document, int 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/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp55 SkCanvas* page = reinterpret_cast<SkCanvas*>(pagePtr); local
57 SkPDFDevice* device = static_cast<SkPDFDevice*>(page->getDevice());
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java171 Page page = pdfDocument.startPage(1);
173 RectF content = new RectF(page.getInfo().getContentRect());
176 // Compute and apply scale to fill the page.
193 page.getCanvas().drawBitmap(bitmap, matrix, null);
195 // Finish the page.
196 pdfDocument.finishPage(page);
/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
413 * Returns the index of the currently displayed page.
415 * @return The index of the currently displayed page.
438 * Updates the scroll of the current page immediatel
1285 getBoundedScrollProgress(int screenCenter, View v, int page) argument
1294 getScrollProgress(int screenCenter, View v, int page) argument
[all...]
H A DKeyguardWidgetPager.java251 View page = getPageAt(mPage);
252 if (page instanceof ViewGroup) {
253 ViewGroup vg = (ViewGroup) page;
308 // pages (e.g. the "add widget" page)
670 // that the widget on the current page is small.
867 // Bump up the current page to account for the addition of the new page
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css924 h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
926 .memitem { page-break-inside: avoid; }
/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...]

Completed in 4503 milliseconds