summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-05-27 22:05:05 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-27 22:05:06 +0000
commit3c2c42212368b08dee289a2457377a61da4b8caf (patch)
tree9ca8b175b19d8056bd42e58ccca88ea89f42abda /src
parent7d6a2cc5758909d3ba959f3cc0b8771e444a3c27 (diff)
parent9ada157d1d6d69176730035f7e651500fc7f3c0a (diff)
Merge "Adjust card clipping specs" into lmp-preview-dev
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/list/ListsFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/list/ListsFragment.java b/src/com/android/dialer/list/ListsFragment.java
index 2ff5a2a5b..229f7f3cc 100644
--- a/src/com/android/dialer/list/ListsFragment.java
+++ b/src/com/android/dialer/list/ListsFragment.java
@@ -126,12 +126,12 @@ public class ListsFragment extends Fragment implements CallLogQueryHandler.Liste
private PanelSlideListener mPanelSlideListener = new PanelSlideListener() {
@Override
public void onPanelSlide(View panel, float slideOffset) {
- // For every 1 percent that the panel is slid upwards, clip 2 percent from each edge
+ // For every 1 percent that the panel is slid upwards, clip 3 percent from each edge
// of the shortcut card, to achieve the animated effect of the shortcut card
// rapidly shrinking and disappearing from view when the panel is slid upwards.
// slideOffset is 1 when the shortcut card is fully exposed, and 0 when completely
// hidden.
- float ratioCardHidden = (1 - slideOffset) * 2f;
+ float ratioCardHidden = (1 - slideOffset) * 3f;
if (mShortcutCardsListView.getCount() > 0) {
SwipeableShortcutCard v =
(SwipeableShortcutCard) mShortcutCardsListView.getChildAt(0);