Merge "docs: Improved tick/click effect descriptions" into qt-dev am: a7496671da am: 40a40c73d7
am: 13a441d648
Change-Id: I6a6521d4c67013e1f0cc5a10698105a4c55eb145
This commit is contained in:
@@ -53,7 +53,7 @@ public abstract class VibrationEffect implements Parcelable {
|
|||||||
public static final int MAX_AMPLITUDE = 255;
|
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)
|
* @see #get(int)
|
||||||
*/
|
*/
|
||||||
@@ -67,7 +67,7 @@ public abstract class VibrationEffect implements Parcelable {
|
|||||||
public static final int EFFECT_DOUBLE_CLICK = Effect.DOUBLE_CLICK;
|
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)
|
* @see #get(int)
|
||||||
*/
|
*/
|
||||||
public static final int EFFECT_TICK = Effect.TICK;
|
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;
|
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)
|
* @see #get(int)
|
||||||
*/
|
*/
|
||||||
public static final int EFFECT_HEAVY_CLICK = Effect.HEAVY_CLICK;
|
public static final int EFFECT_HEAVY_CLICK = Effect.HEAVY_CLICK;
|
||||||
|
|||||||
Reference in New Issue
Block a user