summaryrefslogtreecommitdiffstats
path: root/libs/utils/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Support streaming of compressed assets > 1 megabyteChristopher Tate2010-07-281-1/+2
| | | | | | | | | | | | Compressed assets larger than one megabyte are now decompressed on demand rather than being decompressed in their entirety and held in memory. Reading the data in order is relatively efficient, as is seeking forward in the stream. Seeking backwards is supported, but requires reprocessing the compressed data from the beginning, so is very inefficient. In addition, the size limit on compressed assets has been eliminated. Change-Id: I6e68247957e6c53e7e8ba70d12764695f1723bad
* Add initial gamepad support.Jeff Brown2010-07-131-0/+10
| | | | Change-Id: I0439648f6eb5405f200e4223c915eb3a418b32b9
* Add OBB file helper classKenny Root2010-07-071-0/+6
| | | | | | | ObbFile is a binary blob that will be used in packaging large files with smaller APKs. Change-Id: Ib1594346cfa2f49113de6565af77c24efbd89d63
* Remove PollLoop from host build.Jeff Brown2010-06-131-4/+4
| | | | | | We can't build (and we don't need) PollLoop in the SDK on all platforms. Change-Id: I3b0f327bbb8bc58b9b8630b0161cf360403fea68
* Native input dispatch rewrite work in progress.Jeff Brown2010-06-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old dispatch mechanism has been left in place and continues to be used by default for now. To enable native input dispatch, edit the ENABLE_NATIVE_DISPATCH constant in WindowManagerPolicy. Includes part of the new input event NDK API. Some details TBD. To wire up input dispatch, as the ViewRoot adds a window to the window session it receives an InputChannel object as an output argument. The InputChannel encapsulates the file descriptors for a shared memory region and two pipe end-points. The ViewRoot then provides the InputChannel to the InputQueue. Behind the scenes, InputQueue simply attaches handlers to the native PollLoop object that underlies the MessageQueue. This way MessageQueue doesn't need to know anything about input dispatch per-se, it just exposes (in native code) a PollLoop that other components can use to monitor file descriptor state changes. There can be zero or more targets for any given input event. Each input target is specified by its input channel and some parameters including flags, an X/Y coordinate offset, and the dispatch timeout. An input target can request either synchronous dispatch (for foreground apps) or asynchronous dispatch (fire-and-forget for wallpapers and "outside" targets). Currently, finding the appropriate input targets for an event requires a call back into the WindowManagerServer from native code. In the future this will be refactored to avoid most of these callbacks except as required to handle pending focus transitions. End-to-end event dispatch mostly works! To do: event injection, rate limiting, ANRs, testing, optimization, etc. Change-Id: I8c36b2b9e0a2d27392040ecda0f51b636456de25
* Make static versions of libutils and libbinder.Dan Egnor2010-05-061-0/+10
| | | | | | | | | | Fix some small static-initialization-order issues (and a static- initializers-missing issue) that result from doing so. The static libraries don't actually get used for anything real at the moment -- they're used for perf tests of bug 2660235. Bug: 2660235 Change-Id: Iee2f38f79cc93b395e8d0a5a144ed92461f5ada0
* remove a dependency of GraphicBuffer (libui) on Parcel (libbinder).Mathias Agopian2010-02-211-0/+1
| | | | | | | | | Add a Flattenable interface to libutils which can be used to flatten an object into bytestream + filedescriptor stream. Parcel is modified to handle Flattenable. And GraphicBuffer implements Flattenable. Except for the overlay classes libui is now independent of libbinder.
* Totally remove Unicode.cpp and rely on ICUKenny Root2010-02-121-1/+0
| | | | | | | Unicode.cpp used a packed data table for character data that essentially duplicated ICU's functionality. Change-Id: Ia68fe4ac94e89dc68d9a3f45f33f6e648a5500b7
* implement Mutex and Condition with pthread instead of calling futex directly.Mathias Agopian2009-07-131-12/+2
| | | | | internally pthread uses futex. the implementation consists of simple inlines there are no implementation files anymore.
* get rid of LogSocket which wasn't even implemented (enabled)Mathias Agopian2009-06-051-2/+1
|
* break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of ↵Mathias Agopian2009-06-051-22/+1
| | | | inet_address.h and Socket.h which were not used
* rename string_array.h to StringArray.h and move the implementation from the ↵Mathias Agopian2009-06-051-0/+1
| | | | | | header file to a new cpp file. StringArray is used in two places in framework/base and in the Sim. Ideally we should get rid of it and use Vector<String8> instead of creating new code.
* am 2a318867: Merge change 3203 into donutAndroid (Google) Code Review2009-06-041-2/+2
|\ | | | | | | | | | | | | Merge commit '2a3188672ab2b65c0ce7c9c598a463e382c47696' * commit '2a3188672ab2b65c0ce7c9c598a463e382c47696': rename a few files to camel-case, add copyright notices
| * rename a few files to camel-case, add copyright noticesMathias Agopian2009-06-041-2/+2
| |
* | get rid of TimerProbe which is never usedMathias Agopian2009-06-011-1/+0
| |
* | get rid of sleepForInterval() which didn't seem to be used anywhere in the ↵Mathias Agopian2009-05-311-1/+0
| | | | | | | | source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there.
* | Sim-only files move, part 2/2.Andy McFadden2009-05-271-7/+1
| | | | | | | | | | Move Pipe and executablepath from libutils to the simulator, since nothing else uses them.
* | checkpoint: split libutils into libutils + libbinderMathias Agopian2009-05-201-13/+0
|/
* Implement the C++ class to write the backed up file data.Joe Onorato2009-05-151-1/+2
|
* Add some C++ code to do raw files for backupJoe Onorato2009-05-051-1/+2
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+156
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-156/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+8
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+148