use apple emoji

Fixes #3445
Closes #3532
// FREEBIE
This commit is contained in:
Jake McGinty 2015-07-06 14:05:18 -07:00 committed by Moxie Marlinspike
parent fa62b9bde2
commit 9a18be0a61
7 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 KiB

After

Width:  |  Height:  |  Size: 922 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

After

Width:  |  Height:  |  Size: 681 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

After

Width:  |  Height:  |  Size: 612 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 511 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 KiB

After

Width:  |  Height:  |  Size: 546 KiB

View file

@ -46,10 +46,10 @@ public class EmojiProvider {
public static final double EMOJI_FULL = 1.00;
public static final double EMOJI_SMALL = 0.60;
public static final int EMOJI_RAW_HEIGHT = 96;
public static final int EMOJI_RAW_WIDTH = 102;
public static final int EMOJI_VERT_PAD = 6;
public static final int EMOJI_PER_ROW = 15;
public static final int EMOJI_RAW_HEIGHT = 64;
public static final int EMOJI_RAW_WIDTH = 64;
public static final int EMOJI_VERT_PAD = 0;
public static final int EMOJI_PER_ROW = 32;
private final Context context;
private final double drawWidth;

View file

@ -19,7 +19,7 @@ public class EmojiView extends View implements Drawable.Callback {
private String emoji;
private Drawable drawable;
private final Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG);
private final Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.FILTER_BITMAP_FLAG);
private final Rect textBounds = new Rect();
public EmojiView(Context context) {