Asset updates

- Change how default widget previews look (5509429)
- Improve antialiasing in portal assets

Change-Id: I9993aec46a9a9ab8a732b4fc150120c935523f02
This commit is contained in:
Peter Ng
2011-10-25 15:40:08 -07:00
committed by Michael Jurka
parent faa702dca8
commit 8db7000140
36 changed files with 60 additions and 21 deletions

View File

@@ -33,6 +33,7 @@ class PendingAddItemInfo extends ItemInfo {
class PendingAddWidgetInfo extends PendingAddItemInfo {
int minWidth;
int minHeight;
boolean hasDefaultPreview;
// Any configuration data that we want to pass to a configuration activity when
// starting up a widget
@@ -44,6 +45,7 @@ class PendingAddWidgetInfo extends PendingAddItemInfo {
componentName = i.provider;
minWidth = i.minWidth;
minHeight = i.minHeight;
hasDefaultPreview = i.previewImage <= 0;
if (dataMimeType != null && data != null) {
mimeType = dataMimeType;
configurationData = data;