diff options
| author | Kevin Hufnagle <khufnagle@google.com> | 2019-08-29 19:00:15 -0700 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2019-08-29 19:00:15 -0700 |
| commit | 13a441d6484c2b33aa4a533658273c96f7932e19 (patch) | |
| tree | 8788175f10df48e9572a5cab1592f54469bd4d2b /core/java/android | |
| parent | 9740b2c3b07446bb0b18847de341461cee84585b (diff) | |
| parent | 40a40c73d7646ac15ac658a048fe289619596dc0 (diff) | |
Merge "docs: Improved tick/click effect descriptions" into qt-dev am: a7496671da
am: 40a40c73d7
Change-Id: I4227eebb2a74fbcecdc15dff56d26bdbbbaca027
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/os/VibrationEffect.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/os/VibrationEffect.java b/core/java/android/os/VibrationEffect.java index 702b41beb071..26da0a0aee07 100644 --- a/core/java/android/os/VibrationEffect.java +++ b/core/java/android/os/VibrationEffect.java @@ -53,7 +53,7 @@ public abstract class VibrationEffect implements Parcelable { public static final int MAX_AMPLITUDE = 255; /** - * A click effect. + * A click effect. Use this effect as a baseline, as it's the most common type of click effect. * * @see #get(int) */ @@ -67,7 +67,7 @@ public abstract class VibrationEffect implements Parcelable { public static final int EFFECT_DOUBLE_CLICK = Effect.DOUBLE_CLICK; /** - * A tick effect. + * A tick effect. This effect is less strong compared to {@link #EFFECT_CLICK}. * @see #get(int) */ public static final int EFFECT_TICK = Effect.TICK; @@ -89,7 +89,7 @@ public abstract class VibrationEffect implements Parcelable { public static final int EFFECT_POP = Effect.POP; /** - * A heavy click effect. + * A heavy click effect. This effect is stronger than {@link #EFFECT_CLICK}. * @see #get(int) */ public static final int EFFECT_HEAVY_CLICK = Effect.HEAVY_CLICK; |
