Fix is_zero check

Fixes x/y rotations which were incorrectly disabled due to this check.

Change-Id: Ie8a7c8904c729a91b18243323b0be6110e743137
diff --git a/libs/hwui/RenderProperties.cpp b/libs/hwui/RenderProperties.cpp
index 08829ef..58ec32d 100644
--- a/libs/hwui/RenderProperties.cpp
+++ b/libs/hwui/RenderProperties.cpp
@@ -34,7 +34,7 @@
 #define NONZERO_EPSILON .001f
 
 static inline bool is_zero(float value) {
-    return (value >= -NONZERO_EPSILON) || (value <= NONZERO_EPSILON);
+    return (value >= -NONZERO_EPSILON) && (value <= NONZERO_EPSILON);
 }
 
 namespace android {