您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
23 行
726 B
23 行
726 B
using System;
|
|
|
|
namespace UIWidgets.gestures {
|
|
public static class Constants {
|
|
public const double kTouchSlop = 18.0;
|
|
|
|
public const double kDoubleTapTouchSlop = kTouchSlop;
|
|
|
|
public const double kDoubleTapSlop = 100.0;
|
|
|
|
public const double kPanSlop = kTouchSlop * 2.0;
|
|
|
|
public static readonly TimeSpan kPressTimeout = new TimeSpan(0, 0, 0, 0, 100);
|
|
|
|
public static readonly TimeSpan kDoubleTapTimeout = new TimeSpan(0, 0, 0, 0, 300);
|
|
|
|
public static readonly TimeSpan kLongPressTimeout = new TimeSpan(0, 0, 0, 0, 500);
|
|
|
|
public const double kMinFlingVelocity = 50.0;
|
|
|
|
public const double kMaxFlingVelocity = 8000.0;
|
|
}
|
|
}
|