Commit Graph

107 Commits

Author SHA1 Message Date
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
Eric Fischer 587c717d00 AI 147492: Update zh_TW translations.
Automated import of CL 147492
2009-04-23 11:59:15 -07:00
Jean-Baptiste Queru fa0330cc70 merge cupcake into donut 2009-04-22 17:56:59 -07:00
Eric Fischer 062be27886 AI 146365: Import revised translations.
DO NOT MERGE

Automated import of CL 146365
2009-04-15 13:30:20 -07:00
Eric Fischer d05430a6cb AI 146175: Import updated translations.
Automated import of CL 146175
2009-04-14 12:10:43 -07:00
Android (Google) Code Review 7c693528b3 Merge change 40 into donut
* changes:
  Make Launcher more forgiving when dragging desktop items.
2009-04-10 16:18:20 -07:00
Romain Guy eeb4672371 AI 145482: am: CL 145182 Fixes #1777943. Put the Clock back...
Original author: romainguy
  Merged from: //branches/cupcake/...

Automated import of CL 145482
2009-04-09 14:21:24 -07:00
Romain Guy f64cc759bb AI 145472: am: CL 145085 Fixes #1777943. Get rid of the Clock widget on the default Home configuration and bring the Search widget to the center screen.
Original author: romainguy
  Merged from: //branches/cupcake/...

Automated import of CL 145472
2009-04-09 14:12:56 -07:00
Eric Fischer 6f4f37167f AI 145225: Import more revised translations into cupcake.
Automated import of CL 145225
2009-04-08 18:43:30 -07:00
Jeff Sharkey 70864289fb Make Launcher more forgiving when dragging desktop items.
This change adds nearby-area searching when dragging desktop items into already-occupied cells.  This approach tries harder to find a matching area, instead of strictly rejecting invalid moves.

We also draw a "snag" during the drag to show where an item would be dropped, but only if we would drop into an alternative cell.  This gives users better feedback about where things will drop.

http://b/issue?id=1634887
2009-04-08 16:44:27 -07:00
Romain Guy da19c1677f AI 145182: Fixes #1777943. Put the Clock back...
BUG=1777943

Automated import of CL 145182
2009-04-08 14:01:29 -07:00
Romain Guy 6164fdd8da AI 145085: Fixes #1777943. Get rid of the Clock widget on the default Home configuration and bring the Search widget to the center screen.
BUG=1777943

Automated import of CL 145085
2009-04-08 12:48:14 -07:00
Eric Fischer 48a5c89517 AI 144977: Import revised translations.
DO NOT MERGE

Automated import of CL 144977
2009-04-07 18:15:15 -07:00
Eric Fischer d51678ad47 AI 144912: Merge from cupcake:
Change 144891 on 2009/04/07 by enf@ebcdic
  Import a bunch of revised translations.

Automated import of CL 144912
2009-04-07 13:55:06 -07:00
Eric Fischer 76055a62b9 AI 144891: Import a bunch of revised translations.
Automated import of CL 144891
2009-04-07 11:48:29 -07:00
Eric Fischer bb760cc21e AI 144558: am: CL 144556 Pick up today's modified translations.
Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 144558
2009-04-03 17:21:53 -07:00
Eric Fischer 35aec0abd9 AI 144556: Pick up today's modified translations.
Automated import of CL 144556
2009-04-03 17:19:55 -07:00
Eric Fischer e344e10525 AI 144355: Automated g4 rollback of changelist 144335.
*** Reason for rollback ***
  Roll back US Spanish import because it made the build too big.
  *** Original change description ***
  Import US Spanish translations, and a few Japanese changes.

Automated import of CL 144355
2009-04-02 21:42:06 -07:00
Eric Fischer fe8e07a754 AI 144347: Reimport es_US translations in an attempt to fix the build.
Automated import of CL 144347
2009-04-02 17:15:44 -07:00
Eric Fischer f03bce5c5c AI 144336: am: CL 144335 Import US Spanish translations, and a few Japanese changes.
Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 144336
2009-04-02 16:42:15 -07:00
Eric Fischer bbc362434d AI 144335: Import US Spanish translations, and a few Japanese changes.
Automated import of CL 144335
2009-04-02 16:39:22 -07:00
Jeffrey Sharkey 7bd74a410b AI 143908: am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143908
2009-03-31 18:25:03 -07:00
Jeffrey Sharkey 1796c48dd7 AI 143907: Make search widget drop-down wider.
BUG=1749373

Automated import of CL 143907
2009-03-31 18:24:45 -07:00
Jeffrey Sharkey 3fca10b8cd AI 143792: am: CL 143746 Fix search widget assets to not overlap in landscape mode.
Done by using small button framework assets, but with manual padding adjustments to bring back to original button size.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143792
2009-03-31 14:59:08 -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