From 30ef03d865ec78469f26983f9c3e74f4e2c1bdd0 Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Wed, 9 Oct 2013 14:56:39 +0900 Subject: [PATCH] Tweak vertical gap of Emoji palette Bug: 11140087 Change-Id: I8163568a9d7f9d321148001e161c672f78796c96 --- .../inputmethod/keyboard/internal/DynamicGridKeyboard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/keyboard/internal/DynamicGridKeyboard.java b/java/src/com/android/inputmethod/keyboard/internal/DynamicGridKeyboard.java index 09766ac6c..3133e54be 100644 --- a/java/src/com/android/inputmethod/keyboard/internal/DynamicGridKeyboard.java +++ b/java/src/com/android/inputmethod/keyboard/internal/DynamicGridKeyboard.java @@ -184,12 +184,12 @@ public class DynamicGridKeyboard extends Keyboard { private int getKeyY0(final int index) { final int row = index / mColumnsNum; - return row * mVerticalStep; + return row * mVerticalStep + mVerticalGap / 2; } private int getKeyY1(final int index) { final int row = index / mColumnsNum + 1; - return row * mVerticalStep; + return row * mVerticalStep + mVerticalGap / 2; } @Override