22676 Commits

Author SHA1 Message Date
Dianne Hackborn
2dedce6e84 Introducing Fragment.
Basic implementation of an API for organizing a single activity into separate,
discrete pieces.  Currently supports adding and removing fragments, and
performing basic lifecycle callbacks on them.

Change-Id: I6ea8e6bdb04d93f8105c2e983fe9b6532422de34
2010-04-19 15:09:31 -07:00
Raphael
2df4c76b96 Merge "Fix aapt to build in Windows SDK under Linux" 2010-04-19 14:53:36 -07:00
Daniel Lehmann
e6786376b3 Merge "Ensure public methods exist to update the state of the UI, so that it can be set from outside" 2010-04-19 13:42:54 -07:00
Daniel Lehmann
4fcc5b1f93 Ensure public methods exist to update the state of the UI, so that it can be set from outside
Change-Id: Ib1d7b0b36b6cdcbf1256647da76130927a29ec6d
2010-04-19 13:41:07 -07:00
Robert Greenwalt
3fce2ef599 am 3d27a2e6: am 2f8c9e68: am f06f2eb2: Merge "Misc fixes for throttling." into froyo 2010-04-19 13:39:01 -07:00
Robert Greenwalt
3d27a2e6a1 am 2f8c9e68: am f06f2eb2: Merge "Misc fixes for throttling." into froyo
Merge commit '2f8c9e6825e31614f26f8d9f3c1de7be2f3e9f9e' into kraken

* commit '2f8c9e6825e31614f26f8d9f3c1de7be2f3e9f9e':
  Misc fixes for throttling.
2010-04-19 13:31:24 -07:00
Grace Kloba
53be241f73 am 4a77f9e9: am e3ce4c89: am 2dc78498: Merge "Remove fixed size restriction on the SurfaceView before setting it to the full screen content view." into froyo 2010-04-19 13:27:44 -07:00
Robert Greenwalt
2f8c9e6825 am f06f2eb2: Merge "Misc fixes for throttling." into froyo
Merge commit 'f06f2eb2d646789d723d4a08d0681cae5b40b768' into froyo-plus-aosp

* commit 'f06f2eb2d646789d723d4a08d0681cae5b40b768':
  Misc fixes for throttling.
2010-04-19 13:25:46 -07:00
Grace Kloba
4a77f9e9a2 am e3ce4c89: am 2dc78498: Merge "Remove fixed size restriction on the SurfaceView before setting it to the full screen content view." into froyo
Merge commit 'e3ce4c89cc54770f01294adc3c3f052c062098c7' into kraken

* commit 'e3ce4c89cc54770f01294adc3c3f052c062098c7':
  Remove fixed size restriction on the SurfaceView
2010-04-19 13:21:58 -07:00
Robert Greenwalt
f06f2eb2d6 Merge "Misc fixes for throttling." into froyo 2010-04-19 13:21:01 -07:00
Grace Kloba
e3ce4c89cc am 2dc78498: Merge "Remove fixed size restriction on the SurfaceView before setting it to the full screen content view." into froyo
Merge commit '2dc784988aa1660d02b50ed4e7d7679ba14b25b4' into froyo-plus-aosp

* commit '2dc784988aa1660d02b50ed4e7d7679ba14b25b4':
  Remove fixed size restriction on the SurfaceView
2010-04-19 13:17:53 -07:00
Grace Kloba
2dc784988a Merge "Remove fixed size restriction on the SurfaceView before setting it to the full screen content view." into froyo 2010-04-19 13:14:21 -07:00
Scott Main
bb7ecba563 am 08e15982: am f57f147b: am 5ce309d3: Merge "add droiddoc flag to include since-tags for api level 8" into froyo 2010-04-19 12:44:31 -07:00
Scott Main
08e1598243 am f57f147b: am 5ce309d3: Merge "add droiddoc flag to include since-tags for api level 8" into froyo
Merge commit 'f57f147bfd5d6f7530a938d2e05fc7d68f7343c3' into kraken

* commit 'f57f147bfd5d6f7530a938d2e05fc7d68f7343c3':
  add droiddoc flag to include since-tags for api level 8
2010-04-19 12:36:17 -07:00
Brad Fitzpatrick
c322f51f8c am eb828459: am bb9739c5: am 11bea2e2: Merge "Reduce lock contention, removing unnecessary synchronization." into froyo 2010-04-19 12:36:01 -07:00
Grace Kloba
4ead13caa3 am e5afb10c: am 66fa5cc7: am 99c5179f: Merge "Force redraw in touch_up if there is a move." into froyo 2010-04-19 12:35:57 -07:00
Scott Main
f57f147bfd am 5ce309d3: Merge "add droiddoc flag to include since-tags for api level 8" into froyo
Merge commit '5ce309d32e9aa28af4d2a6523ba2a4bc8e6d2f53' into froyo-plus-aosp

* commit '5ce309d32e9aa28af4d2a6523ba2a4bc8e6d2f53':
  add droiddoc flag to include since-tags for api level 8
2010-04-19 12:33:18 -07:00
Robert Greenwalt
05d0673bfc Misc fixes for throttling.
Cleanup of duplicate code
Caching Ntp data so we don't hit the network as often
Clearing out of MRU data when we switch to a new sim
Sending notification after we reset byte counts

bug:2605277
bug:2605272
bug:2597530
bug:2576057
Change-Id: I3df526bae6374f6ae56fed67b0defad2b4fabefd
2010-04-19 12:29:29 -07:00
Scott Main
5ce309d32e Merge "add droiddoc flag to include since-tags for api level 8" into froyo 2010-04-19 12:28:15 -07:00
Brad Fitzpatrick
eb82845977 am bb9739c5: am 11bea2e2: Merge "Reduce lock contention, removing unnecessary synchronization." into froyo
Merge commit 'bb9739c5d74404b9155565f2a08509079b719a22' into kraken

* commit 'bb9739c5d74404b9155565f2a08509079b719a22':
  Reduce lock contention, removing unnecessary synchronization.
2010-04-19 12:23:58 -07:00
Grace Kloba
e5afb10cca am 66fa5cc7: am 99c5179f: Merge "Force redraw in touch_up if there is a move." into froyo
Merge commit '66fa5cc73dd20e8656c478e95f07798d8e20b44a' into kraken

* commit '66fa5cc73dd20e8656c478e95f07798d8e20b44a':
  Force redraw in touch_up if there is a move.
2010-04-19 12:23:54 -07:00
Brad Fitzpatrick
bb9739c5d7 am 11bea2e2: Merge "Reduce lock contention, removing unnecessary synchronization." into froyo
Merge commit '11bea2e216800c5612144f76d307da653d565be3' into froyo-plus-aosp

* commit '11bea2e216800c5612144f76d307da653d565be3':
  Reduce lock contention, removing unnecessary synchronization.
2010-04-19 12:22:07 -07:00
Grace Kloba
66fa5cc73d am 99c5179f: Merge "Force redraw in touch_up if there is a move." into froyo
Merge commit '99c5179fafcccff2bcc05b4c7fb04007bb438f67' into froyo-plus-aosp

* commit '99c5179fafcccff2bcc05b4c7fb04007bb438f67':
  Force redraw in touch_up if there is a move.
2010-04-19 12:18:22 -07:00
Brad Fitzpatrick
11bea2e216 Merge "Reduce lock contention, removing unnecessary synchronization." into froyo 2010-04-19 12:17:48 -07:00
Grace Kloba
99c5179faf Merge "Force redraw in touch_up if there is a move." into froyo 2010-04-19 12:14:41 -07:00
Grace Kloba
6edb3792d8 Remove fixed size restriction on the SurfaceView
before setting it to the full screen content view.

Fix http://b/issue?id=2607352
2010-04-19 12:14:17 -07:00
Dianne Hackborn
c96a7b2810 Merge "2604184 Expose hidden APIs for testing the AccessibilityManager separately from the backing AccessibilityManagerServcie" 2010-04-19 12:06:37 -07:00
Brad Fitzpatrick
038d4f43f6 am db5b7d01: am 9a9b09f6: am afbf9f8d: Merge "Ease contention on the mProcessStatsThread mutex in updateCpuStats." into froyo 2010-04-19 12:03:50 -07:00
Scott Main
c4c696ab5b add droiddoc flag to include since-tags for api level 8
Change-Id: Ib7dc5114b075001cdf78db96dbbaa99644836f8b
2010-04-19 12:00:15 -07:00
Brad Fitzpatrick
b213d103d3 Reduce lock contention, removing unnecessary synchronization.
The value returned is purely a function of what's passed in, all
following final members.

BUG=2606839

Change-Id: I506fb9b1f3be965576c2b3317a30ff1f990ccda3
2010-04-19 11:58:52 -07:00
Brad Fitzpatrick
db5b7d018f am 9a9b09f6: am afbf9f8d: Merge "Ease contention on the mProcessStatsThread mutex in updateCpuStats." into froyo
Merge commit '9a9b09f6bd209f9f46370c63cb72ab3460216b3b' into kraken

* commit '9a9b09f6bd209f9f46370c63cb72ab3460216b3b':
  Ease contention on the mProcessStatsThread mutex in updateCpuStats.
2010-04-19 11:56:19 -07:00
Brad Fitzpatrick
9a9b09f6bd am afbf9f8d: Merge "Ease contention on the mProcessStatsThread mutex in updateCpuStats." into froyo
Merge commit 'afbf9f8d6d66a0c1ba8c44a87b120bcad89ad8b5' into froyo-plus-aosp

* commit 'afbf9f8d6d66a0c1ba8c44a87b120bcad89ad8b5':
  Ease contention on the mProcessStatsThread mutex in updateCpuStats.
2010-04-19 11:54:05 -07:00
Brad Fitzpatrick
afbf9f8d6d Merge "Ease contention on the mProcessStatsThread mutex in updateCpuStats." into froyo 2010-04-19 11:50:53 -07:00
Brad Fitzpatrick
01fad4a526 Ease contention on the mProcessStatsThread mutex in updateCpuStats.
BUG=2606839

Change-Id: I444af0bb4a7b0be7ebf9ee5887805f2f09a426d0
2010-04-19 10:47:40 -07:00
Grace Kloba
c36862d53a Force redraw in touch_up if there is a move.
Fix http://b/issue?id=2606815
2010-04-19 10:16:42 -07:00
Irfan Sheriff
c61c0d680f am a0e308fb: am e77bba8f: am 18920136: Merge "Reset notification state on wifi enable" into froyo 2010-04-19 10:06:56 -07:00
Irfan Sheriff
a0e308fb3c am e77bba8f: am 18920136: Merge "Reset notification state on wifi enable" into froyo
Merge commit 'e77bba8f2b67508fc6d4aa7b0054829c2d49965a' into kraken

* commit 'e77bba8f2b67508fc6d4aa7b0054829c2d49965a':
  Reset notification state on wifi enable
2010-04-19 09:59:47 -07:00
Jean-Michel Trivi
41154620a9 am 98bccfdd: am 6aa2acca: am 04152f98: Merge "Fix bug 2599698 Music paused by itself The NotificationPlayer sets an OnCompletionListener on the MediaPlayer it\'s using to play the notification. NotificationPlayer relies on the completion event to abandon audio focus. 2010-04-19 09:57:37 -07:00
Irfan Sheriff
e77bba8f2b am 18920136: Merge "Reset notification state on wifi enable" into froyo
Merge commit '1892013643537f5fc330f5b0a02a0e9cb08b1134' into froyo-plus-aosp

* commit '1892013643537f5fc330f5b0a02a0e9cb08b1134':
  Reset notification state on wifi enable
2010-04-19 09:55:44 -07:00
Irfan Sheriff
1892013643 Merge "Reset notification state on wifi enable" into froyo 2010-04-19 09:50:37 -07:00
Jean-Michel Trivi
98bccfdd4d am 6aa2acca: am 04152f98: Merge "Fix bug 2599698 Music paused by itself The NotificationPlayer sets an OnCompletionListener on the MediaPlayer it\'s using to play the notification. NotificationPlayer relies on the completion event to abandon audio focus. The player w
Merge commit '6aa2accae3f58e4139f890f51c699901ee3abb88' into kraken

* commit '6aa2accae3f58e4139f890f51c699901ee3abb88':
  Fix bug 2599698 Music paused by itself
2010-04-19 09:48:18 -07:00
Jean-Michel Trivi
6aa2accae3 am 04152f98: Merge "Fix bug 2599698 Music paused by itself The NotificationPlayer sets an OnCompletionListener on the MediaPlayer it\'s using to play the notification. NotificationPlayer relies on the completion event to abandon audio focus. The player was started bef
Merge commit '04152f98ffbd17f54a6b771636ff7f440f0edc78' into froyo-plus-aosp

* commit '04152f98ffbd17f54a6b771636ff7f440f0edc78':
  Fix bug 2599698 Music paused by itself
2010-04-19 09:45:41 -07:00
Jean-Michel Trivi
04152f98ff Merge "Fix bug 2599698 Music paused by itself The NotificationPlayer sets an OnCompletionListener on the MediaPlayer it's using to play the notification. NotificationPlayer relies on the completion event to abandon audio focus. The player was started before the listener was set. The theory about the bug is that the player finished playing before the listener was called. Therefore the audio focus was never abandonned, and the music didn't resume." into froyo 2010-04-19 09:41:19 -07:00
Mike Lockwood
d5b119e0fa am ea7c123f: am daa107c8: am 3110bf6d: Merge "Fix inconsistency in how we handle light sensor when battery is low." into froyo 2010-04-19 08:35:25 -07:00
Mike Lockwood
ea7c123f98 am daa107c8: am 3110bf6d: Merge "Fix inconsistency in how we handle light sensor when battery is low." into froyo
Merge commit 'daa107c81db31b7fbaaf4219b0552ff07d44a29e' into kraken

* commit 'daa107c81db31b7fbaaf4219b0552ff07d44a29e':
  Fix inconsistency in how we handle light sensor when battery is low.
2010-04-19 08:26:50 -07:00
Mike Lockwood
daa107c81d am 3110bf6d: Merge "Fix inconsistency in how we handle light sensor when battery is low." into froyo
Merge commit '3110bf6df1cb6d548e678cdcbb8c7349b2ac0d8a' into froyo-plus-aosp

* commit '3110bf6df1cb6d548e678cdcbb8c7349b2ac0d8a':
  Fix inconsistency in how we handle light sensor when battery is low.
2010-04-19 08:22:39 -07:00
Mike Lockwood
3110bf6df1 Merge "Fix inconsistency in how we handle light sensor when battery is low." into froyo 2010-04-19 08:18:58 -07:00
Jack Palevich
0e4aa37872 Quietly handle EGL_BAD_NATIVE_WINDOW errors
We believe these errors happen when the window
manager has told surface flinger to close the
native window.

If this error happens while we are creating the
EGL surface we exit the render loop (and
therefore exit the render thread.)

If the error happens while swapping the surface
we ignore it.

In either situation, we expect that the
application is about to be shut down by the
window manager, so it should not be necessary
to try and recover from the error.
2010-04-19 22:32:15 +08:00
Daisuke Miyakawa
931a0a9432 Refactor vCard so that it correctly choose charset while importing
some files.

Change-Id: I27600e260cd7ca42a25481d5ff61f262c9328d61
2010-04-19 18:52:08 +09:00
Irfan Sheriff
2d1a6e9429 Reset notification state on wifi enable
Bug: 2600111
Change-Id: Ifaa63cd7c05dfa27fbd851de6f7e92f7fc38907b
2010-04-18 23:07:01 -07:00