Android (Google) Code Review
66c70e13d9
Merge change 23529 into eclair
...
* changes:
Make it an error to use a bare apostrophe in aapt, and adjust warnings/errors.
2009-09-02 11:17:18 -07:00
Android (Google) Code Review
f4cca783df
Merge change 23583 into eclair
...
* changes:
Update fountain to use structures.
2009-09-01 20:42:19 -07:00
Eric Fischer
c87d25215c
Make it an error to use a bare apostrophe in aapt, and adjust warnings/errors.
...
In practice, no one ever writes an apostrophe in an aapt string with the
intent of using it to quote whitespace -- they always mean to include a
literal apostrophe in the string and then are surprised when they find
the apostrophe missing. Make this an error so that it is discovered
right away instead of waiting until late in QA or after the strings have
already been sent for translation. (And fix a recently-introduced string
that has exactly this problem.)
Silence the warning about an empty span in a string, since this seems to
annoy people instead of finding any real problems.
Make the error about having a translated string with no base string into
a warning, since this is a big pain when making changes to an application
that has already had some translations done, and the dead translations
should be removed by a later translation import anyway.
2009-09-01 15:20:30 -07:00
Eric Laurent
d069f32039
Fix issue 2091594: music chirp after disconnecting A2DP.
...
In AudioFlinger::MixerThread::putTracks(), change the mFillingUpStatus flag to FS_FILLING for active tracks so that mute request is executed without ramping volume down when the track is moved from A2DP to hardware output.
Also modified AudioFlinger::setStreamOutput() so that the notification of the change is sent only once to AudioSystem.
2009-09-01 05:56:26 -07:00
Jason Sams
44e9983ffc
Update fountain to use structures.
2009-08-31 12:10:24 -07:00
Eric Laurent
7954c46425
Fix issue 2085690: AudioFlinger must properly terminate the input and output threads when destroyed.
...
Call closeInput() for all inputs and closeOutput() for all outputs before deleting audio hardware in AudioFlinger destructor.
2009-08-31 02:10:20 -07:00
Android (Google) Code Review
9e6842caa8
Merge change 23168 into eclair
...
* changes:
EventHub: Fix file descriptor leak.
2009-08-28 13:31:28 -07:00
Mike Lockwood
36dad72251
EventHub: Fix file descriptor leak.
...
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-28 13:30:03 -07:00
Jason Sams
07ae406237
Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
2009-08-27 20:23:34 -07:00
Eric Laurent
327c27be19
Fix issue 2045911: Camera Shutter tone does not play correctly while listening to music.
...
Add the possibility to delay routing and volume commands in AudioPolicyClientInterface. The delay is not blocking for the caller.
2009-08-27 05:58:10 -07:00
Mathias Agopian
a8d49178f9
dumpsys SurfaceFlinger will now always dump SF's state, even if SF is deadlocked
...
(in this case the state is dumped without the proper locks held which could result to a crash)
in addition, the last transaction and swap times are printed to the dump as well as the time spent
*currently* in these function. For instance, if SF is unresponsive because eglSwapBuffers() is stuck,
this will show up here.
2009-08-26 16:55:50 -07:00
Jason Sams
67c6844ea0
Remove bogus comments and logging.
2009-08-25 17:09:59 -07:00
Jason Sams
f5b4596a38
Implement java interface for RS shutdown and fix shutdown deadlock with the command fifo.
2009-08-25 14:49:07 -07:00
Jason Sams
b13ada5071
Add support for selecting the color bit depth and if the application used a depth buffer.
2009-08-25 11:44:30 -07:00
Romain Guy
463a60830f
Remove Galaxy Render Script, replaced by its wallpaper equivalent.
...
Change-Id: I28c91d648fe5ab6e794bf55d11879388b139dbe9
2009-08-24 13:12:40 -07:00
Android (Google) Code Review
6f89172b6e
Merge change 22352 into eclair
...
* changes:
Fix FallRS by keeping a reference to the mesh.
2009-08-21 16:30:13 -07:00
Romain Guy
1965610f3b
Fix FallRS by keeping a reference to the mesh.
2009-08-21 16:29:42 -07:00
Mathias Agopian
9e2be20cc5
fix [2070341] [FAST BLOCKER] can't successfully setup erc52
2009-08-21 15:44:17 -07:00
Android (Google) Code Review
75e6c77139
Merge change 22169 into eclair
...
* changes:
Cleanup the Galaxy, add a few RS functions for Grass.
2009-08-20 17:08:54 -07:00
Romain Guy
d22fff7185
Cleanup the Galaxy, add a few RS functions for Grass.
2009-08-20 17:08:33 -07:00
Jason Sams
25ffcdc9d7
Point Sprites
2009-08-20 16:11:03 -07:00
Benny Wong
f99c18083e
Add offset handling in MemoryHeapBase class
2009-08-20 03:55:20 -07:00
Android (Google) Code Review
34484ae708
Merge change 22024 into eclair
...
* changes:
Micro-optimizations for FallRS
2009-08-19 18:08:33 -07:00
Romain Guy
8e7c671db7
Micro-optimizations for FallRS
2009-08-19 18:08:09 -07:00
Android (Google) Code Review
ba5372f818
Merge change 22021 into eclair
...
* changes:
fix a bug that caused the PixelFormat viewed by Surface to be wrong.
2009-08-19 17:48:48 -07:00
Mathias Agopian
18b6b49ea5
fix a bug that caused the PixelFormat viewed by Surface to be wrong.
...
what happened is that the efective pixel format is calculated by SF but Surface nevew had access to it directly.
in particular this caused query(FORMAT) to return the requested format instead of the effective format.
2009-08-19 17:46:26 -07:00
Android (Google) Code Review
b5f2ce6e2f
Merge change 22011 into eclair
...
* changes:
fix [2063336] Surface.lockSurface throws IllegalArgumentException when out of memory
2009-08-19 17:38:45 -07:00
Romain Guy
313b5b8b63
Improved performance in Galaxy and Fall
2009-08-19 17:16:17 -07:00
Mathias Agopian
b2f8450db8
fix [2063336] Surface.lockSurface throws IllegalArgumentException when out of memory
2009-08-19 17:10:18 -07:00
Android (Google) Code Review
6794e1ba38
Merge change 21927 into eclair
...
* changes:
Improved RS timing code to monitor where we spend CPU time.
2009-08-19 12:18:28 -07:00
Jason Sams
f4d160653f
Improved RS timing code to monitor where we spend CPU time.
2009-08-19 12:17:14 -07:00
Romain Guy
484d57f435
Move the sky
2009-08-19 12:10:03 -07:00
Romain Guy
8a947bd696
Tweak the water and its texture
2009-08-18 18:38:38 -07:00
Android (Google) Code Review
6c8dd9841f
Merge change 21831 into eclair
...
* changes:
Add reflections to the water
2009-08-18 17:22:02 -07:00
Romain Guy
15b2969818
Add reflections to the water
2009-08-18 17:21:07 -07:00
Jason Sams
730ee65d4d
Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.
2009-08-18 17:07:09 -07:00
Jason Sams
7ce033d797
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
2009-08-18 14:20:07 -07:00
Romain Guy
cac80a6e13
Tweak the galaxy
2009-08-18 11:39:17 -07:00
Android (Google) Code Review
948ee25127
Merge change 21660 into eclair
...
* changes:
Optimized Galaxy
2009-08-17 20:00:32 -07:00
Romain Guy
4f7136c659
Optimized Galaxy
2009-08-17 19:59:27 -07:00
Android (Google) Code Review
9fb956dbdc
Merge change 21653 into eclair
...
* changes:
Remove global IO context and integrate it into the RS context.
2009-08-17 18:40:38 -07:00
Jason Sams
bc948dedce
Remove global IO context and integrate it into the RS context.
2009-08-17 18:35:48 -07:00
Andreas Huber
2f10ae08d4
Support for marshalling pointers / intptr_t in Parcel.
...
Some refactoring to eliminate code duplication in Parcel implementation.
2009-08-17 15:31:25 -07:00
Jason Sams
334ea0c98f
Update fountain and add writable flag to script slots.
2009-08-17 13:56:09 -07:00
Android (Google) Code Review
8af2d22552
Merge change 21471 into eclair
...
* changes:
Add Galaxy wallpaper
2009-08-16 23:24:12 -07:00
Romain Guy
81e4640d18
Add Galaxy wallpaper
2009-08-16 23:22:44 -07:00
Mathias Agopian
321abdb092
make sure to update a surface's usage bits when it changes, instead of only the first time.
...
also fixed a few locking issues in Surface and commented how each member is protected.
2009-08-14 18:52:17 -07:00
Mathias Agopian
c4915de8bb
fix a bug that could cause a window to be hidden in some cases.
...
this would happen is the window is made visible but the client didn't render yet into it. This happens often with SurfaceView.
Instead of filling the window with solid black, SF would simply ignore it which could lead to more disturbing artifacts.
in theory the window manager should not display a window before it has been drawn into, but it does happen occasionnaly.
2009-08-13 19:08:00 -07:00
Mathias Agopian
317a6280cc
Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.
...
this also ripples into the window manager API by making some constant there deprecated as well.
2009-08-13 18:19:32 -07:00
Android (Google) Code Review
1e16e4018c
Merge change 21152
...
* changes:
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
2009-08-13 14:18:52 -07:00