Commit Graph

17616 Commits (62268189e1630aea3d47a982098124608f0df764)

Author SHA1 Message Date
Tadashi G. Takaoka bd48619388 am f8737965: am f4271e51: Refactor key repeating related code
Merge commit 'f8737965be2039e4176db4b570d7f587e7ea2fcb'

* commit 'f8737965be2039e4176db4b570d7f587e7ea2fcb':
  Refactor key repeating related code
2010-08-24 23:17:51 -07:00
Tadashi G. Takaoka f8737965be am f4271e51: Refactor key repeating related code
Merge commit 'f4271e51e713688a4e9f368956fb41aa45b76ff7' into gingerbread-plus-aosp

* commit 'f4271e51e713688a4e9f368956fb41aa45b76ff7':
  Refactor key repeating related code
2010-08-24 23:14:00 -07:00
Tadashi G. Takaoka f4271e51e7 Refactor key repeating related code
This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into
UIHandler class.  Also this eliminates mCurrentKey and mLastTapTime
dependency from repeatKey method.

Bug: 2910379
Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
2010-08-25 12:33:46 +09:00
Tadashi G. Takaoka d3bc51ccaf am ed99b8d9: am 8ee13212: Refactor long press related code
Merge commit 'ed99b8d9c12da744596c1ec42f8090a59927f142'

* commit 'ed99b8d9c12da744596c1ec42f8090a59927f142':
  Refactor long press related code
2010-08-24 20:25:47 -07:00
Tadashi G. Takaoka ed99b8d9c1 am 8ee13212: Refactor long press related code
Merge commit '8ee1321264a721a20fa2371d45bb14a07906f60c' into gingerbread-plus-aosp

* commit '8ee1321264a721a20fa2371d45bb14a07906f60c':
  Refactor long press related code
2010-08-24 20:23:38 -07:00
Tadashi G. Takaoka 8ee1321264 Refactor long press related code
This change eliminates mCurrentKey dependency from openPopupIfRequired
method.  Also slightly cleanup onModifiedTouchEvent.

Bug: 2910379
Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
2010-08-25 12:08:20 +09:00
Ken Wakasa f15a019cab Make the unbundled LatinIME buildable.
Copied method.xml from Gingerbread.
Got rid of resources for xlarge.

bug: 2786392
Change-Id: I07ff874b39a4e1117c95062f2b8e3ae5acb1b8cf
2010-08-25 11:56:06 +09:00
Tadashi G. Takaoka d89ceafb6d am 4a2ad03a: am edadd266: Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbread
Merge commit '4a2ad03a56de5cda14a8c7c3bd79e357c28efe07'

* commit '4a2ad03a56de5cda14a8c7c3bd79e357c28efe07':
  Refactor onModifiedTouchEvent of LatinKeyboardBaseView
2010-08-24 18:31:19 -07:00
Tadashi G. Takaoka 4a2ad03a56 am edadd266: Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbread
Merge commit 'edadd2661b40979dc79b659e38ffe30059192693' into gingerbread-plus-aosp

* commit 'edadd2661b40979dc79b659e38ffe30059192693':
  Refactor onModifiedTouchEvent of LatinKeyboardBaseView
2010-08-24 18:29:22 -07:00
Tadashi G. Takaoka edadd2661b Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbread 2010-08-24 18:27:47 -07:00
Tadashi G. Takaoka 8b0cb128be Refactor onModifiedTouchEvent of LatinKeyboardBaseView
This change simplifies onModifierTouchEvent to focus on handling
motion event related to a key event.

Other refactoring will follow in order to support multi touch.

Bug: 2910379

Change-Id: I036be64168d951a535600a7910b36bc109f88490
2010-08-25 10:17:14 +09:00
Sriram Raman f36477ed97 Change LOCAL_SDK_VERSION to 8 (from current) for unbundled branch
Change-Id: I5d9344aa7c14e545c6a3bd4aa00287becb13a545
2010-08-24 17:01:58 -04:00
satok 287abe8f1b am d4f91263: am 525141a4: Clean up LatinIME java
Merge commit 'd4f9126336b16cf6aa2fb21ddcd654ebfc1f4af9'

* commit 'd4f9126336b16cf6aa2fb21ddcd654ebfc1f4af9':
  Clean up LatinIME java
2010-08-24 11:55:13 -07:00
Jean-Baptiste Queru a748861943 am bd1eb5d0: am e07d6a77: merge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward
Merge commit 'bd1eb5d05077ea06c1cfed99daa5669cdf6f41d2'

* commit 'bd1eb5d05077ea06c1cfed99daa5669cdf6f41d2':
  Fix a bug in backspace handling for the "Tap again to save"
  Fix bug: 2693836 - Russian keyboard is missing a letter
2010-08-24 11:55:11 -07:00
Ken Wakasa 48852f33b3 am 6b6ae29b: am 78c46117: Fix LatinIME crashing due to crash in Contacts DB
Merge commit '6b6ae29b61acf1f8317f5dd261d5c74ec51b155e'

* commit '6b6ae29b61acf1f8317f5dd261d5c74ec51b155e':
  Fix LatinIME crashing due to crash in Contacts DB
2010-08-24 10:16:17 -07:00
satok d4f9126336 am 525141a4: Clean up LatinIME java
Merge commit '525141a402ac9a3fb3495cb069ad25b9ba1fc970' into gingerbread-plus-aosp

* commit '525141a402ac9a3fb3495cb069ad25b9ba1fc970':
  Clean up LatinIME java
2010-08-23 23:37:29 -07:00
Jean-Baptiste Queru bd1eb5d050 am e07d6a77: merge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward
Merge commit 'e07d6a776ad818e21de3598d115ec5de0b12481b' into gingerbread-plus-aosp

* commit 'e07d6a776ad818e21de3598d115ec5de0b12481b':
  Fix a bug in backspace handling for the "Tap again to save"
  Fix bug: 2693836 - Russian keyboard is missing a letter
2010-08-23 23:36:49 -07:00
satok 525141a402 Clean up LatinIME java
- remove unused code
- add @Override
- change the inappropriate cast

Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
2010-08-24 12:40:00 +09:00
Jean-Baptiste Queru e07d6a776a merge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward
Change-Id: I1dba838629fe6e7c16f7684a0d438328cda1c325
2010-08-23 19:09:17 -07:00
Ken Wakasa 159bc3cf43 am 3ecb4813: am 17dc363a: Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
Merge commit '3ecb4813f1f77ce9330b08a1a2ab83d26df05e51'

* commit '3ecb4813f1f77ce9330b08a1a2ab83d26df05e51':
  Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
2010-08-23 12:02:52 -07:00
satok 36cd376aee am d56f8f5c: (-s ours) am 979f8690: DO NOT MERGE. Backport LatinIME from master to Gingerbread
Merge commit 'd56f8f5c10d6a959c23fda6ba0a588198fe7412b'

* commit 'd56f8f5c10d6a959c23fda6ba0a588198fe7412b':
  DO NOT MERGE. Backport LatinIME from master to Gingerbread
2010-08-23 12:02:30 -07:00
Yohei Fujii 4cd593d02a Fixed the issue of unsufficient description about popup_on_keypress at strings.xml
Bug:2930812
Change-Id: I3a6af4d2a6b0dea1d3391300f7bf9a577daf3c8d
2010-08-23 18:47:46 +09:00
Ken Wakasa 6b6ae29b61 am 78c46117: Fix LatinIME crashing due to crash in Contacts DB
Merge commit '78c4611719f10b4a53ade54ab5eeb390061737a3' into gingerbread-plus-aosp

* commit '78c4611719f10b4a53ade54ab5eeb390061737a3':
  Fix LatinIME crashing due to crash in Contacts DB
2010-08-20 15:59:01 -07:00
Ken Wakasa 78c4611719 Fix LatinIME crashing due to crash in Contacts DB
bug: 2895391
Change-Id: I3a0628942b74556f8b600b63ebc5d808fb2f0abd
2010-08-20 20:12:39 +09:00
Ken Wakasa 3ecb4813f1 am 17dc363a: Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
Merge commit '17dc363a63a20d18cd8161f917899b39aed6ddd6' into gingerbread-plus-aosp

* commit '17dc363a63a20d18cd8161f917899b39aed6ddd6':
  Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
2010-08-20 02:41:46 -07:00
Ken Wakasa 17dc363a63 Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
2010-08-20 18:28:22 +09:00
satok d56f8f5c10 am 979f8690: DO NOT MERGE. Backport LatinIME from master to Gingerbread
Merge commit '979f8690967ff5409fe18f5085858ccdb8e0ccf1' into gingerbread-plus-aosp

* commit '979f8690967ff5409fe18f5085858ccdb8e0ccf1':
  DO NOT MERGE. Backport LatinIME from master to Gingerbread
2010-08-19 22:46:06 -07:00
satok 979f869096 DO NOT MERGE. Backport LatinIME from master to Gingerbread
TODO: Cleanup will follow.

Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
2010-08-20 14:37:03 +09:00
Tadashi G. Takaoka f95e947223 Refactor shift state and caps lock state handling code.
Move setShifted and setShifLocked methods to KeyboardSwitcher, then
delegate to LatinKeyboardView.

Bug: 2910379

Change-Id: I5dba70ec0dfc7a1ed67f1e05d54a2bd92252ed24
2010-08-20 11:42:28 +09:00
Eric Fischer 103634dd8d Merge "Import Romansh translations." 2010-08-19 12:01:53 -07:00
satok 22ac244d5e Add subtype to method.xml
Change-Id: I6006c729f89cc91d5674c19b95cf19ad2cab14cf
2010-08-19 20:02:00 +09:00
Eric Fischer 4c510f83a0 Import Romansh translations.
Change-Id: Ib6529182be031be2e54072a87516caee5f0d2c1d
2010-08-18 16:27:03 -07:00
Yohei Fujii e68bba227f Fixed the popup default value problem.
Bug:2909517

Change-Id: Ic323d38219a2af211b8a8db09746febe4ccbede9
2010-08-18 16:54:26 +09:00
Ken Wakasa 479a3a7891 Fix a bug in backspace handling for the "Tap again to save"
bug: 2889273
Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
2010-08-18 00:09:26 -07:00
Eric Fischer b9ab7ddd33 Merge "Import revised translations." 2010-08-17 17:24:41 -07:00
Eric Fischer 1193da8ed2 Import revised translations.
Change-Id: I975bcb5cf09211c6379cc7e7ad89ea09d91e7ec1
2010-08-17 16:56:36 -07:00
Ken Wakasa 5403336357 Merge "Fix various modifier keys on the Norwegian keyboard." 2010-08-17 16:34:10 -07:00
Amith Yamasani c20c5a8d4c Fixes for correction mode - reliably show the corrections when tapping on a word.
Also, continue to show the corrections when user keeps replacing the word repeatedly
with different corrections from the suggestion strip. There were problems with
tapping suggestions quickly or tapping the same suggestion more than once (same length).

Also fixes Bug: 2852891 - Text suggestion appears incorrectly when selecting text that's
not a whole word.

Changed the TextEntryState states to an enum type instead of int. Needed it to show the
states for debugging purposes.
2010-08-17 09:05:24 -07:00
Steinar H. Gunderson 4b892a1daa Fix various modifier keys on the Norwegian keyboard.
There are some traditional differences between Norwegian and Swedish
keyboard layouts -- for instance, few Norwegians would search for ü
on the y key, but it is so on the Swedish keyboard. Correct the most
obvious differences.

Change-Id: Iab53fa51ff7faa2022b10b551e47060a6f2c5652
2010-08-17 15:18:26 +02:00
Yohei Fujii c9a181b1b3 Fixed default preference issue.
Change-Id: I6d12bc054fde0fe3ea03b673e7b5b7d7f8db8d54
2010-08-17 18:11:43 +09:00
Yohei Fujii fda1ae71b5 Fixed the issue of popup enabled when i change to symbol keyboard.
Bug:2909517
Change-Id: I1c010b1079a04ff3b08d690c536fbe8d4414ea14
2010-08-13 19:02:34 +09:00
Ken Wakasa 648dcf55a3 Revert the open-source LatinIME package name -
from com.google.android.inputmethod.latin to com.android.inputmethod.latin

Related change: https://android-git.corp.google.com/g/60862

bug: 2786392

Change-Id: Ib7c6cfe61db19ef50c401a01497eef5f1f5e239e
2010-08-13 00:01:03 +09:00
Yohei Fujii 0b0a686281 add new preference for popup preview
this option is disabled as the default at x-large

Bug:2909517

Change-Id: Ifda1b7ff89bc4beeee02ba0f3e01d441a9435b37
2010-08-12 16:45:44 +09:00
Satoshi Kataoka 8dbb0973e9 Merge "Fix the bug that black symbols are shown when only one lanugage is selected. (Update with the files left out from Change-Id: I15f83fc43d91c2c9d74b40fdcecdfe239242d565.)" 2010-08-10 22:59:37 -07:00
Jae Yong Sung c868d0444c Merge "-UserBigram -UnitTest for UserBigram -Changes for number of bigrams to load" 2010-08-10 20:22:11 -07:00
Jae Yong Sung ac093396ba -UserBigram
-UnitTest for UserBigram
-Changes for number of bigrams to load

Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516
2010-08-10 13:30:58 -07:00
Eric Fischer 4e19a93cbd Import revised translations.
Change-Id: I19c1bce22c2395b727891f60776946a0eec7145b
2010-08-10 12:13:13 -07:00
Amith Yamasani 6dea425480 Fix for NPE in saveWordInHistory
Bug: 2898207
2010-08-05 17:31:19 -07:00
Eric Fischer d31d814c58 Merge "Import revised translations." 2010-08-05 16:52:33 -07:00
Ken Wakasa 6be8e35235 am b608a93c: am 6511376f: am 65582531: Fix a bug in backspace handling for the "Tap again to save"
Merge commit 'b608a93c0f3087b191c88cd75665886b7c52015e'

* commit 'b608a93c0f3087b191c88cd75665886b7c52015e':
  Fix a bug in backspace handling for the "Tap again to save"
2010-08-05 16:44:39 -07:00