Commit Graph

16725 Commits

Author SHA1 Message Date
Joe Onorato 1feb3a8d70 Start rewriting the motion event tracking.
It's just tracking the finger with no fling.
2009-08-08 22:32:00 -07:00
Dianne Hackborn 6427180237 Update to follow modified wallpaper APIs. 2009-08-08 21:01:32 -07:00
Joe Onorato 43e7bcf0ad start rewriting rollo so it's a little more parameterized. 2009-08-08 18:53:53 -07:00
Joe Onorato bf15cb44cc clean up rollo / launcher2 2009-08-07 14:33:40 -07:00
Joe Onorato 9383905560 Move rollo into the all apps view. 2009-08-06 20:34:32 -07:00
Joe Onorato 00acb123c5 Move the drag thing into its own window that goes around on top of everything else. 2009-08-06 12:45:43 -07:00
Dianne Hackborn 107f839cdf Update to use new wallpaper APIs. 2009-08-05 21:32:16 -07:00
Joe Onorato e77c08d15f Fade the workspace when the all apps drawer opens and closes. 2009-08-01 00:01:20 -07:00
Joe Onorato 5979117dc2 Split the wallpaper into its own view (it will be its own surface some day). 2009-07-31 16:24:20 -07:00
Joe Onorato 45d4346889 Factor showAllAppsDialog 2009-07-31 16:24:20 -07:00
Joe Onorato fde104bfe9 no texture for the all apps grid. 2009-07-31 16:24:19 -07:00
Joe Onorato 7404ee4a16 Checkpoint launcher2 - all apps is in a 2nd window.
Lots is still broken.
2009-07-31 16:24:15 -07:00
Joe Onorato a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Joe Onorato fca7c88f9d Move com/android/launcher -> com/android/launcher2 2009-07-30 10:15:07 -07:00
Joe Onorato 1b12645748 Also provide the name of the wallpaper that's being backed up. 2009-07-29 14:12:18 -07:00
Mike LeBeau 77481e8e55 am 31bbf9cb: Stop trying to play tricks with the focusability of the search widget\'s TextView, as we weren\'t always doing it right, and it doesn\'t seem to help or hurt the frequency of the home screen sliding up when the widget is selected (that seems to be separate,
Merge commit '31bbf9cbff8d5db6ab3b1cd93497045acdb8f74a'

* commit '31bbf9cbff8d5db6ab3b1cd93497045acdb8f74a':
  Stop trying to play tricks with the focusability of the search widget's
2009-07-28 15:34:31 -07:00
Mike LeBeau 31bbf9cbff Stop trying to play tricks with the focusability of the search widget's
TextView, as we weren't always doing it right, and it doesn't seem to
help or hurt the frequency of the home screen sliding up when the
widget is selected (that seems to be separate, see http://b/1819752).
2009-07-28 14:19:06 -07:00
Dianne Hackborn 678008667e Deal with canceled keys. 2009-07-24 17:30:26 -07:00
Dianne Hackborn 32ce7f17a8 Update launcher to use new bitmap density API. 2009-07-23 20:09:20 -07:00
Android (Google) Code Review efb38794c8 Merge change 8034 into donut
* changes:
  Remove gestures from Home.
2009-07-21 10:56:06 -07:00
Romain Guy 94dabf1be4 Remove gestures from Home. 2009-07-21 10:55:43 -07:00
Mike LeBeau 18fdcb6de7 Display a Google logo in the search widget if Google is the chosen web
search provider. Listen for broadcasts of that setting changing to
correctly update the widget as appropriate.
2009-07-20 19:20:58 -07:00
Romain Guy 6e1fd5b2b0 Prevents BadTokenException on rotation of the gestures window. 2009-07-17 16:36:31 -07:00
Romain Guy 6c8bbcb5a2 Fixes #1930069. Prevents NPE in GesturesActivity. Ensures the store is always != null. 2009-07-17 16:18:27 -07:00
Romain Guy 27f98955ad Remove dead code from Home. 2009-07-17 15:28:42 -07:00
Romain Guy e769bc7602 Fixes #1987902. Do not show the + button when not needed. 2009-07-17 14:20:24 -07:00
Romain Guy f984894964 Fix back button in gestures panel. 2009-07-17 01:24:40 -07:00
Romain Guy 6b3f51d373 More new gestures UI. Adds a back button at the bottom of the settings activity. 2009-07-16 17:46:19 -07:00
Romain Guy 1dd3a077a2 New gestures UI. 2009-07-16 16:06:48 -07:00
Android (Google) Code Review 949b3eb9d3 Merge change 7136 into donut
* changes:
  Fix the lock issue on Home. This was caused by onPrepareDialog().
2009-07-14 14:51:25 -07:00
Romain Guy 7b4ef330d9 Fix the lock issue on Home. This was caused by onPrepareDialog().
onPrepareDialog() is called after a dialog was created/shown at least once. But
onPrepareDialog() does not mean the dialog will be shown. Thus Home would
sometimes lock itself without showing the dialog the user would normally use to
unlock the workspace.
2009-07-14 13:58:08 -07:00
Romain Guy 6f227eba4b Fixes #1977560. Prevents NPE when rotating the gestures activity. 2009-07-14 13:18:51 -07:00
Bjorn Bringert 0879cef6dd Don't call SearchManager.isVisible() in Launcher.
SearchManager.isVisible() is a hidden method that should
not be used by applications. Also, SearchManager.stopSearch()
already checks whether the search dialog is visible before
tryinf to dimiss it, so the check in Launcher was redundant.
2009-07-08 12:38:25 +01:00
Romain Guy a206daaed1 Related to #1444844. Caps fling velocity on Home. 2009-07-06 11:51:18 -07:00
Mike LeBeau 736cf281f4 Close the search dialog when user gets to Home by pressing home button,
but still keep it up if the user pressed e.g. back button.
2009-07-02 18:23:15 -07:00
Android (Google) Code Review 93e9515348 Merge change 6127 into donut
* changes:
  Remove SearchAutocompleteTextView from Launcher.
2009-07-02 16:05:37 -07:00
Karl Rosaen a224fe5004 Remove SearchAutocompleteTextView from Launcher.
Now that the search widget doesn't actually get focus (it just turns into
the search dialog), it is no longer needed.
2009-07-02 14:19:44 -07:00
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 806b0f3fbf Fix use of drawing cache in Launcher. 2009-06-26 16:57:39 -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 b132a97cb7 Fixes #1940691. Sync packages when home receives a reinstall notification.
Home was only updating known activities. This change makes home also check for
removed activities and added activities.
2009-06-24 13:45:46 -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 417d23428a Fixes #1930608. Drop the gestures tables before attempting to recreate it. 2009-06-19 14:28:51 -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
Android (Google) Code Review 529100b752 Merge change 4479 into donut
* changes:
  Adds checks in Home's broadcast receivers to handle only known actions.
2009-06-17 10:41:44 -07:00
Romain Guy c665672acb Fix handling of the back key on Home in the gestures panel.
Previously, pressing back in a dialog on top of the gestures panel would
always dismiss the gestures panel. This is because the UP event for the
BACK key is sent to the underlying window after dismissing a dialog.
This fix simply checks for DOWN events only.
2009-06-17 10:28:43 -07:00
Romain Guy 51ed5b9bc0 Adds checks in Home's broadcast receivers to handle only known actions.
Previously, Home would handle any action sent directly to its broadcast
receivers as if it was an UNINSTALL/INSTALL_SHORTCUT action.
2009-06-17 10:20:34 -07:00