Searched refs:page (Results 1 - 8 of 8) 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/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/native/libs/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
167 // Allocation is too large, create a dedicated page for the allocation
168 Page* page = newPage(size); local
170 page->setNext(mPages);
171 mPages = page;
174 return start(page);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java69 // the min drag distance for a fling to register, to prevent random page shifts
80 // The page is moved more than halfway, automatically move to the next page on touch up.
176 // to switch to a new page
222 // The runnable that settles the page after snapToPage and animateDragViewToOriginalPosition
397 * Returns the index of the currently displayed page.
399 * @return The index of the currently displayed page.
422 * Updates the scroll of the current page immediately to its final scroll position. We use this
424 * the previous tab page.
436 * Sets the current page
1213 getBoundedScrollProgress(int screenCenter, View v, int page) argument
1222 getScrollProgress(int screenCenter, View v, int page) argument
[all...]
H A DKeyguardWidgetPager.java238 View page = getPageAt(mPage);
239 if (page instanceof ViewGroup) {
240 ViewGroup vg = (ViewGroup) page;
295 // pages (e.g. the "add widget" page)
654 // that the widget on the current page is small.
851 // 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 846 milliseconds