summaryrefslogtreecommitdiffstats
path: root/include/ui/Rect.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-09-19 16:00:46 -0700
committerMathias Agopian <mathias@google.com>2011-09-19 16:50:07 -0700
commit000e95e7ebf1a60bbb7fda604b54092f45c87f89 (patch)
tree751838a5e9c1945cc3642cf3f3879e80bd3e5c49 /include/ui/Rect.h
parent5560d9119ceedd4d003a8098342294cc427968be (diff)
downloadframeworks_native-000e95e7ebf1a60bbb7fda604b54092f45c87f89.zip
frameworks_native-000e95e7ebf1a60bbb7fda604b54092f45c87f89.tar.gz
frameworks_native-000e95e7ebf1a60bbb7fda604b54092f45c87f89.tar.bz2
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
Diffstat (limited to 'include/ui/Rect.h')
-rw-r--r--include/ui/Rect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ui/Rect.h b/include/ui/Rect.h
index 4e65a2d..9e98bc5 100644
--- a/include/ui/Rect.h
+++ b/include/ui/Rect.h
@@ -27,7 +27,7 @@ namespace android {
class Rect : public ARect
{
public:
- typedef int32_t value_type;
+ typedef ARect::value_type value_type;
// we don't provide copy-ctor and operator= on purpose
// because we want the compiler generated versions