A mirror for futokb (https://gitlab.futo.org/keyboard)
Go to file
Tadashi G. Takaoka 5a2d063047 Remove unnecessary onRefreshKeyboard call.
When using the sliding spacebar language switch on ICS, both
LatinIME.toggleLanguage() and
InputMethodService.onCurrentInputMethodSubtypeChanged() invoke
LatinIME.onRefreshKeyboard().  This change eliminates the first one if
it isn't necessary.

This change also cleans up the followings.
  * reuse theme Context when the keyboard theme hasn't been changed.
  * clear the Keyboard cache when theme has been switched.
  * eliminates unnecessary Context reference from LatinKeyboard and
    SlidingLocaleDrawable.
  * recycle Bitmap and reuse Canvas in KeyboardView.

Bug: 4725930
Change-Id: I87366e9304879d94d12b7345adea768d86d43519
2011-06-20 19:21:31 +09:00
dictionaries auto import from //branches/cupcake/...@138744 2009-03-13 15:11:42 -07:00
java Remove unnecessary onRefreshKeyboard call. 2011-06-20 19:21:31 +09:00
native Clean up in LatinIME native code 2011-06-18 23:52:09 +09:00
tests Fix arguments order of KeyboardId constructor 2011-05-25 11:40:53 +09:00
tools Fix issues with single-char word. Some refactorings as well. 2011-04-18 11:45:49 +09:00
Android.mk Don't let the native code target be included twice when unbundling. 2010-03-09 15:01:09 -08:00
CleanSpec.mk Fix UnsatisfiedLinkError for Latin IME. Don't use old NDK version in a platform build. 2010-08-31 12:04:30 -07:00