Home
last modified time | relevance | path

Searched refs:preview (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/docs/html/training/camera/
Dcameradirect.jd18 <li><a href="#camera-preview">Create the Camera Preview</a></li>
87 <h2 id="camera-preview">Create the Camera Preview</h2>
89 <p>Taking a picture usually requires that your users see a preview of their subject before clicking
95 <p>To get started with displaying a preview, you need preview class. The
96 preview requires an implementation of the {@code
122 <p>The preview class must be passed to the {@link android.hardware.Camera} object before the live
123 image preview can be started, as shown in the next section.</p>
128 <p>A camera instance and its related preview must be created in a specific
133 camera. The preview must also be restarted in the preview class {@code
155 // Important: Call startPreview() to start updating the preview
[all …]
/frameworks/base/docs/html/sdk/installing/
Dstudio-layout.jd27 into your layout and preview your layout while editing the XML.</p>
40 <p>While editing in the <strong>Text</strong> view, you can preview the layout on devices
42 Within the <strong>Preview</strong> pane, you can modify the preview by changing various
43 options at the top of the pane, including the preview device, layout theme, platform
44 version and more. To see a preview of how your app would look with a particular device
45 skin, click the preview icon
46 <img src="{@docRoot}images/tools/as-preview-icon.png" style="vertical-align:bottom;margin:0;height:…
49 <img src="{@docRoot}images/tools/as-preview-chrome.png" alt="" />
52 <p>To preview the layout on multiple devices simultaneously, select <strong>Preview All
55 <p>When you click in the preview image, the layout editor highlights the corresponding
[all …]
Dstudio-tips.jd67 into your layout and preview your layout while editing the XML.</p>
69 <p>While editing in the <strong>Text</strong> view, you can preview the layout on devices by
71 Preview pane, you can modify the preview by changing various options at the top of the pane,
72 including the preview device, layout theme, platform version and more. To preview the layout on
137 <h3>Image and color preview</h3>
138 <p>When referencing images and icons in your code, a preview of the image or icon appears
140 reference. Pressing {@code F1} with the preview image or icon selected displays resource asset
Dadding-packages.jd211 <strong><a href="{@docRoot}wear/preview/start.html">Building Apps for Android Wear</a></strong>.</p>
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd23 <li><a href="#camera-preview">Creating a preview class</a></li>
24 <li><a href="#preview-layout">Placing preview in a layout</a></li>
101 <dd>This class is used to present a live camera preview to the user.</dd>
369 <li><strong>Create a Preview Class</strong> - Create a camera preview class that extends {@link
372 <li><strong>Build a Preview Layout</strong> - Once you have the camera preview class, create a
373 view layout that incorporates the preview and the user interface controls you want.</li>
459 <h3 id="camera-preview">Creating a preview class</h3>
461 sees. A camera preview class is a {@link android.view.SurfaceView} that can display the live image
464 <p>The following example code demonstrates how to create a basic camera preview class that can be
467 for creating and destroying the view, which are needed for assigning the camera preview input.</p>
[all …]
/frameworks/base/docs/html/
Drobots.txt6 Disallow: /sdk/preview/
18 Disallow: /preview/
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java188 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { in update() argument
204 if (!mUpdateSpec.hasSameConstraints(attributes, preview)) { in update()
218 mDocumentInfo, oldAttributes, attributes, preview, mCommandResultCallback); in update()
250 mUpdateSpec.update(attributes, preview, pages); in update()
483 boolean preview; field in RemotePrintDocument.UpdateSpec
486 public void update(PrintAttributes attributes, boolean preview, in update() argument
489 this.preview = preview; in update()
495 preview = false; in reset()
499 public boolean hasSameConstraints(PrintAttributes attributes, boolean preview) { in hasSameConstraints() argument
500 return this.attributes.equals(attributes) && this.preview == preview; in hasSameConstraints()
[all …]
/frameworks/base/docs/html/tools/help/
Ddraw9patch.jd27 pane is the preview area, where you can preview your graphic when stretched.</p>
49 <li><strong>Patch scale</strong>: Adjust the scale of the images in the preview area.</li>
53 <li><strong>Show content</strong>: Highlight the content area in the preview images
Dadt.jd130 renders your interface as well, offering you a preview as you design your layouts. This editor
232 list instead of a rendered preview.</dd>
266 layout. The canvas offers a rendered preview of your layout depending on factors such as the
295 <dt><strong>Animation preview and creation</strong></dt>
298 If your layout or view is animated, you can preview the animation directly in the canvas
343 <li>Preview animations: You can preview view and layout animations when you select Android 2.1
357 a rendered preview of an application</p>
/frameworks/base/docs/html/wear/
Dwear_toc.cs42 …ee-list-subtitle package" title="android.preview.support.v4.app">android.preview.support.v4.app</s…
49 … package" title="android.preview.support.wearable.notifications">android.preview.support.wearable.…
/frameworks/base/docs/html/training/wearables/watch-faces/
Dservice.jd217 android:name="com.google.android.wearable.watchface.preview"
233 Wear companion app</a> and the watch face picker on the wearable device use the preview image
234 defined by the <code>com.google.android.wearable.watchface.preview</code> metadata entry when
238 devices with hdpi screens, the preview image is typically 320x320 pixels in size.</p>
241 square preview images. To specify a round preview image, use the
243 face includes both preview images, the companion app and the watch face picker on the wearable
244 show the appropriate one, depending on the shape of the watch. If a round preview image is not
245 included, the square preview image is used for both square and round devices. For round devices,
246 a square preview image is cropped using a circular shape.</p>
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java396 Bitmap preview = decodePreview(source, previewSize); in BitmapRegionTileSource() local
397 if (preview.getWidth() <= GL_SIZE_LIMIT && preview.getHeight() <= GL_SIZE_LIMIT) { in BitmapRegionTileSource()
398 mPreview = new BitmapTexture(preview); in BitmapRegionTileSource()
404 preview.getWidth(), preview.getHeight())); in BitmapRegionTileSource()
/frameworks/base/core/java/android/widget/
DFastScroller.java674 private void measureFloating(View preview, Rect margins, Rect out) { in measureFloating() argument
693 preview.measure(widthMeasureSpec, heightMeasureSpec); in measureFloating()
697 final int width = preview.getMeasuredWidth(); in measureFloating()
699 final int bottom = top + preview.getMeasuredHeight(); in measureFloating()
1074 final View preview = mPreviewImage; in transitionPreviewLayout() local
1100 bounds.left -= preview.getPaddingLeft(); in transitionPreviewLayout()
1101 bounds.top -= preview.getPaddingTop(); in transitionPreviewLayout()
1102 bounds.right += preview.getPaddingRight(); in transitionPreviewLayout()
1103 bounds.bottom += preview.getPaddingBottom(); in transitionPreviewLayout()
1104 final Animator resizePreview = animateBounds(preview, bounds); in transitionPreviewLayout()
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Dbadges.jd75 $("#preview").show();
80 $("#button-preview").html(linkStart + "apps/details?id=" + packageName
87 $("#preview").show();
92 $("#button-preview").html(linkStart + "search?q=pub:" + publisherName
133 $("#preview").hide();
271 <div id="preview">
276 <div id="button-preview" style="margin-top:1em"></div>
/frameworks/base/docs/html/distribute/tools/promote/
Dbadges.jd94 $("#preview").show();
99 $("#button-preview").html(linkStart + "apps/details?id=" + packageName
106 $("#preview").show();
111 $("#button-preview").html(linkStart + "search?q=pub:" + publisherName
152 $("#preview").hide();
353 <div id="preview" style="display:none">
360 <div id="button-preview" style="margin-top:1em"></div>
/frameworks/base/tests/Camera2Tests/SmartCamera/
DREADME.txt36 On a Nexus 7, open up the application from the launcher, and the camera preview
44 bottom preview and save them to the Gallery. It does this by looking at the
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java140 Bitmap preview = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig()); in SaveImageInBackgroundTask()
141 Canvas c = new Canvas(preview); in SaveImageInBackgroundTask()
153 Bitmap croppedIcon = Bitmap.createScaledBitmap(preview, iconSize, iconSize, true); in SaveImageInBackgroundTask()
171 .bigPicture(preview); in SaveImageInBackgroundTask()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java80 Size preview, Size photo) throws CameraAccessException { in AndroidCamera2Settings() argument
99 setPreviewSize(preview); in AndroidCamera2Settings()
/frameworks/base/docs/html/training/tv/playback/
Ddetails.jd87 your media item details, extend that class to provide additional content such as a preview
94 previous section, to add a preview image and actions for the media item being viewed. This example
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd28 <li><a href="#preview">Setting a Preview Image</a></li>
174 android:previewImage="@drawable/preview"
255 <li>The <code>previewImage</code> attribute specifies a preview of what the
261 using <code>previewImage</code>, see <a href="#preview">Setting a Preview
716 <h2 id="preview">Setting a Preview Image</h2>
722 preview of what the app widget looks like. This preview is shown to the user from the
724 the preview.</p>
730 android:previewImage="@drawable/preview">
733 <p>To help create a preview image for your app widget (to specify in the {@link
736 preview image, launch this application, select the app widget for your
[all …]
/frameworks/base/docs/html/about/versions/
Dandroid-2.2.jd167 <li>Changes to camera preview API to improve efficieny of preview pipeline. </li>
Dandroid-3.0.jd265 {@link android.appwidget.AppWidgetProviderInfo#previewImage} field specifies a preview of what the
267 supplied, the app widget's icon is used for the preview.</p>
269 <p>To help create a preview image for your app widget (to specify in the {@link
271 application called "Widget Preview." To create a preview image, launch this application, select the
272 app widget for your application and set it up how you'd like your preview image to appear, then save
598 android.graphics.SurfaceTexture} upon which to draw video playback or preview frames from the
649 <p>The preview release does not provide any native DRM plug-ins for checking and enforcing digital
Dandroid-2.2-highlights.jd260 <p>New preview API doubles the frame rate from ~10FPS to ~20FPS. Camera now supports portrait
/frameworks/base/docs/html/google/play-services/
Dindex.jd218 <li><strong>Fit</strong> - The Google Fit developer preview, initially
219 <a href="http://googledevelopers.blogspot.com/2014/08/google-fit-preview-sdk-now-available.html"
223 <li><a href="https://developers.google.com/fit/preview"
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1007 final boolean preview = mState != STATE_PRINT_CONFIRMED; in updateDocument()
1009 if (preview) { in updateDocument()
1016 pages, preview); in updateDocument()

123