Commit Graph

10484 Commits (753a457cc1db922004b67d6edecf4f1c679e0e6a)

Author SHA1 Message Date
Ken Wakasa 3847ce5d96 am 07711c10: Tidy up GeometryUtils a bit
* commit '07711c10b8a64f26f4ecb1df0bb84df95c7f25d2':
  Tidy up GeometryUtils a bit
2012-12-27 19:55:30 -08:00
Ken Wakasa 07711c10b8 Tidy up GeometryUtils a bit
Change-Id: I33f4042265c0dcc2530cee43c610f73ec99c6792
2012-12-27 16:38:00 +09:00
Jean Chalard 71ea09d2b3 am 997cba7d: Start committing hardware events (B4)
* commit '997cba7decce9694b3c2f9487deb9710ebb19595':
  Start committing hardware events (B4)
2012-12-26 23:32:25 -08:00
Jean Chalard 91268797e5 am 581f324e: Initial implementation for decoding HW key events (B3)
* commit '581f324ed8314befdf7d8cf1c923791455cc11a5':
  Initial implementation for decoding HW key events (B3)
2012-12-26 23:32:24 -08:00
Jean Chalard 997cba7dec Start committing hardware events (B4)
Essentially this does activate auto-correction with a hardware
keyboard, although a lot of things are still left to implement.
No proximity is used yet which means only missing and excessive
letters are considered. Dead keys are not handled. No combiner
is supported. No suggestions are displayed. Resuming suggestions
does not work correctly with a hardware key (because the view
holds a temporary hardware event 'onKeyPreIme' and the event
from the IME won't be handled until this is handled which won't
happen until after the IME said that it did handle the event).

Bug: 5037589
Change-Id: Idcb5c7b26d56717ed772d53c062362807f11cdae
2012-12-27 16:17:49 +09:00
Jean Chalard 581f324ed8 Initial implementation for decoding HW key events (B3)
Bug: 5037589
Change-Id: I829f70a258de58ef8d2b836a9b435198a226e37f
2012-12-27 16:17:46 +09:00
Jean Chalard 3cef4afed5 am 0abc4821: Rename some confusing variables
* commit '0abc48218ee90b1d8df77dfa131ce05fbaba7121':
  Rename some confusing variables
2012-12-26 22:52:06 -08:00
Jean Chalard 0da5d0d600 am 5bde3a61: Fix an old bug in getting a word from the connected view.
* commit '5bde3a61633556afb16481680daefc7cabbf5890':
  Fix an old bug in getting a word from the connected view.
2012-12-26 22:52:03 -08:00
Jean Chalard 0abc48218e Rename some confusing variables
Change-Id: Ib0de800599ae7f12c86270a627616d5b52366414
2012-12-27 15:42:14 +09:00
Jean Chalard 5bde3a6163 Fix an old bug in getting a word from the connected view.
In this test, it's impossible that start < 0 so the test is useless.
I'm not sure what the cursor test was for, but it's very old code, and
it seems the assumption was either misled or doesn't hold any more:
testing for the absolute cursor position against the length of the
word against the cursor makes no sense.

The net result of this was that when the cursor index got large
enough, resuming suggestion would not work any more.

Bug: 7586467
Change-Id: I3462082374fe9579bec7698f4d424de6ff5f2ded
2012-12-27 15:41:10 +09:00
Tadashi G. Takaoka cf0c01a7aa am 0856ceef: Merge "Get rid of current subtype and system locale cache from SubtypeSwitcher"
* commit '0856ceef9add40f3dbaa81d33bf9994c7543cd17':
  Get rid of current subtype and system locale cache from SubtypeSwitcher
2012-12-26 19:23:27 -08:00
Tadashi G. Takaoka 0856ceef9a Merge "Get rid of current subtype and system locale cache from SubtypeSwitcher" 2012-12-26 19:21:36 -08:00
Tadashi G. Takaoka e9bbde880b am 1dbec26f: Merge "Fix gesture trail width calculation"
* commit '1dbec26f8fab31239e1abd53faa9d20d44383b85':
  Fix gesture trail width calculation
2012-12-26 19:03:26 -08:00
Tadashi G. Takaoka 1dbec26f8f Merge "Fix gesture trail width calculation" 2012-12-26 19:01:31 -08:00
Tadashi G. Takaoka f483225397 Get rid of current subtype and system locale cache from SubtypeSwitcher
Bug: 7675452
Change-Id: I2121f56964b6d25e8d40f5b8ec67eeae527b2117
2012-12-27 12:00:38 +09:00
Tadashi G. Takaoka 92aee35222 Fix gesture trail width calculation
Change-Id: I41e0a95437aa9b8ec9a8eefb3bc5eb0452284b60
2012-12-27 11:43:35 +09:00
Jean Chalard bb043cff62 am 5112b59d: Add support for multiple keyboard event decoders (B2)
* commit '5112b59db2beece8353da9044bc297ab7f2df6f3':
  Add support for multiple keyboard event decoders (B2)
2012-12-26 03:35:41 -08:00
Jean Chalard 5112b59db2 Add support for multiple keyboard event decoders (B2)
Bug: 5037589
Change-Id: I0a4926f94ef8d1caa17669801608608648b697b9
2012-12-26 20:25:05 +09:00
Kurt Partridge 31b858cd6f am 4aff3bf0: Clean up unnecessary uses of toString()
* commit '4aff3bf0eaf4aec38c1d8576fdfc85a9eaa1c544':
  Clean up unnecessary uses of toString()
2012-12-23 18:45:47 -08:00
Kurt Partridge 4aff3bf0ea Clean up unnecessary uses of toString()
Leftover from changing variables from CharSequence to String

Change-Id: I4db43fcb075aa37bf9c5b2a23bad0e4c2d718379
2012-12-23 18:42:06 -08:00
Kurt Partridge 13b0617cfe am f763dc59: [Rlog24] ResearchLogger detect word boundaries in callers above commitText
* commit 'f763dc5915d394378bdcdc90cc0b238e66926b8b':
  [Rlog24] ResearchLogger detect word boundaries in callers above commitText
2012-12-23 12:38:26 -08:00
Kurt Partridge f763dc5915 [Rlog24] ResearchLogger detect word boundaries in callers above commitText
multi project commit with I5847d4aba97a7224ae170a7153811c5a11816449

Change-Id: Ie6fbf6f19f0193451fe6f3ddf9d4ef1637a35db1
2012-12-23 12:33:16 -08:00
Kurt Partridge d357398bf7 am 13b1be98: Merge "Log LatinIME.commitCurrentAutoCorrection()"
* commit '13b1be988d49818c48949d2534ffe31ed8475cfb':
  Log LatinIME.commitCurrentAutoCorrection()
2012-12-23 11:49:39 -08:00
Kurt Partridge 13b1be988d Merge "Log LatinIME.commitCurrentAutoCorrection()" 2012-12-23 11:47:47 -08:00
Kurt Partridge 970ceab0a8 am c1b4d143: Merge "Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTS"
* commit 'c1b4d143947ffcfd6880ef306e861a39a2f22087':
  Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTS
2012-12-23 11:22:31 -08:00
Kurt Partridge c1b4d14394 Merge "Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTS" 2012-12-23 11:20:34 -08:00
Kurt Partridge 38688728d7 am 5e9a5ca9: Merge "[Rlog36z] Pass LatinIME instance to logger as LatinIME class"
* commit '5e9a5ca9980c2f2d204840d03164c3df615aab5c':
  [Rlog36z] Pass LatinIME instance to logger as LatinIME class
2012-12-23 10:39:27 -08:00
Kurt Partridge 5e9a5ca998 Merge "[Rlog36z] Pass LatinIME instance to logger as LatinIME class" 2012-12-23 10:37:31 -08:00
Kurt Partridge 8b061c93bc am dce58fe8: Merge "[Rlog24z] Initialize statistics variables"
* commit 'dce58fe89543388d87ea412b5ee295d4e4e3287e':
  [Rlog24z] Initialize statistics variables
2012-12-23 09:53:25 -08:00
Kurt Partridge dce58fe895 Merge "[Rlog24z] Initialize statistics variables" 2012-12-23 09:51:22 -08:00
Kurt Partridge 66216a3bb5 am a51fbd92: Merge "[Rlog20] Remove duplicate logStatistics"
* commit 'a51fbd92a537e0a8b8be217f3663542821002769':
  [Rlog20] Remove duplicate logStatistics
2012-12-23 09:07:28 -08:00
Kurt Partridge a51fbd92a5 Merge "[Rlog20] Remove duplicate logStatistics" 2012-12-23 09:05:00 -08:00
Kurt Partridge 99bd42b295 [Rlog24z] Initialize statistics variables
Change-Id: I73a6009294a4f559a93b6ea9ceb4ea2683d97486
2012-12-23 09:04:01 -08:00
Kurt Partridge 7c79713dd8 am f0d626ec: Merge "[Rlog19] ResearchLog remove unnecessary logSegment{start,end}"
* commit 'f0d626ecfc2fe5123e28622afe87ecd6be8b902e':
  [Rlog19] ResearchLog remove unnecessary logSegment{start,end}
2012-12-23 08:30:34 -08:00
Kurt Partridge f0d626ecfc Merge "[Rlog19] ResearchLog remove unnecessary logSegment{start,end}" 2012-12-23 08:28:53 -08:00
Kurt Partridge e6a59419e8 am 9e12ba6c: Merge "[Rlog22] ResearchLogger fixed debug printing"
* commit '9e12ba6c95edad2877b3320b5d1d30df2a2efa66':
  [Rlog22] ResearchLogger fixed debug printing
2012-12-22 18:04:15 -08:00
Kurt Partridge 9e12ba6c95 Merge "[Rlog22] ResearchLogger fixed debug printing" 2012-12-22 18:02:25 -08:00
Kurt Partridge 226377e65a Log LatinIME.commitCurrentAutoCorrection()
Change-Id: Ic46c91374ae0177cafad4579d28d6980af0d8d3a
2012-12-22 17:32:12 -08:00
Kurt Partridge fc6e0cce6f [Rlog19] ResearchLog remove unnecessary logSegment{start,end}
Change-Id: I73b7765c764e5f1035f1c37df45345f26aa5acb1
2012-12-22 17:22:43 -08:00
Kurt Partridge 583a1edc4a [Rlog22] ResearchLogger fixed debug printing
Change-Id: I2c59983236c936b8698004db8213b68c2f964cd5
2012-12-22 17:16:51 -08:00
Kurt Partridge 38ba76b7d9 am 18b01e88: Merge "[Rlog41] ResearchLogger debugging support in UploaderService"
* commit '18b01e88acda36185242fdfdfe15b42945d5e523':
  [Rlog41] ResearchLogger debugging support in UploaderService
2012-12-22 17:14:14 -08:00
Kurt Partridge 18b01e88ac Merge "[Rlog41] ResearchLogger debugging support in UploaderService" 2012-12-22 17:12:39 -08:00
Kurt Partridge 5dd5dd2911 [Rlog36z] Pass LatinIME instance to logger as LatinIME class
Upcoming changes require LatinIME class, not just InputMethodService

Change-Id: Ia5b3a716ac02a99749fb2ba0164ba46c8a0c559a
2012-12-22 14:20:39 -08:00
Kurt Partridge 68fc33bd92 Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTS
Previously, LOG_EVERYTHING logged both all bigrams and also the entire TextView at the end of a
session.  Now, use a separate flag, LOG_FULL_TEXTVIEW_CONTENTS to determine whether the TextView
contents are recorded.

Change-Id: I0c7a90a8ff88aa65d057f3b2d3dd5adc3893504a
2012-12-22 13:57:58 -08:00
Kurt Partridge 522d739524 [Rlog20] Remove duplicate logStatistics
Change-Id: I31c5520598269a83ab218e3a024bff0a625c2770
2012-12-22 13:38:28 -08:00
Kurt Partridge ab5d2b45b9 [Rlog41] ResearchLogger debugging support in UploaderService
Change-Id: I70d5bd0cb12be7a5cc216799f92622912646466f
2012-12-22 13:07:46 -08:00
Kurt Partridge 85f2f7fbf8 am 163699e2: Merge "[Rlog12] Add comments to logging callpoints"
* commit '163699e240de2ed72ff13178e18ee5e18329004a':
  [Rlog12] Add comments to logging callpoints
2012-12-22 13:00:23 -08:00
Kurt Partridge 163699e240 Merge "[Rlog12] Add comments to logging callpoints" 2012-12-22 12:59:15 -08:00
Kurt Partridge d3cd23932f am ab9f4fd3: Merge "[Rlog7] ResearchLog improve gesture tracking"
* commit 'ab9f4fd35932a6f513f36d14dc77f559209b1131':
  [Rlog7] ResearchLog improve gesture tracking
2012-12-22 11:53:23 -08:00
Kurt Partridge ab9f4fd359 Merge "[Rlog7] ResearchLog improve gesture tracking" 2012-12-22 11:50:46 -08:00