/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfDocument.cpp | 69 PageRecord* page = new PageRecord(width, height, contentRect); in startPage() local 70 mPages.push_back(page); in startPage() 71 mCurrentPage = page; in startPage() 73 SkCanvas* canvas = page->mPictureRecorder->beginRecording( in startPage() 92 PageRecord* page = mPages[i]; in write() local 94 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, in write() 95 &(page->mContentRect)); in write() 97 canvas->clipRect(page->mContentRect); in write() 98 canvas->translate(page->mContentRect.left(), page->mContentRect.top()); in write() 99 canvas->drawPicture(page->mPicture); in write()
|
D | PdfEditor.cpp | 182 CPDF_Page* page = (CPDF_Page*) FPDF_LoadPage(document, pageIndex); in nativeSetTransformAndClip() local 183 if (!page) { in nativeSetTransformAndClip() 212 matrix.Set(1, 0, 0, -1, 0, page->GetPageHeight()); in nativeSetTransformAndClip() 220 matrix.Concat(1, 0, 0, -1, 0, page->GetPageHeight()); in nativeSetTransformAndClip() 225 FPDFPage_TransFormWithClip(page, &transform, &clip); in nativeSetTransformAndClip() 227 FPDF_ClosePage(page); in nativeSetTransformAndClip() 234 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeGetPageSize() local 235 if (!page) { in nativeGetPageSize() 254 FPDF_ClosePage(page); in nativeGetPageSize() 267 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeGetPageBox() local [all …]
|
D | PdfRenderer.cpp | 111 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeOpenPageAndGetSize() local 113 if (!page) { in nativeOpenPageAndGetSize() 133 return reinterpret_cast<jlong>(page); in nativeOpenPageAndGetSize() 137 FPDF_PAGE page = reinterpret_cast<FPDF_PAGE>(pagePtr); in nativeClosePage() local 138 FPDF_ClosePage(page); in nativeClosePage() 161 static void renderPageBitmap(FPDF_BITMAP bitmap, FPDF_PAGE page, int destLeft, int destTop, in renderPageBitmap() argument 170 CPDF_Page* pPage = (CPDF_Page*) page; in renderPageBitmap() 249 FPDF_PAGE page = reinterpret_cast<FPDF_PAGE>(pagePtr); in nativeRenderPage() local 280 renderPageBitmap(bitmap, page, destLeft, destTop, destRight, in nativeRenderPage()
|
/frameworks/av/media/libstagefright/ |
D | NuCachedSource2.cpp | 43 void releasePage(Page *page); 45 void appendPage(Page *page); 79 Page *page = *it; in freePages() local 81 free(page->mData); in freePages() 82 delete page; in freePages() 83 page = NULL; in freePages() 92 Page *page = *it; in acquirePage() local 95 return page; in acquirePage() 98 Page *page = new Page; in acquirePage() local 99 page->mData = malloc(mPageSize); in acquirePage() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewPager.java | 81 public void transformPage(View page, float position) { in initialize() 92 page.setTranslationX(0); in initialize() 93 page.setAlpha(1.f); in initialize() 94 page.setScaleX(1); in initialize() 95 page.setScaleY(1); in initialize() 97 page.setTranslationX(-position * page.getWidth()); in initialize() 98 page.setAlpha(Math.max(0,1.f - position)); in initialize() 100 page.setScaleX(scale); in initialize() 101 page.setScaleY(scale); in initialize()
|
/frameworks/base/docs/html/training/wearables/ui/ |
D | 2d-picker.jd | 1 page.title=Creating a 2D Picker 9 <li><a href="#add-page-grid">Add a Page Grid</a></li> 26 Library lets you easily implement this pattern using a page grid, which is a layout manager 37 <h2 id="add-page-grid">Add a Page Grid</h2> 58 <p>A page adapter provides a set of pages to populate a 83 // A simple container for static data in each page 110 Page page = PAGES[row][col]; 112 page.titleRes != 0 ? mContext.getString(page.titleRes) : null; 114 page.textRes != 0 ? mContext.getString(page.textRes) : null; 115 CardFragment fragment = CardFragment.create(title, text, page.iconRes); [all …]
|
/frameworks/base/docs/html/training/animation/ |
D | screen-slide.jd | 1 page.title=Using ViewPager for Screen Slides 86 …u can then create instances of this fragment in the parent activity whenever you need a new page to 136 If the user is already on the first page, go back on the activity back stack.</li> 210 …ansition, this method is called once for each visible page (generally there's only one visible pag… 211 For example, if page three is visible and the user drags towards page four, 218 position of the page on the screen, which is obtained from the <code>position</code> parameter 221 <p>The <code>position</code> parameter indicates where a given page is located relative to the cent… 222 It is a dynamic property that changes as the user scrolls through the pages. When a page fills the … 223 …page is drawn just off the right side of the screen, its position value is <code>1</code>. If the … 240 <p>See the <a href="#zoom-out">Zoom-out page transformer</a> and <a href="#depth-page">Depth page t… [all …]
|
/frameworks/base/docs/html/training/tv/ |
D | index.jd | 1 page.title=Building Apps for TV 2 page.trainingcourse=true 3 page.metaDescription=Starting point for building apps and games for Android TV, with guidelines, in… 4 page.image=design/tv/images/focus.png
|
/frameworks/base/docs/html/training/printing/ |
D | custom-docs.jd | 1 page.title=Printing Custom Documents 29 <p>For some applications, such as drawing apps, page layout apps and other apps that focus on 32 precise control of everything that goes into a page, including fonts, text flow, page breaks, 37 communicate with the print framework, adjust to printer settings, draw page elements and 87 printers with different output capabilities, different page sizes, or different page orientations. 104 user changes a print setting which impacts the output, such as a different page size, 105 or page orientation, giving your application an opportunity to compute the layout of the 131 number of pages for print job, given information about the printed page size. 146 // Create a new PdfDocument with the requested page attributes 200 // Six items per page in landscape orientation [all …]
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | RequireScrollHelperTest.java | 74 assertEquals("ScrollView page should be initially 0", 0, mScrollView.page); in testClickScrollButton() 77 assertEquals("ScrollView page should be scrolled by 1", 1, mScrollView.page); in testClickScrollButton() 83 public int page = 0; field in RequireScrollHelperTest.TestBottomScrollView 97 page++; in pageScroll() 99 page--; in pageScroll()
|
/frameworks/base/docs/html/design/wear/ |
D | creative-vision.jd | 1 page.title=Creative Vision for Android Wear 5 .page-vision { 10 .page-vision img { 14 .page-vision p { 17 .page-vision h2 { 27 <div class="page-vision"> 33 <div class="page-vision"> 39 <div class="page-vision"> 45 <div class="page-vision">
|
/frameworks/base/docs/html/training/wearables/notifications/ |
D | pages.jd | 1 page.title=Adding Pages to a Notification 2 page.tags=notifications 28 <li>Create the main notification (the first page) with 40 <p>For example, here's some code that adds a second page to a notification:</p> 51 // Create a big text style for the second page 56 // Create second page notification 62 // Extend the notification builder with the second page
|
/frameworks/base/docs/html/training/ |
D | building-wearables.jd | 1 page.title=Building Apps for Wearables 2 page.trainingcourse=true 3 page.image=images/cards/android-wear-apps_2x.jpg 4 page.metaDescription=Learn how to build notifications, send and sync data, and use voice actions.
|
/frameworks/base/docs/html/distribute/engage/ |
D | analytics.jd | 1 page.title=Understand User Behavior 2 page.metaDescription=Use Google Analytics to learn what your users like and what keeps them coming … 3 page.tags="analytics, user behavior" 4 page.image=/images/gp-analytics.jpg 20 Start by discovering how many people visit your Google Play listing page, 29 update your landing page and your app. <a href=
|
D | video.jd | 1 page.title=Delight Users with Videos 2 page.metaDescription=Videos are one of the most effective ways to get users excited about your apps… 3 page.tags="engagement" 4 page.image=/images/gp-engage-smule.jpg 11 page to host new videos so users can see new features or content that will
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/googleplay/ |
D | guide.jd | 1 page.title=在 Google Play 上取得成功 2 page.metaDescription=帮助您的应用或游戏业务在 Google Play 上取得成功的指南。 4 page.tags="google play", "business", "monetize", "engagement" 5 page.image=distribute/images/play_dev_guide.png
|
/frameworks/base/docs/html-intl/intl/ja/distribute/googleplay/ |
D | guide.jd | 1 page.title=Google Play で成功を手にする 2 page.metaDescription=Google Play でアプリまたはゲームのビジネスを成功に導くためのガイド。 4 page.tags="google play", "business", "monetize", "engagement" 5 page.image=distribute/images/play_dev_guide.png
|
/frameworks/base/docs/html-intl/intl/ko/distribute/googleplay/ |
D | guide.jd | 1 page.title=Google Play에서 성공 모색 2 page.metaDescription=Google Play에서 앱 또는 게임 비즈니스가 성공할 수 있도록 안내하는 가이드입니다. 4 page.tags="google play", "business", "monetize", "engagement" 5 page.image=distribute/images/play_dev_guide.png
|
/frameworks/base/docs/html-intl/intl/ru/distribute/googleplay/ |
D | guide.jd | 1 page.title=Найдите свой путь к успеху в Google Play 2 page.metaDescription=Руководство, которое поможет вам успешно реализовать себя как разработчика при… 4 page.tags="google play", "business", "monetize", "engagement" 5 page.image=distribute/images/play_dev_guide.png
|
/frameworks/base/docs/html/guide/topics/admin/ |
D | index.jd | 1 page.title=Administration 2 page.landing=true 3 page.landing.intro=If you are an enterprise administrator, you can take advantage of APIs and syste… 4 page.landing.image=
|
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/googleplay/ |
D | guide.jd | 1 page.title=在 Google Play 上尋找成功 2 page.metaDescription=協助您在 Google Play 上的應用程式或遊戲業務中尋找成功的指南。 4 page.tags="google play", "business", "monetize", "engagement" 5 page.image=distribute/images/play_dev_guide.png
|
/frameworks/base/docs/html/design/ |
D | devices.jd | 1 page.title=Android devices 2 page.viewport_width=970 6 page.image=images/cards/android-devices_2x.jpg 32 …<a href="{@docRoot}design/handhelds/index.html" class="landing-page-link">Phones & Tablets</a>…
|
/frameworks/base/docs/html/guide/topics/data/ |
D | index.jd | 1 page.title=Data Storage 2 page.landing=true 3 page.landing.intro=Store application data in databases, files, or preferences, in internal or remov… 4 page.landing.image=
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfDocument.java | 139 public void finishPage(Page page) { in finishPage() argument 141 if (page == null) { in finishPage() 144 if (page != mCurrentPage) { in finishPage() 147 if (page.isFinished()) { in finishPage() 150 mPages.add(page.getInfo()); in finishPage() 153 page.finish(); in finishPage()
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/googleplay/families/ |
D | about.jd | 1 page.title=为家庭设计 2 page.metaDescription=“为家庭设计”有助于使您的应用和游戏更容易被家庭发现。 3 page.image=/distribute/images/about-dff-sm.jpg 5 page.tags="families"
|