Commit Graph

131 Commits

Author SHA1 Message Date
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
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 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 6f3b47704c Merge change 1209 into donut
* changes:
  Make Launcher request BIND_APPWIDGET.
2009-05-18 14:37:50 -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 583ed3ba08 * re-scale icons that are loaded using different denstiy metrics.
* fix potential npe
2009-05-12 19:27:48 -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 83f111d129 Prevent race condition when cancelling long-press for scroll.
When dragging between workspaces in rapid succession, the canceling of the
original long-press timer wasn't being triggered correctly.  (When the timer
fires, it might read an invalid Workspace.allowLongPress() value.)

This patchset correctly cancels any pending long-press timers once a desktop
scroll begins, and we don't need to rely on the allowLongPress() value.
2009-05-11 18:18:16 -07:00
Android (Google) Code Review ecadabf578 Merge change 1372 into donut
* changes:
  Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
2009-05-11 15:03:50 -07:00
Romain Guy 263e019baa Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before. 2009-05-11 11:50:46 -07:00
Android (Google) Code Review c7a21b5fe0 Merge change 1274 into donut
* changes:
  Modify comments in Launcher strings for global search.
2009-05-08 14:33:08 -07:00
Mike LeBeau 692935664e Modify comments in Launcher strings for global search. 2009-05-08 14:27:31 -07:00
Ramanan Rajeswaran 82fb8aab77 am c4c1f32: AI 148592: Fix wallpaperchooser from previewing the default_
Merge commit 'c4c1f32159cf125f60c6057e5099aa3e0dc439cf' into donut

* commit 'c4c1f32159cf125f60c6057e5099aa3e0dc439cf':
  AI 148592: Fix wallpaperchooser from previewing the default_wallpaper to wallpaper_lake. This issue is exposed
2009-05-08 13:17:39 -07:00
Ramanan Rajeswaran c4c1f32159 AI 148592: Fix wallpaperchooser from previewing the default_wallpaper to wallpaper_lake. This issue is exposed
when we override the default wallpaper.
  BUG=1836838

Automated import of CL 148592
2009-05-08 13:15:08 -07:00
Jeff Sharkey 6d3bfe53a8 Make Launcher request BIND_APPWIDGET.
See http://b/issue?id=1839074 for more details.
2009-05-07 16:30:32 -07:00
Romain Guy 82d94d9e9e Fixes 1543726. Double-clicking Home should not make the workspace disappear. This was caused by the workspace optimization that draws only what is thought to be the current celllayout. 2009-05-06 17:43:13 -07:00
Romain Guy 51afc022fa Fix obsolete javadoc 2009-05-04 18:03:43 -07:00
Eric Fischer a84402aa1f am f40e4dd: AI 148147: Import lots of zh_TW translation changes.
Merge commit 'f40e4dd1cfb1d1faccd3b28ff8b92fce714a0c7c' into donut

* commit 'f40e4dd1cfb1d1faccd3b28ff8b92fce714a0c7c':
  AI 148147: Import lots of zh_TW translation changes.
2009-04-30 17:37:36 -07:00
Eric Fischer f40e4dd1cf AI 148147: Import lots of zh_TW translation changes.
Automated import of CL 148147
2009-04-30 17:32:16 -07:00
Ramanan Rajeswaran d86847ee01 am fc1a6d1: AI 148132: Add two wallpapers for tmobile and set the defaul
Merge commit 'fc1a6d11747992ec1cdcc6c71899576c5bf8085f' into donut

* commit 'fc1a6d11747992ec1cdcc6c71899576c5bf8085f':
  AI 148132: Add two wallpapers for tmobile and set the default wallpaper to tmobile
2009-04-30 17:28:22 -07:00
Ramanan Rajeswaran fc1a6d1174 AI 148132: Add two wallpapers for tmobile and set the default wallpaper to tmobile
turtle
  BUG=1808772

Automated import of CL 148132
2009-04-30 17:25:21 -07:00
Eric Fischer cd22729bc6 am 9ebccd0: AI 148026: Update zh_TW translations.
Merge commit '9ebccd0e08317e860c17f5db606b3491a3af1616' into donut

* commit '9ebccd0e08317e860c17f5db606b3491a3af1616':
  AI 148026: Update zh_TW translations.
2009-04-30 17:10:44 -07:00
Eric Fischer 9ebccd0e08 AI 148026: Update zh_TW translations.
Automated import of CL 148026
2009-04-30 16:48:34 -07:00
Romain Guy 15ea33d38b Fixes #1798818. Enable the appropriate cache color hint for folders to speed up the scrolling. 2009-04-30 15:11:58 -07:00
Eric Fischer f7dd0a888a am 587c717: AI 147492: Update zh_TW translations.
Merge commit '587c717d006aaf25c89bec504d1e7feeebd96d83' into donut

* commit '587c717d006aaf25c89bec504d1e7feeebd96d83':
  AI 147492: Update zh_TW translations.
2009-04-28 21:57:28 -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 71b0594a6f Merge branch 'readonly-p4-donut' into donut 2009-04-23 19:01:37 -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