Commit Graph

535 Commits

Author SHA1 Message Date
Winson Chung 5e024a3c9c Merge "Fixing regression where the proper rotation check was not being done. (Bug 6422040)" into jb-dev 2012-05-01 12:54:08 -07:00
Winson Chung 2383c8f41e Merge "Sending broadcast for pre-configuring default workspace widgets." into jb-dev 2012-05-01 11:44:56 -07:00
Winson Chung b3302aee12 Sending broadcast for pre-configuring default workspace widgets.
Change-Id: I3c5598b9a2cec6cdcc96015645018b0a6e44a2fc
2012-05-01 10:59:59 -07:00
Winson Chung 4b919f813f Fixing regression where the proper rotation check was not being done. (Bug 6422040)
Change-Id: Iadc9a886b84c4418750dc365298944f76c564587
2012-05-01 10:45:05 -07:00
Adam Cohen 2f093b6ad1 Fix widget resizes that shouldn't (issue 6380435)
Change-Id: Ia1da2df16ca184e6f451775597fa33ee38df6122
2012-04-30 18:59:53 -07:00
Adam Cohen accf3bffed Fix NPE when rotating with widget frame visible (issue 6391782)
Change-Id: I67e8abf34c6ced447763fd3777c23773225ac5b5
2012-04-30 16:10:53 -07:00
Michael Jurka ae65ee3033 Allow search/voice toolbar icons to live in same activity
- Also, check first to see if the global search
activity handles the voice search intent

Change-Id: Ied9c556f865c9b3ccb8d91a47d56387b745717d5
2012-04-30 15:40:33 -07:00
Adam Cohen 7d2d6b5f09 Merge "Making launcher update widgets with min/max extents" into jb-dev 2012-04-30 13:21:52 -07:00
Adam Cohen a897f397e5 Making launcher update widgets with min/max extents
Change-Id: Iba9325eeb95a8a8256ef6f59f4010aff09767892
2012-04-30 12:07:19 -07:00
Michael Jurka d7c28056d3 Say "Home" instead of "Launcher" in TalkBack mode
Change-Id: Iec9036d693913967009696c1c90825bee8b7d9c6
2012-04-30 11:06:37 -07:00
Winson Chung da954bb599 Merge "Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)" into jb-dev 2012-04-30 10:22:37 -07:00
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 11a4937fbf Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)
- Also fixes issue if we are dragging a shortcut/widget and it is removed.
- Also exposes App Info for shortcuts and widgets

Change-Id: I3bd5056f50f20e8b277dde6456df26eac815bcde
2012-04-27 15:15:11 -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