Commit Graph

523 Commits

Author SHA1 Message Date
Winson Chung 5aaab774cf Logging error when we do not get a valid appWidgetId back from the configuration widget. (Bug 6407704)
Change-Id: Ib58b9f43b63edb211059728f7b65560704295c76
2012-04-27 15:25:38 -07:00
Winson Chung a706b090ce Merge "Preventing activity from rotating while the user is dragging an item. (Bug 6240922)" into jb-dev 2012-04-26 16:29:56 -07:00
Winson Chung 641d71d6da Preventing activity from rotating while the user is dragging an item. (Bug 6240922)
Change-Id: Id487e8809c059cecb3310afe098edd0eaf085c90
2012-04-26 15:58:34 -07:00
Michael Jurka a35e35ae0a Solve blip the first time All Apps is launched 2012-04-26 15:05:25 -07:00
Michael Jurka bafdaafb99 Fix NPE
Bug: 6394159
Change-Id: Idd7c94b4c8698a9f6a35e5da5ea8306a952084e8
2012-04-26 13:43:25 -07:00
Michael Jurka 8b805b1715 Remove use of private APIs
Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
2012-04-25 16:24:03 -07:00
Jim Miller 14091b1df4 Fix crash in launcher on tablets.
It appears tablets are missing a voice proxy button.  Interrim fix until the launcher guys can look at it.

Change-Id: I1dae632035421b4c566713358c1f2255def5b110
2012-04-24 19:27:54 -07:00
Winson Chung 3b1b36bf2e Fixing build.
Change-Id: Ifcd8d43c749a1a14c41a434e7ae42a57a3e944a0
2012-04-24 18:51:28 -07:00
Winson Chung 7eece5d727 Merge "Updating launcher transitions." 2012-04-24 18:24:05 -07:00
Winson Chung 1c18112a69 Merge "Fixing crash when hitting voice button proxy when voice button is hidden. (Bug 6374690)" 2012-04-24 15:36:33 -07:00
Winson Chung e3fbfa933e Fixing crash when hitting voice button proxy when voice button is hidden. (Bug 6374690)
Change-Id: Idd96545e261fd6a4500d9779557e9877a6716614
2012-04-24 14:39:32 -07:00
Adam Cohen cb3f98e983 Enable rotation for sw600dp devices
Change-Id: Id01c84eba30a80cb21b1527cdc137aba9cda09f2
2012-04-24 14:29:10 -07:00
Winson Chung c7450e3ebd Updating launcher transitions.
Change-Id: I32b35189fe05a1c0db0ac1d7f508b1560088f635
2012-04-24 13:27:00 -07:00
Michael Jurka 240420f198 Removing unused dialog code 2012-04-13 15:02:26 -07:00
Michael Jurka 3a9fcedbcd Fix warnings and remove dead code
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
2012-04-13 14:52:51 -07:00
Winson Chung 200358df3f Merge "Preventing widgets that don't fit from showing in tray. (Bug 6331357)" 2012-04-12 17:52:58 -07:00
Winson Chung a5c9636f56 Preventing widgets that don't fit from showing in tray. (Bug 6331357)
Change-Id: I9cbe85bed5c633f2be9b420eecbbee9a1b171e51
2012-04-12 16:21:17 -07:00
Winson Chung 318eee06ae Addressing issues with comments in previous new-app animation delay change.
Change-Id: I1185ae890c5374f9b736c567622372b54fbde0ed
2012-04-12 10:59:49 -07:00
Winson Chung 2c2b28ae55 Merge "Adding delay upon user interaction to prevent the new-app animation from taking over your phone. (Bug 6248609)" 2012-04-12 10:55:11 -07:00
Michael Jurka 64c9ab3188 Removing dead code 2012-04-11 15:26:53 -07:00
Winson Chung a2413751e3 Adding delay upon user interaction to prevent the new-app animation from taking over your phone. (Bug 6248609)
- Fixing issue where we might have been reading the db items while handling previous broadcast and adding db items to invalid positions
- Making items add alternating from the center page (as opposed to the current page)
- Re-adding the strict-mode fix (really requires 1. to be true)
- Adding flag for enabling strict mode exceptions
- Removing items from the new apps add list on uninstall-shortcut broadcast

Change-Id: I495e80bf5f8dbb4b87dd709460937d6f2a1e05e7
2012-04-09 17:04:00 -07:00
Michael Jurka 27614d22a1 Fix issue where workspace was not shown after screen off/on
Bug: 6239609
Change-Id: I1dd3d0d4e4a37b06210e9aec5b4676157fb8b6ed
2012-04-02 06:44:47 -07:00
Winson Chung 4f916f4b35 Adding extra logging to try and catch cases where Market button does not work.
Change-Id: I09fde1daf3afc1921ad1cc48358ee6c55df4ab7a
2012-03-27 16:22:57 -07:00
Winson Chung 93eef082ec Making the text reflect the container when you are unable to drop onto a space.
Change-Id: Ib3734b7f7767bdf0fb4c95dcc1298da02c04e9cd
2012-03-26 10:55:49 -07:00
Winson Chung f0c6ae0e35 Adding animation post-installing a shortcut.
Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
2012-03-23 11:17:25 -07:00
Adam Cohen 482ed823af Initial implementation of CellLayout auto-reordering
Change-Id: Id5b5080e846907a7d9cd6535f6e7285e83a0ff71
2012-03-15 13:48:12 -07:00
Winson Chung eecf02da58 Fixing some issues/regressions related to scaled icons.
- Fixes issue with folder icons being clipped in landscape in sw720dp (Bug: 6118397)
- Fixes issue with divider being in wrong orientation in sw720dp
- Fixes issue with scaled icons not being drawn with filtering
- Fixes issue with side pages showing under the hotseat when in landscape in phone UI
- Animates the drag view on pick up and drop

Change-Id: Iad26427ec63fcbc9bdb3b29a4645689ba445d5c8
2012-03-08 13:37:46 -08:00
Dianne Hackborn 4f560cec93 Don't do equal comparison with trim memory level.
It is possible for the app to get different values, for example
if memory is already low then it will immediately go to one of
the low memory levels when the app goes in the background.

Change-Id: I6522cb0385748d926ea7868eacaf588790672f1b
2012-03-06 19:07:47 -08:00
Andrew Flynn 826a661d5b resolved conflicts for merge of a3e22d6a to master
Change-Id: I8770574acf86e280a9d15d4309686111260e09d9
2012-03-01 16:26:50 -08:00
Andrew Flynn 0dca1ec414 New small/large screen division for Launcher.
Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).

Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
2012-02-29 17:30:37 -08:00
Adam Cohen ca83eeb091 Fix bug where widget min spans weren't being loaded on workspace bind
Change-Id: I984c3e226ae1c602a6b1dd366241e7f2d093f2a4
2012-02-29 15:18:40 -08:00
Adam Cohen d41fbf5680 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
2012-02-27 17:30:32 -08:00
Winson Chung aeae56bf12 Prevent build break.
Change-Id: Id4413263c3b2c0b470b78dc4936714353cd849dd
2012-02-24 15:47:37 -08:00
Michael Jurka 5f1c44ab0d Merge "Delaying building of hardware layers when Launcher is resumed" 2012-02-24 15:39:52 -08:00
Michael Jurka 6ee21d28fa Delaying building of hardware layers when Launcher is resumed 2012-02-24 13:39:21 -08:00
Winson Chung 9b0b2fefb2 Fixing issue where icons can't be clicked during launcher transition.
- Also tweaking the workspace fade in/out interpolators

Change-Id: I65d1aefbead13f662c84a2f1178c73615153fd5a
2012-02-24 13:04:26 -08:00
Winson Chung 46569ae107 Merge "Allow touches to fall through AllApps nearing end of transition (Bug: 5991846, 6016062, 5991846)" 2012-02-17 15:10:12 -08:00
Winson Chung 7044272f18 Allow touches to fall through AllApps nearing end of transition (Bug: 5991846, 6016062, 5991846)
- Also updating mTransitionProgress so control when drops succeed

Change-Id: I2f672c64f0a87249dcf7d254f963b8b2710c849f
2012-02-17 11:14:29 -08:00
Winson Chung 46353de2ab Updating shared preferences on background thread to prevent StrictMode violations when dismissing clings (Bug 5972880)
Change-Id: I56703e0237d54029fafbb04730ab126637762f13
2012-02-16 14:05:54 -08:00
Michael Jurka bed61d22bd Revert "Revert "Speed up All Apps -> Workspace transition""
- also, undo enabling hardware layers for
    scroll indicator, which could have caused
    slowness
- fix bug where scroll indicator was not seen
    after the first visit to all apps
- eliminate a some needless hardware layer redraws
- making items under All Apps invisible when we're
    in All Apps
- making workspace spaces invisible if their alpha is 0
    to prevent more hardware layer rebuilding

This reverts commit 9753d13c7b.

Change-Id: Ib908ae0b456b2d4b8a171991a95f20aea4749da1
2012-02-15 20:22:50 -08:00
Dianne Hackborn 98b69dc64f Part of fixing issue #6006757: Keyboard dismissal lags
Have launcher delay a little before rebuilding its layers, to give
the input system time to do the communication it needs with it before
blocked on that work.

Change-Id: Ib6f533a51c611b8c971c9ca2a1da8d53c8952b44
2012-02-15 18:29:29 -08:00
Winson Chung 54d9fc2830 Merge "Revert "Speed up All Apps -> Workspace transition"" 2012-02-14 13:38:35 -08:00
Michael Jurka 9753d13c7b Revert "Speed up All Apps -> Workspace transition"
Temp fix for 5976264

This reverts commit 9433fa7eba.

Change-Id: Ic49ffc818b9b233b3717b52a5f77eaac1e001f5b
2012-02-14 13:36:59 -08:00
Adam Cohen 1b36dc3f2b 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
2012-02-13 19:50:10 -08:00
Adam Cohen ed66b2bac7 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
2012-02-13 13:30:32 -08:00
Adam Cohen 6af9af057f Fix issue where launcher didn't return to workspace on screen off (issue 5628744)
Change-Id: Ic058cf7a803d2fe7be98325138cd5bd52a96cd9c
2012-02-02 15:41:45 -08:00
Winson Chung e4e506660b Locking pressed state for AllApps icons.
- Setting workaround for transition state bug until b/5897600 is fixed.

Change-Id: Icb29a4cd7bfaf527a9db5b853e7fb24c63b58b30
2012-01-24 13:15:23 -08:00
Michael Jurka 9433fa7eba Speed up All Apps -> Workspace transition
- use HW layers on Views whose alpha is faded
- don't run animation end code until the entire launcher
transition is finished
- be more aggressive about making workspace pages visible
after an animation, potential fix for Bug #5867739

Change-Id: I52a088e551c1636a67725629640286b885070f32
2012-01-20 06:50:06 -08:00
Michael Jurka df871fe8d9 Merge "Cleaning up animation code" 2012-01-17 12:07:24 -08:00
Michael Jurka 86868057c2 Merge "Removing dead code" 2012-01-17 10:57:09 -08:00