Before Width: | Height: | Size: 332 KiB After Width: | Height: | Size: 922 KiB |
Before Width: | Height: | Size: 283 KiB After Width: | Height: | Size: 681 KiB |
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 612 KiB |
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 511 KiB |
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 546 KiB |
@ -46,10 +46,10 @@ public class EmojiProvider {
|
|||||||
|
|
||||||
public static final double EMOJI_FULL = 1.00;
|
public static final double EMOJI_FULL = 1.00;
|
||||||
public static final double EMOJI_SMALL = 0.60;
|
public static final double EMOJI_SMALL = 0.60;
|
||||||
public static final int EMOJI_RAW_HEIGHT = 96;
|
public static final int EMOJI_RAW_HEIGHT = 64;
|
||||||
public static final int EMOJI_RAW_WIDTH = 102;
|
public static final int EMOJI_RAW_WIDTH = 64;
|
||||||
public static final int EMOJI_VERT_PAD = 6;
|
public static final int EMOJI_VERT_PAD = 0;
|
||||||
public static final int EMOJI_PER_ROW = 15;
|
public static final int EMOJI_PER_ROW = 32;
|
||||||
|
|
||||||
private final Context context;
|
private final Context context;
|
||||||
private final double drawWidth;
|
private final double drawWidth;
|
||||||
|
@ -19,7 +19,7 @@ public class EmojiView extends View implements Drawable.Callback {
|
|||||||
private String emoji;
|
private String emoji;
|
||||||
private Drawable drawable;
|
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();
|
private final Rect textBounds = new Rect();
|
||||||
|
|
||||||
public EmojiView(Context context) {
|
public EmojiView(Context context) {
|
||||||
|