am 30ef03d8: Tweak vertical gap of Emoji palette

* commit '30ef03d865ec78469f26983f9c3e74f4e2c1bdd0':
  Tweak vertical gap of Emoji palette
main
Satoshi Kataoka 2013-10-08 23:20:53 -07:00 committed by Android Git Automerger
commit afe143c928
1 changed files with 2 additions and 2 deletions

View File

@ -184,12 +184,12 @@ public class DynamicGridKeyboard extends Keyboard {
private int getKeyY0(final int index) { private int getKeyY0(final int index) {
final int row = index / mColumnsNum; final int row = index / mColumnsNum;
return row * mVerticalStep; return row * mVerticalStep + mVerticalGap / 2;
} }
private int getKeyY1(final int index) { private int getKeyY1(final int index) {
final int row = index / mColumnsNum + 1; final int row = index / mColumnsNum + 1;
return row * mVerticalStep; return row * mVerticalStep + mVerticalGap / 2;
} }
@Override @Override