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
/frameworks/native/include/ui/Rect.h
|
b82203a6601728a507bc3e7d5b2b042356004aae |
|
14-May-2012 |
Mathias Agopian <mathias@google.com> |
minor Rect.h cleanup add getBounds(), getWidth(), getHeight(), width() and height() are kept for backward compatibility. Change-Id: I83837abf17dc2f8bded1beff73430e8c7d9bbdb3
/frameworks/native/include/ui/Rect.h
|
f15a83f5814219c167f87cb8aaea622fc8493499 |
|
11-May-2012 |
Jamie Gennis <jgennis@google.com> |
SurfaceFlinger: add a crop to the layer state This change adds a crop rectangle specified in window coordinates to the layer state. The all window pixels outside this crop rectangle are treated as though they were fully transparent. This change also adds the plumbing necessary for WindowManager to set that crop. Change-Id: I582bc445dc8c97d4c943d4db8d582a6ef5a66081
/frameworks/native/include/ui/Rect.h
|
59332804306c054082a39e9b004146bd03ae1d30 |
|
07-May-2012 |
Jamie Gennis <jgennis@google.com> |
libui: add the Rect::transform method This change adds a method to Rect to transform a rectangle by a graphics HAL transform. Change-Id: Ic0d0988e731bdb5662faee41a5927b1242891658 Bug: 6299171
/frameworks/native/include/ui/Rect.h
|
000e95e7ebf1a60bbb7fda604b54092f45c87f89 |
|
20-Sep-2011 |
Mathias Agopian <mathias@google.com> |
fix the float Rect in OpenGLRenderer to handle NANs - we want functions like isEmpty() to return true if NANs are involved in the Rect - also clean-up the intersect familly of calls - minor cleanup in the int32_t Rect as well These played a role in http://b/5331198. Bug: 5331198 Change-Id: I5369725ab482e4b83da9f1bd4cee5256e5de75b2
/frameworks/native/include/ui/Rect.h
|
9147d11a5f1d50496908bb1f49996e3ad23e19cc |
|
09-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Add ANativeWindow API for directly drawing to the surface bits. Also other cleanup and fixes: - We now properly set the default window format to 565. - New APIs to set the window format and flags from native code. - Tweaked glue for simpler handling of the "destroy" message. - Um, other stuff. Change-Id: Id7790a21a2fa9a19b91854d225324a7c1e7c6ade
/frameworks/native/include/ui/Rect.h
|
4b8160fdfd3281d1d66c0cae9bb9c647b4333491 |
|
28-May-2009 |
Mathias Agopian <mathias@google.com> |
oops forgot these changes in the previous merge. fixes build
/frameworks/native/include/ui/Rect.h
|
35801cea5f301c0e1d7a93b15a8f73f98e6b1033 |
|
27-May-2009 |
Mathias Agopian <mathias@google.com> |
minor clean-up to Rect and Point. - 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
/frameworks/native/include/ui/Rect.h
|
edbf3b6af777b721cd2a1ef461947e51e88241e1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/native/include/ui/Rect.h
|
d5193d9394c5e58176d7bcdf50ef017f8a3b9e1e |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/native/include/ui/Rect.h
|
7c1b96a165f970a09ed239bb4fb3f1b0d8f2a407 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/native/include/ui/Rect.h
|