summaryrefslogtreecommitdiffstats
path: root/java/com/android/incallui/answer/impl
diff options
context:
space:
mode:
authorSailesh Nepal <sail@google.com>2017-03-16 20:19:43 +0000
committerSailesh Nepal <sail@google.com>2017-03-16 20:19:43 +0000
commit2df4538eb90b896be15eebc1d9adf1206131c8a3 (patch)
treeb54abbb51fb7d66e7755a1fbb5db023ff601090b /java/com/android/incallui/answer/impl
parent1019500220518fb5fb023fcb7d370ab3cbf12307 (diff)
downloadandroid_packages_apps_Dialer-2df4538eb90b896be15eebc1d9adf1206131c8a3.tar.gz
android_packages_apps_Dialer-2df4538eb90b896be15eebc1d9adf1206131c8a3.tar.bz2
android_packages_apps_Dialer-2df4538eb90b896be15eebc1d9adf1206131c8a3.zip
Revert "Update dialer to tap green cl 150332012."
This reverts commit 1019500220518fb5fb023fcb7d370ab3cbf12307. Change-Id: Ie6e4f81a995fca7345132b596521b0bd06ceffb9
Diffstat (limited to 'java/com/android/incallui/answer/impl')
-rw-r--r--java/com/android/incallui/answer/impl/answermethod/FlingUpDownMethod.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/com/android/incallui/answer/impl/answermethod/FlingUpDownMethod.java b/java/com/android/incallui/answer/impl/answermethod/FlingUpDownMethod.java
index 587b923c4..6e8e1f7bf 100644
--- a/java/com/android/incallui/answer/impl/answermethod/FlingUpDownMethod.java
+++ b/java/com/android/incallui/answer/impl/answermethod/FlingUpDownMethod.java
@@ -388,6 +388,10 @@ public class FlingUpDownMethod extends AnswerMethod implements OnProgressChanged
// Since the animation progression is controlled by user gesture instead of real timeline, the
// spec timeline can be divided into 9 slots. Each slot is equivalent to 83ms in the spec.
// Therefore, we use 9 slots of 83ms to map user gesture into the spec timeline.
+ //
+ // See specs -
+ // Accept: https://direct.googleplex.com/#/spec/8510001
+ // Decline: https://direct.googleplex.com/#/spec/3850001
final float progressSlots = 9;
// Fade out the "swipe up to answer". It only takes 1 slot to complete the fade.