865 Commits

Author SHA1 Message Date
Dianne Hackborn
5973cbc163 am e71db657: am f2900600: am 1824ec8c: Merge change If2b0bbed into eclair
Merge commit 'e71db6579c2afe06fe95dd88217a667d18fe4e20'

* commit 'e71db6579c2afe06fe95dd88217a667d18fe4e20':
  Debugging for issue #2228381 android.view.InflateException
2009-11-20 15:31:17 -08:00
Dianne Hackborn
b8d8167955 Debugging for issue #2228381 android.view.InflateException
Binary XML file line #37: Error inflating class <unknown> after adding a secondary account

Now that I have these debug logs, I want to keep them since they will make
debugging these kinds of issues a lot easier in the future.  (Note in this
case there was no problem in the framework.)

Change-Id: If2b0bbeda4706b7c5dc1ba4a5db04b74f40e1543
2009-11-20 14:26:42 -08:00
Mathias Agopian
5e04bbc761 am 9aaf01b9: am 793810f6: am 23aa34a7: Merge change I137dac6f into eclair
Merge commit '9aaf01b9d03e931c9d37858562ea47dbaf44a3be'

* commit '9aaf01b9d03e931c9d37858562ea47dbaf44a3be':
  backout a workaround that is not needed anymore
2009-11-19 17:45:20 -08:00
Mathias Agopian
0fd4a3007c am ce18c968: am fc64165e: am 74a331b5: Merge change I4c29c948 into eclair
Merge commit 'ce18c9680e3c151dcd4df5cdaa9fa352ad134691'

* commit 'ce18c9680e3c151dcd4df5cdaa9fa352ad134691':
  fix [2269022] The raw picture displayed post shutter seems to have low-resolution
2009-11-19 17:44:33 -08:00
Jason Sams
857d2b1565 am 93f409b5: am d581b1a8: am ddac83a5: Fix extended logging for object dumping.
Merge commit '93f409b5f7992767594107b7f468143e4a89a8c1'

* commit '93f409b5f7992767594107b7f468143e4a89a8c1':
  Fix extended logging for object dumping.
2009-11-19 17:43:24 -08:00
Mathias Agopian
137dac6f10 backout a workaround that is not needed anymore
we had to add a call to glFinish() before glReadPixels() because of a bug in the GL ES
driver of a certain device. This is not needed anymore.
2009-11-19 15:52:28 -08:00
Android (Google) Code Review
74a331b5dd Merge change I4c29c948 into eclair
* changes:
  fix [2269022] The raw picture displayed post shutter seems to have low-resolution
2009-11-19 15:44:13 -08:00
Mathias Agopian
4c29c9487e fix [2269022] The raw picture displayed post shutter seems to have low-resolution
Make sure to always enable linear filtering in LayerBuffer. This change doesn't affect
devices using overlays.
2009-11-19 14:46:26 -08:00
Jason Sams
ddac83a516 Fix extended logging for object dumping. 2009-11-19 13:08:17 -08:00
Android (Google) Code Review
f5fac58f50 Merge change Id10824da
* changes:
  Fix film init
2009-11-17 18:53:07 -08:00
Jason Sams
d10824dadc Fix film init 2009-11-17 18:51:58 -08:00
Android (Google) Code Review
9390931b6e Merge change I948415fd
* changes:
  Delete the old rollo sample which is obsolete.
2009-11-17 18:51:25 -08:00
Jason Sams
948415fdd9 Delete the old rollo sample which is obsolete. 2009-11-17 18:50:09 -08:00
Jason Sams
644a0e320d resolved conflicts for merge of f6309041 to master 2009-11-17 18:07:54 -08:00
Jason Sams
715333b832 Add support for dumping RS objects to aid in debugging of white blocks bug. 2009-11-17 17:26:46 -08:00
Mathias Agopian
277c2de969 am af3e233f: am fc36afcb: am f998c4a2: Merge change I1c0bebbc into eclair
Merge commit 'af3e233fe3222990440433d5f90a6a310d0170e3'

* commit 'af3e233fe3222990440433d5f90a6a310d0170e3':
  fix [2262591] Junk on screen in ERD46
2009-11-17 07:33:19 -08:00
Jason Sams
41301259fb am 234e509a: am 22186a2c: am ec8178eb: Merge change I9c1bad53 into eclair
Merge commit '234e509a67eb32606f3051d21eb3ea25b272d80d'

* commit '234e509a67eb32606f3051d21eb3ea25b272d80d':
  Add setPriority to allow wallpapers to run at lower cpu priority than default.
2009-11-17 07:31:07 -08:00
Android (Google) Code Review
f998c4a289 Merge change I1c0bebbc into eclair
* changes:
  fix [2262591] Junk on screen in ERD46
2009-11-16 15:05:16 -08:00
Mathias Agopian
1c0bebbc95 fix [2262591] Junk on screen in ERD46
since we're using the GPU for composition, don't use a texture for dimming,
instead simply use an alpha-blended quad.

also workaround what looks like a GL driver bug by calling glFinish() before
glReadPixels().
2009-11-16 14:55:36 -08:00
Jason Sams
7d787b4722 Add setPriority to allow wallpapers to run at lower cpu priority than default. 2009-11-15 12:14:26 -08:00
Mathias Agopian
f248242318 am 6df012ad: am cc96ede2: am 20aec2dd: Merge change I830df4b1 into eclair
Merge commit '6df012ad2639918f3256340ceb9c07bccfa04cdf'

* commit '6df012ad2639918f3256340ceb9c07bccfa04cdf':
  addresses several bugs: 2206097, 2166583, 2261119, 2216759
2009-11-14 01:13:05 -08:00
Mathias Agopian
830df4b169 addresses several bugs: 2206097, 2166583, 2261119, 2216759
2206097: Broken suggestions while composing message
2166583: Color artifacts with MDP dithering
2261119: Passion transition animations are rough
2216759: Screen flicker when dropdown list in background window shows or hides

This is part of enabling GPU composition instead of using the MDP. This change
is dependent on another change in the vendor project.

Specifically this change disables the use of EGLImageKHR for s/w buffers
for cache coherency reasons. memcpy is used instead.
2009-11-13 18:54:14 -08:00
Mathias Agopian
ed63ce412f am 70a37eac: am 35ede78e: am 91e40e78: Merge change I18e02606 into eclair
Merge commit '70a37eac62e887d16c4964b805a612d41254ca7f'

* commit '70a37eac62e887d16c4964b805a612d41254ca7f':
  fix some aspects of [2258746] native crash in launcher2
2009-11-13 17:41:49 -08:00
Mathias Agopian
18e026066a fix some aspects of [2258746] native crash in launcher2
Surface::validate() could sometimes dereference a null pointer before checking it wasn't null.
This will prevent the application to crash when given bad parameters or used incorrectly.
However, the bug above probably has another cause.
2009-11-13 15:26:29 -08:00
Eric Laurent
4f2ef8c857 am 99e03a3f: am 6efdbcc3: am fddfb9ae: Merge change Iad79689a into eclair
Merge commit '99e03a3f94ff8bbd68599e7f43517dbc25421fe9'

* commit '99e03a3f94ff8bbd68599e7f43517dbc25421fe9':
  Improvements for issue 2197683:	English IME key-press latency is noticeably higher on passion than sholes
2009-11-13 10:53:15 -08:00
Rebecca Schultz Zavin
16536c27d4 am bd328d01: am 9b942117: am 5f8f1487: Merge change Ia0a40883 into eclair
Merge commit 'bd328d0113ae29bd351d39faedc6c4e7957db4ad'

* commit 'bd328d0113ae29bd351d39faedc6c4e7957db4ad':
  Modify the binder to request 1M - 2 pages instead of 1M.  The backing store
2009-11-13 10:52:47 -08:00
Jason Sams
d7bc5e9891 am 8dcb4233: am 4834887e: am 4dd6fee7: Merge change Ieb4b0318 into eclair
Merge commit '8dcb4233fcb043f82774768d3e5bee86d867b852'

* commit '8dcb4233fcb043f82774768d3e5bee86d867b852':
  Make default vertex program correctly track surface size.
2009-11-13 10:51:39 -08:00
Jason Sams
bc4d75bc64 am adf38939: am da8bb292: am 59175ac2: Merge change I81b1421a into eclair
Merge commit 'adf38939836ee1d1f5967fc45d02e07117f44009'

* commit 'adf38939836ee1d1f5967fc45d02e07117f44009':
  Defer EGL init until the surface changed call comes in.  Pass w,h along with surface for verification of driver state.
2009-11-13 10:50:49 -08:00
Android (Google) Code Review
fddfb9ae03 Merge change Iad79689a into eclair
* changes:
  Improvements for issue 2197683:	English IME key-press latency is noticeably higher on passion than sholes
2009-11-12 22:53:28 -08:00
Android (Google) Code Review
5f8f1487be Merge change Ia0a40883 into eclair
* changes:
  Modify the binder to request 1M - 2 pages instead of 1M.  The backing store in the kernel requires a guard page, so 1M allocations fragment memory very badly.  Subtracting a couple of pages so that they fit in a power of two allows the kernel to make more efficient use of its virtual address space.
2009-11-12 21:29:13 -08:00
Rebecca Schultz Zavin
a0a40883d0 Modify the binder to request 1M - 2 pages instead of 1M. The backing store
in the kernel requires a guard page, so 1M allocations fragment memory very
badly.  Subtracting a couple of pages so that they fit in a power of
two allows the kernel to make more efficient use of its virtual address space.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-11-12 16:31:12 -08:00
Jason Sams
eb4b031804 Make default vertex program correctly track surface size. 2009-11-12 16:09:45 -08:00
Jason Sams
3bc47d4381 Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state. 2009-11-12 15:10:47 -08:00
Romain Guy
b597e6b60c am 440110fb: am 897a744b: am b602c328: Merge change I31c52bef into eclair
Merge commit '440110fbfe00fa8f16087b33f0f3057e0ca057a9'

* commit '440110fbfe00fa8f16087b33f0f3057e0ca057a9':
  Revert change incorrectly submitted as part of change #32153.
2009-11-12 13:51:24 -08:00
Mathias Agopian
46b3f2fa40 am 2c694f03: am daafd544: am dffa96f7: Merge change I90daccf3 into eclair
Merge commit '2c694f032c1bea7003098336b32861e7b97aa9c7'

* commit '2c694f032c1bea7003098336b32861e7b97aa9c7':
  fix [2143798] Need to figure out how to do video on Passion w/ GPU
2009-11-12 13:51:11 -08:00
Android (Google) Code Review
b602c328c2 Merge change I31c52bef into eclair
* changes:
  Revert change incorrectly submitted as part of change #32153.
2009-11-12 13:37:30 -08:00
Romain Guy
28ffcc4bb2 am e614f938: am dac92e6f: am 3e584fc9: Merge change I5975651f into eclair
Merge commit 'e614f9382799826ca11960eb8ffacb677e2a2b1b'

* commit 'e614f9382799826ca11960eb8ffacb677e2a2b1b':
  Don't feed the timezone to RenderScript time functions, let the library figure it out.
2009-11-11 17:39:42 -08:00
Mathias Agopian
90daccf3fd fix [2143798] Need to figure out how to do video on Passion w/ GPU
This builds on the EGLImage solution. We simply use copybit to convert from the
YUV frame into an EGLImage created for that purpose and proceed with the
regular EGLImage code.
We need to do this because "regular" GL doesn't support YUV textures.

We could improve upon this by detecting exacly what the GL supports and bypass
this extra step if not required, but we'll do this later if needed.
2009-11-11 16:44:43 -08:00
Romain Guy
baed727481 Don't feed the timezone to RenderScript time functions, let the library figure it out.
Bug #2211070.

Change-Id: I5975651fd12399fb8dfe283dfdfaa17569738c7b
2009-11-11 15:36:06 -08:00
Eric Laurent
059b4be2a5 Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes
This change goes with a kernel driver change that reduces the audio buffer size from 4800 bytes (~27ms) to 3072 bytes (~17ms).
- The AudioFlinger modifcations in change 0bca68cfff161abbc992fec82dc7c88079dd1a36 have been removed: the short sleep period was counter productive when the AudioTrack is using the call back thread as it causes to many preemptions.
- AudioFlinger mixer thread now detects long standby exit time and in this case anticipates start by writing 0s as soon as a track is enabled even if not ready for mixing.
- AudioTrack::start() is modified to start call back thread before starting the IAudioTrack so that thread startup time is masked by IAudioTrack start and mixer thread wakeup time.
2009-11-11 12:13:27 -08:00
Eric Laurent
aaad676137 am c6aaa09b: am 756e75cf: am 090c60bb: Merge change I73b60354 into eclair
Merge commit 'c6aaa09b7075f00e2cff543b50bc84bbdd133d7b'

* commit 'c6aaa09b7075f00e2cff543b50bc84bbdd133d7b':
  AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer.
2009-11-09 16:30:29 -08:00
Eric Laurent
9731f7c96f am 43396952: am 05388e45: am 93572eef: Merge change Ifb9d6df3 into eclair
Merge commit '43396952a5b9466f18aa640f9755b6b80fa587f5'

* commit '43396952a5b9466f18aa640f9755b6b80fa587f5':
  More log for issue 2242381.
2009-11-09 16:30:05 -08:00
Christopher Tate
670fb3732f am 2c203adb: am ee9f9759: am 1dacdd48: Reset binder service threads\' cgroup/priority after command completion
Merge commit '2c203adbe6df2c0d86abf280cdc36917595fe41d'

* commit '2c203adbe6df2c0d86abf280cdc36917595fe41d':
  Reset binder service threads' cgroup/priority after command completion
2009-11-09 16:29:08 -08:00
Eric Laurent
73b603546d AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer.
This problem was encountered as a side effect of issue 2245298.
2009-11-09 04:45:39 -08:00
Android (Google) Code Review
93572eef41 Merge change Ifb9d6df3 into eclair
* changes:
  More log for issue 2242381.
2009-11-08 22:58:34 -08:00
Christopher Tate
1dacdd4828 Reset binder service threads' cgroup/priority after command completion
To prevent buggy command implementations from poisoning binder threads'
scheduling class & priority for future command execution, we now reset the
cgroup and thread priority to foreground/normal when a binder service thread
finishes executing the designated command.

Change-Id: Ibc0ab2485751453f6dc96fdb4eb877fd02796e3f
2009-11-08 14:29:02 -08:00
Eric Laurent
3fdb1267c1 More log for issue 2242381.
Added more log in system dump for AudioFlinger and AudioPolicyService to help debug issue 2242381 and other issues where the audio driver hangs.
2009-11-07 01:18:20 -08:00
Evan Millar
6a9137661d am 3d43d816: am c11b225c: am 7e4a0047: Merge change I97b30e2f into eclair
Merge commit '3d43d816772d0c395f7a3335e6bde421b8539508'

* commit '3d43d816772d0c395f7a3335e6bde421b8539508':
  Revert jparks code from IPCThreadState.
2009-11-06 12:05:00 -08:00
Evan Millar
97b30e2f62 Revert jparks code from IPCThreadState. 2009-11-06 11:25:23 -08:00
Romain Guy
e1cd1ef7b9 am b25cb21f: am 8426319c: am f20e9a88: Merge change Idf40f3b0 into eclair
Merge commit 'b25cb21f59da53f138bc516a6047f55a2c412764'

* commit 'b25cb21f59da53f138bc516a6047f55a2c412764':
  Prevent crash in Home when using widgets whose ids collide with Home's
2009-11-05 16:04:32 -08:00