Commit Graph

40 Commits

Author SHA1 Message Date
Romain Guy f38b3d5703 Fixes #1956185. Restores the gesture when changing orientation when creating a shortcut. 2009-07-01 16:39:46 -07:00
Romain Guy 98d0165c88 Use a plain DataOutputStream instead of SharedPreferences in Home. 2009-06-30 16:21:04 -07:00
Romain Guy 08f97496b7 Fixes #1949637. Home was setting waitingForResult=true whenever an app was launched.
Home was incorrectly treating apps launches as subactivties launched to obtain results.
This resulted in a protective flag being set when it should not have been.
2009-06-29 14:41:20 -07:00
Romain Guy f280f202e9 Fixes #1945905. Prevents the user from clicking the same button mutiple times. 2009-06-26 10:31:07 -07:00
Romain Guy 1ce1a24cba Fixes #1937447. Home was not saving the appropriate state when losing focus. 2009-06-23 17:34:54 -07:00
Romain Guy 3cf604f3b9 Fixes #1919280. Home was leaking the gestures window on configuration change.
Dismisses the popup window upon configuration change and correctly restores the
window after the new activity is created. This change also saves/restores the
current gesture and its match. This change also fixes the handling of the back
key when creating a new gesture-based shortcut: the gestures pad is not dismissed
anymore when pressing back in one of the shortcuts dialogs.
2009-06-17 17:22:14 -07:00
Romain Guy 94406848f6 Close the gestures pad when pressing Home. A regression was recently introduced when
ignoring the Home key press when Home's window does not have focus.
2009-06-17 16:18:58 -07:00
Romain Guy e3895ae921 Fixes #1921372. Pressing Home with the window shade down would show gestures pad.
This change checks for the window focus before taking action. If the Home's window
does not have focus, then the gestures pad is not shown.
2009-06-16 13:25:29 -07:00
Romain Guy 6fefcf1f83 Change recognition matchin in Home to immediate mode.
Instead of waiting for Xms after a finger up event to start the recognition process,
do it right away on a finger up event. This provides immediate feedback.
2009-06-11 13:07:43 -07:00
Romain Guy b873424818 Fixes 1909513.
Do not show the gestures pad when the user is in the search dialog.
2009-06-10 11:53:57 -07:00
Romain Guy aad5ef44c6 Fix issues with how the gestures pad was hidden when leaving Home. 2009-06-10 02:48:37 -07:00
Romain Guy 73b979d8c1 Add gestures to Home.
Press the Home key while in Home to enable the gestures pad.
2009-06-10 02:21:15 -07:00
Romain Guy cbb89e4fc2 Fix locked workspace in Home.
A dialog can be dismissed without being cancelled. This change simply
adds a dismiss listener to the Add dialog in Home to make sure the
workspace is properly unlocked when the dialog is dismissed.
2009-06-08 15:52:54 -07:00
Romain Guy 5a94139ff6 Fixes #1780990. Do not save the open state of the drawer when the user leaves Home by launching an application. 2009-04-28 15:18:25 -07:00
Karl Rosaen 138a04170d AI 147564: Merge back from search branch to donut. Notes:
- all public apis and framework changes have been reviewed by relevant folks in our branch (e.g romainguy)
  - all new public apis are @hidden; they will still get reviewed by api council once we're in git
  - other than that, it's mostly GlobalSearch and search dialog stuff, a new apps provider, and some tweaks
  to the contacts provider that was reviewed by jham

Automated import of CL 147564
2009-04-23 19:00:21 -07:00
Jeffrey Sharkey 2bbcae1922 AI 143776: am: CL 143622 Correctly startListening() for widget updates when first boot completes.
During the first boot upgrade, LauncherProvider will deleteHost() to clear out any old appWidgetId bindings.  During the first boot, Launcher calls AppWidgetHost.startListening() to watch for widget updates.  It also calls loadUserItems(), which loads data from LauncherProvider, triggering the database creation and deleteHost() call.  Because deleteHost() removes any existing callbacks, any future widget updates are dropped on the floor.  (This can currently be solved by rebooting, because there isn't an upgrade on subsequent boots.)
  This bug was particularly evident on vfpioneer-userdebug builds, as there aren't any configuration changes that cause Launcher to be destroyed and recreated.  (When destroyed and recreated, we startListening() again, and LauncherProvider doesn't call deleteHost().)
  To handle this special case, Launcher creates a ContentObserver pointing at a specific URI, which the LauncherProvider notifies when the AppWidgetHost is reset through deleteHost(), allowing Launcher to correctly startListening() again.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143776
2009-03-31 14:37:57 -07:00
Romain Guy 829f56a020 AI 143187: am: CL 142933 Fixes #1725672. Rebind the drawer's content early to avoid the dreaded "blank drawer" bug.
Original author: romainguy
  Merged from: //branches/cupcake/...

Automated import of CL 143187
2009-03-27 16:58:13 -07:00
Jeffrey Sharkey c4bbd0a5c0 Automated import from //branches/donutburger/...@142474,142474 2009-03-24 22:47:52 -07:00
Jeffrey Sharkey 2d132af2bb Automated import from //branches/donutburger/...@142038,142038 2009-03-24 21:21:09 -07:00
Romain Guy 9ffb5439b6 Automated import from //branches/donutburger/...@141885,141885 2009-03-24 21:04:15 -07:00
Dianne Hackborn bd2e54d8ae Automated import from //branches/donutburger/...@141844,141844 2009-03-24 21:00:33 -07:00
Jeffrey Sharkey c7fdae1763 Automated import from //branches/donutburger/...@141651,141651 2009-03-24 20:41:22 -07:00
Jeffrey Sharkey d18299f1d8 Automated import from //branches/donutburger/...@140670,140670 2009-03-24 18:11:49 -07:00
Jeffrey Sharkey 99c8758563 Automated import from //branches/donutburger/...@140592,140592 2009-03-24 17:59:43 -07:00
The Android Open Source Project f96811cdf5 auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:48 -07:00
The Android Open Source Project ca9475f040 auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:24 -07:00
The Android Open Source Project 7376faefbb auto import from //branches/cupcake/...@137873 2009-03-11 12:11:58 -07:00
The Android Open Source Project bc219c3c12 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:14 -07:00
The Android Open Source Project 31dd503c6a auto import from //depot/cupcake/@135843 2009-03-03 19:32:27 -08:00
The Android Open Source Project 3189679370 auto import from //depot/cupcake/@135843 2009-03-03 18:28:51 -08:00
The Android Open Source Project 38a75b2d89 auto import from //depot/cupcake/@132589 2009-03-03 14:04:32 -08:00
The Android Open Source Project b28e1b7d95 auto import from //depot/cupcake/@137055 2009-03-02 22:54:41 -08:00
The Android Open Source Project 233a0136ea auto import from //branches/cupcake/...@132276 2009-02-19 10:57:35 -08:00
The Android Open Source Project 98baae654d auto import from //branches/cupcake/...@131421 2009-02-13 12:57:53 -08:00
The Android Open Source Project 15a8880cb1 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:05 -08:00
The Android Open Source Project 62b49bb3f5 auto import from //branches/cupcake/...@127101 2009-01-20 14:04:00 -08:00
The Android Open Source Project 946cd91e36 auto import from //branches/cupcake/...@126645 2009-01-15 16:12:13 -08:00
The Android Open Source Project 0e320b21ad auto import from //branches/cupcake/...@125939 2009-01-09 17:51:25 -08:00
The Android Open Source Project d097a1880f Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:58 -08:00
The Android Open Source Project c8f00b61c6 Initial Contribution 2008-10-21 07:00:00 -07:00