Commit Graph

158 Commits

Author SHA1 Message Date
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
Android (Google) Code Review c5df5b61b8 Merge change 7061 into donut
* changes:
  Put in new version of search floater background image to put one pixel of padding and one less pixel of margin at the top.
2009-07-13 20:46:52 -07:00
Mike LeBeau d717ca2d91 Put in new version of search floater background image to put one pixel of padding
and one less pixel of margin at the top.
2009-07-13 20:46:10 -07:00
Eric Fischer f881f08d30 Import new translations 2009-07-13 15:48:21 -07:00
Romain Guy 83fb0c1c42 Remove unused resources from Home. 2009-07-09 14:57:27 -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 aafeef310f Fix the search widget taking characters into it rather than forwarding
them to the search dialog. By setting editable=false and inputType=none,
the TextView can still take focus, but key input is forwarded to the
launcher which knows what to do.
2009-07-02 18:23:15 -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
Dianne Hackborn f22875368c Change name for home's uid to something more generic.
There are lots of things running under home's uid, so give it a more generic
name.  Home no longer to blame for all the world's ills!
2009-06-24 20:30:24 -07:00
Romain Guy 800c215fa8 Fix the build 2009-06-24 17:38:45 -07:00
Android (Google) Code Review f90f31e09f Merge change 5291 into donut
* changes:
  Add the few missing strings needed by Home.
2009-06-24 17:29:11 -07:00
Romain Guy 840f0d72e8 Add the few missing strings needed by Home. 2009-06-24 17:25:39 -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
Android (Google) Code Review ded9ec91f6 Merge change 4383 into donut
* changes:
  Fixes #1912902. Handles orientation change when renaming gestures.
2009-06-16 13:49:15 -07:00
Romain Guy 708ab96f2e Fixes #1912902. Handles orientation change when renaming gestures.
The GesturesActivity was crashing when changing the orientation while
renaming a gesture. This was due to unimplemented support for orientation
changes.
2009-06-16 13:47: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 91a9c9636f When initiating a drag and drop from a folder in home, you could sometimes see
a black background behind the icon. This was due to uncleared drawing caches.
2009-06-12 13:52:17 -07:00
Android (Google) Code Review fca59c759e Merge change 3947 into donut
* changes:
  Fixes #1824492. Removes the clock from the default Home layout.
2009-06-11 14:27:05 -07:00
Romain Guy 70557a7f78 Fixes #1824492. Removes the clock from the default Home layout. 2009-06-11 14:25:47 -07:00
Android (Google) Code Review 3003fb8214 Merge change 3939 into donut
* changes:
  Tweak thread priorities in Home to make first boot experience a little better.
2009-06-11 14:10:09 -07:00
Romain Guy 2fcbd686d1 Tweak thread priorities in Home to make first boot experience a little better. 2009-06-11 14:02:33 -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 ae4f575911 Improve the threading model in the gestures settings activity.
This change checks for isCancelled() inside the loop to be able to terminate
the thread as early as possible.
2009-06-11 11:12:51 -07:00
Eric Fischer 70729e7a0c Update Portuguese translations. 2009-06-10 15:11:18 -07:00
Eric Fischer 2c23a315a6 am 72281585: AI 149721: Import Portuguese translations.
Merge commit '72281585d136353ed3814a96448763a2a6f7cca4' into donut

* commit '72281585d136353ed3814a96448763a2a6f7cca4':
  AI 149721: Import Portuguese translations.
2009-06-10 12:29:59 -07:00
Eric Fischer 72281585d1 AI 149721: Import Portuguese translations.
Automated import of CL 149721
2009-06-10 12:26:08 -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 c2e24c0a37 Fixes #1876911
Moving the trackball up or down on a screen in Home could send the focus
to the left/right, which can be confusing. This issue was introduced by
a change in the way addFocusables() work and Home did not respect the
new behavior.
2009-06-01 16:24:00 -07:00
Android (Google) Code Review bb593755d2 Merge change 2865 into donut
* changes:
  Fixes #1890155.
2009-06-01 15:37:00 -07:00
Romain Guy 574d20ec84 Fixes #1890155.
Remove shortcuts from folders (closed and opened) whenever the user
uninstalls an application. Home was removing shortcuts from the
workspace and the database but was not updating the UI correctly
when running.
2009-06-01 15:34:04 -07:00