12652 Commits

Author SHA1 Message Date
Mike Lockwood
82a506c637 am d376366f: am 08bb61a5: am 0b08abe1: Merge change I9521cf8b into eclair
Merge commit 'd376366f1361d2d8ba5c035b830a204a2d4655fe'

* commit 'd376366f1361d2d8ba5c035b830a204a2d4655fe':
  Register for light sensor events if non-hardware based auto-brightnees is enabled
2009-10-16 09:59:23 -07:00
Mike Lockwood
77b722b60f am 5e6aa492: am 2086152c: am f55aa972: Merge change I01935be3 into eclair
Merge commit '5e6aa492b78f38d0dabaaa1559e2a3afe5259d74'

* commit '5e6aa492b78f38d0dabaaa1559e2a3afe5259d74':
  Remove PowerManager.setAutoBrightness()
2009-10-16 09:59:13 -07:00
Cary Clark
9d1bc8b1a4 am f846a0b5: (-s ours) am d21b7256: am 39e67734: (-s ours) do not merge: fix copy/paste using trackball on passion
Merge commit 'f846a0b57e4b1a911c472dff7df3e682a278cbcb'

* commit 'f846a0b57e4b1a911c472dff7df3e682a278cbcb':
  do not merge: fix copy/paste using trackball on passion
2009-10-16 09:59:03 -07:00
Mike Lockwood
d376366f13 am 08bb61a5: am 0b08abe1: Merge change I9521cf8b into eclair
Merge commit '08bb61a5290e37103ef74a8b08ac8adab8aba9f7' into eclair-mr2-plus-aosp

* commit '08bb61a5290e37103ef74a8b08ac8adab8aba9f7':
  Register for light sensor events if non-hardware based auto-brightnees is enabled
2009-10-16 09:48:43 -07:00
Mike Lockwood
5e6aa492b7 am 2086152c: am f55aa972: Merge change I01935be3 into eclair
Merge commit '2086152c1b60ad3bfe85c1ddc3871cff77e6da1b' into eclair-mr2-plus-aosp

* commit '2086152c1b60ad3bfe85c1ddc3871cff77e6da1b':
  Remove PowerManager.setAutoBrightness()
2009-10-16 09:48:30 -07:00
Cary Clark
f846a0b57e am d21b7256: am 39e67734: (-s ours) do not merge: fix copy/paste using trackball on passion
Merge commit 'd21b725627e68b8ffcae38729196e8c1bd5d0d15' into eclair-mr2-plus-aosp

* commit 'd21b725627e68b8ffcae38729196e8c1bd5d0d15':
  do not merge: fix copy/paste using trackball on passion
2009-10-16 09:48:20 -07:00
Mike Lockwood
08bb61a529 am 0b08abe1: Merge change I9521cf8b into eclair
Merge commit '0b08abe1b8e4f49cfaefb8226696664ad3d5ca6a' into eclair-mr2

* commit '0b08abe1b8e4f49cfaefb8226696664ad3d5ca6a':
  Register for light sensor events if non-hardware based auto-brightnees is enabled
2009-10-16 09:38:12 -07:00
Mike Lockwood
2086152c1b am f55aa972: Merge change I01935be3 into eclair
Merge commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542' into eclair-mr2

* commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542':
  Remove PowerManager.setAutoBrightness()
2009-10-16 09:38:03 -07:00
Android (Google) Code Review
0b08abe1b8 Merge change I9521cf8b into eclair
* changes:
  Register for light sensor events if non-hardware based auto-brightnees is enabled
2009-10-16 12:29:39 -04:00
Android (Google) Code Review
f55aa972f9 Merge change I01935be3 into eclair
* changes:
  Remove PowerManager.setAutoBrightness()
2009-10-16 12:29:15 -04:00
Mike Lockwood
8738e0c040 Register for light sensor events if non-hardware based auto-brightnees is enabled
Change-Id: I9521cf8b315306bdafa70c1500f2e4af83d94ec3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-16 08:40:23 -07:00
Mike Lockwood
dc3494e3d8 Remove PowerManager.setAutoBrightness()
We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants.

Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-16 07:42:26 -07:00
Cary Clark
d21b725627 am 39e67734: (-s ours) do not merge: fix copy/paste using trackball on passion
Merge commit '39e6773431e6010c5066c0e13facfd943c932c7e' into eclair-mr2

* commit '39e6773431e6010c5066c0e13facfd943c932c7e':
  do not merge: fix copy/paste using trackball on passion
2009-10-16 07:12:54 -07:00
Cary Clark
39e6773431 do not merge: fix copy/paste using trackball on passion
This fix is alrady in mr2. It does not affect sholes --
this is a trackball only bug.

The selection caret and arrow now take the scale factor and
the height of the title bar into account when preparing the
canvas for drawing.

Clicking the trackball at the end of selecting text no longer
sends a click event.

Requires a companion fix in external/webkit
Fixes http://b/issue?id=2187591
2009-10-16 09:27:47 -04:00
Patrick Scott
8a7df536ae am 93968f43: am e1f43dad: Share chunks between all ByteArrayBuilders.
Merge commit '93968f43aff775395f71b7e03316dad6c4bea473'

* commit '93968f43aff775395f71b7e03316dad6c4bea473':
  Share chunks between all ByteArrayBuilders.
2009-10-16 05:37:01 -07:00
Patrick Scott
93968f43af am e1f43dad: Share chunks between all ByteArrayBuilders.
Merge commit 'e1f43dadb9a1f0744f7e24373ca796c7a8ca2b12' into eclair-mr2-plus-aosp

* commit 'e1f43dadb9a1f0744f7e24373ca796c7a8ca2b12':
  Share chunks between all ByteArrayBuilders.
2009-10-16 05:31:59 -07:00
Patrick Scott
e1f43dadb9 Share chunks between all ByteArrayBuilders.
If a single ByteArrayBuilder accumulates many chunks, it is possible that many
of those chunks will not be reused and will just take up memory in the pool. If
the pool is shared across all instances, fewer chunks need to be allocated. This
allows a site like http://www.606studios.com/bendisboard/showthread.php?t=170286
to load without crashing due to OOM.

The shared pool contains SoftReferences to each chunk. If the vm feels memory
pressure, it is allowed to mark these references for collection. Before
accessing the pool of chunks, I remove any queued references from the pool.

Cleanup ByteArrayBuilder a little by removing unused methods and fields.
Document some synchronization spots in LoadListener and add a lock when
downloading a certificate.

Bug: 1637965
2009-10-16 08:07:29 -04:00
Dave Sparks
4a60ae4a37 am 671d6d8b: am 2d3168dc: am b9a22122: Merge change I0e09e56f into eclair
Merge commit '671d6d8b9ece054c0ba7d2ad0e72397f0f1844ad'

* commit '671d6d8b9ece054c0ba7d2ad0e72397f0f1844ad':
  Don't callback on NULL client. Bug 2180510.
2009-10-15 22:40:58 -07:00
Joe Onorato
d09a28ca89 am 3f48c07c: am 2b7e284d: am 034cd0be: Merge change I486fdb55 into eclair
Merge commit '3f48c07c16bb4416773a477a48280feb21b0978e'

* commit '3f48c07c16bb4416773a477a48280feb21b0978e':
  Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down
2009-10-15 22:40:49 -07:00
Dave Sparks
671d6d8b9e am 2d3168dc: am b9a22122: Merge change I0e09e56f into eclair
Merge commit '2d3168dc29205e73063a596a28c99ed68e815dc4' into eclair-mr2-plus-aosp

* commit '2d3168dc29205e73063a596a28c99ed68e815dc4':
  Don't callback on NULL client. Bug 2180510.
2009-10-15 22:30:53 -07:00
Joe Onorato
3f48c07c16 am 2b7e284d: am 034cd0be: Merge change I486fdb55 into eclair
Merge commit '2b7e284dc140f904f6cea95a6b2c4b8fc6749214' into eclair-mr2-plus-aosp

* commit '2b7e284dc140f904f6cea95a6b2c4b8fc6749214':
  Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down
2009-10-15 22:30:45 -07:00
Dave Sparks
2d3168dc29 am b9a22122: Merge change I0e09e56f into eclair
Merge commit 'b9a22122b08d749368f90128e29aff035031f8db' into eclair-mr2

* commit 'b9a22122b08d749368f90128e29aff035031f8db':
  Don't callback on NULL client. Bug 2180510.
2009-10-15 22:24:45 -07:00
Android (Google) Code Review
b9a22122b0 Merge change I0e09e56f into eclair
* changes:
  Don't callback on NULL client. Bug 2180510.
2009-10-16 01:19:10 -04:00
Joe Onorato
2b7e284dc1 am 034cd0be: Merge change I486fdb55 into eclair
Merge commit '034cd0be57d76b3bf5c7a3c118f6f10e67755772' into eclair-mr2

* commit '034cd0be57d76b3bf5c7a3c118f6f10e67755772':
  Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down
2009-10-15 20:39:51 -07:00
Android (Google) Code Review
034cd0be57 Merge change I486fdb55 into eclair
* changes:
  Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down
2009-10-15 23:32:39 -04:00
Joe Onorato
486fdb5596 Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down
This thing needs to be rewritten.  It's grown too complicated for what it's doing,
and I don't like the physics anyway.

Also, this leaves the bug where if you press back while it's animating down, the
animation is ignored.  However it no longer jumps down all the way, it just
essentially ignores the back key.

Also, this makes the collapse get executed on the back key up event, so it works
with the swipe on the soft keys at the bottom of the screen.
2009-10-15 20:31:33 -07:00
Suchi Amalapurapu
b897cff1ef do not merge
Return valid package info for packages that have been uninstalled with
an option to retain data and resources using the flag GET_UNINSTALLED_PACKAGES
These packages do not have a package setting. just check the flag and return
the required info from PackageParser.generatePackageInfo
2009-10-15 20:20:00 -07:00
Jason Sams
39b34111be am 3979de01: am 6c502d0b: am 4f1d7656: Merge change I741a6100 into eclair
Merge commit '3979de01a6860ab7b56b5f76bb91c4c58d8ef7c6'

* commit '3979de01a6860ab7b56b5f76bb91c4c58d8ef7c6':
  Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
2009-10-15 19:24:50 -07:00
Mike Lockwood
e9153d6507 am 8ab456b3: am df284aa5: am 37a13208: Add separate configuration flag for hardware ALS support.
Merge commit '8ab456b3fcb7e81af824a69daee31921d531696b'

* commit '8ab456b3fcb7e81af824a69daee31921d531696b':
  Add separate configuration flag for hardware ALS support.
2009-10-15 19:24:40 -07:00
Jason Sams
7efb66a6c8 am ba5c6ae8: am 193c985e: am 41c19db9: Remove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init safe by locking around the critical code.
Merge commit 'ba5c6ae8ae8373fecb883f07ac39d56c8adfb67f'

* commit 'ba5c6ae8ae8373fecb883f07ac39d56c8adfb67f':
  Remove hack in RS that called exit to WAR now fixed driver bugs.  Make gloabal init safe by locking around the critical code.
2009-10-15 19:24:29 -07:00
Jason Sams
4be72cc836 am af4e786a: am 8dab9693: am c7412b3b: Minor bug fixes and add glError check.
Merge commit 'af4e786ab39d3ea367e2d903e24588708c989703'

* commit 'af4e786ab39d3ea367e2d903e24588708c989703':
  Minor bug fixes and add glError check.
2009-10-15 19:24:19 -07:00
Jesse Wilson
242a743608 API changes to accompany NIO update 802921.
See  https://android-git.corp.google.com/g/30216
2009-10-15 19:24:17 -07:00
Jason Sams
9b2dae554c am 1fab3e79: am 8111da3e: am 6a17e163: Add egl init start message to help debug driver init hangs.
Merge commit '1fab3e7981e2b84535dd7f988c4eccc9c1c03ce6'

* commit '1fab3e7981e2b84535dd7f988c4eccc9c1c03ce6':
  Add egl init start message to help debug driver init hangs.
2009-10-15 19:24:10 -07:00
jsh
12814856cb am cd1b9912: am 13982956: am 2a39758e: Merge change I51d41230 into eclair
Merge commit 'cd1b99125205aa7b773d9d2bcf344f1e88d2fcb1'

* commit 'cd1b99125205aa7b773d9d2bcf344f1e88d2fcb1':
  Make sure CF icon updates when using "all CF" MMI.
2009-10-15 19:24:00 -07:00
Romain Guy
68608741d4 am 49f8a0ee: am 7d4134a1: am 173a25f6: Merge change I0d74deb6 into eclair
Merge commit '49f8a0ee916c70dd5322d5f18951d50725ed3f95'

* commit '49f8a0ee916c70dd5322d5f18951d50725ed3f95':
  Fix possible NPE in the code that restores widgets' state.
2009-10-15 19:23:49 -07:00
Jason Sams
3979de01a6 am 6c502d0b: am 4f1d7656: Merge change I741a6100 into eclair
Merge commit '6c502d0b2ab2605b96cf1e677746fa7a53cda28b' into eclair-mr2-plus-aosp

* commit '6c502d0b2ab2605b96cf1e677746fa7a53cda28b':
  Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
2009-10-15 19:14:40 -07:00
Mike Lockwood
8ab456b3fc am df284aa5: am 37a13208: Add separate configuration flag for hardware ALS support.
Merge commit 'df284aa534bd5611684604c469c04b4db6bb42c7' into eclair-mr2-plus-aosp

* commit 'df284aa534bd5611684604c469c04b4db6bb42c7':
  Add separate configuration flag for hardware ALS support.
2009-10-15 19:14:32 -07:00
Jason Sams
ba5c6ae8ae am 193c985e: am 41c19db9: Remove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init safe by locking around the critical code.
Merge commit '193c985e4458323e11db2671717a7087ae4cc5f3' into eclair-mr2-plus-aosp

* commit '193c985e4458323e11db2671717a7087ae4cc5f3':
  Remove hack in RS that called exit to WAR now fixed driver bugs.  Make gloabal init safe by locking around the critical code.
2009-10-15 19:14:23 -07:00
Jason Sams
af4e786ab3 am 8dab9693: am c7412b3b: Minor bug fixes and add glError check.
Merge commit '8dab969302f2229397024bdaa005b35f30a46c62' into eclair-mr2-plus-aosp

* commit '8dab969302f2229397024bdaa005b35f30a46c62':
  Minor bug fixes and add glError check.
2009-10-15 19:14:15 -07:00
Jason Sams
1fab3e7981 am 8111da3e: am 6a17e163: Add egl init start message to help debug driver init hangs.
Merge commit '8111da3ecff116f26b49e9fc332c74a9ce14896c' into eclair-mr2-plus-aosp

* commit '8111da3ecff116f26b49e9fc332c74a9ce14896c':
  Add egl init start message to help debug driver init hangs.
2009-10-15 19:14:07 -07:00
jsh
cd1b991252 am 13982956: am 2a39758e: Merge change I51d41230 into eclair
Merge commit '1398295617457666bff877887b19ade105b83b82' into eclair-mr2-plus-aosp

* commit '1398295617457666bff877887b19ade105b83b82':
  Make sure CF icon updates when using "all CF" MMI.
2009-10-15 19:13:59 -07:00
Romain Guy
49f8a0ee91 am 7d4134a1: am 173a25f6: Merge change I0d74deb6 into eclair
Merge commit '7d4134a1a67872c056d05330b1453395a7c8c4d1' into eclair-mr2-plus-aosp

* commit '7d4134a1a67872c056d05330b1453395a7c8c4d1':
  Fix possible NPE in the code that restores widgets' state.
2009-10-15 19:13:51 -07:00
Jason Sams
6c502d0b2a am 4f1d7656: Merge change I741a6100 into eclair
Merge commit '4f1d765699b1be320d49530313b750a4d153a0bb' into eclair-mr2

* commit '4f1d765699b1be320d49530313b750a4d153a0bb':
  Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
2009-10-15 19:07:06 -07:00
Mike Lockwood
df284aa534 am 37a13208: Add separate configuration flag for hardware ALS support.
Merge commit '37a13208c93bbe00cf233baf1ebcd6e081972a27' into eclair-mr2

* commit '37a13208c93bbe00cf233baf1ebcd6e081972a27':
  Add separate configuration flag for hardware ALS support.
2009-10-15 19:06:52 -07:00
Jason Sams
193c985e44 am 41c19db9: Remove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init safe by locking around the critical code.
Merge commit '41c19db90e250e2b7cb438904f0e96a0ef455d6d' into eclair-mr2

* commit '41c19db90e250e2b7cb438904f0e96a0ef455d6d':
  Remove hack in RS that called exit to WAR now fixed driver bugs.  Make gloabal init safe by locking around the critical code.
2009-10-15 19:06:43 -07:00
Yu Shan Emily Lau
999101368f 1) Add 10 seconds wait time before collecting the end memory.
2) Modified the player stress test, shorten the plabyack time.
2009-10-15 18:52:31 -07:00
Android (Google) Code Review
4f1d765699 Merge change I741a6100 into eclair
* changes:
  Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
2009-10-15 21:47:03 -04:00
Jason Sams
741a6100a0 Fix bug where dirty messages for allocations attached to programVertex objects could be lost. 2009-10-15 18:45:45 -07:00
Mathias Agopian
a8ac904d97 fix [2182249] [MR1] valgrind error in surface flinger 2009-10-15 18:08:15 -07:00
Mike Lockwood
37a13208c9 Add separate configuration flag for hardware ALS support.
A new flag config_hardware_automatic_brightness_available indicates
that the device has hardware support for automatic screen brightness management,
while config_automatic_brightness_available now indicates that automatic
brightness mode is available in general.

If config_automatic_brightness_available is true but config_hardware_automatic_brightness_available is false,
then automatic brightness mode support in PowerManager support will be used.

Bug b/2015734 (Ambient light sensor support in power manager)

Change-Id: I6cd888252043dd63df3c25a1d14c21a04a91ad28
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-15 19:58:33 -04:00