summaryrefslogtreecommitdiffstats
path: root/include/ui/Point.h
Commit message (Collapse)AuthorAgeFilesLines
* improve [un]marshalling of non-binder objectsMathias Agopian2012-08-131-1/+2
| | | | | | | | | | | | | | | | | 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
* minor clean-up to Rect and Point.Mathias Agopian2009-05-261-11/+10
| | | | | | - return "const" objects for overloaded operators to disallow constructs like: (a+b) = c; - don't return references to non-static members, it's not always safe. - Point.cpp was empty, so get rid of it
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+88
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-88/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+88