mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-24 04:31:28 +00:00
parent
fa62b9bde2
commit
9a18be0a61
assets
src/org/thoughtcrime/securesms/components/emoji
Binary file not shown.
Before ![]() (image error) Size: 332 KiB After ![]() (image error) Size: 922 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 283 KiB After ![]() (image error) Size: 681 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 227 KiB After ![]() (image error) Size: 612 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 177 KiB After ![]() (image error) Size: 511 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 206 KiB After ![]() (image error) Size: 546 KiB ![]() ![]() |
@ -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;
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user