Commit Graph

16219 Commits

Author SHA1 Message Date
Romain Guy 0a1b202e69 Merge branch 'readonly-p4-master' 2009-04-09 14:13:43 -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
Romain Guy 1c8fd9eaf6 AI 145490: am: CL 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/...
  Original author: android-build

Automated import of CL 145490
2009-04-09 14:12:26 -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
Fred Quintana 7bdac26924 Merge branch 'readonly-p4-master' 2009-04-08 00:39:54 -07:00
Fred Quintana 3ecebb05c1 AI 144949: remove Maps
Automated import of CL 144949
2009-04-08 00:38:40 -07:00
Eric Fischer 4685bbc8d3 Merge branch 'readonly-p4-master' 2009-04-08 00:31:52 -07:00
Eric Fischer 3a9691afed AI 144913: am: CL 144912 Merge from cupcake:
Change 144891 on 2009/04/07 by enf@ebcdic
  Import a bunch of revised translations.
  Original author: enf

Automated import of CL 144913
2009-04-08 00:30:38 -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 2f3af06189 Merge branch 'readonly-p4-master' 2009-04-03 17:26:02 -07:00
Eric Fischer f666888a78 AI 144560: am: CL 144558 am: CL 144556 Pick up today's modified translations.
Original author: enf
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144560
2009-04-03 17:24:50 -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 21f776d65c Merge branch 'readonly-p4-master' 2009-04-02 23:40:08 -07:00
Eric Fischer 5941f17e3b AI 144414: am: CL 144347 Reimport es_US translations in an attempt to fix the build.
Original author: enf

Automated import of CL 144414
2009-04-02 23:38:59 -07:00
Eric Fischer 693f52a14e Merge branch 'readonly-p4-master' 2009-04-02 23:32:29 -07:00
Eric Fischer cf2e1dd998 AI 144411: am: CL 144336 am: CL 144335 Import US Spanish translations, and a few Japanese changes.
Original author: enf
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144411
2009-04-02 23:31:17 -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
The Android Open Source Project 65e2f48ad9 Merge commit 'goog/readonly-p4-master' 2009-03-31 21:34:26 -07:00
Jeffrey Sharkey fd990534c4 AI 143909: am: CL 143908 am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143909
2009-03-31 18:25:33 -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 5ffd4ae172 AI 143816: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143816
2009-03-31 14:43:35 -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
Jeffrey Sharkey 9dc115efc0 AI 143789: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143789
2009-03-31 14:35:45 -07:00
Eric Fischer 577ef46489 AI 143712: am: CL 143685 am: CL 143547 Import revised translations.
Original author: enf
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143712
2009-03-31 14:20:41 -07:00
Jeffrey Sharkey cde7470888 AI 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.
  BUG=1749120

Automated import of CL 143746
2009-03-31 12:09:02 -07:00
Eric Fischer c026e8ef0b AI 143685: am: CL 143547 Import revised translations.
Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 143685
2009-03-31 11:11:17 -07:00
Jeffrey Sharkey e5b142656c AI 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.
  BUG=1746104

Automated import of CL 143622
2009-03-31 10:12:20 -07:00
Eric Fischer 314cd6db6a AI 143547: Import revised translations.
BUG=1738388

Automated import of CL 143547
2009-03-30 15:52:27 -07:00
The Android Open Source Project 0cf0a6ad03 Merge branch 'open_source_no_contributions' into google_internal 2009-03-29 08:55:11 -07:00
Romain Guy fedc4fcebc AI 143295: am: CL 143294 Fixes #1725672. For good this time. When Home starts for the first time, it spawns a loading thread for the workspace items. That loader is responsible for starting the drawer loader after it's done. Unfortunately, after a wipe data or a database upgrade, the worksapce loader could be interrupted by a ContentProvider notification change which would cause the loader to be cancelled and another workspace loader to be spawned. The new workspace loader, however, would not start the drawer loader because the appropriate flag was not set correctly. This change simply duplicates the flag from the old loader in the new one and all is well.
Original author: romainguy
  Merged from: //branches/cupcake/...

Automated import of CL 143295
2009-03-27 20:48:20 -07:00
Romain Guy 38d6761db6 AI 143403: am: CL 143295 am: CL 143294 Fixes #1725672. For good this time. When Home starts for the first time, it spawns a loading thread for the workspace items. That loader is responsible for starting the drawer loader after it's done. Unfortunately, after a wipe data or a database upgrade, the worksapce loader could be interrupted by a ContentProvider notification change which would cause the loader to be cancelled and another workspace loader to be spawned. The new workspace loader, however, would not start the drawer loader because the appropriate flag was not set correctly. This change simply duplicates the flag from the old loader in the new one and all is well.
Original author: romainguy
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143403
2009-03-27 20:03:51 -07:00
Jeffrey Sharkey 591d6d77cc AI 143232: am: CL 143057 Don't NPE when editing a folder name.
Only happens when user changes orientation while editing, where getFolderById can return the wrong folder type for the given ID.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143232
2009-03-27 19:45:21 -07:00
Jeffrey Sharkey c975a06ac3 AI 143382: am: CL 143232 am: CL 143057 Don't NPE when editing a folder name.
Only happens when user changes orientation while editing, where getFolderById can return the wrong folder type for the given ID.
  Original author: jsharkey
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143382
2009-03-27 19:39:58 -07:00
Dianne Hackborn ccb1ecbe63 AI 143364: am: CL 143214 am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
Original author: hackbod
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143364
2009-03-27 19:19:20 -07:00
Jeffrey Sharkey ea70526ec7 AI 143342: am: CL 143191 am: CL 142952 Make Launcher norotate to prevent false-positive rotations.
Original author: jsharkey
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143342
2009-03-27 18:53:11 -07:00
The Android Open Source Project ddf2204161 Merge commit 'goog/cupcake' 2009-03-27 18:48:33 -07:00
Romain Guy bdde6f9126 AI 143338: am: CL 143187 am: CL 142933 Fixes #1725672. Rebind the drawer's content early to avoid the dreaded "blank drawer" bug.
Original author: romainguy
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143338
2009-03-27 18:48:11 -07:00
Dianne Hackborn 083b210af9 AI 143214: am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143214
2009-03-27 18:26:13 -07:00
Romain Guy bcc7c577d3 AI 143294: Fixes #1725672. For good this time. When Home starts for the first time, it spawns a loading thread for the workspace items. That loader is responsible for starting the drawer loader after it's done. Unfortunately, after a wipe data or a database upgrade, the worksapce loader could be interrupted by a ContentProvider notification change which would cause the loader to be cancelled and another workspace loader to be spawned. The new workspace loader, however, would not start the drawer loader because the appropriate flag was not set correctly. This change simply duplicates the flag from the old loader in the new one and all is well.
BUG=1725672

Automated import of CL 143294
2009-03-27 17:34:37 -07:00