summaryrefslogtreecommitdiffstats
path: root/core/java/android/util
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2014-10-31 00:15:01 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-31 00:15:01 +0000
commit9a77c8a279bfe3293295ed77c775ea29b88b2916 (patch)
treeb34b617ab6869b38151d8e8e6d1eebb0ab7db4d9 /core/java/android/util
parent370403dbdec3a1d769c31aca66e5fcbd6617c897 (diff)
parent3c5cc234eeef4a08ad7b00b4e869a1e47cf14ab3 (diff)
downloadframeworks_base-9a77c8a279bfe3293295ed77c775ea29b88b2916.zip
frameworks_base-9a77c8a279bfe3293295ed77c775ea29b88b2916.tar.gz
frameworks_base-9a77c8a279bfe3293295ed77c775ea29b88b2916.tar.bz2
am 3c5cc234: am 674a3a21: Merge "Distinguish unspecified and explicit null values in resources" into lmp-mr1-dev
* commit '3c5cc234eeef4a08ad7b00b4e869a1e47cf14ab3': Distinguish unspecified and explicit null values in resources
Diffstat (limited to 'core/java/android/util')
-rw-r--r--core/java/android/util/TypedValue.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/util/TypedValue.java b/core/java/android/util/TypedValue.java
index 931fb81..d42ed03 100644
--- a/core/java/android/util/TypedValue.java
+++ b/core/java/android/util/TypedValue.java
@@ -139,6 +139,17 @@ public class TypedValue {
/* ------------------------------------------------------------ */
/**
+ * {@link #TYPE_NULL} data indicating the value was not specified.
+ */
+ public static final int DATA_NULL_UNDEFINED = 0;
+ /**
+ * {@link #TYPE_NULL} data indicating the value was explicitly set to null.
+ */
+ public static final int DATA_NULL_EMPTY = 1;
+
+ /* ------------------------------------------------------------ */
+
+ /**
* If {@link #density} is equal to this value, then the density should be
* treated as the system's default density value: {@link DisplayMetrics#DENSITY_DEFAULT}.
*/