/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewPager.java | 77 // 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/core/jni/android/graphics/pdf/ |
H A D | PdfDocument.cpp | 69 PageRecord* page = new PageRecord(width, height, contentRect); local 70 mPages.push_back(page); 71 mCurrentPage = page; 73 SkCanvas* canvas = page->mPictureRecorder->beginRecording( 97 PageRecord* page = mPages[i]; local 99 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, 100 &(page->mContentRect)); 102 canvas->clipRect(page->mContentRect); 103 canvas->translate(page [all...] |
H A D | PdfEditor.cpp | 177 CPDF_Page* page = (CPDF_Page*) FPDF_LoadPage(document, pageIndex); local 178 if (!page) { 180 "cannot open page"); 190 "cannot get page size"); 203 matrix.Set(1, 0, 0, -1, 0, page->GetPageHeight()); 211 matrix.Concat(1, 0, 0, -1, 0, page->GetPageHeight()); 216 FPDFPage_TransFormWithClip(page, &transform, &clip); 218 FPDF_ClosePage(page); 225 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local 226 if (!page) { 258 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local 306 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local [all...] |
H A D | PdfRenderer.cpp | 107 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local 109 if (!page) { 111 "cannot load page"); 122 "cannot get page size"); 129 return reinterpret_cast<jlong>(page); 133 FPDF_PAGE page = reinterpret_cast<FPDF_PAGE>(pagePtr); local 134 FPDF_ClosePage(page); 157 static void renderPageBitmap(FPDF_BITMAP bitmap, FPDF_PAGE page, int destLeft, int destTop, argument 166 CPDF_Page* pPage = (CPDF_Page*) page; 241 FPDF_PAGE page local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 43 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 349 PageCache::Page *page = mCache->acquirePage(); local [all...] |
H A D | OggExtractor.cpp | 121 ssize_t readPage(off64_t offset, Page *page); 263 // Given the offset of the "current" page, find the page immediately preceding 265 // To do this we back up from the "current" page's offset until we find any 266 // page preceding it and then scan forward to just before the current page. 293 // We did not find a page preceding this one. 370 // We found the page we wanted to seek to, but we'll also need 371 // the page preceding it to determine how many valid samples are on 372 // this page 389 readPage(off64_t offset, Page *page) argument 664 Page page; local [all...] |
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 35 * 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/minikin/libs/minikin/ |
H A D | SparseBitSet.cpp | 131 for (uint32_t page = fromPage + 1; page < maxPage; page++) { 132 uint32_t index = mIndices[page]; 140 return (page << kLogValuesPerPage) + (j << kLogBitsPerEl) + CountLeadingZeros(e);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PageAdapter.java | 285 View page = mLayoutInflater.inflate(R.layout.preview_page, parent, false); 286 return new MyViewHolder(page); 298 PreviewPageFrame page = (PreviewPageFrame) holder.itemView; 299 page.setOnClickListener(mPageClickListener); 301 page.setTag(holder); 308 PageContentView content = (PageContentView) page.findViewById(R.id.page_content); 333 page.setSelected(true, false); 335 page.setSelected(false, false); 338 page.setContentDescription(mContext.getString(R.string.page_description_template, 341 TextView pageNumberView = (TextView) page 733 recyclePageView(PageContentView page, int pageIndexInAdapter) argument [all...] |
/frameworks/support/v4/kitkat/android/support/v4/print/ |
H A D | PrintHelperKitkat.java | 134 * @param orientation The page orientation which is one of 142 * Gets the page orientation with which the image will be printed. 212 Page page = pdfDocument.startPage(1); 214 RectF content = new RectF(page.getInfo().getContentRect()); 220 page.getCanvas().drawBitmap(bitmap, matrix, null); 222 // Finish the page. 223 pdfDocument.finishPage(page); 261 * Calculates the transform the print an Image to fill the page 265 * @param content The output page dimensions 272 // Compute and apply scale to fill the page [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 111 PdfRenderer.Page page = mRenderer.openPage(pageIndex); 113 final int srcWidthPts = page.getWidth(); 114 final int srcHeightPts = page.getHeight(); 158 Log.i(LOG_TAG, "Rendering page:" + pageIndex); 162 page.render(bitmap, clip, matrix, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY); 164 page.close();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PageContentRepository.java | 154 Log.i(LOG_TAG, "Acquiring provider for page: " + pageIndex); 164 Log.i(LOG_TAG, "Releasing provider for page: " + provider.mPageIndex); 264 RenderedPage page = mRenderedPages.remove(pageIndex); 265 if (page != null) { 266 mSizeInBytes -= page.getSizeInBytes(); 268 return page; 275 throw new IllegalStateException("Wrong page size"); 299 // First try to remove a rendered page that holds invalidated 377 public boolean hasSameSize(RenderedPage page) { argument 378 Bitmap bitmap = page [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | PagedView.java | 65 // the min drag distance for a fling to register, to prevent random page shifts 76 // The page is moved more than halfway, automatically move to the next page on touch up. 175 // to switch to a new page 221 // The runnable that settles the page after snapToPage and animateDragViewToOriginalPosition 255 private int mPageSwapIndex = -1; // the page we swapped out if needed 256 private int mPageWarpIndex = -1; // the page we intend to warp 408 * Returns the index of the currently displayed page. 410 * @return The index of the currently displayed page. 433 * Updates the scroll of the current page immediatel 1296 getBoundedScrollProgress(int screenCenter, View v, int page) argument 1305 getScrollProgress(int screenCenter, View v, int page) argument [all...] |
H A D | KeyguardWidgetPager.java | 197 // if we're moving to the warp page, then immediately hide the other widgets. 253 View page = getPageAt(mPage); 254 if (page instanceof ViewGroup) { 255 ViewGroup vg = (ViewGroup) page; 310 // pages (e.g. the "add widget" page) 672 // that the widget on the current page is small. 869 // Bump up the current page to account for the addition of the new page
|
/frameworks/base/docs/html/reference/renderscript/ |
H A D | doxygen.css | 924 h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } 926 .memitem { page-break-inside: avoid; }
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 2523 * Add an additional page of content to display with this notification. The current 2524 * notification forms the first page, and pages added using this function form 2528 * @param page the notification to add as another page 2532 public WearableExtender addPage(Notification page) { argument 2533 mPages.add(page); 2539 * notification forms the first page, and pages added using this function form 2564 * current notification forms the first page, and elements within this array form 2642 * from the child page's notification. 2644 * @param actionIndex The index of the action to hoist onto the current notification page [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 4714 * Add an additional page of content to display with this notification. The current 4715 * notification forms the first page, and pages added using this function form 4719 * @param page the notification to add as another page 4723 public WearableExtender addPage(Notification page) { argument 4724 mPages.add(page); 4730 * notification forms the first page, and pages added using this function form 4755 * current notification forms the first page, and elements within this array form 4833 * from the child page's notification. 4835 * @param actionIndex The index of the action to hoist onto the current notification page [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 70 * which is a convenient way to supply and manage the lifecycle of each page. 141 private int mCurItem; // Index of currently displayed page. 231 * Indicates that the pager is in an idle, settled state. The current page 256 * Callback interface for responding to changing state of the selected page. 261 * This method will be invoked when the current page is scrolled, either as part 264 * @param position Position index of the first page currently being displayed. 266 * @param positionOffset Value from [0, 1) indicating the offset from the page at position. 272 * This method will be invoked when a new page becomes selected. Animation is not 275 * @param position Position index of the new selected page. 281 * begins dragging, when the pager is automatically settling to the current page, 332 transformPage(View page, float position) argument [all...] |