replicant-frameworks_native/libs/ui
Mathias Agopian 8683fca395 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
2012-08-13 02:46:05 -07:00
..
tests frameworks/base refactoring 2012-02-20 22:38:43 -08:00
Android.mk Update ANativeWindow clients for sync 2012-06-20 15:48:30 -07:00
Fence.cpp log more info on fence sync_merge error 2012-07-30 15:10:35 -07:00
FramebufferNativeWindow.cpp Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev 2012-07-28 09:55:54 -07:00
GraphicBuffer.cpp remove dependency on android_native{s_priv|buffer}.h 2012-02-24 18:26:01 -08:00
GraphicBufferAllocator.cpp add more tracing for buffer allocation 2012-02-29 20:47:20 -08:00
GraphicBufferMapper.cpp add more tracing for buffer allocation 2012-02-29 20:47:20 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
PixelFormat.cpp PixelFormat.UNKNOWN should return an error when queried 2012-04-24 23:27:31 -07:00
Rect.cpp SurfaceFlinger: add a crop to the layer state 2012-05-11 03:16:02 -07:00
Region.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00