diff options
author | Yorke Lee <yorkelee@google.com> | 2014-03-18 12:03:35 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-03-18 22:52:51 +0000 |
commit | 4e24159edc0e68a9c4eed63144dab435e12991f5 (patch) | |
tree | 7331a71324914f9e3def23816a648a4512b44360 /src | |
parent | 74af8088198942332c175f8d89af8c4396a3d50b (diff) |
DO NOT MERGE Swap 9 patch for contact tiles
Tweak contact tile dimensions slightly
Bug: 13526106
Change-Id: I7ae82dc1815c95577c204dd6ed955d0bf1bc0dc3
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/list/PhoneFavoriteTileView.java | 10 |
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 9d36fb2a6..f55d4fcd2 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. */ |