Lines Matching full:preview
259 // Save the default widget preview background
274 // The padding on the non-matched dimension for the default widget preview icons
691 // Get the widget preview as the drag representation
695 // If the ImageView doesn't have a drawable yet, the widget preview hasn't been loaded and
703 Bitmap preview;
730 preview = mWidgetPreviewLoader.generateWidgetPreview(createWidgetInfo.info, spanX,
733 // Compare the size of the drag preview to the preview in the AppsCustomize tray
736 scale = previewWidthInAppsCustomize / (float) preview.getWidth();
739 // might be extra pixels around the preview itself - this accounts for that
751 preview = Bitmap.createBitmap(icon.getIntrinsicWidth(),
754 mCanvas.setBitmap(preview);
756 WidgetPreviewLoader.renderDrawableToBitmap(icon, preview, 0, 0,
763 // Don't clip alpha values for the drag outline if we're using the default widget preview
767 // Save the preview for the outline generation, then dim the preview
768 outline = Bitmap.createScaledBitmap(preview, preview.getWidth(), preview.getHeight(),
774 mDragController.startDrag(image, preview, this, createItemInfo,
777 preview.recycle();
1311 Bitmap preview = data.generatedImages.get(i);
1312 widget.applyPreview(new FastBitmapDrawable(preview), i);