summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher/GesturesConstants.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-06-09 12:57:21 -0700
committerRomain Guy <romainguy@android.com>2009-06-10 02:21:15 -0700
commit73b979d8c141c7ceac82dad7c5b271a6a42afa67 (patch)
tree1d73ba2b6d72282b116f2130b9f58536e46fd27f /src/com/android/launcher/GesturesConstants.java
parentcbb89e4fc253a5fc3f24162dfb4e29fc6a815c2b (diff)
downloadandroid_packages_apps_Trebuchet-73b979d8c141c7ceac82dad7c5b271a6a42afa67.tar.gz
android_packages_apps_Trebuchet-73b979d8c141c7ceac82dad7c5b271a6a42afa67.tar.bz2
android_packages_apps_Trebuchet-73b979d8c141c7ceac82dad7c5b271a6a42afa67.zip
Add gestures to Home.
Press the Home key while in Home to enable the gestures pad.
Diffstat (limited to 'src/com/android/launcher/GesturesConstants.java')
-rw-r--r--src/com/android/launcher/GesturesConstants.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/com/android/launcher/GesturesConstants.java b/src/com/android/launcher/GesturesConstants.java
new file mode 100644
index 000000000..3151ea386
--- /dev/null
+++ b/src/com/android/launcher/GesturesConstants.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2009 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.launcher;
+
+interface GesturesConstants {
+ final double PREDICTION_THRESHOLD = 1.0;
+ final String STORE_NAME = "gestures";
+ final long MATCH_DELAY = 370;
+ final float LENGTH_THRESHOLD = 120.0f;
+ int PATH_SAMPLE_COUNT = 10;
+}