blob: a99310fb7c594db22b0aa5ded910895b4afe1c0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package ca.allanwang.kau.swipe;
import android.content.Context;
/**
* Created by Allan Wang on 2017-07-05.
* <p>
* Collection of addition methods added into ViewDragHelper that weren't in the original
*/
interface ViewDragHelperExtras {
/**
* Sets the new size of a given edge
* Any touch within this range will be defined to have started from an edge
*
* @param size the new size in px
*/
void setEdgeSize(int size);
void setMaxVelocity(float maxVel);
float getMaxVelocity();
void setSensitivity(Context context, float sensitivity);
float getSensitivity();
}
|