summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kevin Hufnagle <khufnagle@google.com> 2019-08-29 18:54:25 -0700
committer android-build-merger <android-build-merger@google.com> 2019-08-29 18:54:25 -0700
commit6bf8f080a1465613801554997b51d631a7159f66 (patch)
tree950d16493f104441479ffeddac2d7e4e23f66ae9
parentf45395d6e0c208b97fc3e0758fb7067fd1dd5a2f (diff)
parenta7496671dabfb877e00655011869d2c3edc5263b (diff)
Merge "docs: Improved tick/click effect descriptions" into qt-dev
am: a7496671da Change-Id: Id733bdd016dc496ea14762cc48e15e9ae38a1d51
-rw-r--r--core/java/android/os/VibrationEffect.java6
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;