/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 | 70 PageRecord* page = new PageRecord(width, height, contentRect); local 71 mPages.push_back(page); 72 mCurrentPage = page; 74 SkCanvas* canvas = page->mPictureRecorder->beginRecording( 93 PageRecord* page = mPages[i]; local 95 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, 96 &(page->mContentRect)); 98 canvas->drawPicture(page->mPicture);
|
H A D | PdfEditor.cpp | 182 CPDF_Page* page = (CPDF_Page*) FPDF_LoadPage(document, pageIndex); local 183 if (!page) { 185 "cannot open page"); 195 "cannot get page size"); 212 matrix.Set(1, 0, 0, -1, 0, page->GetPageHeight()); 220 matrix.Concat(1, 0, 0, -1, 0, page->GetPageHeight()); 225 FPDFPage_TransFormWithClip(page, &transform, &clip); 227 FPDF_ClosePage(page); 234 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local 235 if (!page) { 267 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local 315 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local [all...] |
H A D | PdfRenderer.cpp | 111 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); local 113 if (!page) { 115 "cannot load page"); 126 "cannot get page size"); 133 return reinterpret_cast<jlong>(page); 137 FPDF_PAGE page = reinterpret_cast<FPDF_PAGE>(pagePtr); local 138 FPDF_ClosePage(page); 161 static void renderPageBitmap(FPDF_BITMAP bitmap, FPDF_PAGE page, int destLeft, int destTop, argument 170 CPDF_Page* pPage = (CPDF_Page*) page; 228 ALOGE("Error rendering page!"); 248 FPDF_PAGE page = reinterpret_cast<FPDF_PAGE>(pagePtr); 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 360 PageCache::Page *page = mCache->acquirePage(); local [all...] |
H A D | OggExtractor.cpp | 132 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 858 Page page; local [all...] |
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | RequireScrollHelperTest.java | 74 assertEquals("ScrollView page should be initially 0", 0, mScrollView.page); 77 assertEquals("ScrollView page should be scrolled by 1", 1, mScrollView.page); 83 public int page = 0; field in class:RequireScrollHelperTest.TestBottomScrollView 97 page++; 99 page--;
|
/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 | 133 for (uint32_t page = fromPage + 1; page < maxPage; page++) { 134 uint32_t index = mIndices[page]; 142 return (page << kLogValuesPerPage) + (j << kLogBitsPerEl) + CountLeadingZeros(e);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PageAdapter.java | 300 View page = mLayoutInflater.inflate(R.layout.preview_page, parent, false); 301 return new MyViewHolder(page); 313 PreviewPageFrame page = (PreviewPageFrame) holder.itemView; 314 page.setOnClickListener(mPageClickListener); 316 page.setTag(holder); 323 PageContentView content = (PageContentView) page.findViewById(R.id.page_content); 348 page.setSelected(true, false); 350 page.setSelected(false, false); 353 page.setContentDescription(mContext.getString(R.string.page_description_template, 356 TextView pageNumberView = (TextView) page 771 recyclePageView(PageContentView page, int pageIndexInAdapter) argument [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | LinearAllocator.cpp | 34 // 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/design/tests/src/android/support/design/testutils/ |
H A D | ViewPagerActions.java | 38 * Moves <code>ViewPager</code> to the right by one page. 49 return "ViewPager scroll one page to the right"; 66 * Moves <code>ViewPager</code> to the left by one page. 77 return "ViewPager scroll one page to the left"; 94 * Moves <code>ViewPager</code> to the last page. 105 return "ViewPager scroll to last page"; 124 * Moves <code>ViewPager</code> to the first page. 135 return "ViewPager scroll to first page"; 154 * Moves <code>ViewPager</code> to specific page. 156 public static ViewAction scrollToPage(final int page) { argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 111 try (PdfRenderer.Page page = mRenderer.openPage(pageIndex)) { 112 final int srcWidthPts = page.getWidth(); 113 final int srcHeightPts = page.getHeight(); 157 Log.i(LOG_TAG, "Rendering page:" + pageIndex); 161 page.render(bitmap, clip, matrix, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY); 166 Log.e(LOG_TAG, "Cannot render page", e);
|
/frameworks/support/v4/kitkat/android/support/v4/print/ |
H A D | PrintHelperKitkat.java | 154 * @param orientation The page orientation which is one of 162 * Gets the page orientation with which the image will be printed. 283 * Calculates the transform the print an Image to fill the page 287 * @param content The output page dimensions 294 // Compute and apply scale to fill the page. 340 Page page = pdfDocument.startPage(1); 344 contentRect = new RectF(page.getInfo().getContentRect()); 368 page.getCanvas().clipRect(contentRect); 372 page.getCanvas().drawBitmap(maybeGrayscale, matrix, null); 374 // Finish the page [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PageContentRepository.java | 155 Log.i(LOG_TAG, "Acquiring provider for page: " + pageIndex); 165 Log.i(LOG_TAG, "Releasing provider for page: " + provider.mPageIndex); 265 RenderedPage page = mRenderedPages.remove(pageIndex); 266 if (page != null) { 267 mSizeInBytes -= page.getSizeInBytes(); 269 return page; 276 throw new IllegalStateException("Wrong page size"); 300 // First try to remove a rendered page that holds invalidated 378 public boolean hasSameSize(RenderedPage page) { argument 379 Bitmap bitmap = page [all...] |
/frameworks/support/v4/tests/java/android/support/v4/view/ |
H A D | ViewPagerActions.java | 141 * Moves <code>ViewPager</code> to the right by one page. 152 return "ViewPager move one page to the right"; 169 * Moves <code>ViewPager</code> to the left by one page. 180 return "ViewPager move one page to the left"; 197 * Moves <code>ViewPager</code> to the last page. 208 return "ViewPager move to last page"; 227 * Moves <code>ViewPager</code> to the first page. 238 return "ViewPager move to first page"; 257 * Moves <code>ViewPager</code> to specific page. 259 public static ViewAction scrollToPage(final int page, fina argument [all...] |
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 679 int page = options.getInt(MediaBrowser.EXTRA_PAGE, -1); 681 if (page == -1 && pageSize == -1) { 684 int fromIndex = pageSize * page; 686 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) {
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaBrowserServiceCompat.java | 1065 int page = options.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); 1067 if (page == -1 && pageSize == -1) { 1070 int fromIndex = pageSize * page; 1072 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) {
|
H A D | MediaBrowserCompat.java | 66 * Used as an int extra field to denote the page number to subscribe. 75 * Used as an int extra field to denote the number of media items in a page. 620 int page = options.getInt(MediaBrowserCompat.EXTRA_PAGE, -1); 622 if (page == -1 && pageSize == -1) { 625 int fromIndex = pageSize * page; 627 if (page < 0 || pageSize < 1 || fromIndex >= list.size()) {
|
/frameworks/base/docs/html/ndk/reference/ |
H A D | doxygen.css | 1354 h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } 1356 .memitem { page-break-inside: avoid; }
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 3150 * Add an additional page of content to display with this notification. The current 3151 * notification forms the first page, and pages added using this function form 3155 * @param page the notification to add as another page 3159 public WearableExtender addPage(Notification page) { argument 3160 mPages.add(page); 3166 * notification forms the first page, and pages added using this function form 3191 * current notification forms the first page, and elements within this array form 3269 * from the child page's notification. 3271 * @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 | 5899 * Add an additional page of content to display with this notification. The current 5900 * notification forms the first page, and pages added using this function form 5904 * @param page the notification to add as another page 5908 public WearableExtender addPage(Notification page) { argument 5909 mPages.add(page); 5915 * notification forms the first page, and pages added using this function form 5940 * current notification forms the first page, and elements within this array form 6018 * from the child page's notification. 6020 * @param actionIndex The index of the action to hoist onto the current notification page [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 68 * which is a convenient way to supply and manage the lifecycle of each page. 144 private int mCurItem; // Index of currently displayed page. 234 * Indicates that the pager is in an idle, settled state. The current page 259 * Callback interface for responding to changing state of the selected page. 264 * This method will be invoked when the current page is scrolled, either as part 267 * @param position Position index of the first page currently being displayed. 269 * @param positionOffset Value from [0, 1) indicating the offset from the page at position. 275 * This method will be invoked when a new page becomes selected. Animation is not 278 * @param position Position index of the new selected page. 284 * begins dragging, when the pager is automatically settling to the current page, 335 transformPage(View page, float position) argument [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 73 * which is a convenient way to supply and manage the lifecycle of each page. 161 private int mCurItem; // Index of currently displayed page. 254 * Indicates that the pager is in an idle, settled state. The current page 279 * Callback interface for responding to changing state of the selected page. 284 * This method will be invoked when the current page is scrolled, either as part 287 * @param position Position index of the first page currently being displayed. 289 * @param positionOffset Value from [0, 1) indicating the offset from the page at position. 295 * This method will be invoked when a new page becomes selected. Animation is not 298 * @param position Position index of the new selected page. 304 * begins dragging, when the pager is automatically settling to the current page, 355 transformPage(View page, float position) argument [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |