Commit Graph

36166 Commits

Author SHA1 Message Date
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 7287d2d444 am ded9ec91: Merge change 4383 into donut
Merge commit 'ded9ec91f6623d2566e1b2439ab302b6451e1657'

* commit 'ded9ec91f6623d2566e1b2439ab302b6451e1657':
  Fixes #1912902. Handles orientation change when renaming gestures.
2009-06-16 16:43:07 -07:00
Romain Guy b0e4ad7422 am e3895ae9: Fixes #1921372. Pressing Home with the window shade down would show gestures pad.
Merge commit 'e3895ae9212d8654af10983cbf62206ead02ec24'

* commit 'e3895ae9212d8654af10983cbf62206ead02ec24':
  Fixes #1921372. Pressing Home with the window shade down would show gestures pad.
2009-06-16 16:43:03 -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 726aec16f4 am 91a9c963: 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.
Merge commit '91a9c9636f10f1e12cd1f660b2e330634fbdc7dc'

* commit '91a9c9636f10f1e12cd1f660b2e330634fbdc7dc':
  When initiating a drag and drop from a folder in home, you could sometimes see
2009-06-14 21:12:33 -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 7d3307dd76 am fca59c75: Merge change 3947 into donut
Merge commit 'fca59c759ef9c7cc2fc062d14ede8bd57254abbf'

* commit 'fca59c759ef9c7cc2fc062d14ede8bd57254abbf':
  Fixes #1824492. Removes the clock from the default Home layout.
2009-06-12 04:59:41 -07:00
Android (Google) Code Review d16cd03e41 am 3003fb82: Merge change 3939 into donut
Merge commit '3003fb8214e512ee7b8eb62b10b7446177e0682c'

* commit '3003fb8214e512ee7b8eb62b10b7446177e0682c':
  Tweak thread priorities in Home to make first boot experience a little better.
2009-06-12 04:59:40 -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 6385b35561 am 6fefcf1f: Change recognition matchin in Home to immediate mode.
Merge commit '6fefcf1f83ba05e898ea7164a68dcced657bb43e'

* commit '6fefcf1f83ba05e898ea7164a68dcced657bb43e':
  Change recognition matchin in Home to immediate mode.
2009-06-11 13:17:01 -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 c2cabbe976 am ae4f5759: Improve the threading model in the gestures settings activity.
Merge commit 'ae4f575911d0c17de8d687a8fa092b0aa8360243'

* commit 'ae4f575911d0c17de8d687a8fa092b0aa8360243':
  Improve the threading model in the gestures settings activity.
2009-06-11 11:42:01 -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 051548ce42 am 70729e7a: Update Portuguese translations.
Merge commit '70729e7a0c4614502cd59adde0928191ae59916f'

* commit '70729e7a0c4614502cd59adde0928191ae59916f':
  Update Portuguese translations.
2009-06-10 15:33:49 -07:00
Eric Fischer c965e10c78 am 2c23a315: am 72281585: AI 149721: Import Portuguese translations.
Merge commit '2c23a315a6b7222fdbedd13acea6b2766910d87a'

* commit '2c23a315a6b7222fdbedd13acea6b2766910d87a':
  AI 149721: Import Portuguese translations.
2009-06-10 15:32:23 -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 fb78b43b30 am b8734248: Fixes 1909513.
Merge commit 'b8734248181509727a8a19372650dc804d58c21e'

* commit 'b8734248181509727a8a19372650dc804d58c21e':
  Fixes 1909513.
2009-06-10 12:21:16 -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 c1dd33cadc am aad5ef44: Fix issues with how the gestures pad was hidden when leaving Home.
Merge commit 'aad5ef44c665fc4ce143a61c009dc04be3ab0437'

* commit 'aad5ef44c665fc4ce143a61c009dc04be3ab0437':
  Fix issues with how the gestures pad was hidden when leaving Home.
2009-06-10 07:44:36 -07:00
Romain Guy bbeb240704 am 73b979d8: Add gestures to Home.
Merge commit '73b979d8c141c7ceac82dad7c5b271a6a42afa67'

* commit '73b979d8c141c7ceac82dad7c5b271a6a42afa67':
  Add gestures to Home.
2009-06-10 07:44:34 -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 836fab2853 am cbb89e4f: Fix locked workspace in Home.
Merge commit 'cbb89e4fc253a5fc3f24162dfb4e29fc6a815c2b'

* commit 'cbb89e4fc253a5fc3f24162dfb4e29fc6a815c2b':
  Fix locked workspace in Home.
2009-06-08 23:52:45 -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 25f6197589 am c2e24c0a: Fixes #1876911
Merge commit 'c2e24c0a37ddeab930f731c062705d435e477f75'

* commit 'c2e24c0a37ddeab930f731c062705d435e477f75':
  Fixes #1876911
2009-06-02 00:36:21 -07:00
Android (Google) Code Review f2eb7c718d am bb593755: Merge change 2865 into donut
Merge commit 'bb593755d2fa8980855072dfdc72aae3adb2e6dd'

* commit 'bb593755d2fa8980855072dfdc72aae3adb2e6dd':
  Fixes #1890155.
2009-06-02 00:36:20 -07:00
Romain Guy 09b06e937a am 2eb49ff2: Fixes #1889268.
Merge commit '2eb49ff2a3f7066cae1768d2314c4f912bd6c28d'

* commit '2eb49ff2a3f7066cae1768d2314c4f912bd6c28d':
  Fixes #1889268.
2009-06-02 00:36:06 -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
Romain Guy 2eb49ff2a3 Fixes #1889268.
Dragging an icon out of a folder was showing a gray background. This was due to the icon's drawing cache background color. This fix simply temporarily resets that color when capturing the view into a Bitmap.
2009-06-01 14:54:59 -07:00
Mike LeBeau 5eff61f1d1 am 8283ccff: Do not force the soft keyboard open if the search widget is already at the top of the screen. Forcing the soft keyboard open is done at a specific time when animating the search widget to the top of the screen in order to time the two animations well, but we were doing it anyway even if the search widget was already at the top of the screen and didn\'t need to animate.
Merge commit '8283ccff7c44e3f2a62496167159228eb50706b6'

* commit '8283ccff7c44e3f2a62496167159228eb50706b6':
  Do not force the soft keyboard open if the search widget is already at the top of the screen.
2009-05-23 13:11:54 -07:00
Mike LeBeau 8283ccff7c Do not force the soft keyboard open if the search widget is already at the top of the screen.
Forcing the soft keyboard open is done at a specific time when animating the
search widget to the top of the screen in order to time the two animations well,
but we were doing it anyway even if the search widget was already at the top of
the screen and didn't need to animate.

Okay, so git does kinda rock when you're on a plane. :)
2009-05-22 18:08:43 -07:00
Android (Google) Code Review f749991aba am 6f3b4770: Merge change 1209 into donut
Merge commit '6f3b47704c9e1f655df8ed5dcf4531745392b2d7'

* commit '6f3b47704c9e1f655df8ed5dcf4531745392b2d7':
  Make Launcher request BIND_APPWIDGET.
2009-05-18 23:56:16 -07:00
Android (Google) Code Review 6f3b47704c Merge change 1209 into donut
* changes:
  Make Launcher request BIND_APPWIDGET.
2009-05-18 14:37:50 -07:00
Romain Guy 466dffb15e am c2ad7a6e: Fix for #1855127. When Home cannot decode an icon, it should not interrupt the loading of the workspace, but fallback to the default package icon.
Merge commit 'c2ad7a6e1571f933f4bc8ceaee5c745a96aaaf68'

* commit 'c2ad7a6e1571f933f4bc8ceaee5c745a96aaaf68':
  Fix for #1855127. When Home cannot decode an icon, it should not interrupt the loading of the workspace, but fallback to the default package icon.
2009-05-14 17:48:20 -07:00
Romain Guy c2ad7a6e15 Fix for #1855127. When Home cannot decode an icon, it should not interrupt the loading of the workspace, but fallback to the default package icon. 2009-05-14 17:43:39 -07:00
Mitsuru Oshima fbe5a1b0f0 am 583ed3b: * re-scale icons that are loaded using different denstiy met
Merge commit '583ed3ba08644912ec0f3ec8ceb939f9eb0b8e86'

* commit '583ed3ba08644912ec0f3ec8ceb939f9eb0b8e86':
  * re-scale icons that are loaded using different denstiy metrics.
2009-05-13 12:52:21 -07:00
Mitsuru Oshima 583ed3ba08 * re-scale icons that are loaded using different denstiy metrics.
* fix potential npe
2009-05-12 19:27:48 -07:00
Romain Guy 77bd393b66 am 4c58c48: Fixes #1844053. Home was accepting all drops, even when ther
Merge commit '4c58c485d8c02f8ca7e8b4d93140440f6a3a5131'

* commit '4c58c485d8c02f8ca7e8b4d93140440f6a3a5131':
  Fixes #1844053. Home was accepting all drops, even when there was no room left for a drop. This change fixes this while retaining the 'snap to vacant cell' ability added in Cupcake.
2009-05-12 19:06:23 -07:00
Romain Guy 4c58c485d8 Fixes #1844053. Home was accepting all drops, even when there was no room left for a drop. This change fixes this while retaining the 'snap to vacant cell' ability added in Cupcake. 2009-05-12 17:35:41 -07:00
Jeff Sharkey 17b182f997 am 83f111d: Prevent race condition when cancelling long-press for scroll
Merge commit '83f111d129fcb8c50b35da789f0d75604b9c0864'

* commit '83f111d129fcb8c50b35da789f0d75604b9c0864':
  Prevent race condition when cancelling long-press for scroll.
2009-05-11 18:26:50 -07:00