Commit Graph

4413 Commits

Author SHA1 Message Date
Adam Cohen ac8c87687b Pixel perfect drag animations in workspace and folders, including springloaded
Change-Id: I630c365bdc8e896a21dc17ebe8acb8d4664c77b5
2011-07-14 01:08:27 -07:00
Michael Jurka 2698db4df3 Fix a monkey crash 2011-07-13 18:25:14 -07:00
Michael Jurka d74c984fcc Use hardware layers in more situations
* Turn on while dragging
* Fix bug: don't disable when swiping pages during drag
* Fix bug: disable hardware layers on startup
* Removing old state code in Workspace

Change-Id: I5633dc98f2679784aea5551564dfa19504a074a6
2011-07-13 17:41:05 -07:00
Michael Jurka 06b9ecaf6f Merge "Logging failure to load market/search/etc icons" 2011-07-12 17:21:26 -07:00
Michael Jurka 40a170aae5 Merge "Cleaning up code to deal with language changes" 2011-07-12 17:20:49 -07:00
Winson Chung 4341d0c2f6 Merge "Cleaning up some drop-target issues." 2011-07-12 17:11:01 -07:00
Michael Jurka b6052a9a0c Logging failure to load market/search/etc icons 2011-07-12 17:02:45 -07:00
Michael Jurka 288a36b563 Cleaning up code to deal with language changes 2011-07-12 16:53:48 -07:00
Winson Chung a62e9fd95a Cleaning up some drop-target issues.
- Setting text color during drag over transitions
- Fixing regression in drop target padding
= Using old drop-down animation where possible

Change-Id: Ia1c5ec9e58fc734d28133349d9920d123ed71ae6
2011-07-12 16:04:46 -07:00
Michael Jurka c2f801e770 Reload workspace if language changes 2011-07-12 14:19:46 -07:00
Michael Jurka fe63476a2d Merge "Fix bug where All Apps wasn't always getting updated" 2011-07-12 12:51:14 -07:00
Winson Chung e3512e7589 Fixing crash when dragging item in software mode.
Change-Id: I3d2c479061292a89355b70d07746fbef6fc4647a
2011-07-12 10:23:15 -07:00
Mathew Inwood ccf441d436 Merge "Don't crash if global search specified bad toolbar icon." 2011-07-12 10:12:13 -07:00
Winson Chung f8901b57af Merge "Tweaking drop target transition to prevent flash." 2011-07-12 09:23:31 -07:00
Mathew Inwood 70d5102939 Don't crash if global search specified bad toolbar icon.
This should prevent a dodgy global search app crashing the launcher
and making it unusable.

Change-Id: Ia55a197a0c11de4ce24695313a3fa71fefa488e3
2011-07-12 13:51:22 +01:00
Winson Chung aaa530adc9 Tweaking drop target transition to prevent flash.
Change-Id: I7a0204685f1d377117b4d8e39b1c0d32e7b37a76
2011-07-11 21:06:54 -07:00
Michael Jurka 5b1808da75 Fix bug where All Apps wasn't always getting updated
Bug # 4731290
2011-07-11 19:59:46 -07:00
Adam Cohen 93993f8745 Merge "Fixing bug 5011917 - clearing refernce to old folders from FolderInfo" 2011-07-11 18:42:27 -07:00
Adam Cohen 4eac29a80b Fixing bug 5011917 - clearing refernce to old folders from FolderInfo
-> Also, ensured that unbind() gets called on all ItemInfos on rotate

Change-Id: I869b68fcae5c66702ec204596f5ecabdc7a32df7
2011-07-11 18:37:16 -07:00
Winson Chung c3eecff904 Preventing multiple calls to loadLabel for the same info within a single load.
- Fixing mind boggling bug where we weren't even using the label cache earlier.

Change-Id: I605abf4d589ad02b2426d20adfe9cd1773cc84fd
2011-07-11 17:47:42 -07:00
Michael Jurka 3818eaf848 Merge "No longer generating title bitmaps for icons." 2011-07-11 16:07:05 -07:00
Winson Chung c85ea570c4 No longer generating title bitmaps for icons.
Change-Id: I857ba2a532158175396d45cba0976baa17da126f
2011-07-11 16:02:52 -07:00
Adam Cohen 51e95039ac Fix for bug 5015232, folder won't open
Change-Id: Icd0527a1afe519ebcf117587c9a61a9e933a6c47
2011-07-11 14:45:13 -07:00
Winson Chung e0cccab156 Merge "Clamping touch positions to drag layer rect to prevent dragging outside of bounds." 2011-07-11 14:40:23 -07:00
Adam Cohen 53b7a64e71 Merge "Little fix for folders" 2011-07-11 14:02:33 -07:00
Winson Chung 273c102240 Clamping touch positions to drag layer rect to prevent dragging outside of bounds.
- Fixing small issue with default widget preview aspect ratios

Change-Id: I2dca0524e8aa7c48345b424bad889736fa345386
2011-07-11 14:00:02 -07:00
Michael Jurka 2f52ee8416 Merge "Solving rendering issues when unshrinking" 2011-07-11 13:10:02 -07:00
Winson Chung 557d6ed50c Fixing issues with spring loaded adding.
- Delaying until items are added
- Showing bg when going into spring loaded mode
- Fixing regression where dropping widgets on full page would not trigger a notification
- Fixing regression on tablet where pages were no longer being rotated or shown

Change-Id: Iadc0c406f0c065c5029addea1abfee395eed81b9
2011-07-11 11:38:24 -07:00
Michael Jurka 280969cd77 Solving rendering issues when unshrinking 2011-07-11 11:26:10 -07:00
Michael Jurka a71cb1778d Fix rendering issue when coming from spring loaded mode
Bug #5011693
2011-07-10 15:04:55 -07:00
Michael Jurka 0b4870db57 Fix bug: deleting items in foldersd does not persist
Bug# 5010678
2011-07-10 13:40:11 -07:00
Michael Jurka 0c4ade1ef6 Cleaning out unused lines of code
Change-Id: I558248c9e1ccf8098220b110709d2a0cba9247ea
2011-07-08 18:03:21 -07:00
Adam Cohen e9166b247a Little fix for folders
Change-Id: I2d4eb534640e25bc8c07d06e5d3354473751dd9f
2011-07-08 17:11:11 -07:00
Michael Jurka ff0e01b65d Disable wallpaper panning when switching to All Apps 2011-07-08 17:08:51 -07:00
Michael Jurka 14a001ad67 Merge "Remove unnecessary lock" 2011-07-08 15:40:17 -07:00
Michael Jurka 33829b62bd Merge "Improving LauncherModel performance" 2011-07-08 15:11:23 -07:00
Michael Jurka a8c760d395 Improving LauncherModel performance
- no longer reloading DB on each configuration change
- adding/updating items in DB on background thread

Change-Id: Ie140f31608df84b0ca2d45eb7a210a8a3b36b52f
2011-07-08 14:06:14 -07:00
Winson Chung fbfb34d743 Merge "Fixing small bug where you could not cancel springloaded the first time you drag out of layout." 2011-07-08 13:26:44 -07:00
Winson Chung b8dffaffa1 Fixing small bug where you could not cancel springloaded the first time you drag out of layout.
Change-Id: I29a76eb628b232a2853bc3ba3dd632328b376d4e
2011-07-08 11:14:54 -07:00
Michael Jurka f62e8fdee3 Merge "Moving a bit of code around" 2011-07-08 10:38:54 -07:00
Adam Cohen 358049b75f Merge "Substantially improved performance of dragging and drop animations" 2011-07-07 17:14:11 -07:00
Michael Jurka 35aa14d5e3 Don't reset pages in AllApps if not necessary 2011-07-07 17:01:08 -07:00
Adam Cohen 8dfcba4af7 Substantially improved performance of dragging and drop animations
-> Took DragView drawing out of the window and put it into the DragLayer
-> Added fade-in/out animations to transition between the final view
   and the DragView, after the view animates
-> Enabled hardware layers on Folder items which improves the
   performance Folder reordering

Change-Id: I4d92ca9fba172d1bab9efc215a99abcaadcdf503
2011-07-07 16:59:45 -07:00
Michael Jurka be69cc8ed8 Remove unnecessary lock 2011-07-07 16:05:33 -07:00
Michael Jurka 4842ed029c Moving a bit of code around
- Resources.NotFoundException now handled inside getFullResIcon()
2011-07-07 15:39:05 -07:00
Winson Chung 649723cfb3 Updating assets.
- Tweaking search bar layout.

Change-Id: I9624fa4284135858d3e19b8b8e4710b5dd746042
2011-07-07 14:10:47 -07:00
Winson Chung c07918d005 Cleaning up some spring-loaded related dragging code. Allow cancel spring loaded mode.
Change-Id: Ie1f0468c563bed7abc1aa6416e222cdb0853c03a
2011-07-06 20:48:45 -07:00
Adam Cohen d044526d82 Adding transitions during folder creation
-> Seamless* transition from dropping item onto another
   to the creation of a folder containing those items
-> Seamless* transitions when adding the third item
   to a folder
-> Cleaned up the code in FolderIcon in order to achieve
   above

Change-Id: Iaf2519ac480acfdc928cc2b7585f28bc7d50bd23
2011-07-06 11:35:56 -07:00
Adam Cohen 95bb800de9 Folders now close in various situations where we want them to:
-> When pressing home, from app or from home
-> When rotating (as per design request)
-> When scrolling to another page

Change-Id: I3b96b216f1ec5da07cd95d2541999866a1c1424e
2011-07-04 23:56:03 -07:00
Adam Cohen ec228e7fa3 Merge "Cleaning up Folder accept animation drawing" 2011-07-04 23:52:48 -07:00