summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Improve bitmap support and do conversion in native rather than java code to ↵Jason Sams2009-06-016-77/+75
| | | | reduce conversion time.
* get rid of TimerProbe which is never usedMathias Agopian2009-06-012-132/+0
|
* get rid of sleepForInterval() which didn't seem to be used anywhere in the ↵Mathias Agopian2009-05-313-232/+0
| | | | source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there.
* get rid of utils.hMathias Agopian2009-05-311-1/+3
|
* am b61ae351: Merge change 2747 into donutAndroid (Google) Code Review2009-05-291-1/+3
|\ | | | | | | | | | | | | Merge commit 'b61ae351256518add7bcb40e0bf18337dd87195c' * commit 'b61ae351256518add7bcb40e0bf18337dd87195c': log the geomerty of surfaces causing an out of memory in SurfaceFlinger.
| * Merge change 2747 into donutAndroid (Google) Code Review2009-05-291-1/+3
| |\ | | | | | | | | | | | | * changes: log the geomerty of surfaces causing an out of memory in SurfaceFlinger.
| | * log the geomerty of surfaces causing an out of memory in SurfaceFlinger.Mathias Agopian2009-05-291-1/+3
| | |
* | | Don't prelink the libRS libraries.Jack Palevich2009-05-291-0/+2
| | | | | | | | | | | | | | | These are temporary libraries for the development of RenderScript, so they don't have to be prelinked.
* | | am d9cc7659: Merge change 2706 into donutAndroid (Google) Code Review2009-05-291-11/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'd9cc7659fa9b8544e2a3ca7b7040fbd79afdf7ea' * commit 'd9cc7659fa9b8544e2a3ca7b7040fbd79afdf7ea': Fix issue 1883666: Audio coming from the music player stopped suddenly
| * | Fix issue 1883666: Audio coming from the music player stopped suddenlyEric Laurent2009-05-291-11/+14
| |/ | | | | | | | | | | | | The problem comes from the code handling the automatic change of audio routing to speaker when notifications are played. The music is also muted while the sound is forced to speaker. To avoid truncating the end of the notification, a delay is inserted between the end of the notification and the restoration of the audio routing. If a new notification starts during this delay, the current music mute state read and saved before muting music corresponds to the forced mute due to previous notification. When the new notification ends, the mute state restored is muted and music stream stays muted for ever. The fix consists in reading and saving music mute state only if the audio routing has been restored (check that mForcedRoute is back to 0).
* | Implement sampler GL setup code.Jason Sams2009-05-281-14/+9
| |
* | Add sampler supportJason Sams2009-05-286-25/+140
| |
* | Merge change 2658Android (Google) Code Review2009-05-285-10/+30
|\ \ | | | | | | | | | | | | * changes: Delete the acc script when deleting the Renderscript rsScriptC object.
| * | Delete the acc script when deleting the Renderscript rsScriptC object.Jack Palevich2009-05-285-10/+30
| | | | | | | | | | | | Previously we had been leaking the ACCscript object.
* | | Merge change 2657Android (Google) Code Review2009-05-281-9/+2
|\ \ \ | |/ / | | | | | | | | | * changes: Remove versions of scriptCSetScript method that take byte arrays.
| * | Remove versions of scriptCSetScript method that take byte arrays.Jack Palevich2009-05-281-9/+2
| | | | | | | | | | | | This makes the API simpler, and therefore probably easier to use.
* | | Merge change 2636Android (Google) Code Review2009-05-284-255/+219
|\ \ \ | |/ / | | | | | | | | | * changes: Add support for setting scripts, rather than having a hard-coded script.
| * | Add support for setting scripts, rather than having a hard-coded script.Jack Palevich2009-05-284-255/+219
| | | | | | | | | | | | | | | | | | Move the test script into a resource file. Add APIs for reading a script from a resource, InputStream, string, or byte array.
* | | Merge change 2574Android (Google) Code Review2009-05-284-533/+1
|\ \ \ | |/ / |/| | | | | | | | * changes: Sim-only files move, part 2/2.
| * | Sim-only files move, part 2/2.Andy McFadden2009-05-274-533/+1
| | | | | | | | | | | | | | | Move Pipe and executablepath from libutils to the simulator, since nothing else uses them.
* | | Add background bitmap to fountain test app for renderscript.Jason Sams2009-05-273-1/+32
| | |
* | | Change the Fountain test app's package to com.android.fountain.Jack Palevich2009-05-276-6/+6
| | | | | | | | | | | | | | | It had been com.android.calc, which caused conflicts with the real Calc application.
* | | Merge change 2568Android (Google) Code Review2009-05-271-0/+1
|\ \ \ | | | | | | | | | | | | | | | | * changes: Enable renderscript to build under the simulator.
| * | | Enable renderscript to build under the simulator.Jack Palevich2009-05-271-0/+1
| | | | | | | | | | | | | | | | Added missing #include file to declare memcpy().
* | | | Implement first pass bitmap to allocation support. The Java bindings can ↵Jason Sams2009-05-2710-34/+250
| | | | | | | | | | | | | | | | create a 2D allocation by passing in a Bitmap object.
* | | | Turn on ACC script test. (It works!)Jack Palevich2009-05-271-26/+23
| |/ / |/| | | | | | | | | | | | | | + Modified test script to work with the limitations of the ACC langauge. - No <op>= - use correct C API names for callback methods.
* | | Fix Fountain test app so that it actually builds.Jack Palevich2009-05-267-63/+205
| | | | | | | | | | | | Also check in first part of an libACC implementation.
* | | am 0c0ad39c: Merge change 2502 into donutAndroid (Google) Code Review2009-05-263-22/+19
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit '0c0ad39cd8eaa6de6b7f99cec3971bcc953461e0' * commit '0c0ad39cd8eaa6de6b7f99cec3971bcc953461e0': minor clean-up to Rect and Point.
| * | minor clean-up to Rect and Point.Mathias Agopian2009-05-263-22/+19
| | | | | | | | | | | | | | | | | | - return "const" objects for overloaded operators to disallow constructs like: (a+b) = c; - don't return references to non-static members, it's not always safe. - Point.cpp was empty, so get rid of it
* | | Fix RenderScript JNI code build issue.Jack Palevich2009-05-261-1/+7
| |/ |/| | | | | | | We should not try to build the JNI file until after we have built the the generated header files that it includes.
* | some work to try to reduce the code size of some native librariesMathias Agopian2009-05-2618-85/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - make sure that all binder Bn classes define a ctor and dtor in their respective library. This avoids duplication of the ctor/dtor in libraries where these objects are instantiated. This is also cleaner, should we want these ctor/dtor to do something one day. - same change as above for some Bp classes and various other non-binder classes - moved the definition of CHECK_INTERFACE() in IInterface.h instead of having it everywhere. - improved the CHECK_INTERFACE() macro so it calls a single method in Parcel, instead of inlining its code everywhere - IBinder::getInterfaceDescriptor() now returns a "const String16&" instead of String16, which saves calls to String16 and ~String16 - implemented a cache for BpBinder::getInterfaceDescriptor(), since this does an IPC. HOWEVER, this method never seems to be called. The cache makes BpBinder bigger, so we need to figure out if we need this method at all.
* | Merge change 2466Android (Google) Code Review2009-05-266-0/+0
|\ \ | | | | | | | | | | | | * changes: Rename Calc sample to Fountain.
| * | Rename Calc sample to Fountain.Jack Palevich2009-05-266-0/+0
| | |
* | | Merge change 2462Android (Google) Code Review2009-05-268-4/+1143
|\ \ \ | |/ / | | | | | | | | | * changes: Add sprite fountain test.
| * | Add sprite fountain test.Jack Palevich2009-05-268-4/+1143
| | | | | | | | | | | | It's still called "Calc".
* | | am de8268d6: Merge change 2331 into donutAndroid (Google) Code Review2009-05-264-22/+24
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit 'de8268d6d1cd168510c490b17e93154d2eab767c' * commit 'de8268d6d1cd168510c490b17e93154d2eab767c': Fix issue 1846343 - part 1
| * | Fix issue 1846343 - part 1Eric Laurent2009-05-264-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | This change is the first part of a fix for issue 1846343, : - Added new enum values for input sources in AudioRecord and MediaRecorder for voice uplink, downlink and uplink+downlink sources. - renamed streamType to inputSource in all native functions handling audio record. A second change is required in opencore author driver and android audio input to completely fix the issue.
* | | am 04561a55: Merge change 2359 into donutAndroid (Google) Code Review2009-05-231-11/+26
|\ \ \ | |/ / | | / | |/ |/| | | | | Merge commit '04561a55df693e7bd8d3047ccc4fbef504ac07cf' * commit '04561a55df693e7bd8d3047ccc4fbef504ac07cf': Fix for the simultor build breakage.
| * Merge change 2359 into donutAndroid (Google) Code Review2009-05-231-11/+26
| |\ | | | | | | | | | | | | * changes: Fix for the simultor build breakage.
| | * Fix for the simultor build breakage.Nicolas Catania2009-05-221-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added missing include sys/time.h for utimes. Detects when stat64 uses a timespec for the modif and access times and work around the missing st_*time_nsec. Apologies for the whitespace changes, emacs removed them automatically.
* | | Merge change 2362Android (Google) Code Review2009-05-2250-0/+7445
|\ \ \ | | | | | | | | | | | | | | | | * changes: Add the Renderscript library. (Not in the build by default yet.)
| * | | Add the Renderscript library. (Not in the build by default yet.)Jason Sams2009-05-2250-0/+7445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This library can be used to create animated 3D User Interfaces. This library is currently under heavy development, so it's not part of the build by default. In order to build this library, you must define BUILD_RENDERSCRIPT=true in your build environment. You will also have to manually edit build/core/prelink-linux-arm.map And add libRS and libRS_jni at the end like this (exact address may change.) libRS.so 0x9A100000 libRS_jni.so 0x9A000000
* | | | am d50a458b: Merge change 2351 into donutAndroid (Google) Code Review2009-05-221-2/+6
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | Merge commit 'd50a458bb291801ab9fdc119301bc7b84b42a6e3' * commit 'd50a458bb291801ab9fdc119301bc7b84b42a6e3': Fix a major bug in Bundle when unparcelling from AIDL.
| * | Merge change 2351 into donutAndroid (Google) Code Review2009-05-221-2/+6
| |\ \ | | | | | | | | | | | | | | | | * changes: Fix a major bug in Bundle when unparcelling from AIDL.
| | * | Fix a major bug in Bundle when unparcelling from AIDL.Dianne Hackborn2009-05-221-2/+6
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a serious problem in the Bundle(Parcel) and readFromParcel() methods, where it wasn't doing the copying of the Parcel that Parcel.readBundle() does and is a basic requirement for it to work correctly. This re-arranges the code to make all of these functions (hopefully) correct. Also fix a problem in Parcel where we were not duping fds when copying data from one Parcel to another.
* | | am 7198030f: This should fix the simulator build.Marco Nelissen2009-05-221-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '7198030fce4b54820a65a10d54fae18a1ab5df84' * commit '7198030fce4b54820a65a10d54fae18a1ab5df84': This should fix the simulator build.
| * | This should fix the simulator build.Marco Nelissen2009-05-221-0/+1
| |/
* | am 69a6c3eb: Merge change 2292 into donutAndroid (Google) Code Review2009-05-217-351/+27
|\ \ | |/ | | | | | | | | | | Merge commit '69a6c3ebd46a8de0e896747757f364322c12608d' * commit '69a6c3ebd46a8de0e896747757f364322c12608d': split boot animation out of SurfaceFlinger
| * split boot animation out of SurfaceFlingerMathias Agopian2009-05-217-351/+27
| | | | | | | | | | | | Conflicts: data/etc/platform.xml
| * bring the native_handle stuff back from master_glMathias Agopian2009-05-202-37/+15
| |