Searched defs:preview (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Camera/src/com/android/camera/
H A DSwitchAnimManager.java27 * An image of the previous camera zooms in and fades out. The preview of the
45 // know how much the preview is scaled and scale the review the same amount.
46 // For example, the preview is not full screen in film strip mode.
70 // preview: camera preview view.
71 // review: snapshot of the preview before switching the camera.
73 int height, CameraScreenNail preview, RawTexture review) {
78 // Calculate the position and the size of the preview.
90 // Calculate how much preview is scaled.
107 // Draw the preview
72 drawAnimation(GLCanvas canvas, int x, int y, int width, int height, CameraScreenNail preview, RawTexture review) argument
[all...]
H A DCaptureAnimManager.java45 private float mX; // The center of the whole view including preview and review.
52 /* preview: camera preview view.
103 public boolean drawAnimation(GLCanvas canvas, CameraScreenNail preview, argument
136 preview.directDraw(canvas, (int) mX, (int) mY,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DPreviewPlacerView.java49 public void addPreview(final AbstractDrawingPreview preview) { argument
50 mPreviews.add(preview);
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
H A DTinyPlanetPreview.java29 * Shows a preview of the TinyPlanet on the screen while editing.
34 * preview size.
38 * Called when the preview size has changed.
40 * @param sizePx the size in pixels of the square preview area
66 public void setBitmap(Bitmap preview, Lock lock) { argument
67 mPreview = preview;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DImageSavingTask.java148 private Bitmap createNotificationBitmap(Bitmap preview, Uri sourceUri, ImagePreset preset) { argument
151 if (preview != null) {
152 return Bitmap.createScaledBitmap(preview,
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewWidget.java97 FastBitmapDrawable preview = (FastBitmapDrawable) image.getDrawable();
99 mInfo != null && preview != null && preview.getBitmap() != null) {
100 mWidgetPreviewLoader.recycleBitmap(mInfo, preview.getBitmap());
148 void applyPreview(FastBitmapDrawable preview, int index) { argument
151 if (preview != null) {
153 image.setImageDrawable(preview);
157 int centerAmount = (imageSize[0] - preview.getIntrinsicWidth()) / 2;
H A DWidgetPreviewLoader.java217 Bitmap preview = null;
220 preview = readFromDb(name, unusedBitmap);
223 if (preview != null) {
225 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview));
227 return preview;
231 preview = generatedPreview;
232 if (preview != unusedBitmap) {
237 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview));
249 return preview;
339 private void writeToDb(Object o, Bitmap preview) { argument
409 generatePreview(Object info, Bitmap preview) argument
423 generateWidgetPreview(AppWidgetProviderInfo info, Bitmap preview) argument
441 generateWidgetPreview(ComponentName provider, int previewImage, int iconId, int cellHSpan, int cellVSpan, int maxPreviewWidth, int maxPreviewHeight, Bitmap preview, int[] preScaledWidthOut) argument
556 generateShortcutPreview( ResolveInfo info, int maxWidth, int maxHeight, Bitmap preview) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedViewWidget.java110 FastBitmapDrawable preview = (FastBitmapDrawable) image.getDrawable();
112 mInfo != null && preview != null && preview.getBitmap() != null) {
113 mWidgetPreviewLoader.recycleBitmap(mInfo, preview.getBitmap());
164 void applyPreview(FastBitmapDrawable preview, int index) { argument
167 if (preview != null) {
169 image.setImageDrawable(preview);
173 int centerAmount = (imageSize[0] - preview.getIntrinsicWidth()) / 2;
H A DWidgetPreviewLoader.java202 Bitmap preview = null;
205 preview = readFromDb(name, unusedBitmap);
208 if (preview != null) {
210 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview));
212 return preview;
216 preview = generatedPreview;
217 if (preview != unusedBitmap) {
222 mLoadedPreviews.put(name, new WeakReference<Bitmap>(preview));
234 return preview;
324 private void writeToDb(Object o, Bitmap preview) { argument
404 generatePreview(Object info, Bitmap preview) argument
418 generateWidgetPreview(AppWidgetProviderInfo info, Bitmap preview) argument
436 generateWidgetPreview(ComponentName provider, int previewImage, int iconId, int cellHSpan, int cellVSpan, int maxPreviewWidth, int maxPreviewHeight, Bitmap preview, int[] preScaledWidthOut) argument
551 generateShortcutPreview( ResolveInfo info, int maxWidth, int maxHeight, Bitmap preview) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DDreamBackend.java211 public void preview(DreamInfo dreamInfo) { method in class:DreamBackend
212 logd("preview(%s)", dreamInfo);
218 Log.w(TAG, "Failed to preview " + dreamInfo, e);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAttachmentTile.java65 * Returns true if the attachment should be rendered as a tile. with a large image preview.
193 // preview fills up at least 1 dimension
204 // preview is small. just center
235 public Bitmap preview; field in class:AttachmentTile.AttachmentPreview
245 dest.writeParcelable(preview, 0);
263 preview = in.readParcelable(null);
266 public AttachmentPreview(Attachment attachment, Bitmap preview) { argument
268 this.preview = preview;
273 void set(Attachment attachment, Bitmap preview); argument
[all...]
H A DAttachmentTileGrid.java211 for (AttachmentPreview preview : previews) {
212 mAttachmentPreviews.put(preview.attachmentIdentifier, preview);
218 * Save the preview for an attachment
221 public void set(Attachment attachment, Bitmap preview) { argument
225 attachmentIdentifier, new AttachmentPreview(attachment, preview));
230 * Returns a saved preview that was previously set
239 return attachmentPreview.preview;

Completed in 3776 milliseconds