diff options
| author | Romain Guy <romainguy@google.com> | 2013-06-10 17:03:47 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2013-06-10 17:03:47 -0700 |
| commit | fadd2081443dd2f59f8e8143256a34b7485fe72e (patch) | |
| tree | 58a98aa7cbd6a7e8c03440a921b1fbe877813cb7 /core/java | |
| parent | be4e6aaa0252dd7da28b7aa85beba982538efa46 (diff) | |
Make constants final
Change-Id: Ifd54e55011ab63a10ddf851529ce4779447133e0
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/animation/Transformation.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/view/animation/Transformation.java b/core/java/android/view/animation/Transformation.java index e8c1d231dbfb..890909bbcaf9 100644 --- a/core/java/android/view/animation/Transformation.java +++ b/core/java/android/view/animation/Transformation.java @@ -29,19 +29,19 @@ public class Transformation { /** * Indicates a transformation that has no effect (alpha = 1 and identity matrix.) */ - public static int TYPE_IDENTITY = 0x0; + public static final int TYPE_IDENTITY = 0x0; /** * Indicates a transformation that applies an alpha only (uses an identity matrix.) */ - public static int TYPE_ALPHA = 0x1; + public static final int TYPE_ALPHA = 0x1; /** * Indicates a transformation that applies a matrix only (alpha = 1.) */ - public static int TYPE_MATRIX = 0x2; + public static final int TYPE_MATRIX = 0x2; /** * Indicates a transformation that applies an alpha and a matrix. */ - public static int TYPE_BOTH = TYPE_ALPHA | TYPE_MATRIX; + public static final int TYPE_BOTH = TYPE_ALPHA | TYPE_MATRIX; protected Matrix mMatrix; protected float mAlpha; |
