04075569b565c949a6db8b4e8a9f10d281de4d9c |
25-Oct-2012 |
Dave Burke <daveburke@google.com> |
Revert "Revert "put back the unused virtuals in Vector<>"" This reverts commit 225c66a48cdc3acef21ee380dc134449749d3cb3 Change-Id: If31a04b81052cbc7dd7bf237c07107c33066d03d
ectorImpl.h
|
16928bfeca8858a0acae6942fc68c14a040b92ff |
19-Oct-2012 |
Romain Guy <romainguy@google.com> |
Add runtime debugging capabilities to OpenGL The shell property debug.egl.trace can now be set to: 0 disables tracing 1 logs all GL calls error checks glGetError after every GL call, logs a stack trace on error systrace logs each GL call to systrace Change-Id: I34a2a2d4e19c373fd9eaa1b0cd93e67c87378996
race.h
|
50f262fe569b52bb4d44c96de0d296188ce3885e |
01-Sep-2012 |
Mathias Agopian <mathias@google.com> |
minor SharedBuffer clean-up Change-Id: If38b7ce85806ae628c00f2c938de4e3f75142543
haredBuffer.h
|
2401ead70099c982796ecc3ec63ec8a5570948fc |
01-Sep-2012 |
Mathias Agopian <mathias@google.com> |
Add a way to retrieve a Region as a SharedBuffer Change-Id: Ia53cb905fbc88f899521658545f990fb9217b1e1
haredBuffer.h
|
f671385e71644b6f34a06f425aff8dd16ffc0105 |
27-Aug-2012 |
Jean-Baptiste Queru <jbq@google.com> |
am 9801575a: am 908c8ff5: Merge "Fixed clang build error for libgui" * commit '9801575a65f2f9d0bdc924ec0a4bbfb6ef071bbe': Fixed clang build error for libgui
|
225c66a48cdc3acef21ee380dc134449749d3cb3 |
25-Aug-2012 |
Mathias Agopian <mathias@google.com> |
Revert "put back the unused virtuals in Vector<>" This reverts commit 1648d4c13ba2eff3ea14cd87ee94028458a39f97. Bug: 6977192 Change-Id: Idbb6b239aaed4fb1c054ce943f6ba06ede3492bb
ectorImpl.h
|
114e968482a02b9153d9a236376efb5cd43f4a9a |
26-Jul-2012 |
Tareq A. Siraj <tareq.a.siraj@intel.com> |
Fixed clang build error for libgui Fixed the order of the statements in ANDROID_SINGLETON_STATIC_INSTANCE macro so that the templated static member variable initialization comes before the instantiation of the Singleton class. This fixes the clang compile error. Change-Id: Ic47d17e152b657f2dff3191ccc3770753fdf002b Author: Tareq A. Siraj <tareq.a.siraj@intel.com> Reviewed-by: Edwin Vane <edwin.vane@intel.com>
ingleton.h
|
1648d4c13ba2eff3ea14cd87ee94028458a39f97 |
21-Aug-2012 |
Mathias Agopian <mathias@google.com> |
put back the unused virtuals in Vector<> some binaries are using these private APIs and broke (as they should!) with this change. Temporarily restore the virtuals to work around this. Bug: 6977550 Change-Id: I7c37f24b16e4d586b89205c493db5169cf87e024
ectorImpl.h
|
f4ce7803fe71c9a9433ff1ba2e79db13a7e46290 |
20-Aug-2012 |
Mathias Agopian <mathias@google.com> |
get rid of mirrorItemAt() which isn't used anywhere Change-Id: Id6f2dbeed21cabc127d39538c0ff464077ada83f
ortedVector.h
ector.h
|
f0083bf5288e0d430b0dc5cbc4b4852bce2ff1af |
14-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Merge "Add a very simple helper function to log slow functions." into jb-mr1-dev
|
8683fca395d01734ec7946e9f0595ec5d7b754c6 |
13-Aug-2012 |
Mathias Agopian <mathias@google.com> |
improve [un]marshalling of non-binder objects this change introduces a new class LightFlattenable<> which is a protocol to flatten simple objects that don't require binders or file descriptors; the benefit of this protocol is that it doesn't require the objects to have a virtual table and give us a consitant way of doing this. we also introduce an implementation of this protocol for POD structures, LightFlattenablePod<>. Parcel has been update to handle this protocol automatically. Sensor, Rect, Point and Region now use this new protocol. Change-Id: Icb3ce7fa1d785249eb666f39c2129f2fc143ea4a
lattenable.h
|
6f12d573251528086636707dde2fb01a8b7199b8 |
11-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Add a very simple helper function to log slow functions. Change-Id: I2e2e072206d02b572a330dd25857c161b5b563bf
og.h
|
69973992d531ae7df20916c6fb3034b08a6d53c4 |
10-Aug-2012 |
Mathias Agopian <mathias@google.com> |
improve Vector<> safety checks - make errors that will always cause a memory corruption always fatal (for eg: KeyedVector<>::editValue{For|At}() failure) - make other errors fatal in debug mode, those that can be caught by the caller. - fix typos Change-Id: I65cc7d81035c37ce2906fc4500c50e5d5b5c49eb
eyedVector.h
ortedVector.h
ector.h
ectorImpl.h
|
53095e25d69206bea1ac15a7382ab8b61155c0c1 |
05-Aug-2012 |
Mathias Agopian <mathias@google.com> |
libutils cleanup: remove unused or seldom used code from misc.{cpp|h} Change-Id: I72206f16619d81887e3b85603494563faab3b445
isc.h
|
92a979a92c34b7de609ce2b1662c73bb8a2728b9 |
03-Aug-2012 |
Mathias Agopian <mathias@google.com> |
We now have a real list of displays. displays can be dynamically added or removed, and the list is part of the SF's transaction. Change-Id: I4186ea39f1317c0e7c044f869004017738968fab
eyedVector.h
|
074cd0c0765d1aec5a4ff5ac460f0685ae067fb1 |
19-Jul-2012 |
Nick Pelly <npelly@google.com> |
Add elapsedRealtimeNano(), and use CLOCK_BOOTTIME where possible. Change-Id: I4231c8ca32663e6e2cb5b7c126d091f837373807
ystemClock.h
imers.h
|
4fec873a98f7b4380720cd1ad006f74c8cdc73da |
29-Jun-2012 |
Mathias Agopian <mathias@google.com> |
one more step towards multiple display support - remove dependency on cached state in validateVisibility - get rid of mVertices and mTransformedBounds - get rid of validateVisibility - get rid of unlockPageFlip - handleTransaction now returns a dirty region - computevisibileregion now uses window-manager space
ector.h
|
9a6b4c73face8005352fc0db1ecf09b2b8bdedcb |
01-Jun-2012 |
Jeff Brown <jeffbrown@google.com> |
am d5085da3: am 4467bba7: Merge "Support looper callbacks based on smart pointers." into jb-dev * commit 'd5085da3c0c103bba0c2c927382f7d414275b661': Support looper callbacks based on smart pointers.
|
ad7b3760ced1c5ca40b3641e97911803810a839b |
01-Jun-2012 |
Jeff Brown <jeffbrown@google.com> |
am 80586761: am dad23789: Merge "Delete unused poll() code." into jb-dev * commit '805867612c0c11d3bb494cbf454cbb2de21a1b75': Delete unused poll() code.
|
27d928474d05c8cf976d9da88be876feda7e10f3 |
01-Jun-2012 |
Jeff Brown <jeffbrown@google.com> |
am dce1547d: am 9e2e781a: Merge "Remove unused statistics code." into jb-dev * commit 'dce1547d65877b89cec4e52ee8e5b39830911d00': Remove unused statistics code.
|
af567f73ac828b9c319c12fd92760c4c92f0dfa4 |
01-Jun-2012 |
Jeff Brown <jeffbrown@google.com> |
Support looper callbacks based on smart pointers. Bug: 6559630 Change-Id: I5a667f219f431838638acefbc9fa6afa610971bd
ooper.h
|
1737e57a861326e96f3de19090975564f98a8fda |
01-Jun-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Add camera as an ATRACE tag Change-Id: Ib4f22d593836c4b973d122efa114d359f1529914
race.h
|
588d5c8280c89c646aa7c8c54900225ee04176ea |
31-May-2012 |
Jeff Brown <jeffbrown@google.com> |
Delete unused poll() code. We don't need this code anymore and it is just in the way. Bug: 6559630 Change-Id: I1dc9decf85d5ea1feab159c2985da6c20baffdd5
ooper.h
|
1ea51bf519bdfc0e04daa88b8788f06105c5599b |
31-May-2012 |
Jeff Brown <jeffbrown@google.com> |
Remove unused statistics code. Bug: 6559630 Change-Id: Iacdf4bb4c1c125c09305cbd8cb443c7c80cfc010
ooper.h
|
b194ec926bf3fb3c546244b135f602ceb3a0a6b0 |
11-May-2012 |
Jamie Gennis <jgennis@google.com> |
libutils: add a tracing tag for video Change-Id: Icbecc7184844e95ee81a558b0a54d5513d5cf59f
race.h
|
555f89d8df316cdc5a25dbedb8614c2ac7a5e0a9 |
09-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Add callback hack to find out when to reload system properties. Every IBinder object can accept a new transaction to tell it that it might want to reload system properties, and in the process anyone can register a callback to be executed when this happens. Use this to reload the trace property. This is very much ONLY for debugging. Change-Id: I55c67c46f8f3fa9073bef0dfaab4577ed1d47eb4
race.h
isc.h
|
5b38a1dfe8e90734fc878ef47df1bd967480a946 |
07-May-2012 |
Glenn Kasten <gkasten@google.com> |
Add audio tag to systrace Change-Id: I4a558c43e4ccd81a4ed94684c5fad6b3c486bd14
race.h
|
081c80c2e0f97fb50595b138271d14892aea1b4a |
04-May-2012 |
Andy Stadler <stadler@google.com> |
Add System Tracing capability to Sync Manager See also: Change-Id: Ia8bc01adbba345a568405b0ac8ade96e56b40cc1 Change-Id: I2678974cf85464fbc09072b06f647a0787e6e23f
race.h
|
1cb93ba130241dbb70b81a1fa4d2704386c6dae8 |
26-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Add traces for window manager and activity manager. Change-Id: I6677ca64164f234efc7856ddd173ad6989b4f59e
race.h
|
a26e1cfbbcb7dc5e0b1cd79a815362d6a048ef26 |
16-Mar-2012 |
Glenn Kasten <gkasten@google.com> |
Scheduling group cleanup Remove C++ APIs androidSetThreadSchedulingGroup and androidGetThreadSchedulingGroup, and the ANDROID_TGROUP_* constants. Former callers of these should now use the C APIs set_sched_policy and get_sched_policy, and the SP_* constants. Note: debug.sys.noschedgroups is not supported by the C APIs, this needs to be discussed. Change-Id: I32bbfc539ef4090faf9ef0320380e8cca9eae07c
ndroidThreads.h
hreadDefs.h
|
992b4c556b111fac50cd07f0f0e06fedfb0301e5 |
18-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Merge "Support tokenizing arbitrary content."
|
a8be8fa0966521afe78324351e805b4a8351dbd9 |
18-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Support tokenizing arbitrary content. Bug: 6110399 Change-Id: I37be63b68934fd451e6dffbf7d6079553619c0a3
okenizer.h
|
6acafadea0ef48acff794d12f5a64a81bcd7ef7c |
17-Apr-2012 |
Chris Craik <ccraik@google.com> |
Add webview tracing bit Change-Id: I82e54f5eeb2666a255e372fd3bfcc54c1b3d76a0
race.h
|
163d5a9fa742e6a39f058fb9ed726fc31f4ecb28 |
23-Mar-2012 |
Colin Cross <ccross@android.com> |
frameworks/native: move Zip* from libandroidfw to libutils ZipUtils is needed by build/tools, move it from libandroidfw (frameworks/base) to libutils (frameworks/native). Change-Id: Ib8c41134ccdec6d6aa8d49860f8dddef49a24783
ipFileCRO.h
ipFileRO.h
ipUtils.h
|
4639dcfb2a348ef3f627e7aa1fba07bb75d126e9 |
23-Mar-2012 |
Kenny Root <kroot@google.com> |
Add UniquePtr.h to frameworks/native This is a copy of libcore's UniquePtr.h header which is used until we get C++11 which has std::unique_ptr which is essentially the same. Taken from libcore project at commit 3e6dd45baa0d7f9b4fa06f4ade76e088b59cc7bf Change-Id: I7537b016f9eae33bfc4c57b24f86260909719ab8
niquePtr.h
|
0818b0921ef6cda07f41b56d2ef19b2849dfefd1 |
17-Mar-2012 |
Jeff Brown <jeffbrown@google.com> |
Add a simple work queue abstraction. Makes it easy to schedule a bunch of work to happen in parallel. Change-Id: Id9c0e52fc8b6d78d2b9ed4c2ee47abce0a01775c
ndroidThreads.h
orkQueue.h
|
e6d77c593d1a25b45c23bf9292ec7ee09fc14b6e |
16-Mar-2012 |
Jeff Brown <jeffbrown@google.com> |
Add traits to common utils data structures. Many of our basic data structures are trivially movable using memcpy() even if they are not trivially constructable, destructable or copyable. It's worth taking advantage of this *ahem* trait. Adding trivial_move_trait to String16 reduces appt running time on frameworks/base/core/res by 40%! Change-Id: I630a1a027e2d0ded96856e4ca042ea82906289fe
itSet.h
eyedVector.h
efBase.h
ortedVector.h
tring16.h
tring8.h
ypeHelpers.h
ector.h
|
45b80c69ad8057fde0c0a76f7da3a2183a2aab96 |
09-Mar-2012 |
Jeff Brown <jeffbrown@google.com> |
Expose the set of enabled tags. This is used by the Java trace wrappers to avoid JNI overhead when trace tags are disabled. Also added a new tag for the input subsystem and view hierarchy. Change-Id: Ia04a507e42a37b1d3bbb19859e6c07a92f4fe9aa
race.h
|
bc48ce68e6d17bbf78ac44645808a432110d9a37 |
01-Mar-2012 |
Andreas Huber <andih@google.com> |
Instead of hardcoding OMX component names in our code, support a config file instead. Change-Id: I5835903ab9f1c4a22ccc605ca99ed966767adf57
ector.h
|
015b8420414f3eb516b105103eccba8cdb448d79 |
27-Feb-2012 |
Jamie Gennis <jgennis@google.com> |
Merge "libutils: add a system-wide tracing utility"
|
f91bb05132dccbb61a69351752d9ae47cc31f30d |
26-Feb-2012 |
Mathias Agopian <mathias@google.com> |
split utils/threads.h into multiple headers AndroidDefs.h - C/C++ enums and types Mutex.h - Mutex class declaration Condition.h - Condition class declaration RWLock.h - RWLock class declaration Thread.h - Thread class declaration AndroidThreads.h - low-level thread creation functions threads.h - includes all the above for backward source compatibility Change-Id: Ia2f80c175333b59a41d1720985810bb2346e94cb Note: implementations are still in Threads.cpp
ndroidThreads.h
ondition.h
utex.h
WLock.h
hread.h
hreadDefs.h
hreads.h
|
f64b1ca000e0a5bb176f4e53f568e48dd1ecc71a |
23-Feb-2012 |
Jamie Gennis <jgennis@google.com> |
libutils: add a system-wide tracing utility This change adds some utility functionality for doing userland tracing into the kernel trace log. Change-Id: Id0a8cee9ea515b1d8765afd1cecf472a88b4b9e8
race.h
|
bd16dd1b3839ce39997020afa89f1aef6cda8c5f |
23-Feb-2012 |
Jean-Baptiste Queru <jbq@google.com> |
am 32916f7a: am fc4215ee: am 2d03a93e: Merge "Xcode 4.3 compatibility checkin" * commit '32916f7a22f2abf5c1e7021f44c2337ca172f2e5': Xcode 4.3 compatibility checkin
|
579c2b4dc12543f53cf3c885b4a8525cfe4a533d |
19-Feb-2012 |
Al Sutton <al@funkyandroid.com> |
Xcode 4.3 compatibility checkin The update compiler in Xcode 4.3 (and 4.4) requires lookups into dependant bases of class templates to be qualified. This checkin fixes the issues raised by the compiler by implementing the this-> recommendation from the llvm page at http://clang.llvm.org/compatibility.html#dep_lookup_bases Signed-off-by: Al Sutton <al@funkyandroid.com>
eyedVector.h
|
a3a38812087f7ac19bb5cc79ceb7b80384d6bd2e |
18-Feb-2012 |
Mathias Agopian <mathias@google.com> |
frameworks/base refactoring. step 2: move libutils headers to their new home: androidfw Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
sset.h
ssetDir.h
ssetManager.h
ackupHelpers.h
bbFile.h
esourceTypes.h
treamingZipInflater.h
ipFileCRO.h
ipFileRO.h
ipUtils.h
|
87548ee2b380c1e76086d21047854fa3425a8f06 |
19-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Update comments We no longer put the filename at start of file. Change-Id: Ic435b159a23105681e3d4a6cb1ac097bc853302e
eyedVector.h
|
a1eee39f581249ae137ce3cb372fbf92ed1344bf |
02-Feb-2012 |
Glenn Kasten <gkasten@google.com> |
Merge "Thread::getTid returns pid_t gettid() after run"
|
60b133efc357df4da1a1ec55a4a83241a6635f46 |
31-Jan-2012 |
Dianne Hackborn <hackbod@google.com> |
aapt now sorts the strings in the resource string pool. In our current environment with very many translations, this can save a lot of RAM -- for example over 200K in Gmail just by sorting the strings in the Gmail .apk (not the framework). Also add a new aapt command to print the contents of the resource table string pool. Change-Id: I1da037b3e2c377b890833ff57ab158965314ac48
esourceTypes.h
|
907e08f2de1e904b74806338ea299c6f38b54848 |
26-Jan-2012 |
Dianne Hackborn <hackbod@google.com> |
Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc. Change-Id: I519d6cdc527a402d93b98df17a64fc1da52ad598
esourceTypes.h
|
5b11920b1ac845fa6d5890e0e107c576b57a4c4a |
04-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) Change-Id: I26f76452ac49e2890b14d133c065493d8df0fb4a
esourceTypes.h
|
ba699cb0f7f95f665593541d2b37e12fb10b85f1 |
12-Jul-2011 |
Glenn Kasten <gkasten@google.com> |
Thread::getTid returns pid_t gettid() after run This is needed when the parent or any other thread besides the child needs access to the child's kernel tid. Change-Id: Ib148505913eb78314cfd76657c30d7b20663dffd
hreads.h
|
97470659e99ea0edb7154a6f0730c786bc881762 |
13-Jan-2012 |
Evgeniy Stepanov <eugenis@google.com> |
Fix compilation with Clang. warning: extraneous template parameter list in template specialization template<> Change-Id: If3e3e1d06a018343b40ac0984dfd9ecc12629f8d
ypeHelpers.h
|
e6f43ddce78d6846af12550ff9193c5c6fe5844b |
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
enerationCache.h
|
a19954ab377b46dbcb9cbe8a6ab6d458f2e32bca |
04-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
esourceTypes.h
|
99c520a069c4afceac4676279e5d658e49a4cb52 |
15-Dec-2011 |
Joe Onorato <joeo@google.com> |
Add a new ui mode for "appliance" The idea is that this is a device which is more-or-less headless. It might have some limited interaction capabilities, but it's not something that you want to rely on having. Change-Id: Ib92f53a120bf83de781728011721a4859def7d9f
esourceTypes.h
|
870165d2a20d9be2fd7d8420ae2dbdcecda3c666 |
09-Dec-2011 |
Romain Guy <romainguy@google.com> |
GenerationCache::get would return a random value instead of NULL Bug #5401917 This was causing a ton of random crashes in apps. Change-Id: I9069a060824ec89115cd3bcd38beaeb9ecc4488e
enerationCache.h
|
48585f35c7f0ef0dbe7eb67bed90b79e5fd426f6 |
24-Nov-2011 |
Jeff Brown <jeffbrown@google.com> |
Use sized integer typedefs in hash_type specializations. Change-Id: I3f9e004db2f3be1cb43a885c3ae142f251fd6845
ypeHelpers.h
|
66fbde305047b7a606d083a9ec8994fa693cc7d7 |
15-Nov-2011 |
Jeff Brown <jeffbrown@google.com> |
Add a basic hashtable data structure, with tests! The basic hashtable is intended to be used to support a variety of different datastructures such as map, set, multimap, multiset, linkedmap, generationcache, etc. Consequently its interface is fairly primitive. The basic hashtable supports copy-on-write style functionality using SharedBuffer. The change introduces a simple generic function in TypeHelpers for specifying hash functions. The idea is to add template specializations of hash_type<T> next to the relevant data structures such as String8, String16, sp<T>, etc. Change-Id: I2c479229e9d4527b4fbfe3b8b04776a2fd32c973
asicHashtable.h
ypeHelpers.h
|
b4293fe4081d899446cf0b782da041d4af55d2f9 |
12-Nov-2011 |
Jeff Brown <jeffbrown@google.com> |
Clean up GenerationCache. Use const references to keys and values where appropriate to avoid copying them unnecessarily. Deleted some dead code. Simplified a few pieces that were doing unnecessary redundant work. Change-Id: Ib2145b7094a40db2d679e05dafe050fe1e87b846
enerationCache.h
|
7fbb39960e5af2319aeed653ee07751762d6bd8a |
03-Nov-2011 |
Jamie Gennis <jgennis@google.com> |
am 236aea35: Merge changes Ibc99cb1c,Ie1f4f6f8 into ics-mr1 * commit '236aea3579787961fdd41d87574760b63323c0c1': BlobCache: implement cache serialization BlobCache: remove the mutex locking
|
0e1bc174293d4802f06641187dc5bf632f4e938a |
13-May-2011 |
Jamie Gennis <jgennis@google.com> |
BlobCache: implement cache serialization This change adds serialization and deserialization functionality to BlobCache, conforming to the Flattenable interface. Change-Id: Ibc99cb1c3d015f363d57d0713eabccec07ff975e
lobCache.h
|
93ca6fb91c613c7dfa287571f32c5c44a797961f |
31-Oct-2011 |
Jamie Gennis <jgennis@google.com> |
BlobCache: remove the mutex locking This change removes the mutex from the BlobCache class. The caller must be responsible for thread synchronization in order to properly implement the Flattenable interface, which is coming soon. Otherwise would be the potential for the cache contents to change between the call to the getFlattenedSize and flatten methods. Because the caller must do this synchronization anyway there's no reason to also some synchronization inside BlobCache. Change-Id: Ie1f4f6f82b78744f46a41ce863cac0cad276a20e
lobCache.h
|
e27d62bbf24272d72fcbad5e6f8b69608151205b |
20-Oct-2011 |
Jeff Brown <jeffbrown@google.com> |
Use libcorkscrew for stack unwinding. Change-Id: Iee1ee5a2018ab8cfc1ce12ec2a124809245eaa02
allStack.h
|
5c78b6861fd4c9246cc88d37178a5567fb668f5b |
12-Oct-2011 |
Romain Guy <romainguy@google.com> |
Reduce the size of libhwui by 50% This change removes unnessary symbols. All symbols are hidden by default, public APIs with exported symbols are explicitly marked with ANDROID_API. Change-Id: I692fde432a86c12108de1cfd1f6504919a7d5f3f
ingleton.h
|
de27227026e01c26a9debef77e4e268f242e713e |
07-Oct-2011 |
Jeff Brown <jeffbrown@google.com> |
Fix regression in CursorWindow.copyStingToBuffer. Bug: 5332296 Change-Id: Iff9eed786f0a8293b6156f883a66a322ddad5e99
nicode.h
|
8938ed2c8e906fc332301b64787728d4d34da571 |
29-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Add mechanism for Parcel to not allow FDs to be written to it. This is to help implement issue #5224703. Change-Id: I026a5890495537d15b57fe61227a640aac806d46
rrors.h
|
1d60b9629c022811e5efca71eb4d03f8b16a4cb0 |
15-Sep-2011 |
Andreas Huber <andih@google.com> |
A new API "androidGetThreadPriority" Change-Id: I6baeead8c70460863343fd557250635fb1e6a170
hreads.h
|
940673f92ed8a0f4e6448b86ec08cee91ef3fc45 |
29-Aug-2011 |
Glenn Kasten <gkasten@google.com> |
Merge "Add C++ thread API androidGetThreadSchedulingGroup"
|
de16a5a62ba218efaf829e9fed0cdf4b175c343b |
17-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
am ddf155b8: am 5dcda1fd: am 88512f59: am a8313e71: Merge "Fix String16 operator+ to actually work" * commit 'ddf155b8338eb894a97612e4cb21257c11d8434a': Fix String16 operator+ to actually work
|
754b249bcd2d72b90b4fbe82d0d9b636790717df |
17-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
am 5dcda1fd: am 88512f59: am a8313e71: Merge "Fix String16 operator+ to actually work" * commit '5dcda1fda53bdc6dfe80cf37e62cacdc216224b1': Fix String16 operator+ to actually work
|
242915f3d017582186eeebd8bd341a4290e31ff8 |
17-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
am 88512f59: am a8313e71: Merge "Fix String16 operator+ to actually work" * commit '88512f59bc051a42f4dd70acc8af5622f7e99db6': Fix String16 operator+ to actually work
|
35302266fa2cadb23e2b5005943b6f63372b7ab8 |
17-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
am a8313e71: Merge "Fix String16 operator+ to actually work" * commit 'a8313e71fe8b483448d14e22610101c5f3672744': Fix String16 operator+ to actually work
|
37bf88e54743640d29e99095bead3d8fd52af15c |
17-Aug-2011 |
Josiah Gaskin <josiahgaskin@google.com> |
Fix String16 operator+ to actually work This change fixes the String16 utility's operator+ function. Change-Id: Ibed7b07277b50bf178febc72b6ce497893e66f17
tring16.h
|
cbe527884acf0f8f8c550c54f99b4dd864ac1e70 |
11-Aug-2011 |
Mathias Agopian <mathias@google.com> |
fix a memory leak and memory corruption in RefBase we would leak a weakref_impl if a RefBase was never incWeak()'ed. there was also a dangling pointer that would cause memory corruption and double-delete when a custom destroyer was used to delay the execution of ~RefBase. it turns out that the custom destroyer feature caused most of the problems, so it's now gone. The only client was SurfaceFlinger who now handles things on its own. RefBase is essentially back its "gingerbread" state, but the code was slightly cleaned-up. Bug: 5151207, 5084978 Change-Id: Id6ef1d707f96d96366f75068f77b30e0ce2722a5
efBase.h
|
a11499a0266687a8d7281f29db84a62a93004f21 |
10-Aug-2011 |
Mathias Agopian <mathias@google.com> |
Fix typos and use new HAL_PRIORITY_URGENT_DISPLAY constant Change-Id: I703f8a96dd0dfec427e74363ad95729bfefc95c7
hreads.h
|
5873ce46adc9e98efd6e5acbe21639a0a4d25c69 |
28-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Refactor input reader to add stylus support. Bug: 5064702 Introduced the concept of an InputListener to further decouple the InputReader from the InputDispatcher. The InputListener exposes just the minimum interface that the InputReader needs to communicate with the outside world. The InputReader passes arguments to the InputListener by reference, which makes it easy to queue them up. Consolidated all of the InputReader locks into one simple global Mutex. The reason this wasn't done before was due to potential re-entrance in outbound calls to the InputDispatcher. To fix this, the InputReader now queues up all of the events it wants to send using a QueuedInputListener, then flushes them outside of the critical section after all of the event processing is finished. Removing all of the InputMapper locks greatly simplifies the implementation. Added tests for new stylus features such as buttons, tool types, and hovering. Added some helpers to BitSet32 to handle common code patterns like finding the first marked bit and clearing it. Fixed a bug in VelocityTracker where the wrong pointer trace could get cleared when handling ACTION_POINTER_DOWN. Oops. Changed PointerCoords so it no longer stores useless zero axis values. Removed editAxisValue because it is not very useful when all zero value axes are absent and therefore cannot be edited in place. Added dispatch of stylus hover events. Added support for distance and tool types. Change-Id: I4cf14d134fcb1db7d10be5f2af7b37deef8f8468
itSet.h
|
aa599086f84ec35d11cf5dce2e012845fb0636d7 |
14-Jun-2011 |
Mathias Agopian <mathias@google.com> |
DO NOT MERGE. may fix build on some version of gcc Change-Id: Id99d390862731fd3fbc009dbffdf1d2a59dbe348
efBase.h
|
49a65e5526ed3a5353765b3e429c49543d1f3b8c |
12-Jul-2011 |
Kenny Root <kroot@google.com> |
Move extract native libraries to JNI code The built-in ZipFile class was quite a long time to find an unpack libraries. Move everything to using the libutils ZipFileRO class that goes quite a bit faster. Initial measurements are 6 times faster than the Java code. Also, read files off the disk and compare their CRC against the APK's CRC to see if we need to write the new file to disk. This also cuts down the bootup time by up to a second per APK that has native files. Change-Id: Ic464a7969a17368fb6a6b81d026888c4136c7603
ipFileRO.h
|
585ef1e14a31bfdc83ec40f3362dc1d92c8de977 |
21-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Remove unimplemented memory pool. dlmalloc does such a great job that we don't need a pool anyways. Change-Id: I105b28c4a5c491543959190c7c0a9de75a5b8052
ool.h
|
4fb24275919aab88d0ce346f530c9911d6c08422 |
23-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Add C++ thread API androidGetThreadSchedulingGroup This API is intended for applications that need to read a thread's scheduling group, while using the higher-level (C++) family of thread APIs. Change-Id: I5e58017f74c3989b20b5b1cc2bc4483c95720520
hreads.h
|
be3c018f8b00738cd7e884058966f82597b8e370 |
06-Jul-2011 |
Glenn Kasten <gkasten@google.com> |
Merge "Add Thread::join"
|
f44c896b091cbbea4a96a6c47ddd65f77ba54b32 |
06-Jul-2011 |
Glenn Kasten <gkasten@google.com> |
Merge "Thread ID zero for androidSetThreadSchedulingGroup"
|
2e0b543c09fad0f588b2eb65863ff881efa31546 |
02-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Workaround apps that make assumptions about pointer ids. Modified the touch input mapper to assign pointer ids sequentially starting from 0 instead of using the tracking id or slot index supplied by the driver. Applications should not depend on this ordering but some do. (sigh) Bug: 4980884 Change-Id: I0dfeb3ac27c57a7102a13c960c760e2a02eb7669
itSet.h
|
e6786c92d7d839ac238fc741f3a1a2906199a9a0 |
30-Jun-2011 |
Mathias Agopian <mathias@google.com> |
Merge "SF transactions are now O(1) wrt IPC instead of O(N)."
|
698c0873cf2e07bdc7fd1e72169aee2a19fa40d7 |
29-Jun-2011 |
Mathias Agopian <mathias@google.com> |
SF transactions are now O(1) wrt IPC instead of O(N). Change-Id: I57669852cbf6aabae244ea86940a08a5a27ffc43
ortedVector.h
ector.h
|
73b607f9ce5c91fed6709495c31a5a7878732205 |
29-Jun-2011 |
Xavier Ducrohet <xav@google.com> |
am 54146a63: Merge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread * commit '54146a634e0e66a5e4732ba1a80079a1e93bdd8a': DO NOT MERGE. may fix build on some version of gcc
|
c18d4da5e4d2d41fd5423c10da993d70c2b1b9e0 |
29-Jun-2011 |
Jason Simmons <jsimmons@google.com> |
Add a linear transform library to libutils Change-Id: Icdec5a6bebd9d8f24b3f335f8ec8b09a5810a774
inearTransform.h
|
58e012d1e37e1272d43c9ff0f56c9b236dd1d7f1 |
23-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Add Thread::join This new API will be used by applications that previously used the lower-level pthread APIs (including pthread_join). Centralizing on the Thread class instead of pthread will permit additional functionality to be added later in only one location. Change-Id: I8460169ac9c61ac9f85752405ed54c94651058d7
hreads.h
|
ce63396effb32212501658c25f2ec6d1bd8b0307 |
23-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Thread ID zero for androidSetThreadSchedulingGroup Already implemented by androidSetThreadPriority but not documented Change-Id: I85302b17092952065f3f3a4214d8d8abdd465dbd
hreads.h
|
66ff46b366eb4df531d0a25104d7cea3b28bbcc4 |
14-Jun-2011 |
Mathias Agopian <mathias@google.com> |
DO NOT MERGE. may fix build on some version of gcc Change-Id: Id99d390862731fd3fbc009dbffdf1d2a59dbe348
efBase.h
|
e2fc756f7d946da72991feeb8b569258f0b203eb |
17-Jun-2011 |
Mathias Agopian <mathias@google.com> |
am 48294b0d: am e7d3ee9d: Revert "merge various SF fixes from gingerbread to honeycomb-mr2" (DO NOT MERGE) * commit '48294b0d9388cff632f0e6ae5220305d342c76fb': Revert "merge various SF fixes from gingerbread to honeycomb-mr2" (DO NOT MERGE)
|
debc234c242cfe30f9447f017d13bb4da89527c3 |
17-Jun-2011 |
Mathias Agopian <mathias@google.com> |
Revert "merge various SF fixes from gingerbread to honeycomb-mr2" (DO NOT MERGE) Also revert all dependent changes: This reverts commit 8e18668d14adf601cbe5973030c310ec23d88461. This reverts commit 69b4587bfbb3e98f793959d9123340360fa233a2. This reverts commit a9c9a4baf24700e8817d47d8ea8da1742caea0b5. This reverts commit 2c0042b666a969091c931614f2fc0dce2f1cfac8. This reverts commit f6c8206735e7e078461e5f2aef6e1a1446fdd075. This reverts commit 24855c09173a6caaec7dcedd0c2d7ce15121d39b. Change-Id: I33e699640f3f59e42fa03c99a9a1b7af0d27d4d8
efBase.h
|
e397ce2880020b7c04a711e481fc6faf8b52cecd |
16-Jun-2011 |
Mathias Agopian <mathias@google.com> |
am 0887b8c2: am 8e18668d: revert surfaceflinger leak fix as it uncovered a crasher on xoom (DO NOT MERGE) * commit '0887b8c2e583e682cd2c1bc909cb3fdbec704004': revert surfaceflinger leak fix as it uncovered a crasher on xoom (DO NOT MERGE)
|
dbe60ddd85abf4b18f3b9a97b33e0efa95b0dd8e |
16-Jun-2011 |
Mathias Agopian <mathias@google.com> |
am d5244e0a: am 52a43990: Revert "revert surfaceflinger leak fix as it uncovered a crasher on xoom" * commit 'd5244e0a88ed2f843651aa5ffdc71a45c968e0f3': Revert "revert surfaceflinger leak fix as it uncovered a crasher on xoom"
|
111280a8de1700f718744f48d163789473b9da30 |
16-Jun-2011 |
Kenny Root <kroot@google.com> |
Use rand() for MinGW The version of MinGW we use doesn't have nrand48() which is really lame, but we need to use libutils in the Windows SDK. Change-Id: If854c03dbf02bc29e79f49e4539f08c2bf057517
lobCache.h
|
1b2c2a9ea0108cd182a56c47997ec68ee8de02b3 |
16-Jun-2011 |
Mathias Agopian <mathias@google.com> |
revert surfaceflinger leak fix as it uncovered a crasher on xoom (DO NOT MERGE) This reverts commit 52a43990880b27808bcf562afcc4209d34728e6e. Change-Id: I1856a48f863b051395b8091ddfd1e01292fa1b1e
efBase.h
|
63ad28fb53a1b3b652495e57eb5fe52eb2a0ec80 |
16-Jun-2011 |
Mathias Agopian <mathias@google.com> |
Revert "revert surfaceflinger leak fix as it uncovered a crasher on xoom" This reverts commit af6edba59e250adbdfa5b3c3be134f70d8c38a16. Change-Id: I7793d3ca8a4d20a2b188364f47854328ab5f586d
efBase.h
|
e776586a081bddb734441a64f62ea28bee05a96f |
16-Jun-2011 |
Mathias Agopian <mathias@google.com> |
am 7ecdeb6e: am d20d72d1: Merge "revert surfaceflinger leak fix as it uncovered a crasher on xoom" into honeycomb-mr2 * commit '7ecdeb6e548ff71d4f70b343e30136e89eaa3e33': revert surfaceflinger leak fix as it uncovered a crasher on xoom
|
3790e7997a9a4444ef95c862046cf0053ab4703f |
16-Jun-2011 |
Mathias Agopian <mathias@google.com> |
revert surfaceflinger leak fix as it uncovered a crasher on xoom Bug: 4600244 Change-Id: Ia68ebf0f243a051ff6a21b3863e3e5d259bbf7ac
efBase.h
|
35cc0fcd51cb8c5580c516247407623e4e8e0cfa |
15-Jun-2011 |
Mathias Agopian <mathias@google.com> |
am afffa8fa: fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE) * commit 'afffa8fa9f82a7343e1158bf921931fd3e3df615': fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)
|
fbb8272db3eaf332671f1e558b0b55aeb16e532f |
14-Jun-2011 |
Mathias Agopian <mathias@google.com> |
am a9007fbd: am 69b4587b: DO NOT MERGE. may fix build on some version of gcc * commit 'a9007fbdae6671f66535da4b9dad04b19aaf9186': DO NOT MERGE. may fix build on some version of gcc
|
7b1ef58d56eb97032a0d3a6aef1dcf4894391868 |
14-Jun-2011 |
Mathias Agopian <mathias@google.com> |
DO NOT MERGE. may fix build on some version of gcc Change-Id: Iff6d9ab3a7caf58f65fc3f60633a3bd577b7af25
efBase.h
|
7a87ec7115882134a00ed04792b488e53172e707 |
14-Jun-2011 |
Mathias Agopian <mathias@google.com> |
may fix build on some version of gcc Change-Id: Ia88787c0432ec84d51fe505fd6a2b6f98ebe8f33
efBase.h
|
ddc31c3e2bc6ffe66695c385d23e8ccc3c6dad06 |
13-Jun-2011 |
Mathias Agopian <mathias@google.com> |
fix RefBase so it retains binary-compatibility with gingerbread Bug: 4595257 Change-Id: I0d5e10f497e3f39868bff58f6ded510c38b44b12
efBase.h
|
7794b30589786098756e4734794f0cca30109557 |
13-Jun-2011 |
Mathias Agopian <mathias@google.com> |
am 77079399: am a9c9a4ba: fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE) * commit '77079399fca3e9c71e2ac06f3da26934e1c278b9': fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)
|
76feee7a58af9626371a3540e6acc936662faabe |
13-Jun-2011 |
Mathias Agopian <mathias@google.com> |
fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE) Bug: 4595257 Change-Id: I4773cf4fe59b2509db0ed733739eb6961d473b25
efBase.h
|
867740df0509e1f9b44f16187d1428ba8f351811 |
13-Jun-2011 |
Mathias Agopian <mathias@google.com> |
fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE) Bug: 4595257 Change-Id: I1db83149107d7dab1f0b7e73c684e0ff82e17e62
efBase.h
|
ac642349ba89c8839c421502fb779bee5cebfee3 |
13-Jun-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "libutils: add a binary blob cache implementation."
|
c4a0feaaf4dbf8052ee2c231a522a5f596dec42f |
13-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Merge "Remove redundant memory barrier"
|
d9e1bb76fe1e01fb79bb65959b92051aa18fddbe |
02-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Remove redundant memory barrier pthread_create already includes the necessary memory barriers: - parent at pthread_create : pthread_mutex_unlock(start_mutex) - child at __thread_entry : pthread_mutex_lock(start_mutex) Add lock around uses of mThread. Added comments: - uses of mThread require lock - androidCreateRawThreadEtc returned ID is not safe for direct use from non-parent threads. Change-Id: I18cb296b41ddaf64cf127b57aab31154319b5970
hreads.h
|
66168d4bb452492907765084de886b8cff2fd5b1 |
10-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of f51ded0f to master Change-Id: Ida356524a68aeb2b9b0013dfbb6ab4bd11e616e2
|
199512446d07e15797d1ae8b21b92ae61a372352 |
10-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
am a8d7ea06: am 220cd77d: Merge "Enforce public resource restriction on bag parents." into honeycomb-mr2 * commit 'a8d7ea067cf22baeee2ff0a33e5a8c5a35936942': Enforce public resource restriction on bag parents.
|
d4bfc93113bd1a73145935dbf13e1560d151ae17 |
09-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Enforce public resource restriction on bag parents. Need to put some more styles in the SDK to avoid breaking apps. Also, welcome Android 3.2. Change-Id: Ia31d07c9b1b91ad868d8630437fdc1b5ae24f37d
esourceTypes.h
|
f3d939c5e5c2fa9b1ffea817fde3eece869e2bec |
06-Jun-2011 |
Mathias Agopian <mathias@google.com> |
merge various SF fixes from gingerbread to honeycomb-mr2 (DO NOT MERGE) Fix a race that could cause GL commands to be executed from the wrong thread. RefBase subclasses can now decide how they want to be destroyed. Fix a race in SurfaceFlinger that could cause layers to be leaked forever. Fix a race-condtion in SurfaceFlinger that could lead to a crash. initial cherry-pick: resolved conflicts for merge of b9783b49 to honeycomb-plus-aosp Change-Id: I2a335e03fff219e35c18a7b0089b3a11d636576f
efBase.h
|
0129f1a27f13e175c9055e6f169096e5ac40602d |
06-Jun-2011 |
Marco Nelissen <marcone@google.com> |
resolved conflicts for merge of b9783b49 to honeycomb-plus-aosp Change-Id: I1d86ea56b3d1d1b69f6671e5b0df0ca3f0c79643
|
b18d467bbc0f3325d6239a9741df3b2073e4ec82 |
03-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 54cb63e2 to master Change-Id: I5b741a1781e3f76c03fc1534ffce871117effd10
|
dccd0899927c7a146e1523319f069b918f3211ea |
03-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
am da9837fb: am c058d386: am ff762299: Merge "Small fixes and cleanup of resource config handling." into honeycomb-mr2 * commit 'da9837fb61c8aa53c67921682016d97655332089': Small fixes and cleanup of resource config handling.
|
caf5f71308b627c109ed11905f3dd3b7967bb07c |
27-May-2011 |
Dianne Hackborn <hackbod@google.com> |
am 528c49f1: am b96cbbd1: Add "tv" density for 720p screens. * commit '528c49f112dce5f9687f30a9751e783196eca0c6': Add "tv" density for 720p screens.
|
c6291e0ff45375176d8cceb1a3aad2fd9ec13101 |
27-May-2011 |
Dianne Hackborn <hackbod@google.com> |
Add "tv" density for 720p screens. Change-Id: I028969b007f2fceea66947d77a2ae31ef1d1a630
esourceTypes.h
|
fff4e3f140e8353045538341f5427f225a69a50f |
27-May-2011 |
Dianne Hackborn <hackbod@google.com> |
am c058d386: am ff762299: Merge "Small fixes and cleanup of resource config handling." into honeycomb-mr2 * commit 'c058d38602a1ffe00e14b4ab32c876c252eabe6d': Small fixes and cleanup of resource config handling.
|
c3f07924a55dc5ed8d0451219b20d0cc60e83bcf |
27-May-2011 |
Dianne Hackborn <hackbod@google.com> |
Small fixes and cleanup of resource config handling. Change-Id: I402c31b68f2b4825cb4c610a65ee8e1da471c7bb
esourceTypes.h
|
9a2c1ca2dd96c30a7bd2242cf08e9f4ba80cc31c |
25-May-2011 |
Jeff Brown <jeffbrown@google.com> |
am af685f3b: am 85a7f99c: Merge "Refactor how timeouts are calculated. (DO NOT MERGE)" into honeycomb-mr2 * commit 'af685f3bb566f297deee1615d55d4f33d5580ba3': Refactor how timeouts are calculated. (DO NOT MERGE)
|
689e53cc822f0dc543d3728559a6ed8cea60cf57 |
25-May-2011 |
Jeff Brown <jeffbrown@google.com> |
am 16330e24: am 94e838f6: Merge "Improve VelocityTracker numerical stability. (DO NOT MERGE)" into honeycomb-mr2 * commit '16330e249663fed890df0e95fce4016c2971120a': Improve VelocityTracker numerical stability. (DO NOT MERGE)
|
446b40091002bc2fa8dc98071f2ec8c39e30bce1 |
25-May-2011 |
Jeff Brown <jeffbrown@google.com> |
am 4bd89fb0: am 82e4373e: Merge "Use touch pad gestures to manipulate the pointer. (DO NOT MERGE)" into honeycomb-mr2 * commit '4bd89fb00f319c5d6d4f17b39fd4c0b3dc827ad1': Use touch pad gestures to manipulate the pointer. (DO NOT MERGE)
|
be93983384d967d981e2ca4ca21e5916c93c270d |
25-May-2011 |
Simon Wilson <simonwilson@google.com> |
am c9cd2387: Merge changes I37f0f315,I8cbf6044,Ibb598931,I5262bf11 into gingerbread * commit 'c9cd2387b6938a6fbefc731d2177902266f2a130': Fix a race that could cause GL commands to be executed from the wrong thread. RefBase subclasses can now decide how they want to be destroyed. Fix a race in SurfaceFlinger that could cause layers to be leaked forever. Fix a race-condtion in SurfaceFlinger that could lead to a crash.
|
3ae00fabc7c4508007e23b189bcfec4cd67f56eb |
24-May-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of bbca8133 to master Change-Id: I81493674dceab848e41d380a77a37e5a9be06db6
|
1eb42cf6dbe457a5173193eb0276f8c703003db5 |
17-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Refactor how timeouts are calculated. (DO NOT MERGE) Added a timeout mechanism to EventHub and InputReader so that InputMappers can request timeouts to perform delayed processing of input when needed. Change-Id: I89c1171c9326c6e413042e3ee13aa9f7f1fc0454
imers.h
|
c5982b7bee75467f50d681ad54120eadc7a8d88e |
15-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Improve VelocityTracker numerical stability. (DO NOT MERGE) Replaced VelocityTracker with a faster and more accurate native implementation. This avoids the duplicate maintenance overhead of having two implementations. The new algorithm requires that the sample duration be at least 10ms in order to contribute to the velocity calculation. This ensures that the velocity is not severely overestimated when samples arrive in bursts. The new algorithm computes the exponentially weighted moving average using weights based on the relative duration of successive sample periods. The new algorithm is also more careful about how it handles individual pointers going down or up and their effects on the collected movement traces. The intent is to preserve the last known velocity of pointers as they go up while also ensuring that other motion samples do not count twice in that case. Bug: 4086785 Change-Id: I95054102397c4b6a9076dc6a0fc841b4beec7920
itSet.h
|
247da72a5bb1e762c73723fd2d495c9a6c4f1c68 |
10-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Use touch pad gestures to manipulate the pointer. (DO NOT MERGE) 1. Single finger tap performs a click. 2. Single finger movement moves the pointer (hovers). 3. Button press plus movement performs click or drag. While dragging, the pointer follows the finger that is moving fastest. This is important if there are additional fingers down on the touch pad for the purpose of applying force to an integrated button underneath. 4. Two fingers near each other moving in the same direction are coalesced as a swipe gesture under the pointer. 5. Two or more fingers moving in arbitrary directions are transformed into touches in the vicinity of the pointer. This makes scale/zoom and rotate gestures possible. Added a native VelocityTracker implementation to enable intelligent switching of the active pointer during drags. Change-Id: I7b7ddacc724fb1306e1590dbaebb740d3130d7cd
itSet.h
|
2f118cd350513991f400d7f887c0e8345cba6a20 |
24-May-2011 |
Dianne Hackborn <hackbod@google.com> |
am 4bb78889: am 40277df7: Merge "Add "television" mode." into honeycomb-mr2 * commit '4bb78889d04594c01a6af7f6d38c1764e9f575f9': Add "television" mode.
|
3d6881f3940dd19268006e71dd2ed9896588dfb6 |
20-May-2011 |
Mathias Agopian <mathias@google.com> |
RefBase subclasses can now decide how they want to be destroyed. This adds a destroy() virtual on RefBase which sublasses can implement. destroy() is called in lieu of the destructor whenthe last strong ref goes away. Bug: 4483050 Change-Id: I8cbf6044a6fd3f01043a45592b5a60fa1e5fade2
efBase.h
|
a6b34ef26aba54e88b79b3e1550464960ee628d1 |
21-May-2011 |
Dianne Hackborn <hackbod@google.com> |
Add "television" mode. Change-Id: Ida1fdb61b036a8b489dbeda196fb4bc82e651b2b
esourceTypes.h
|
79ba9b5e39bfcbc6775bca56de139cf0fc5c914f |
20-May-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 06a8ceac to master Change-Id: Id51574c825affddfac14ad7214c5496d6a3d6e69
|
20aeb1caa4e2232153d3a59923722c19a3563a78 |
20-May-2011 |
Mathias Agopian <mathias@google.com> |
RefBase subclasses can now decide how they want to be destroyed. This adds a destroy() virtual on RefBase which sublasses can implement. destroy() is called in lieu of the destructor whenthe last strong ref goes away.
efBase.h
|
7583282db6783a7550b70d5b8bfbe613d0480de2 |
20-May-2011 |
Dianne Hackborn <hackbod@google.com> |
am c851ea56: am 69cb8757: Add new "-swNNNdp" resource qualifier. * commit 'c851ea5672f6e042c2e89b2a2ce4a2467e1fcd2a': Add new "-swNNNdp" resource qualifier.
|
22585947ff9d5b4cd4235b399be5c2de2338e68b |
20-May-2011 |
Dianne Hackborn <hackbod@google.com> |
Add new "-swNNNdp" resource qualifier. Change-Id: I0101e88ca9d8d44138bdcaf571f24b0352f4f6ce
esourceTypes.h
|
58c8dd2aa9a8931a53923054679fb31fecc696c9 |
29-Apr-2011 |
Jamie Gennis <jgennis@google.com> |
libutils: add a binary blob cache implementation. This change adds an implementation of a cache that stores key/value pairs of unstructured binary blobs. Change-Id: Idd01fdabedfa3aed6d359a6efb0592967af52651
lobCache.h
|
89178d4de2964538c8a754df94c0911abe53c171 |
13-May-2011 |
Dianne Hackborn <hackbod@google.com> |
am 46a282f3: am 0ed2e845: Merge "DO NOT MERGE. Integrate add new screen width/height in "dp" configs." into honeycomb-mr2 * commit '46a282f323bc05606e4fe1eba795bd9ac7c99819': DO NOT MERGE. Integrate add new screen width/height in "dp" configs.
|
88c0d696cc25defc021ae885811d1d52c482ebcf |
13-May-2011 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE. Integrate add new screen width/height in "dp" configs. You can now specify resource configuration variants "wNNNdp" and "hNNNdp". These are the minimum screen width/height in "dp" units. This allows you to do things like have your app adjust its layout based only on the about of horizontal space available. This introduces a new configuration change flag for screen size. Note that this configuration change happens each time the orientation changes. Applications often say they handle the orientation change to avoid being restarted at a screen rotation, and this will now cause them to be restarted. To address this, we assume the app can handle this new config change if its target SDK version is < ICS. Change-Id: I4acb73d82677b74092c1da9e4046a4951921f9f4
esourceTypes.h
|
d78797f6e69485f37dae9cb255f5287a06b65599 |
01-Apr-2011 |
Christopher Tate <ctate@google.com> |
Full local backup infrastructure This is the basic infrastructure for pulling a full(*) backup of the device's data over an adb(**) connection to the local device. The basic process consists of these interacting pieces: 1. The framework's BackupManagerService, which coordinates the collection of app data and routing to the destination. 2. A new framework-provided BackupAgent implementation called FullBackupAgent, which is instantiated in the target applications' processes in turn, and knows how to emit a datastream that contains all of the app's saved data files. 3. A new shell-level program called "bu" that is used to bridge from adb to the framework's Backup Manager. 4. adb itself, which now knows how to use 'bu' to kick off a backup operation and pull the resulting data stream to the desktop host. 5. A system-provided application that verifies with the user that an attempted backup/restore operation is in fact expected and to be allowed. The full agent implementation is not used during normal operation of the delta-based app-customized remote backup process. Instead it's used during user-confirmed *full* backup of applications and all their data to a local destination, e.g. via the adb connection. The output format is 'tar'. This makes it very easy for the end user to examine the resulting dataset, e.g. for purpose of extracting files for debug purposes; as well as making it easy to contemplate adding things like a direct gzip stage to the data pipeline during backup/restore. It also makes it convenient to construct and maintain synthetic backup datasets for testing purposes. Within the tar format, certain artificial conventions are used. All files are stored within top-level directories according to their semantic origin: apps/pkgname/a/ : Application .apk file itself apps/pkgname/obb/: The application's associated .obb containers apps/pkgname/f/ : The subtree rooted at the getFilesDir() location apps/pkgname/db/ : The subtree rooted at the getDatabasePath() parent apps/pkgname/sp/ : The subtree rooted at the getSharedPrefsFile() parent apps/pkgname/r/ : Files stored relative to the root of the app's file tree apps/pkgname/c/ : Reserved for the app's getCacheDir() tree; not stored. For each package, the first entry in the tar stream is a file called "_manifest", nominally rooted at apps/pkgname. This file contains some metadata about the package whose data is stored in the archive. The contents of shared storage can optionally be included in the tar stream. It is placed in the synthetic location: shared/... uid/gid are ignored; app uids are assigned at install time, and the app's data is handled from within its own execution environment, so will automatically have the app's correct uid. Forward-locked .apk files are never backed up. System-partition .apk files are not backed up unless they have been overridden by a post-factory upgrade, in which case the current .apk *is* backed up -- i.e. the .apk that matches the on-disk data. The manifest preceding each application's portion of the tar stream provides version numbers and signature blocks for version checking, as well as an indication of whether the restore logic should expect to install the .apk before extracting the data. System packages can designate their own full backup agents. This is to manage things like the settings provider which (a) cannot be shut down on the fly in order to do a clean snapshot of their file trees, and (b) manage data that is not only irrelevant but actively hostile to non-identical devices -- CDMA telephony settings would seriously mess up a GSM device if emplaced there blind, for example. When a full backup or restore is initiated from adb, the system will present a confirmation UI that the user must explicitly respond to within a short [~ 30 seconds] timeout. This is to avoid the possibility of malicious desktop-side software secretly grabbing a copy of all the user's data for nefarious purposes. (*) The backup is not strictly a full mirror. In particular, the settings database is not cloned; it is handled the same way that it is in cloud backup/restore. This is because some settings are actively destructive if cloned onto a different (or especially a different-model) device: telephony settings and AndroidID are good examples of this. (**) On the framework side it doesn't care that it's adb; it just sends the tar stream to a file descriptor. This can easily be retargeted around whatever transport we might decide to use in the future. KNOWN ISSUES: * the security UI is desperately ugly; no proper designs have yet been done for it * restore is not yet implemented * shared storage backup is not yet implemented * symlinks aren't yet handled, though some infrastructure for dealing with them has been put in place. Change-Id: Ia8347611e23b398af36ea22c36dff0a276b1ce91
ackupHelpers.h
|
d5b421aaa7fcab4329cdfe5d8b37fce7e8f39fa6 |
26-Apr-2011 |
Mathias Agopian <mathias@google.com> |
fix typo in Vector<>:: push_back and push_front parameter were inverted. Change-Id: I867b01de5f58354bb9668fa662dd2a7d78dd3b37
ector.h
|
e60e1fd23d8d12fc46fd867c8bc837fc581ffa1d |
26-Apr-2011 |
Mathias Agopian <mathias@google.com> |
Add some basic STL compatibility to Vector<> Change-Id: Iaf72623170ee415372c7989d7ba9ff627167449e
ector.h
|
81bc5677452b5433d5214e7976224c8d0f29fbcb |
12-Apr-2011 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 18490fb9 to master Change-Id: I6c68e6fb0f9c1182a955689bbffc161a8f30bd37
|
f6bbefd581a28c2b3c8db74efe66eabdc23ab0b3 |
12-Apr-2011 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 87b3c0dc to honeycomb-plus-aosp Change-Id: Ia1a0024aabf531438203eb9fea3a10dd15eabe53
|
8a1a61517645ea989b9045eb209ba1d6fdc23cd8 |
12-Apr-2011 |
Kenny Root <kroot@android.com> |
am 08d9d9a4: Merge "Runtime resource overlay, iteration 1." * commit '08d9d9a46250c4fad66e9b637e8898a3524c4286': Runtime resource overlay, iteration 1.
|
592e3fc1509793e592ba99725736ce4995af8cb3 |
31-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Add new resource configurations for screen width/height in "dp". You can now specify resource configuration variants "wNNNdp" and "hNNNdp". These are the minimum screen width/height in "dp" units. This allows you to do things like have your app adjust its layout based only on the about of horizontal space available. This introduces a new configuration change flag for screen size. Note that this configuration change happens each time the orientation changes. Applications often say they handle the orientation change to avoid being restarted at a screen rotation, and this will now cause them to be restarted. To address this, we assume the app can handle this new config change if its target SDK version is < ICS. Change-Id: I22f8afa136b4f274423978c570fa7c9855040496
esourceTypes.h
|
5f29c87ef2ed197e19b614d306dbbd24a283305d |
17-Mar-2011 |
MÃ¥rten Kongstad <marten.kongstad@sonyericsson.com> |
Runtime resource overlay, iteration 1. Runtime resource overlay allows unmodified applications to appear as if they had been compiled with additional resources defined. See libs/utils/README for more information. This commit is the first iteration of runtime resource overlay. It provides the actual overlay modifications and loading of trusted overlay packages (ie residing in /vendor) targeting framework-res.apk. This commit loads exactly one overlay package. The overlay, if present, must target framework-res.apk and be located at /vendor/overlay/framework/framework-res.apk. Change-Id: If26ee7754813004a96c043dba37fbe99fa3919db
ssetManager.h
esourceTypes.h
|
f98f1364f802d7637b0304722f38efdfed758e6e |
18-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Merge "Refactor how timeouts are calculated."
|
c0a5e8df03d949cb307a0eb98f0222086c0434c1 |
17-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Refactor how timeouts are calculated. Added a timeout mechanism to EventHub and InputReader so that InputMappers can request timeouts to perform delayed processing of input when needed. Change-Id: Iec2045baaf4e67690b15eef3c09a58d5cac76897
imers.h
|
939fee8819ac714af6f99b1d8e0bd2ff6626a356 |
17-Mar-2011 |
Mathias Agopian <mathias@google.com> |
am e22aa623: am 25594e19: am f40e638e: fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out * commit 'e22aa62362a3007ee59ac62d4b5969e216987995': fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out
|
d0b55c011a311b677493ba72804bf1bc4df68224 |
17-Mar-2011 |
Mathias Agopian <mathias@google.com> |
fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out a memory corruption happned when the buffer pool was resized (like when playing a video or using camera) and there was no current active buffer. In this case, the faulty code would index into an array at position -1 which corrupted 24 bytes of data. also improved region validation code (ifdef'ed out by default) Bug: 4093196 Change-Id: I915c581d131148959d720e00e3892e9186ab733d
ector.h
|
043e3d42f1e3e420ecdc6b44ba3809bad52a6763 |
17-Mar-2011 |
Romain Guy <romainguy@google.com> |
am 72064c66: am b0204d0a: am c2b91a61: Merge "Modify the GL renderer\'s functor to pass the clip to WebView" into honeycomb-mr1 * commit '72064c66e20b9cc86900a9d833c228c345a2b2a4': Modify the GL renderer's functor to pass the clip to WebView
|
a08152f43c01035373fd56500e40d5bf7996a689 |
16-Mar-2011 |
Romain Guy <romainguy@google.com> |
Modify the GL renderer's functor to pass the clip to WebView Change-Id: If5efe399ca58f3000b2883e24e9f3736a2025184
unctor.h
|
e3d4a68f2d09098bda8c6ca6c3826877365c7267 |
16-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Merge "Improve VelocityTracker numerical stability."
|
1593354388f622f189063314e97389f148a30b7f |
15-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Improve VelocityTracker numerical stability. Replaced VelocityTracker with a faster and more accurate native implementation. This avoids the duplicate maintenance overhead of having two implementations. The new algorithm requires that the sample duration be at least 10ms in order to contribute to the velocity calculation. This ensures that the velocity is not severely overestimated when samples arrive in bursts. The new algorithm computes the exponentially weighted moving average using weights based on the relative duration of successive sample periods. The new algorithm is also more careful about how it handles individual pointers going down or up and their effects on the collected movement traces. The intent is to preserve the last known velocity of pointers as they go up while also ensuring that other motion samples do not count twice in that case. Bug: 4086785 Change-Id: I2632321232c64d6b8faacdb929e33f60e64dcdd3
itSet.h
|
77b6f0a9ede757388e799e71b6ea5006479900f9 |
15-Mar-2011 |
Glenn Kasten <gkasten@google.com> |
am 7d7dcb5e: am 4528a7db: Merge "Bug 4016329 do full string comparisons" into honeycomb-mr1 * commit '7d7dcb5ea891ad4c3252ed832ebd06accc96153d': Bug 4016329 do full string comparisons
|
bb959f5b10374fdc6665b2ac1c18a07cea6effb7 |
14-Mar-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 4016329 do full string comparisons Use full string comparisons instead of partial for file extension and MIME type. Do case-insensitive comparison of MIME type and file extensions. Fix error in comment for String8::getPathExtension. Remove dead code -- StringTokenizer is unused. Change-Id: I322be6235abbdaab5f7eafa48926dbb2cf46dc29
tring8.h
|
fa773aa745325263745202f822335dfeec0e4c67 |
10-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Use touch pad gestures to manipulate the pointer. 1. Single finger tap performs a click. 2. Single finger movement moves the pointer (hovers). 3. Button press plus movement performs click or drag. While dragging, the pointer follows the finger that is moving fastest. This is important if there are additional fingers down on the touch pad for the purpose of applying force to an integrated button underneath. 4. Two fingers near each other moving in the same direction are coalesced as a swipe gesture under the pointer. 5. Two or more fingers moving in arbitrary directions are transformed into touches in the vicinity of the pointer. This makes scale/zoom and rotate gestures possible. Added a native VelocityTracker implementation to enable intelligent switching of the active pointer during drags. Change-Id: I5ada57e7f2bdb9b0a791843eb354a8c706b365dc
itSet.h
|
8c5cffc2e5c0d48ebf10c4da9a382cf4b1159891 |
08-Mar-2011 |
Romain Guy <romainguy@google.com> |
am d00353fe: am bc8a8e8c: Merge "Add support for partial invalidates in WebView Bug #3461349" into honeycomb-mr1 * commit 'd00353fe3191571a6773ef2d11921cfcff260bc4': Add support for partial invalidates in WebView Bug #3461349
|
9fb2277f39ddd2575fc55b450d440087e1ddcac0 |
08-Mar-2011 |
Romain Guy <romainguy@google.com> |
Add support for partial invalidates in WebView Bug #3461349 This change also fixes two bugs that prevented partial invalidates from working with other views. Both bugs were in our EGL implementation: they were preventing the caller from comparing the current context/surface with another context/surface. This was causing HardwareRenderer to always redraw the entire screen. Change-Id: I33e096b304d4a0b7e6c8f92930f71d2ece9bebf5
unctor.h
|
5f1e78d7301c2a14c83de068f61e13aaed9494a8 |
08-Mar-2011 |
Mathias Agopian <mathias@google.com> |
am df6410dc: Merge "Fix [3513017] in lockscreen but showing empty launcher (live wallpaper) only" into gingerbread * commit 'df6410dce3dae0bdb7e13118b3878079a1dcce03': Fix [3513017] in lockscreen but showing empty launcher (live wallpaper) only
|
ee65ac8a71c24fc154b513faa13d24b4d4dfee4f |
10-Feb-2011 |
Mathias Agopian <mathias@google.com> |
Fix [3513017] in lockscreen but showing empty launcher (live wallpaper) only 37c2a37 fix [3408713] Dialog window invisible sometimes d35c666 fix [3385504] Surface flinger hang when adding dim surface 1723b04 fix [3389263] OMX.Nvidia.h264.decode fails to shutdown 1b0114f fix a surface leak in SurfaceFlinger Bug: 3513017 Change-Id: Ia13ed8c9cdcb1f484e177cdcaff687e7c88a10c3
efBase.h
|
b83025cf804c9a7725549e22e89cf78f99ca91f2 |
03-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add TextLayout Cache"
|
80f3e7cc1506bbb4bec458e15629805a7c1df7ee |
02-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Fade out the mouse pointer after inactivity or other events. Fades out the mouse pointer: - after 15 seconds of inactivity normally - after 3 seconds of inactivity in lights out mode - after a non-modifier key down - after a touch down Extended the native Looper to support enqueuing time delayed messages. This is used by the PointerController to control pointer fade timing. Change-Id: I87792fea7dbe2d9376c78cf354fe3189a484d9da
ooper.h
|
e88a9a42cadc75caa070ce6be1858f52973e5acd |
25-Feb-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add TextLayout Cache - use GenerationCache for caching - move GenerationCache.h from libs/hwui/utils to include/utils - add #define for cache activation / deactivation Change-Id: Ifaf519f0b5e33b087a453e4aa6430162d8438f20
enerationCache.h
|
32bebb0a58dd9c699aed8045ca2e752f681e5a0f |
26-Feb-2011 |
Mathias Agopian <mathias@google.com> |
Fix sp<> conversion operator / constructor some of the conversion operators were not using the proper pointer type when calling incStrong/decStrong, usually it has no bad consequences, but for some implementation of the ref-counted object it could lead to recording the wrong owner id. Change-Id: If574b9069b8a4cf6e0911a992c8f095aba799995
trongPointer.h
|
d4e5832b694614990f24ab107df65ff2d17a0292 |
25-Feb-2011 |
Mathias Agopian <mathias@google.com> |
Merge "Fix a wp<> bug where the owner ID would be wrong"
|
d005004f1419e51680ea69a78e6835a7d1b71aac |
25-Feb-2011 |
Mathias Agopian <mathias@google.com> |
Fix a wp<> bug where the owner ID would be wrong this was introduced recently. we make sure to use the correct owner id (the sp) instead of the wp. Change-Id: I78fdc6ec0c2d3e687278b70442d74d1924b512a2
efBase.h
trongPointer.h
|
da26c6662db6ad76f214df0e7ebe9fe3b211c0fe |
25-Feb-2011 |
Mathias Agopian <mathias@google.com> |
Merge "Fix some issues with RefBase debugging."
|
3477a8cff2cf0eb5fcec03b0dc8ef9dcf64c0eb4 |
24-Feb-2011 |
Glenn Kasten <gkasten@google.com> |
Merge "Bug 3362814 Fix SMP race in access to mRequestExit"
|
f14a1046e7242222300bbe88d530c3b531fc7678 |
17-Feb-2011 |
Mathias Agopian <mathias@google.com> |
Fix some issues with RefBase debugging. First slipt sp<> out of RefBase into StrongPointer.h so it can be reused more easily and to make it clear that it doesn't require RefBase. Note: the rest of the change only affects the system when DEBUG_REFS is enabled. The main problem we fix here is that the owner id associated with each reference could get out of date when a sp<> or wp<> was moved, for instance when they're used in a Vector< >. We fix this issue by calling into RefBase::moveReferences from a template specialization for sp<TYPE> and wp<TYPE> of the type helpers. RefBase::moveReferences() has then a chance to update the owner ids. There is a little bit of trickery to implement this generically in RefBase, where we need to use a templatized functor that can turn a sp<TYPE>* casted to a void* into a RefBase*. Introduced a new debug option DEBUG_REFS_FATAL_SANITY_CHECKS currently set to 0 by default as there seem to be an issue with sp<ANativeWindow> which trips the sanity checks. Change-Id: I4825b21c8ec47d4a0ef35d760760ae0c9cdfbd7f
efBase.h
trongPointer.h
ypeHelpers.h
|
7e453a51a5436c6c8c49c1e37cea5077bce09405 |
01-Feb-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 3362814 Fix SMP race in access to mRequestExit Also fix an unlikely SMP race in access to mHoldSelf on entry to _threadLoop. Change-Id: I6cbc0b94739c7dd5e77e8a5ba0da22cdc0b1a4db
hreads.h
|
a08ef4932fc6dcb812a7ceb5a87e8d144a6adda4 |
17-Feb-2011 |
Mathias Agopian <mathias@google.com> |
Remove RefBase.h dependency on TextOutput.h Change-Id: I72cd6b98ef82b4868fe1c8ec87862cf43fb4ee73
efBase.h
|
a878ce287d0fc0555c15a3f11c2f04569318e799 |
11-Feb-2011 |
Mathias Agopian <mathias@google.com> |
am b66b7a2c: Merge "fix [3408713] Dialog window invisible sometimes" into honeycomb * commit 'b66b7a2c183a1423ea629d4f73ed95f9b87d54b7': fix [3408713] Dialog window invisible sometimes
|
7802bbd20fc54f255f3ad83fb31993129078c69f |
10-Feb-2011 |
Mathias Agopian <mathias@google.com> |
fix [3408713] Dialog window invisible sometimes weak pointer comparison operators were implemented wrong, they were using the internal "unsafe" pointer. We could end up with two "equal" weak pointer pointing to different objects. this caused KeyedVector keyed by weak pointer to work incorrectly, in turn causing a window that just got added to a list to be immediately removed. Change-Id: Ib191010c39aafa9229109e4211f6c3b2b2f9696d
efBase.h
|
65881cf8b0e697465dd5493130f4a00b31924814 |
31-Jan-2011 |
Jean-Baptiste Queru <jbq@google.com> |
Merge "stubs"
|
402960177f9539e4e66623c82f0d123c9b4ba5a1 |
30-Jan-2011 |
Dianne Hackborn <hackbod@android.com> |
am a1f5e82f: am a30063d8: am 25eb0464: Merge "Normalize output from aapt d" * commit 'a1f5e82f37c77af7b1d630b5bca715d1742f1234': Normalize output from aapt d
|
8e543c60f5541ed7ae2f12ef3965bb3efa6ea5ed |
29-Jan-2011 |
Jean-Baptiste Queru <jbq@google.com> |
stubs Change-Id: I829039f3817a172e66eeb9df397e896a488a259d
unctor.h
|
47ab362e8d7ac1b2f72a4e16b00bb8b56e8ac68a |
10-Jan-2011 |
Chet Haase <chet@google.com> |
Use optimized display lists for all hwaccelerated rendering Previously, display lists were used only if hardware acceleration was enabled for an application (hardwareAccelerated=true) *and* if setDrawingCacheEnabled(true) was called. This change makes the framework use display lists for all views in an application if hardware acceleration is enabled. In addition, display list renderering has been optimized so that any view's recreation of its own display list (which is necessary whenever the visuals of that view change) will not cause any other display list in its parent hierarchy to change. Instead, when there are any visual changes in the hierarchy, only those views which need to have new display list content will recreate their display lists. This optimization works by caching display list references in each parent display list (so the container of some child will refer to its child's display list by a reference to the child's display list). Then when a view needs to recreate its display list, it will do so inside the same display list object. This will cause the content to get refreshed, but not the reference to that content. Then when the view hierarchy is redrawn, it will automatically pick up the new content from the old reference. This optimization will not necessarily improve performance when applications need to update the entire view hierarchy or redraw the entire screen, but it does show significant improvements when redrawing only a portion of the screen, especially when the regions that are not refreshed are complex and time- consuming to redraw. Change-Id: I68d21cac6a224a05703070ec85253220cb001eb4
unctor.h
|
ca6fca93fc3a6587d6569c37069966152131a9b2 |
20-Dec-2010 |
Shachar Shemesh <lingnu@gmail.com> |
Normalize output from aapt d Make the output from aapt dump --values resources and aapt dump xmltree normalized, so that it is unambigously displayed regardless of the content of the strings. Change-Id: Ia3bff36c4ee1e9a44f474534e154830948beabdf
esourceTypes.h
|
4c501a42173bfc0c7c9ee32312db392c59b67e13 |
24-Dec-2010 |
Jeff Brown <jeffbrown@google.com> |
Add initial support for cursor-based pointing devices. Some parts stubbed out but you can plug in a mouse and move a green cursor around to interact with the UI. Change-Id: I80d597a7f11d3bd92041890f74b3c77326975e6e
ropertyMap.h
|
e6f096a4cde5161e9e8432a6f6f2008e6bc710f4 |
11-Dec-2010 |
Mathias Agopian <mathias@google.com> |
dump callstack on Surface use error Change-Id: I38e260dd47349b9af3a999dda683a083a94be16d
allStack.h
|
18092ddc866425598abf4521d9ed4eda9573fdaa |
24-Nov-2010 |
Kenny Root <kroot@google.com> |
Change assets to use 64-bit API The asset system and supporting libraries were using off_t instead of off64_t to access files larger than 2GB (32-bit signed). This change replaces all off_t with off64_t and lseek64. There is a new utils/Compat.h added for Mac OS compatibility. Also fixed some size-related compiler warnings. Bug: 3205336 Change-Id: I9097b3cb7a602e811fe52f245939d8975da55e9e
sset.h
ompat.h
ileMap.h
treamingZipInflater.h
ipFileCRO.h
ipFileRO.h
|
db360642ed7a48eb3b3607a791bbe449cc6529bb |
02-Dec-2010 |
Jeff Brown <jeffbrown@google.com> |
Improve support for external keyboards. Use Vendor ID, Product ID and optionally the Version to locate keymaps and configuration files for external devices. Moved virtual key definition parsing to native code so that EventHub can identify touch screens with virtual keys and load the appropriate key layout file. Cleaned up a lot of old code in EventHub. Fixed a regression in ViewRoot's fallback event handling. Fixed a minor bug in FileMap that caused it to try to munmap or close invalid handled when released if the attempt to map the file failed. Added a couple of new String8 conveniences for formatting strings. Modified Tokenizer to fall back to open+read when mmap fails since we can't mmap sysfs files as needed to open the virtual key definition files in /sys/board_properties/. Change-Id: I6ca5e5f9547619fd082ddac47e87ce185da69ee6
tring8.h
okenizer.h
|
6688837ff6a959b4f59d9a4249aac1504f590a4b |
30-Nov-2010 |
Jeff Brown <jeffbrown@google.com> |
Support non-orientation aware keyboards and other devices. Fixed a bug with dpad keys on external keyboards being rotated according to the display orientation by adding a new input device configuration property called "keyboard.orientationAware". Added a mechanism for overriding the key layout and key character map in the input device configuration file using the new "keyboard.layout" and "keyboard.characterMap" properties. Also added "trackball.orientationAware", "touch.orientationAware" and "touch.deviceType" configuration properties. Rewrote the configuration property reading code in native code so that it can be used by EventHub and other components. Added basic support for installable idc, kl, and kcm files in /data/system/devices. However, there is no provision for copying files there yet. Disabled long-press character pickers on full keyboards so that key repeating works as expected. Change-Id: I1bd9f0c3d344421db444e7d271eb09bc8bab4791
ropertyMap.h
|
9ee93d18edb42d55441b636aa7e001260f1b758d |
19-Nov-2010 |
Jeff Brown <jeffbrown@google.com> |
Fix SDK build on Windows due to use of mmap. Change-Id: Id4bd9a6f932285c93c5853e540efc20b99876564
okenizer.h
|
a3477c862a5debcac7dfb076749059406ec59512 |
11-Nov-2010 |
Jeff Brown <jeffbrown@google.com> |
Added support for full PC-style keyboards. BREAKING CHANGE: Redesigned the key character map format to accomodate full keyboards with more comprehensive suite of modifiers. Old key character maps will not work anymore and must be updated. The new format is plain text only and it not compiled to a binary file (so the "kcm" tool will be removed in a subsequent check-in). Added FULL keyboard type to support full PC-style keyboards. Added SPECIAL_FUNCTION keyboard type to support special function keypads that do not have any printable keys suitable for typing and only have keys like HOME and POWER Added a special VIRTUAL_KEYBOARD device id convention that maps to a virtual keyboard with a fixed known layout. This is designed to work around issues injecting input events on devices whose built-in keyboard does not have a useful key character map (ie. when the built-in keyboard is a special function keyboard only.) Modified several places where events were being synthesized to use the virtual keyboard. Removed support for the "qwerty" default layout. The new default layout is "Generic". For the most part "qwerty" was being used as a backstop in case the built-in keyboard did not have a key character map (probably because it was a special function keypad) and the framework needed to be able to inject key events anyways. The latter issue is resolved by using the special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD. Added the concept of a key modifier behavior so that MetaKeyKeyListener can distinguish between keyboards that use chorded vs. toggled modifiers. Wrote more robust key layout and key character map parsers to enable support for new keyboard features and user installable key maps. Fixed a bug in InputReader generating key ups when keys are released out of sequence. Updated tons of documentation. Currently QwertyKeyListener is being used for full keyboards with autotext and capitalization disabled. This mostly works but causes some problems with character pickers, etc. These issues will be resolved in subsequent changes. Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
tring8.h
okenizer.h
|
c412dcb3eb259458905aae9a2f5109c59c9548c0 |
09-Nov-2010 |
Kenny Root <kroot@google.com> |
Split UTF functions from String8/16 Split out all the UTF-8/16/32 handling code from String8/16 to its own file to allow better reuse of code. Change-Id: If9ce63920edc75472c38da4adce0d13cda9ad2f7
tring16.h
tring8.h
nicode.h
|
133cde5805067d7bc7f123e1b3154816fa5eef37 |
28-Oct-2010 |
Kenny Root <kroot@google.com> |
Add path to get different DPI drawables Allow a caller to request a different density than their current display allows. This can mean a device displaying mdpi can get a resource that's in hdpi and have it pretend to be in mdpi resolution. If a drawable that's returned is not in the requested density, it will set it at the appropriate density to be scaled up later on. The API for this is hidden currently. Bug: 3134688 Change-Id: I6c3908cbdef4907b8d3f1576df9e3b0e7af1755a
esourceTypes.h
|
e22d21412fd8c5ac3f7a8b704ed69c1b5651454e |
21-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Revert "Add length-equality test in String operator== checks." This reverts commit e28210d401ae4ed1258b84c9b17a172a757190e8.
tring16.h
tring8.h
|
075e7503305dcba310024e6b6912dde3d31e1f7f |
20-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Add length-equality test in String operator== checks. Change-Id: I6ebc6ef85aac4539269f137c1f29f95b9828d4f9
tring16.h
tring8.h
|
83cd39ee1118287c955b533568be38aa2f0a6e3d |
16-Oct-2010 |
Jeff Brown <jeffbrown@google.com> |
am dc3ad87c: am 78a76fea: Merge "Revert to using epoll_wait()." into gingerbread Merge commit 'dc3ad87c04348c925aa86863ed6d25f18a8c6c36' * commit 'dc3ad87c04348c925aa86863ed6d25f18a8c6c36': Revert to using epoll_wait().
|
6a817e22e4b09a982ba17c1aff57f9fcb735c950 |
13-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Add keycodes and meta-key modifiers to support external keyboards. Added new key maps for external keyboards. These maps are intended to be shared across devices by inheriting the "keyboards.mk" product makefile as part of the device's product definition. One of the trickier changes here was to unwind some code in MetaKeyKeyListener that assumed that only the low 8 bits of the meta key state were actually used. The new code abandons bitshifts in favor of simple conditionals that are probably easier to read anyways. The special meta key state constants used by MetaKeyKeyListener are now (@hide) defined in KeyEvent now so as to make it clearer that they share the same code space even if those codes are not valid for KeyEvents. The EventHub now takes care of detecting the appropriate key layout map and key character map when the device is added and sets system properties accordingly. This avoids having duplicate code in KeyCharacterMap to probe for the appropriate key character map although the current probing mechanism has been preserved for legacy reasons just in case. Added support for tracking caps lock, num lock and scroll lock and turning their corresponding LEDs on and off as needed. The key character map format will need to be updated to correctly support PC style external keyboard semantics related to modifier keys. That will come in a later change so caps lock doesn't actually do anything right now except turn the shiny LEDs on and off... Added a list of symbolic key names to KeyEvent and improved the toString() output for debug diagnosis. Having this list in a central place in the framework also allows us to remove it from Monkey so there is one less thing to maintain when we add new keycodes. Bug: 2912307 Change-Id: If8c25e8d50a7c29bbf5d663c94284f5f86de5da4
tring8.h
|
d72b033033381c878322ff6761438d8d2d91b589 |
15-Oct-2010 |
Kenny Root <kroot@google.com> |
am 8fda1636: am bdf8034c: Merge "OBB: use PBKDF2 for key generation." into gingerbread Merge commit '8fda1636e3e35f060b9046294efd3c062a1fdb84' * commit '8fda1636e3e35f060b9046294efd3c062a1fdb84': OBB: use PBKDF2 for key generation.
|
1ec7a1d547d8998badef243a136878b199992219 |
15-Oct-2010 |
Jeff Brown <jeffbrown@google.com> |
Merge "Revert to using epoll_wait()." into gingerbread
|
95a68893125105f131ee1b4eaef1dc16da1ef789 |
14-Oct-2010 |
Kenny Root <kroot@google.com> |
OBB: use PBKDF2 for key generation. Switch to using PBKDF2 for the key generation for OBBs. Any previously generated OBBs will stop being read correctly. A small pbkdf2gen program is available to allow generation of appropriate keys with the salts. Bug: 3059950 Change-Id: If4305c989fd692fd1150eb270dbf751e09c37295
bbFile.h
|
2eb1995a5dfdc19f47580cd091a67994bd5f4b62 |
10-Oct-2010 |
Jeff Brown <jeffbrown@google.com> |
am 22cb4ef8: am d577cfd7: Merge "Switch Looper back to using poll() instead of epoll()." into gingerbread Merge commit '22cb4ef8ce9c4d5536ac5cee5c40b82bfa56ccc5' * commit '22cb4ef8ce9c4d5536ac5cee5c40b82bfa56ccc5': Switch Looper back to using poll() instead of epoll().
|
dc4c5bf55ae7a7022cedb5ea46621c9f574a597e |
08-Oct-2010 |
Jeff Brown <jeffbrown@google.com> |
Revert to using epoll_wait(). This change depends on the kernel having been patched to use hrtimers instead of jiffies for scheduling epoll timeouts. Change-Id: I216bc1c4f565e67ebcb3d2ba4280cb615932bb9e
ooper.h
|
54e1cdacd2b132997fdca5e5b90e45855c7a2a95 |
06-Oct-2010 |
Jeff Brown <jeffbrown@google.com> |
Switch Looper back to using poll() instead of epoll(). Added a couple of micro-optimizations to avoid calling wake() unnecessarily and reduce JNI overhead slightly. Fixed a minor issue where we were not clearing the "next" field of Messages returned by the MessageQueue so the Message would hold on to its successor and potentially prevent the GC from collecting it if the message were leaked somehow. Change-Id: I488d29417ce0cdd7d0e447cda76ec978ef7f811c
ooper.h
|
8c4edc02d5fae7ea01f1c5e5316d4058935d695c |
06-Oct-2010 |
Kenny Root <kroot@google.com> |
am bfa33b94: am f84a5918: Merge "Use pread() in ZipFileRO for Linux" into gingerbread Merge commit 'bfa33b9484e2c0a019ab81f30261b9696df23a9b' * commit 'bfa33b9484e2c0a019ab81f30261b9696df23a9b': Use pread() in ZipFileRO for Linux
|
61ef747e0e1b3980fbb10ce48de575caa69a6a74 |
04-Oct-2010 |
Kenny Root <kroot@google.com> |
Use pread() in ZipFileRO for Linux AssetManager instances are created by zygote and passed to all its children so that they don't have to individually open frameworks-res.apk. This creates a problem for determining the current file offset when using lseek() on those files, because you can't guarantee the cross-process locking of a mutex. Luckily, Linux implements pread() to get around this suckiness. The problem is that only Linux implements this, so we have to keep the old locking for use on host builds with aapt and friends. aapt doesn't have this same problem of sharing file descriptors across forked processes, so we can keep the local AutoMutex to protect accesses of those files. Change-Id: Ibe9f11499a53fe345f50fbaea438815ec0fd363e
ipFileRO.h
|
3d20bc9ff602a2f81a4570d15b5e1f3cff80af29 |
04-Oct-2010 |
Kenny Root <kroot@google.com> |
am ac754073: am b58b2714: Merge "ZipFileRO: moar logging and wrap close" into gingerbread Merge commit 'ac7540733cafcca5bdb1842e1ebcb396ba064583' * commit 'ac7540733cafcca5bdb1842e1ebcb396ba064583': ZipFileRO: moar logging and wrap close
|
dbf6f272a2cad97f7ce7fa600ffd2220483c80d1 |
02-Oct-2010 |
Kenny Root <kroot@google.com> |
ZipFileRO: moar logging and wrap close There is apparently still a race upon reading the entry Local File Header that can't be tracked down, so move the LFH check inside the mutex-protected block so we can call lseek again to see where we are when we log an error. Also, close() can fail so use TEMP_FAILURE_RETRY on it so we don't unwittingly leak file descriptors when Mean Mr. EINTR comes a-knocking. Change-Id: I753abad0bd882fe28f7281c406fa76f64393ef4c
ipFileRO.h
|
e457038905e8deb3b1a0b9fa898ce0a9c1993772 |
27-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
am 9785bf0f: am 14a288da: Merge "Add suuport for splitting touch events across windows." into gingerbread Merge commit '9785bf0f2b6b8758aed7ded3b996a2ef0be89919' * commit '9785bf0f2b6b8758aed7ded3b996a2ef0be89919': Add suuport for splitting touch events across windows.
|
6949f5da669d6ec6db24da0b561ad3466aece60d |
27-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Merge "Add suuport for splitting touch events across windows." into gingerbread
|
d1b0a2bfe50e61241fab6a571941c207232d9212 |
27-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Add suuport for splitting touch events across windows. This feature is currently used to enable dragging the start and end selection handles of a TextView at the same time. Could be used for other things later. Deleted some dead code in ArrowKeyMovementMethod and CursorControllers. Change-Id: I930accd97ca1ca1917aab8a807db2c950fc7b409
itSet.h
|
d6d93dbb86909747a5c7a8f363b28901dbb7422f |
25-Sep-2010 |
Kenny Root <kroot@google.com> |
am 3e07c000: am 74865ef6: Merge "Add locking around ZIP seeking" into gingerbread Merge commit '3e07c0007b10fbda945516acaf6b2a8787a6ca06' * commit '3e07c0007b10fbda945516acaf6b2a8787a6ca06': Add locking around ZIP seeking
|
fa98920b7192d0db8d22d9345b750810f89f9cdd |
24-Sep-2010 |
Kenny Root <kroot@google.com> |
Add locking around ZIP seeking Since we switched to seeking to the LFH to verify its existence instead of a huge mmap of the file, we have to guarantee that another seek doesn't happen before we finish our read on the LFH. Change-Id: If8135d9cb6f2f5cc4db734eafa4f6b5f6269c62a
ipFileRO.h
|
6bea17498385e644e243ded1e2205ce1388c1367 |
22-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
am 4ec134cd: am cce0cd13: Merge "Looper: use pthread_once for TLS key initialization." into gingerbread Merge commit '4ec134cdba52b663506562c6406b07915820b007' * commit '4ec134cdba52b663506562c6406b07915820b007': Looper: use pthread_once for TLS key initialization.
|
61a25b249066baed0fdab0411f44a2c6b7292766 |
22-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Looper: use pthread_once for TLS key initialization. Also fix a Valgrind complaint by zeroing out the entire epoll event struct since otherwise the data field union would be partly uninitialized (but not in a harmful way). Change-Id: I2091ce517e87fcad7c9caf90e2c5e4854a7ca465
ooper.h
|
067ed1db03a5452c79d30473f6e94c25db098f65 |
18-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
am bc9599d4: am 838e93ed: Merge "Looper: Drop default parameters in favor of a safer overload." into gingerbread Merge commit 'bc9599d48c79c18d306a13f51af9ef2aac92cdca' * commit 'bc9599d48c79c18d306a13f51af9ef2aac92cdca': Looper: Drop default parameters in favor of a safer overload.
|
b0619e8ad8e258f3e87a78a3a23c353d98efafa7 |
17-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Looper: Drop default parameters in favor of a safer overload. The idea is that if you're writing code that wants fd/events/data on return from pollOnce() / pollAll() you should really pass in all of those arguments. When I changed the Looper API earlier, it was difficult to ensure that all callers were passing the right parameters since they were relying on default parameters to some degree so usage mistakes would not have been caught by the compiler. Change-Id: I1f2812894270aaf1515017ac1616b6b312d9b565
ooper.h
|
dc543aec707be4239caec16f9fd3c13878f90a2f |
15-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
am 14bc6b5d: am 09340a4b: Merge "Replace epoll() with poll() and rename PollLoop to Looper." into gingerbread Merge commit '14bc6b5d0677e5c454a67775c852f90389bb4567' * commit '14bc6b5d0677e5c454a67775c852f90389bb4567': Replace epoll() with poll() and rename PollLoop to Looper.
|
59abe7e0909bf4b7bf7b9601e1e40a05f6d4fd8a |
14-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Replace epoll() with poll() and rename PollLoop to Looper. As part of this change, consolidated and cleaned up the Looper API so that there are fewer distinctions between the NDK and non-NDK declarations (no need for two callback types, etc.). Removed the dependence on specific constants from sys/poll.h such as POLLIN. Instead looper.h defines events like LOOPER_EVENT_INPUT for the events that it supports. That should help make any future under-the-hood implementation changes easier. Fixed a couple of compiler warnings along the way. Change-Id: I449a7ec780bf061bdd325452f823673e2b39b6ae
ooper.h
ollLoop.h
|
055a7926e651e3f99aedceda3b18bb6ea53d7769 |
13-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
am 0f0541e4: am b88102f5: Input dispatcher ANR handling enhancements. Merge commit '0f0541e40cfef51eb5c3769e53c1aa853b53aaf6' * commit '0f0541e40cfef51eb5c3769e53c1aa853b53aaf6': Input dispatcher ANR handling enhancements.
|
a665ca805c7ecda89ef95658f4d1c09ba6bd7f2e |
08-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Input dispatcher ANR handling enhancements. This change is essentially a rewrite of the main input dispatcher loop with the target identification folded in. Since the input dispatcher now has all of the window state, it can make better decisions about when to ANR. Added a .5 second deadline for processing app switch keys. This behavior predates Gingerbread but had not previously been ported. Fixed some timing inaccuracies in the ANR accounting that could cause applications to ANR sooner than they should have. Added a mechanism for tracking key and motion events that have been dispatched to a window so that appropriate cancelation events can be synthesized when recovering from ANR. This change helps to keep applications in sync so they don't end up with stuck buttons upon recovery from ANRs. Added more comments to describe the tricky parts of PollLoop. Change-Id: I13dffca27acb436fc383980db536abc4d8b9e6f1
ollLoop.h
|
0ddf0656c4254d5415279eeee83e4c0f78d64fab |
09-Sep-2010 |
Romain Guy <romainguy@google.com> |
Merge "Purge Skia objects from GL caches as needed."
|
4e0c1f27fdefdd9b0208ea64542c1e39d9327eb9 |
09-Sep-2010 |
Romain Guy <romainguy@google.com> |
Purge Skia objects from GL caches as needed. Change-Id: I754c671cf790ad5ae8bf047ad328034217da4ecc
ingleton.h
|
45e0acb41acf30a1b7592ea7e695d96aca3ccd3b |
08-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Modify native ALooper to take an explicit ident. The ALooper API now uses an explicit "identifier" for the integer that is returned rather than implicitly using the fd. This allows the APIs that had the fd to be a little more sane. Change-Id: I8507f535ad484c0bdc4a1bd016d87bb09acd7ff0
ollLoop.h
|
28e9b9f2435b9b73addddb092c66a8da6112b350 |
12-Aug-2010 |
Kenny Root <kroot@google.com> |
Add OBB flags to support overlays * Add flags field in OBB footer to support overlays. * Remove unused 'crypto' and 'filesystem' fields in obbtool (could later be supported in the "flags" field of the OBB footer). * Add notes to document OBB classes before shipping. Change-Id: I386b43c32c5edef55210acb5d3322639c08010ba
bbFile.h
|
2f09a77659e01067d0b742571db86d6cc2feb277 |
12-Aug-2010 |
Jeff Brown <jeffbrown@google.com> |
Merge "Add support for the PointerLocation overlay." into gingerbread
|
3f9ff2076c41882c1e34f8d124df5f5e31b8c709 |
11-Aug-2010 |
Jeff Brown <jeffbrown@google.com> |
Add support for the PointerLocation overlay. This change involves adding a new method to IWindowManager, monitorInput() that returns an InputChannel to receive a copy of all input that is dispatched to applications. The caller must have the READ_INPUT_STATE permission to make this request (similar to other window manager methods such as getKeycodeState). Change-Id: Icd14d810174a5b2928671ef16de73af88302aea0
tring8.h
|
1dfd9f8a97adc970656c15d1950865a4cffe5e7b |
19-Jul-2010 |
Kenny Root <kroot@google.com> |
Initial tool for OBB manipulation Add "obbtool" host command for adding, removing, and querying Opaque Binary Blob (OBB) information from a file. Change-Id: Id2ac41e687ad2a500c362616d6738a8ae7e8f5c3
bbFile.h
|
c3ef3ae5521b2bd5bac2a3da6666ac324d5ce930 |
04-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
More native work. Implement save/restore of state, and add native APIs for configuration information. Change-Id: I2a3ddc2ba605db58d7c8b2b31b9215fb323f90b5
ssetManager.h
esourceTypes.h
|
aa966638b9428e78837eff93ef29f10f31193256 |
06-Aug-2010 |
Kenny Root <kroot@google.com> |
Fix String8::operator+ The LHS was ignored when using: String8 + String8 String8 + (const char*) Add unit tests for above. Bug: 2898473 Change-Id: Ic8fe7be668b665c36aaaa3fc3c3ffdfff0fbba25
tring8.h
|
a45a8008c62ec8583709c87e30c84e09214f46cf |
26-Jul-2010 |
Christopher Tate <ctate@google.com> |
Support streaming of compressed assets > 1 megabyte 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
sset.h
treamingZipInflater.h
|
0a128e3cbef25e17aa7280928e682801041fa55f |
16-Jul-2010 |
Jeff Brown <jeffbrown@google.com> |
Fix bug with phantom input windows. Add dumpsys integration for the native input dispatcher. Add some InputDevice API stubs. Add an appendFormat helper method to String8 for printf style string formatting mainly for debugging purposes. Use generic ArrayList<WindowState> everywhere in WindowManagerService to eliminate unnecessary casts all over. Change-Id: I9d1e3bd90eb7222d10620200477f11b7bfd25e44
tring8.h
|
9373680116a02a16e10649ec9a9926ee2d742bcd |
13-Jul-2010 |
Christopher Tate <ctate@google.com> |
Add native C APIs for working with the Asset Manager Change-Id: I493b142c4b35e5cc1a1e85283bb5dfb306a6d261
ssetManager.h
|
3c5d125ed796dbecdd80fa2c03e04ff9b1d752e4 |
07-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Add new glue code for writing native apps. This factors out the boiler-plate code from the sample app to a common glue code that can be used for everyone writing this style of app: a dedicated app thread that takes care of waiting for events and processing them. As part of doing this, ALooper has a new facility to allow registration of fds that cause ALooper_pollOnce() to return the fd that has data, allowing the app to drive the loop without callbacks. Hopefully this makes some people feel better. :) Also do some other cleanup of the ALooper API, plus some actual documentation. Change-Id: Ic53bd56bdf627e3ba28a3c093faa06a92be522b8
ollLoop.h
|
b94a9a668f0e33dd93594abb08f448e6c915981f |
01-Jun-2010 |
Kenny Root <kroot@google.com> |
Add OBB file helper class ObbFile is a binary blob that will be used in packaging large files with smaller APKs. Change-Id: Ib1594346cfa2f49113de6565af77c24efbd89d63
bbFile.h
|
efa10850665c8d60e562f3a488ae65e225614707 |
03-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Add new native Looper API. This allows us to avoid exposing the file descriptor of the event queue; instead, you attach an event queue to a looper. This will also should allow native apps to be written without the need for a separate thread, by attaching the event queue to the main thread's looper and scheduling their own messages there. Change-Id: I38489282635895ae2cbfacb88599c1b1cad9b239
ollLoop.h
|
8c3c51bb33dff53168827f338d6c6c50c9825c08 |
25-Jun-2010 |
Mathias Agopian <mathias@google.com> |
Fix a bug in sp<> and wp<> which could cause memory corruptions when assigning a smart pointer to another one, we need to make sure to read all the data we need from the right-hand-side reference (the assignee) before we decRef the assigned. This bug would cause linked-list of smart-pointers to fail miserably. Change-Id: Ibb554c15fddf909f7737c632b7c80322e80ea93f
efBase.h
|
f4a4ec2063dfd28e04bbfe712f67acee4bdc8e37 |
16-Jun-2010 |
Jeff Brown <jeffbrown@google.com> |
Even more native input dispatch work in progress. Added more tests. Fixed a regression in Vector. Fixed bugs in pointer tracking. Fixed a starvation issue in PollLoop when setting or removing callbacks. Fixed a couple of policy nits. Modified the internal representation of MotionEvent to be more efficient and more consistent. Added code to skip/cancel virtual key processing when there are multiple pointers down. This helps to better disambiguate virtual key presses from stray touches (such as cheek presses). Change-Id: I2a7d2cce0195afb9125b23378baa94fd2fc6671c
ollLoop.h
ector.h
ectorImpl.h
|
66d9df50dac51940156f121768aaeb9a25ef2179 |
14-Jun-2010 |
Jeff Brown <jeffbrown@google.com> |
Fix include paths. Change-Id: Ifda45688f9f02710a74d5d7a7d902bacf1441e2e
ollLoop.h
|
e839a589bf582568cf220c1040ed93b948e6e362 |
23-Apr-2010 |
Jeff Brown <jeffbrown@google.com> |
Native input dispatch rewrite work in progress. 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
itSet.h
uffer.h
ollLoop.h
ool.h
topWatch.h
ector.h
ectorImpl.h
|
b8510b98b5eb92333157db1359df6f2bbbfb2b39 |
29-May-2010 |
Mathias Agopian <mathias@google.com> |
Fix a typo in Singleton<> it could cause the sLock field to be emitted several times in different compilation unit. it also prevented to have 2 Singleton<> in the same file.
ingleton.h
|
dcf01e6644d0e9eca5aa08ee1b16a0d29d039e5e |
20-May-2010 |
Mathias Agopian <mathias@google.com> |
added RWLock C++ wrapper Change-Id: Ia736bf7f6e2c49915a9ab5669551cf89dafa7961
hreads.h
|
d4066a4ac50cda61bedd97b5f6d29cf176e04127 |
23-Apr-2010 |
Kenny Root <kroot@google.com> |
ZipUtilsRO rewrite based on Dalvik Zip rewrite Change the way zip archives are handled. This is necessary to deal with very large (~1GB) APK files, for which our current approach of mapping the entire file falls over. We now do the classic scavenger hunt for the End Of Central Directory magic on a buffer of data read from the file, instead of a memory-mapped section. We use what we find to create a map that covers the Central Directory only. If the caller is interested in unpacking the file contents, we have to do an additional file read to discover the size of the Local File Header section so we can skip past it. This is based on Change I745fb15abb in the dalvik tree. Both implementations share a common ancestry, but the cost of unifying them outweighs the benefits of wrapping C calls. Change-Id: Iddacb50fe913917c2845708a530872d65fdbe620
ipFileCRO.h
ipFileRO.h
|
c93a781c2492def222093e46ddc252b09e333410 |
24-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
New xlarge screen size. Not complete, only for experimentation at this point. This includes a reworking of how screen size configurations are matched, so that if you are on a larger screen we can select configurations for smaller screens if there aren't any exactly matching the current screen. The screen size at which we switch to xlarge has been arbitrarily chosen; the compatibility behavior has not yet been defined. Change-Id: I1a33b3818eeb51a68fb72397568c39ab040a07f5
esourceTypes.h
|
26d244281a62c909acfd7527da256a9413241122 |
20-Mar-2010 |
Mathias Agopian <mathias@google.com> |
libutils Condition are now PRIVATE by default Condition must be initialized with SHARED for the old behavior, where they can be used accross processes. Updated the two places android that require SHARED conditions. PRIVATE conditions (and mutexes) use more efficient syscalls. Change-Id: I9a281a4b88206e92ac559c66554e886b9c62db3a
hreads.h
|
82fecb01df67f5e3321618df29079b9ce56a30e4 |
10-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Add ability for some manifest attributes to reference resources. This loosens our restriction on many manifest attributes requiring literal string values, to allow various ones to use values from resources. This is only allowed if the resource value does not change from configuration changes, and the restriction is still in place for attributes that are core to security (requesting permissions) or market operation (used libraries and features etc). Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
esourceTypes.h
|
2856c5b19a9e62a32a835c84a87a24b324c799fe |
05-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Refactor car mode. Extract all UI behavior from dock observer and ACTION_DOCK_EVENT. Also introduce a desk type to go along with the car type all through the resource system, since we now need to have corresponding high-level broadcasts for desk dock mode. As part of that I also reworked some of the logic for switching modes to all funnel through a single update() call that looks all of the current state to decide what to do next, and fixed various locking issues. In addition I found there were bugs in the configuration change handling causing us to only switch into the car mode config and then never get out of it. Unfortunately now that we are actually changing the configuration for each mode change, the transitions between them are really crummy as we restart all kinds of activities. :(
esourceTypes.h
|
8eca036d24f2e7865ab5ccb057b043e2c32b75bf |
02-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2448075: aapt doesn't fix up activity-alias android:targetActivity links And related: - The aapt tool now sets a resource configurations sdk level to match any configs that have been set (for example if you specify density your sdk level will be at least 4). - New option to modify the targetPackage attribute of instrumentation. - Clean up of aapt options help. - Fix of UI type values to leave 0 for "unspecified". - Make the UI mode config APIs public.
esourceTypes.h
|
9e333ab42c5ca09632f56cd5d8e5349e06a632b7 |
23-Feb-2010 |
Kenny Root <kroot@google.com> |
Use UTF-8 strings to avoid duplicate caching, part 1 StringBlock instances containing UTF-8 strings use a cache to convert into UTF-16, but using that cache and then using a JNI call to NewString causes the UTF-8 string as well as two copies of the UTF-16 string to be held in memory. Getting the UTF-8 string directly from the StringPool eliminates one copy of the UTF-16 string being held in memory. This is part 1. Part 2 will include ResXMLParser optimizations. Change-Id: Ibd4509a485db746d59cd4b9501f544877139276c
esourceTypes.h
|
98e71ddaede9a0bfb681fd237bec1f66c6c53193 |
12-Feb-2010 |
Mathias Agopian <mathias@google.com> |
remove a dependency of GraphicBuffer (libui) on Parcel (libbinder). 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.
lattenable.h
|
0d88e7a8d7c436e8375a749aac77d34eb95356c8 |
12-Feb-2010 |
Kenny Root <kroot@google.com> |
Totally remove Unicode.cpp and rely on ICU Unicode.cpp used a packed data table for character data that essentially duplicated ICU's functionality. Change-Id: Ia68fe4ac94e89dc68d9a3f45f33f6e648a5500b7
ndroidUnicode.h
|
196e3207345baa4ba5af93646f2ca1b67a438aeb |
12-Feb-2010 |
Kenny Root <kroot@google.com> |
Excise code from Unicode.cpp that was dead Remove some utility functions for discovering character data that ICU probably took over a while ago. Change-Id: I97abe4de2f51eb2bf48679941258bc501184c3dc
ndroidUnicode.h
|
70fa84f6ab15936b265986c507cf00fd2cbf9db1 |
09-Feb-2010 |
Tobias Haamel <haamel@google.com> |
Introduce special UI modes for night and car usage. The device mode is now called ui mode. Furthermore is the order of precedence for the resources now in such a way that the ui mode needs to be specified after the orientation and before the density. The ui mode can be set, like it is done for the locale, as follows: IActivityManager am = ActivityManagerNative.getDefault(); Configuration config = am.getConfiguration(); config.uiMode = Configuration.UI_MODE_TYPE_CAR | Configuration.UI_MODE_NIGHT_ANY; am.updateConfiguration(config); To allow users to disable the car mode and set the night mode the IUiModeManager interface is used. The automatic night mode switching will be added in a separate change.
esourceTypes.h
|
ccb5b89029ca3f653fbfa32a7b6ed82bf227541c |
10-Dec-2009 |
Kenny Root <kroot@google.com> |
Add string resource type inspection Allows "aapt dump --values resource" to print out whether a string in a ResStringPool is in UTF-8 or UTF-16 encoding. Change-Id: I6478884a70a3b46fee862dece6cb33454fc34843
esourceTypes.h
|
eb318fd88d16053010da554ba565eaaf3355a58e |
08-Dec-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change I129483f8 into eclair-mr2 * changes: Optional use of UTF-8 strings in resource bundles
|
8c6cedc9bc9a4b69616a79a95449f6f6b08c7bf1 |
08-Dec-2009 |
Dianne Hackborn <hackbod@google.com> |
Propagate background scheduling class across processes. This is a very simply implementation: upon receiving an IPC, if the handling thread is at a background priority (the driver will have taken care of propagating this from the calling thread), then stick it in to the background scheduling group. Plus an API to turn this off for the process, which is used by the system process. This also pulls some of the code for managing scheduling classes out of the Process JNI wrappers and in to some convenience methods in thread.h.
hreads.h
|
92f5984d2c2cd73b6b9f68c02c147877d1e2fc46 |
04-Dec-2009 |
Kenny Root <kroot@google.com> |
Optional use of UTF-8 strings in resource bundles Allows the use of UTF-8 for packing resources instead of the default of UTF-16 for Java. When strings are extracted from the ResStringPool, they are converted to UTF-16 and the result is cached for subsequent calls. When using aapt to package, add in the "-8" switch to pack the resources using UTF-8. This will result in the value, key, and type strings as well as the compiled XML string values taking significantly less space in the final application package in most scenarios. Change-Id: I129483f8b3d3b1c5869dced05cb525e494a6c83a
esourceTypes.h
tring16.h
tring8.h
|
c2a04c3f2df99527e4ad4ca19b2e559df90b4b4d |
02-Nov-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2226370: Resource versions match with equality Also fixed turned-around increment of version number for resources. :( Change-Id: I604137272da984bcd69cee4f174e6b7f2c786e46
esourceTypes.h
|
b5df6d801cc154899e9f52328eb1e40e90720fa4 |
16-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #1780928: Need support hiding nav keys. This implements support for devices whose hardware can hide their navigation keys. It works much like the existing keyboardHidden configuration, and for compatibility uses the same configuration change bit. Also add FLAG_TURN_ON_SCREEN for windows, which has the system cause the screen to be turned on when the window is displayed. Great fun when used with FLAG_SHOW_WHEN_LOCKED! Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a
esourceTypes.h
|
c101e04abb2c3bf4f48b185b454e94fade223653 |
12-Sep-2009 |
San Mehat <san@google.com> |
process: Switch to common cutils sched_policy api Signed-off-by: San Mehat <san@google.com>
hreads.h
|
9410f98e78622d962b3fb1c520af53d5351a65c5 |
09-Sep-2009 |
San Mehat <san@google.com> |
Process: Add support for using scheduler policies instead of cgroups. Preference is given to cgroups if available. Signed-off-by: San Mehat <san@google.com>
hreads.h
|
4de4ebf6a25b5cf1819809ffcedea331d79823e0 |
09-Sep-2009 |
Mathias Agopian <mathias@google.com> |
use broadcast() instead of signal() when signaling the condition-variable Thread::RequestExitAndWait() is waiting for we could have several thread waiting on the condition and they all need to wake-up. also added a debug "mTid" field in the class, which contains the tid of the thread (as opposed to pthread_t), this is useful when debugging under gdb for instance.
hreads.h
|
cbb288bfe89f585bf48371bd31b2d4aafa32f32e |
08-Sep-2009 |
Mathias Agopian <mathias@google.com> |
fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly Rewrote SurfaceFlinger's buffer management from the ground-up. The design now support an arbitrary number of buffers per surface, however the current implementation is limited to four. Currently only 2 buffers are used in practice. The main new feature is to be able to dequeue all buffers at once (very important when there are only two). A client can dequeue all buffers until there are none available, it can lock all buffers except the last one that is used for composition. The client will block then, until a new buffer is enqueued. The current implementation requires that buffers are locked in the same order they are dequeued and enqueued in the same order they are locked. Only one buffer can be locked at a time. eg. Allowed sequence: DQ, DQ, LOCK, Q, LOCK, Q eg. Forbidden sequence: DQ, DQ, LOCK, LOCK, Q, Q
rrors.h
|
84a6d041e2c69d4d0b69269a0b59e725c9f119a3 |
17-Aug-2009 |
Andreas Huber <andih@google.com> |
Support for marshalling pointers / intptr_t in Parcel. Some refactoring to eliminate code duplication in Parcel implementation.
ebug.h
|
878d647b5b77f040cdae810e7e05be23a105e1eb |
12-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
am b8546001: Merge change 20878 into donut Merge commit 'b8546001701405a76dad7e6235046e592296fac2' * commit 'b8546001701405a76dad7e6235046e592296fac2': Fix issue #2048263: More debugging information
|
e868513287c50caec4bcc83be3c49e12dfbeac72 |
12-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2048263: More debugging information We now hopefully do better about generating the anr reports, and include information about the malloc loaded assets in meminfo.
sset.h
|
ff1dcc2cf9043c4d128cf8498b58e956e9ee965f |
31-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 25dff70f: Merge change 9039 into donut Merge commit '25dff70f153529b87f5ad4a92f4de21e8950b1de' * commit '25dff70f153529b87f5ad4a92f4de21e8950b1de': Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
|
3945ae5065ec62ed267e1aaf4cfc160c5eb6a79e |
30-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA It turns out we were not returning the density for anything retrieved from a TypedArray... which basically means any bitmap references from a layout or style...!!! This is now fixed. Also fiddle with the density compatibility mode to turn on smoothing in certain situations, helping the look of things when they need to scale and we couldn't do the scaling at load time.
esourceTypes.h
|
351b6f926e06355079669f170a97a729537932ed |
22-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 9fc20b0e: Merge change 8126 into donut Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf' * commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf': First pass at reworking screen density/size APIs.
|
60cde60e89373b03f1c645c51f825c7898f62d9e |
22-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
First pass at reworking screen density/size APIs. This changes the names of the directories in aapt, to what you see in the list of DpiTest resources. Also adds a new "long" configuration for wide screens, which the platform sets appropriate, and introduces a new kind of resizeability for not large but significantly larger than normal screens which may have compatibility issues.
esourceTypes.h
|
89fbf845390322eb486632bae9108191803d4b9e |
20-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am aad0fcc9: Merge change 7783 into donut Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54' * commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54': Add "nodpi" density, and expose a bunch of density-related APIs.
|
b3e8103538c4a487c20238a2da86159381a688d7 |
17-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Add "nodpi" density, and expose a bunch of density-related APIs. Also update the DpiTest app to use nodpi images, and try to have a mode where it turns off compatibility though it's not quite working.
esourceTypes.h
|
eb9fd685f8c02384305d57d17b1bca428c7b2dd9 |
14-Jul-2009 |
Mathias Agopian <mathias@google.com> |
add a ctor to Mutex to specify the type, which can be shared. This is used by sf and af an soon will allow some optimization in the kernel for non shared mutexes
hreads.h
|
ec0f1f6720cd7ecffab54b0dfc2553b55a38e50f |
13-Jul-2009 |
Mathias Agopian <mathias@google.com> |
implement Mutex and Condition with pthread instead of calling futex directly. internally pthread uses futex. the implementation consists of simple inlines there are no implementation files anymore.
hreads.h
|
1b85080b2a5a3199d5c335ced779d52c813595ac |
09-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 8a715b4b: Merge change 5510 into donut Merge commit '8a715b4b791db4390d12e0ded02280592634a424' * commit '8a715b4b791db4390d12e0ded02280592634a424': Add useful functions to String8, which enables users to convert between UTF-8 and UTF-32
|
9f220247f64d7db8a36532851cff087f5a6e4070 |
30-Jun-2009 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add useful functions to String8, which enables users to convert between UTF-8 and UTF-32 It will be used in SQL functions in external/sqlite/android. See https://android-git.corp.google.com/g/Gerrit#change,5511 for example. Related internal bug id: 1707173
tring8.h
|
f460f19510f9119d7b441403f8f6ba0b7f5fc267 |
07-Jul-2009 |
Andy McFadden <fadden@android.com> |
Fix sim build. Looks like older gcc (4.1.x) doesn't properly handle templated fanciness. Apparently that's what we have on the build server.
ist.h
|
0f7f88db2771ec6b08df1354f1d85290f93227d5 |
06-Jul-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
1a16ea88edefc0d80126090f7ad239dbf5231751 |
06-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 991eec03: Merge change 6252 into donut Merge commit '991eec03a73f8803d0f8c80b418480ea25293cfb' * commit '991eec03a73f8803d0f8c80b418480ea25293cfb': Don't re-parse the framework resources all the time.
|
0f253efba5552db81bf942705b1e5525fc1f0c90 |
06-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Don't re-parse the framework resources all the time. A small optimization to the resource code, to not re-parse the framework resources every time we build a new AssetManager. Instead, you can now construct a ResTable from a previously created one... of course, like the existing code for using the data in-place, you can't delete the original ResTable until you have deleted the one that has been constructed from it.
ssetManager.h
esourceTypes.h
|
47a1a39ce9422c6468c0bd87c121658f385d2d8f |
02-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 6e1647a2: Merge change 5829 into donut Merge commit '6e1647a212317f4ee8bcc23948b6621a59172954' * commit '6e1647a212317f4ee8bcc23948b6621a59172954': Fix issue #1673793: Theme styles don't apply.
|
84d1f7a09827fe195dd08b647b8c5092d03516f7 |
02-Jul-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
e3562924674927d6faf85fb4adf522b6fa80f140 |
30-Jun-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #1673793: Theme styles don't apply. It turns out this was not a problem in the resource code at all. Rather, the system process has a cache of pre-loaded attributes it uses to avoid continually reloading things as it needs them. Well it turns out this cache wasn't flushed after a package was uninstalled or a configuration changed, so you could re-install an app where you change its style resources so its theme now points to one that is inconsistent in the cache. This is mostly a problem for developers, where they continually install new versions of an app where resources have changed. This could possibly show up when updating an app on a normal phone, although the problem would eventually correct itself since this cache uses weak references. Anyway, the cache is now reworked to be flushed appropriately. This change also includes an update to aapt to be able to dump the contents of bags in resources.
esourceTypes.h
|
b9c8a7349671ed003f40f70412ed0bbacab90931 |
30-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 72eb0aca: Merge change 5483 into donut Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e' * commit '72eb0acad5cffc57ce5006f6deab29ee259e461e': Expand support for different screen sizes.
|
21342c5c19c1768fe98a30155bfa97fa4138dc80 |
26-Jun-2009 |
Dianne Hackborn <hackbod@google.com> |
Expand support for different screen sizes. Applications can now declare that they support small, normal, or large screens. Resource selection can also be done based on these sizes. By default, pre-Donut apps are false for small and large, and Donut or later apps are assumed to support all sizes. In either case they can use <supports-screens> in their manifest to declare what they actually support.
esourceTypes.h
|
694fcc5d1d3505c034a2cb89b6150214e7cea0fd |
26-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am c44989d6: Merge change 5350 into donut Merge commit 'c44989d6c7bcc761fb37f54fd37aac2070ba8e5e' * commit 'c44989d6c7bcc761fb37f54fd37aac2070ba8e5e': move ui/Time.cpp to core/jni, since this is the only place it is used
|
a8664df810ad46ce33c0ea28d4e648c067112db8 |
25-Jun-2009 |
Mathias Agopian <mathias@google.com> |
move ui/Time.cpp to core/jni, since this is the only place it is used
imeUtils.h
|
4c4b387afb2e775fcac3b81a249bb7646515dffa |
25-Jun-2009 |
Mathias Agopian <mathias@google.com> |
merge master in master_gl
|
6ef6895b03881d565643077c5d86591c5a3f4951 |
25-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am df65b60c: Merge change 5243 into donut Merge commit 'df65b60ce33e5a56815864f8f0713e25378fa649' * commit 'df65b60ce33e5a56815864f8f0713e25378fa649': Only report "unknown metadata" once per restore helper
|
bd95c1d3af82e329ada195876348383b7859ce85 |
24-Jun-2009 |
Christopher Tate <ctate@google.com> |
Only report "unknown metadata" once per restore helper Also removes the auto-free object, replacing it with direct memory manipulation.
ackupHelpers.h
|
2d1db86e4587a919742c2f18223f7cf408263f7d |
23-Jun-2009 |
Christopher Tate <ctate@google.com> |
am 11b15779: Add file mode to the file-backup saved state blobs Merge commit '11b157790234d3d2f116ce4c7ed1d3d00fb78bc3' * commit '11b157790234d3d2f116ce4c7ed1d3d00fb78bc3': Add file mode to the file-backup saved state blobs
|
ab2e9e81e187d427b22ac969f47900d3de041264 |
23-Jun-2009 |
Christopher Tate <ctate@google.com> |
Add file mode to the file-backup saved state blobs This change puts the file's access mode into the saved-state blob used by the file backup helpers. The tests have been updated for the new blob content format. What this change *doesn't* do is actually backup/restore the file mode. This change is a prerequisite for that, but mode preservation in backup/restore will require adding metadata to the backup data stream itself, so will be approached a bit more carefully. (Also fixed one outright bug in the test program: ReadEntityData() had been changed to return a ssize_t union of either a byte-count or a negative number indicating error, but the test program was still assuming that nonzero == error, and was spuriously failing.)
ackupHelpers.h
|
d056f2d08771091b100bed8cb36946dfc421de24 |
22-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 72be4049: Merge change 4910 into donut Merge commit '72be40490951d3f9d0ada16fcf5288d0c3306d88' * commit '72be40490951d3f9d0ada16fcf5288d0c3306d88': fix warnings that will show up with GCC 4.4 (in master)
|
cfb991d1f860e5233d383a40967b252793677469 |
22-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 4910 into donut * changes: fix warnings that will show up with GCC 4.4 (in master)
|
2a84f2e369e144ff1fbd6eb0867ebaa608bfaf6a |
22-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 856dd8a6: Merge change 4952 into donut Merge commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60' * commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60': Helper API cleanup. Allows multiple helpers to function,
|
9cda3e02c6154422abec1c3215b93cc6bb70d76a |
19-Jun-2009 |
Joe Onorato <joeo@android.com> |
Helper API cleanup. Allows multiple helpers to function, because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
ackupHelpers.h
|
52ed26a78b77e559555622a006f888a70cd84a0a |
22-Jun-2009 |
Mathias Agopian <mathias@google.com> |
fix warnings that will show up with GCC 4.4 (in master)
esourceTypes.h
|
5f28411a856e47f86e3b0c7c031a6c0e0fa1dba0 |
22-Jun-2009 |
Mathias Agopian <mathias@google.com> |
improve Vector<> with types that can be trivially moved and remove some unused code. This optimization applies to sp<> and wp<> which should now perform about the same as regular pointers when placed in to Vector<>.
ortedVector.h
ypeHelpers.h
ector.h
ectorImpl.h
|
cca6b4267d2e3910b9808aa45e69206e06ef353e |
20-Jun-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
03428fcc8bfb43968f9e9cbd3c6c1fd23290439b |
20-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 1585bd24: Merge change 4828 into donut Merge commit '1585bd24c10d16351f89e32dddbfa799f18db6bd' * commit '1585bd24c10d16351f89e32dddbfa799f18db6bd': Report densities in badging, debugging for nine patch bug.
|
be1bc0a1f969dd874d4a4d10c70f8d585b21a214 |
20-Jun-2009 |
Dianne Hackborn <hackbod@google.com> |
Report densities in badging, debugging for nine patch bug. The aapt tool now reports all available densities like it already did for locales. Also this includes more resource data output, which I was using to examine bug #1867049 (which at this point I am unable to reproduce).
esourceTypes.h
|
4910dc62561c90c75d953a04f75b31f16e0c0e9c |
19-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 5502f04c: Merge change 4709 into donut Merge commit '5502f04c1dcf2b1918858bacb99fb0480a711707' * commit '5502f04c1dcf2b1918858bacb99fb0480a711707': backup stuff
|
0388b513418f0e1eb45bcb554f866e160cd475da |
19-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 16ce3504: Merge change 4708 into donut Merge commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9' * commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9': Make RestoreHelper and friends also write out the snapshot state.
|
6bda7fd5564a1a88daef7a00890b3eaa191b8854 |
19-Jun-2009 |
Joe Onorato <joeo@android.com> |
backup stuff
ackupHelpers.h
|
da1430be269b2b20920b6cb27616f54e2b83a973 |
18-Jun-2009 |
Joe Onorato <joeo@android.com> |
Make RestoreHelper and friends also write out the snapshot state.
ackupHelpers.h
|
00ea06792b76f30b7e1ee450f0915edb5df75e42 |
18-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am de72697b: Merge change 4524 into donut Merge commit 'de72697b771d33738c5f9d6c28087504e0796622' * commit 'de72697b771d33738c5f9d6c28087504e0796622': FileRestoreHelper and RestoreHelperDispatcher work.
|
f509f669cfde367b4591b027d95512accbd2ccef |
18-Jun-2009 |
Joe Onorato <joeo@android.com> |
FileRestoreHelper and RestoreHelperDispatcher work.
ackupHelpers.h
|
f757bd07108267d37a7944353d2cf2a40d68e115 |
18-Jun-2009 |
Joe Onorato <joeo@android.com> |
am 5f15d151: checkpoint BackupDatAInput / RestoreHelper Merge commit '5f15d151b5101fadfe6cba1e8f4aa6367e8c603e' * commit '5f15d151b5101fadfe6cba1e8f4aa6367e8c603e': checkpoint BackupDatAInput / RestoreHelper
|
03aa8d7d04428b9c7981f9bada5acf1e808b0056 |
16-Jun-2009 |
Joe Onorato <joeo@android.com> |
checkpoint BackupDatAInput / RestoreHelper
ackupHelpers.h
|
b6822d7a3ea86b729a8c716a5fc9ad7a02532bfe |
16-Jun-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
a08c7b6759075c3076e6f2c52df71dd7da894c15 |
12-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 78f0f8cb: Merge changes 3953,3954 into donut Merge commit '78f0f8cb2efe9410127c39201e240f6d438eb53c' * commit '78f0f8cb2efe9410127c39201e240f6d438eb53c': Make the file backup helper not crash if a file you requested Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
|
1a9e19a73e12f5e4891557de64cab5b9b7ae1ac5 |
11-Jun-2009 |
Joe Onorato <joeo@android.com> |
Make the file backup helper not crash if a file you requested can't be stated. This means you don't need to know if the files you are backing up exist or not -- we'll figure it out for you.
ackupHelpers.h
|
0ad6120dadc1665f394e73330d30e949066c77e1 |
11-Jun-2009 |
Joe Onorato <joeo@android.com> |
Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files. This took quite a bit of refactoring.
ackupHelpers.h
|
1a0c4cd5d83facd9653c45db1d2b9725c2e060b0 |
06-Jun-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
4fcd9c700368f08117aa1e2264f56eeb6b8af832 |
06-Jun-2009 |
Mathias Agopian <mathias@google.com> |
get rid of LogSocket which wasn't even implemented (enabled)
ogSocket.h
|
7e83f043d9c7afc42b632aa9567ecc17e901068c |
05-Jun-2009 |
Mathias Agopian <mathias@google.com> |
break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of inet_address.h and Socket.h which were not used
ocket.h
ipEntry.h
ipFile.h
net_address.h
|
861aa2f0c9136298380496bd78d6a18e69331c53 |
05-Jun-2009 |
Mathias Agopian <mathias@google.com> |
rename string_array.h to StringArray.h and move the implementation from the 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.
tringArray.h
tring_array.h
|
0c97ed3a2ecc4a5b49bfb26674a9f4a5ac361024 |
05-Jun-2009 |
Mathias Agopian <mathias@google.com> |
cleanup Debug.h a bit
ebug.h
|
6d2bc14d2420689d9789fadc3058bfc1191a8e72 |
05-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 2a318867: Merge change 3203 into donut Merge commit '2a3188672ab2b65c0ce7c9c598a463e382c47696' * commit '2a3188672ab2b65c0ce7c9c598a463e382c47696': rename a few files to camel-case, add copyright notices
|
f446ba9dcb7df59f886be2f15d83ed3814a556f7 |
04-Jun-2009 |
Mathias Agopian <mathias@google.com> |
rename a few files to camel-case, add copyright notices
ackupHelpers.h
ackup_helpers.h
|
6457359fa5df7869d5881acee80b34dfc760a5bf |
01-Jun-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
c6a5a5183b2a3b42285aba68b1c76291ac569a91 |
01-Jun-2009 |
Mathias Agopian <mathias@google.com> |
move utils/Pipe.h to the simulator
ipe.h
|
294423e148c62b413788945be00cedde3cb3acec |
01-Jun-2009 |
Mathias Agopian <mathias@google.com> |
get rid of TimerProbe which is never used
imerProbe.h
|
1bc9c93faff43eeffe61fc371674159da83f1690 |
01-Jun-2009 |
Mathias Agopian <mathias@google.com> |
get rid of sleepForInterval() which didn't seem to be used anywhere in the source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there.
imers.h
orted.h
|
e0c322049ab2be291c1fc40f79702543d4e77934 |
01-Jun-2009 |
Mathias Agopian <mathias@google.com> |
get rid of utils.h
isc.h
|
d07f2a523f43051a681683657f7c0da2c49f46a4 |
01-Jun-2009 |
Mathias Agopian <mathias@google.com> |
get rid of utils/executablepath.h, which now lives in the simulator
xecutablepath.h
|
0669fbb12a89c80b4cbb64e91fd3110c2965a20f |
28-May-2009 |
Mathias Agopian <mathias@google.com> |
force explicit instantiation of Singleton<> objects
ingleton.h
|
723ec00af46d1f95d69fe5af53e0a5d09f01a7d6 |
27-May-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master Conflicts: include/ui/Rect.h libs/ui/ISurfaceComposer.cpp
|
83c0446f27b9542d6c2e724817b2b2d8d1f55085 |
23-May-2009 |
Mathias Agopian <mathias@google.com> |
some work to try to reduce the code size of some native libraries - 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.
extOutput.h
imers.h
hreads.h
|
310f8da0c3122ed5419db8f12a6e98d3188325b2 |
22-May-2009 |
Mathias Agopian <mathias@google.com> |
merge master to master_gl
|
53f6f3c7998fca1a7e1eb277d0ee0fc556be3f35 |
20-May-2009 |
Mathias Agopian <mathias@google.com> |
bring the native_handle stuff back from master_gl
arcel.h
|
c5b2c0bf8007562536b822eb060fc54a01f8e08b |
20-May-2009 |
Mathias Agopian <mathias@google.com> |
move libbinder's header files under includes/binder
inder.h
pBinder.h
Binder.h
Interface.h
Memory.h
PCThreadState.h
PermissionController.h
ServiceManager.h
emoryBase.h
emoryDealer.h
emoryHeapBase.h
emoryHeapPmem.h
arcel.h
rocessState.h
|
473b6e2d2de9f204e020c87b63a4e9b665641f45 |
19-May-2009 |
Joe Onorato <joeo@android.com> |
Hook up the backup data writer, and add a utility to read the backup data files.
ackup_helpers.h
|
7a5798596271cfe43a2cb8383ba9abda55ea9a7f |
19-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Update aapt badging for native code, configs, density, etc.
ssetManager.h
|
ac2dda7e0e99917f40a771a92390f73a5da7c89e |
16-May-2009 |
Mathias Agopian <mathias@google.com> |
Merge branch '2514' into merge_master
|
d502f05c6b355a0520781e6609dc8a2a5ce89f9e |
16-May-2009 |
Joe Onorato <joeo@android.com> |
Add the backup data file writer C++ class.
ackup_helpers.h
|
8d626d6a48871fdb62b8adeea98e1299eca61184 |
15-May-2009 |
Joe Onorato <joeo@android.com> |
Implement the C++ class to write the backed up file data.
yteOrder.h
ackup_helpers.h
|
d717598616910b5454b56429dec3bfad2757bd52 |
15-May-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h
|
c7bbc69ed501a7d194c1cbb9c41e2681d3004bd9 |
14-May-2009 |
Joe Onorato <joeo@android.com> |
Get the backup calling through to the file backup helper. This includes some cleanup to make the parameters match between BackupService.onBackup and FileBackupHelper.performBackup.
ackup_helpers.h
|
2a98fb9fb1eda1f18cf1555634a7c33f3147234c |
06-May-2009 |
Joe Onorato <joeo@android.com> |
fix the sim build. disables the tests for now.
ackup_helpers.h
|
15e3747012fb2dc1b2656b0c7c8812c5bc3c6e31 |
08-May-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
081b070f6ffc938ec1582916edf3e019eac36ebf |
06-May-2009 |
Joe Onorato <joeo@android.com> |
fix the sim build. disables the tests for now.
ackup_helpers.h
|
0c4863b2669867cfc76ea9b50ea3f9b1fecfb9a4 |
05-May-2009 |
Joe Onorato <joeo@android.com> |
Add some C++ code to do raw files for backup
ackup_helpers.h
|
0926f50664c739eaee60341f8e8c694dc9a4f3eb |
04-May-2009 |
Mathias Agopian <mathias@google.com> |
update surfaceflinger, libui and libagl to the new gralloc api - Currently the lock/unlock path is naive and is done for each drawing operation (glDrawElements and glDrawArrays). this should be improved eventually. - factor all the lock/unlock code in SurfaceBuffer. - fixed "showupdate" so it works even when we don't have preserving eglSwapBuffers(). - improved the situation with the dirty-region and fixed a problem that caused GL apps to not update. - make use of LightRefBase() where needed, instead of duplicating its implementation - add LightRefBase::getStrongCount() - renamed EGLNativeWindowSurface.cpp to FramebufferNativeWindow.cpp - disabled copybits test, since it clashes with the new gralloc api - Camera/Video will be fixed later when we rework the overlay apis
efBase.h
|
7be3e5d2d8101a8f5e12bbdf650431a734f88eba |
30-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master Conflicts: libs/surfaceflinger/Layer.cpp libs/surfaceflinger/SurfaceFlinger.cpp opengl/libagl/egl.cpp opengl/libs/EGL/egl.cpp opengl/libs/GLES_CM/gl.cpp opengl/libs/GLES_CM/gl_api.in opengl/libs/gl_entries.in opengl/libs/tools/glapigen
|
cbb0d628438809163e52ec28b40c32eb82c5a233 |
28-Apr-2009 |
Mathias Agopian <mathias@google.com> |
improvements (I hope) to to List.h implementation: - made the helper Node and Iterator classes protected inner classes of List so they don't pollute the android namespace. - use "int foo()" instead of "int foo(void)" which is more C++ stylish - made distance() a template function, this way we write it once and it will work with combinations of iterator and const_iterator - added the inline keyword on some function to make it clear to the compiler and the programmer that we want/intend these to be small inline functions - added templated comparison operators to Iterator so it can compare iterator and const_iterator - use size_t instead of "unsigned int" at places - distance() should return a ptrdiff_t (it's kind of mening less here because it won't really work if the distance is < 0) - made sure we handle conversions from iterator to const_iterator, but but fail at compile time in the other direction - added operator->() on iterator and const_iterator - made a bunch of private constructors explicit to avoid unwanted conversions
ist.h
|
0ad270386ca4a62c41cddf84a3fe350e80965eaa |
28-Apr-2009 |
Mathias Agopian <mathias@google.com> |
small fix to List.h, the post-increment iterators should return "const" objects to disallow constructs such as i++++
ist.h
|
9d206fa56f77ae6c32bf5144db4f95b0a6cfcb62 |
27-Apr-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 376 into donut * changes: Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
|
046cda49f94d87b31553a6f34109a59e8e7a2994 |
21-Apr-2009 |
San Mehat <san@google.com> |
Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background Signed-off-by: San Mehat <san@google.com>
hreads.h
|
f1d8e87b09abf963cd5b6a026194c1940fadb7b4 |
21-Apr-2009 |
Mathias Agopian <mathias@google.com> |
a brand new MessageQueue for SurfaceFlinger.
emoryDealer.h
|
9f88afb013a7560bf1362d7999a4609e38d0ea77 |
17-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Squashed commit of the following: commit e5c24638f98162c3b75b4c67a16b510d38e31341 Author: Mathias Agopian <mathias@google.com> Date: Fri Apr 17 14:09:03 2009 -0700 oops forgot this file. commit 282642632d0cb12882eecf42e0fdfb2343275de1 Author: Mathias Agopian <mathias@google.com> Date: Fri Apr 17 14:07:32 2009 -0700 use a helper macro for creating Singleton<>'s static attributes instances.
ingleton.h
|
fd392958eac8813575c29aa733a5a1ec4f655279 |
22-Apr-2009 |
Robert Greenwalt <robdroid@android.com> |
Squashed commit of the following: commit 012b56fc607cf243cf4b29cb2a5f172bcbe0aecd Author: Robert Greenwalt <robdroid@android.com> Date: Wed Apr 22 14:31:26 2009 -0700 Additional fixes and tests for density. commit 91fdc8e187551ae69e0029a4325fb3ad38fe411b Author: Robert Greenwalt <robdroid@android.com> Date: Tue Apr 14 14:39:00 2009 -0700 Fix runtime resource selection logic. Fix isBetterThan so that o or this may be supperior at any stage. Used to only handle this-better or tie at each stage, biasing against o. Also allows reset of unit test to succeed. Fixes bug 1709202.
esourceTypes.h
|
4243e666213029a293935987c979831093fb0779 |
16-Apr-2009 |
Mathias Agopian <mathias@google.com> |
fix a rookie mistake causing Singleton<> to be a "multiton". Also improve the BufferMapper's debugging, but turn it off. Squashed commit of the following: commit 04e9cae7f806bd65f2cfe35c011b47a36773bbe5 Author: Mathias Agopian <mathias@google.com> Date: Wed Apr 15 18:30:30 2009 -0700 fix and improve BufferMapper's tracking of mapped buffers. commit 1a8deaed15811092b2349cc3c40cafb5f722046c Author: Mathias Agopian <mathias@google.com> Date: Wed Apr 15 00:52:02 2009 -0700 fix some bugs with the Singleton<> class. untested. commit ed01cc06ad70cf640ce1258f01189cb1a96fd3a8 Author: Mathias Agopian <mathias@google.com> Date: Tue Apr 14 19:29:25 2009 -0700 some work to debug the Singleton<> template.
ingleton.h
|
2b2fb1a69394edd58666b89597c560442ccc3a90 |
11-Apr-2009 |
Mathias Agopian <mathias@google.com> |
fix KeyedVector::replaceValueAt, which wouldn't even compile if used.
eyedVector.h
|
076b1cc3a9b90aa5b381a1ed268ca0b548444c9b |
10-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Integrate from //sandbox/mathias/donut/...@145728 SurfaceFlinger rework for new EGL driver model support.
arcel.h
ingleton.h
|
4f68be1a5b53f690f1a7d8ba62cddb5ef0022a96 |
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
esourceTypes.h
|
9adf84a4b6735354893ff1e57c129f66d97d75ee |
05-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@136594
hreads.h
|
edbf3b6af777b721cd2a1ef461947e51e88241e1 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
ndroidUnicode.h
sset.h
ssetDir.h
ssetManager.h
tomic.h
inder.h
pBinder.h
uffer.h
ufferedTextOutput.h
yteOrder.h
allStack.h
ebug.h
ndian.h
rrors.h
ileMap.h
Binder.h
Interface.h
Memory.h
PCThreadState.h
PermissionController.h
ServiceManager.h
eyedVector.h
ist.h
og.h
ogSocket.h
emoryBase.h
emoryDealer.h
emoryHeapBase.h
emoryHeapPmem.h
arcel.h
ipe.h
rocessState.h
efBase.h
esourceTypes.h
haredBuffer.h
ocket.h
ortedVector.h
topWatch.h
tring16.h
tring8.h
ystemClock.h
extOutput.h
imeUtils.h
imerProbe.h
imers.h
ypeHelpers.h
ector.h
ectorImpl.h
ipEntry.h
ipFile.h
ipFileCRO.h
ipFileRO.h
ipUtils.h
shmem.h
xecutablepath.h
net_address.h
isc.h
orted.h
tring_array.h
hreads.h
|
d5193d9394c5e58176d7bcdf50ef017f8a3b9e1e |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
ndroidUnicode.h
sset.h
ssetDir.h
ssetManager.h
tomic.h
inder.h
pBinder.h
uffer.h
ufferedTextOutput.h
yteOrder.h
allStack.h
ebug.h
ndian.h
rrors.h
ileMap.h
Binder.h
Interface.h
Memory.h
PCThreadState.h
PermissionController.h
ServiceManager.h
eyedVector.h
ist.h
og.h
ogSocket.h
emoryBase.h
emoryDealer.h
emoryHeapBase.h
emoryHeapPmem.h
arcel.h
ipe.h
rocessState.h
efBase.h
esourceTypes.h
haredBuffer.h
ocket.h
ortedVector.h
topWatch.h
tring16.h
tring8.h
ystemClock.h
extOutput.h
imeUtils.h
imerProbe.h
imers.h
ypeHelpers.h
ector.h
ectorImpl.h
ipEntry.h
ipFile.h
ipFileCRO.h
ipFileRO.h
ipUtils.h
shmem.h
xecutablepath.h
net_address.h
isc.h
orted.h
tring_array.h
hreads.h
|
43aa2b1cbf7a03e248e10f4d0fec0463257cd52d |
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
esourceTypes.h
|
0bb03408de8886e8d17013219967d42fb9c8cf8c |
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
esourceTypes.h
|
ac65e0b172b33f7e068c14e3d95678fa20205577 |
13-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@131421
ogger.h
|
a6938bab1f6fa76ae98ebbe44f4e534e05fa0993 |
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
sset.h
esourceTypes.h
|
5f78a48bb8f7714ee231fca67d60fad77bc1cad9 |
20-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127101
arcel.h
|
276293246ea9cbc0a578a7697cc48930376ec0e9 |
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
emoryHeapBase.h
efBase.h
|
e09fd9e819c23dc90bca68375645e15544861330 |
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
PCThreadState.h
emoryHeapPmem.h
esourceTypes.h
imeUtils.h
tring_array.h
|
7c1b96a165f970a09ed239bb4fb3f1b0d8f2a407 |
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
ndroidUnicode.h
sset.h
ssetDir.h
ssetManager.h
tomic.h
inder.h
pBinder.h
uffer.h
ufferedTextOutput.h
yteOrder.h
allStack.h
ebug.h
ndian.h
rrors.h
ileMap.h
Binder.h
Interface.h
Memory.h
PCThreadState.h
PermissionController.h
ServiceManager.h
eyedVector.h
ist.h
og.h
ogSocket.h
emoryBase.h
emoryDealer.h
emoryHeapBase.h
emoryHeapPmem.h
arcel.h
ipe.h
rocessState.h
efBase.h
esourceTypes.h
haredBuffer.h
ocket.h
ortedVector.h
topWatch.h
tring16.h
tring8.h
ystemClock.h
extOutput.h
imeUtils.h
imerProbe.h
imers.h
ypeHelpers.h
ector.h
ectorImpl.h
ipEntry.h
ipFile.h
ipFileCRO.h
ipFileRO.h
ipUtils.h
shmem.h
xecutablepath.h
net_address.h
ogger.h
isc.h
orted.h
tring_array.h
hreads.h
|