diff options
author | Chris Craik <ccraik@google.com> | 2014-08-07 14:34:46 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-08-07 22:26:55 +0000 |
commit | 74cf7e6a25c6d7b331c231b7bc2512044f9d2950 (patch) | |
tree | 18e658508fa40721ce7c9ceb4308d875c8d718f3 /core/java/android/view/RenderNode.java | |
parent | d224a9dfd2d2f1977e7a40ba3bbfb42a4165aedc (diff) | |
download | frameworks_base-74cf7e6a25c6d7b331c231b7bc2512044f9d2950.zip frameworks_base-74cf7e6a25c6d7b331c231b7bc2512044f9d2950.tar.gz frameworks_base-74cf7e6a25c6d7b331c231b7bc2512044f9d2950.tar.bz2 |
Cap scales used for tessellation with minimum and maximum
bug:15615144
Change-Id: I3e833864af3a7b34e444bd13db34b6c90496a8b6
Diffstat (limited to 'core/java/android/view/RenderNode.java')
-rw-r--r-- | core/java/android/view/RenderNode.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/java/android/view/RenderNode.java b/core/java/android/view/RenderNode.java index eee4973..099f153 100644 --- a/core/java/android/view/RenderNode.java +++ b/core/java/android/view/RenderNode.java @@ -598,9 +598,6 @@ public class RenderNode { * @see #getScaleX() */ public boolean setScaleX(float scaleX) { - if (scaleX > 1000000) { - throw new IllegalArgumentException("Invalid scale: " + scaleX); - } return nSetScaleX(mNativeRenderNode, scaleX); } @@ -622,9 +619,6 @@ public class RenderNode { * @see #getScaleY() */ public boolean setScaleY(float scaleY) { - if (scaleY > 1000000) { - throw new IllegalArgumentException("Invalid scale: " + scaleY); - } return nSetScaleY(mNativeRenderNode, scaleY); } |