History log of /packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dd70d66852bb8bd16f55796e546ba290360d1198 05-Oct-2012 Adam Cohen <adamcohen@google.com> Fix for widgets with config not getting size info (issue 7266053)

Change-Id: I0b55555ed38d4f2a70345d1b6316a075a9346111
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
7ce9985d37e253a93617404d5991017e1ea81907 25-May-2012 Winson Chung <winsonc@google.com> Fixing issue where multiple widget pages would fail to load correctly, preventing you from adding widgets. (Bug 6556434)

Change-Id: I48a8aa51d892aef7036009a608903fe089136d82
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
dac8591072959f69eaa8c6319311fd111ae75db6 19-May-2012 Michael Jurka <mikejurka@google.com> Updating how widget previews look

Also fixing issue where some widget previews would
be way too large when picked up

Bug: 6472013

Change-Id: Iebfc33b1070da591a9d1d32d7c8e65a3fb057a7e
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
1f36270212e46b6ec0f27a0109ceaa9eb4a4995d 04-Apr-2012 Adam Cohen <adamcohen@google.com> Some changes which are effectively no-op right now, but will be useful
for testing widget size reporting APIs

Change-Id: I7a47afcd25e45b7f3914ece6796b006153900054
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
d41fbf5680750e34335bba6b38298186c144a4b7 17-Feb-2012 Adam Cohen <adamcohen@google.com> When adding or moving a resizable widget, the widget may resize

-> If a widget is resizable, and there is not enough room to add it
in its current (or default) size, but can be scaled down to fit
a certain area, it will be resized to fit the available space
-> The resizing is animated using a crossfade and scale between
the original dragView and the widget rendered in the final size

Change-Id: I75db9dcabecce11598b3ae55f20b96b2ec6b7e87
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
1b36dc3f2bb643e3b9600755f1a98522e4efc2ed 14-Feb-2012 Adam Cohen <adamcohen@google.com> Fixing bugs with new widget adding

-> widget ids were being reused in some cases
-> widgets could be added before springloaded mode was entered

Change-Id: Iaf3bffc49d4ec2de4b63db1b5cfb52b8544e9c2b
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
ed66b2bac7447febe2e405b4ce725cae4f6b5988 24-Jan-2012 Adam Cohen <adamcohen@google.com> Improving widget transitions:

-> When a widget has no configuration activity, we bind
and inflate it when the user picks it up. This allows
us to smoothly transition between it's preview and
some actual state of the widget when it is dropped.
-> When a widget has a configuration activity, we delay
the above process until the configuration activity
has been run at which time we transition between
the preview and the actual widget.

Change-Id: I5265cd98400d70e5e75c3dcd21e322ed0b352d7b
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
038f9d8bfb53288e7cf5812f62ec3d5b25fec965 03-Nov-2011 Michael Jurka <mikejurka@google.com> Widget preview improvements

- Make widget preview bitmaps as small as they can be, saving ~0.7-2MB peak memory (5104303)
- When adding/dragging a widget, make the drag outline/drag view much more closely match the actual size (5566938)

Change-Id: I5b5b7b84fa551d56432a76223b1a9e4de620ff56
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
8db7000140d3c35be92a4e07cf54ea6ec4ae3030 26-Oct-2011 Peter Ng <petergng@google.com> Asset updates

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

Change-Id: I9993aec46a9a9ab8a732b4fc150120c935523f02
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
c9d95c5897fc5ebbf53903d4ab18ad13d196f643 29-Aug-2011 Michael Jurka <mikejurka@google.com> Cleaning up LauncherModel

- performing all DB operations immediately if called from worker thread (a previous change that did this in updateItemInDatabase fixed an outstanding bug)
- centralizing logic to do database updates
- removing old logging code

Change-Id: Idc7bfef3921828ff7c5492b8e996c0a07e1ec508
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
b60fd0eafbb4e6e61b429c403f024dc903bc483a 29-Aug-2011 Michael Jurka <mikejurka@google.com> Tagging where ItemInfos are created for debug purposes

Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
68846fdce6c01bbe474bd0c8307e1ccaac161cbc 29-Oct-2010 Winson Chung <winsonc@google.com> Initial changes to allow resolution of arbitrary clip data to widgets that support them.

Change-Id: Id5dfa8436a5bf6eb7bd300ec603911a9d3698de3
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
55cef262f97749300c2f6e764da0b00cbcb78879 28-Oct-2010 Winson Chung <winsonc@google.com> Adding initial support for dropping widgets with custom configuration data.

Change-Id: I4a7ba51783b27e544e9a21882bc7cd582b3b43e0
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
3e7c7634531302271270c8cf418abc959d621cbc 03-Oct-2010 Michael Jurka <mikejurka@google.com> updated Workspace thumbnail behavior

- in All Apps mode, fade thumbnails completely
- while dragging, have thumbnails re-appear
- while dragging, give screen thumbnails that can accept drops a different appearance (green outline instead of blue)

Change-Id: I72ddf8a0f1947d35ef11514b7d4eea9ae5eee6e2
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java
0280c3be4d9f8fc6fdf015b7ecd276eb26f76f2d 18-Sep-2010 Michael Jurka <mikejurka@google.com> Adding support for drag and drop of folders and shortcuts.

also:
- Long press on empty space on workspace now brings up customization tray
- Fixed: while dragging, items appeared to be dropping on folders two cells to the right
- Fixed: Disabling drops on folders when the workspace is shrunken
- Fixed: account for scaling of dragged items when checking if they overlap
with shrunken workspace screens
- Making folder icons dimmable to match shortcuts and widgets
- When deciding with shrunken workspace screen we're dragging to, we now use the closest screen rather than the one that has been overlapped the most
- Refactored drag/add mechanism, removing array of occupied cells from CellInfo
- Removed dead code/variables
/packages/apps/Launcher2/src/com/android/launcher2/PendingAddItemInfo.java