From 8a86b1dd88bba74e34579c3aeb03b28b76b1dbde Mon Sep 17 00:00:00 2001 From: Songchun Fan Date: Fri, 9 Apr 2021 15:07:03 -0700 Subject: [PATCH] [SettingsProvider] specify settings type in the comments BUG: 176866964 Test: Builds Change-Id: Ib8150dbd00b002181204a8925d42fa9ff8a36fa7 --- core/java/android/provider/Settings.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index ecb1700bf7d5b..434f5bc739348 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -13316,23 +13316,27 @@ public final class Settings { "adb_allowed_connection_time"; /** - * Scaling factor for normal window animations. Setting to 0 will - * disable window animations. + * Scaling factor for normal window animations. + * + * The value is a float. Setting to 0.0f will disable window animations. */ @Readable public static final String WINDOW_ANIMATION_SCALE = "window_animation_scale"; /** - * Scaling factor for activity transition animations. Setting to 0 will - * disable window animations. + * Scaling factor for activity transition animations. + * + * The value is a float. Setting to 0.0f will disable window animations. */ @Readable public static final String TRANSITION_ANIMATION_SCALE = "transition_animation_scale"; /** * Scaling factor for Animator-based animations. This affects both the - * start delay and duration of all such animations. Setting to 0 will - * cause animations to end immediately. The default value is 1. + * start delay and duration of all such animations. + * + * The value is a float. Setting to 0.0f will cause animations to end immediately. + * The default value is 1.0f. */ @Readable public static final String ANIMATOR_DURATION_SCALE = "animator_duration_scale";