summaryrefslogtreecommitdiff
path: root/src/com/android/dialer
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-03-18 12:03:35 -0700
committerYorke Lee <yorkelee@google.com>2014-03-18 15:22:00 -0700
commitf3db08a45846fd7a99460ea4eb4e10fa58499cd1 (patch)
tree8a9503d93255df531bd7a2355c2dcc034a72988f /src/com/android/dialer
parentbc5f9a38585ea3ea031b9682c27d81819a624c62 (diff)
Swap 9 patch for contact tiles
Tweak contact tile dimensions slightly Bug: 13526106 Change-Id: I7ae82dc1815c95577c204dd6ed955d0bf1bc0dc3
Diffstat (limited to 'src/com/android/dialer')
-rw-r--r--src/com/android/dialer/list/PhoneFavoriteTileView.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/dialer/list/PhoneFavoriteTileView.java b/src/com/android/dialer/list/PhoneFavoriteTileView.java
index 9761fc311..e89321c48 100644
--- a/src/com/android/dialer/list/PhoneFavoriteTileView.java
+++ b/src/com/android/dialer/list/PhoneFavoriteTileView.java
@@ -48,13 +48,13 @@ public abstract class PhoneFavoriteTileView extends ContactTileView {
private static final String TAG = PhoneFavoriteTileView.class.getSimpleName();
private static final boolean DEBUG = false;
- // These parameters instruct the photo manager to display the default image/letter at 65% of
- // its normal size, and vertically offset upwards 17% towards the top of the letter tile, to
+ // These parameters instruct the photo manager to display the default image/letter at 70% of
+ // its normal size, and vertically offset upwards 14% towards the top of the letter tile, to
// make room for the contact name and number label at the bottom of the image.
- private static final float DEFAULT_IMAGE_LETTER_OFFSET = -0.17f;
- private static final float DEFAULT_IMAGE_LETTER_SCALE = 0.65f;
+ private static final float DEFAULT_IMAGE_LETTER_OFFSET = -0.14f;
+ private static final float DEFAULT_IMAGE_LETTER_SCALE = 0.70f;
- /** Length of all animations in miniseconds. */
+ /** Length of all animations in milliseconds. */
private int mAnimationDuration;
/** The view that holds the front layer of the favorite contact card. */