Commit graph

6259 commits

Author SHA1 Message Date
Tadashi G. Takaoka
c88026e1df Update shift state when alphabet keyboard has been set
Bug: 5857492
Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb
2012-01-16 11:08:29 +09:00
Tadashi G. Takaoka
175d3296e8 am 327c6828: Merge "Cleanup KeyboardStateTests a bit"
* commit '327c6828a5324b152575667cad8ba55a8cc071e0':
  Cleanup KeyboardStateTests a bit
2012-01-15 17:16:58 -08:00
Tadashi G. Takaoka
327c6828a5 Merge "Cleanup KeyboardStateTests a bit" 2012-01-15 17:15:34 -08:00
Tadashi G. Takaoka
d3bf4b172d Cleanup KeyboardStateTests a bit
Move test target KeyboardState into MockKeyboardSwitcher.

Change-Id: I0998a5306a59e777360df9d1321b545313b939f9
2012-01-16 10:04:10 +09:00
Jean Chalard
eaf8b15d98 am a3e52e94: Merge "Fix a native crash with shortcuts"
* commit 'a3e52e94fb4f37f00a647f1b1de5424ab597907a':
  Fix a native crash with shortcuts
2012-01-13 11:14:08 -08:00
Tadashi G. Takaoka
c2d44eeded am 4cabb049: Use KeyboardSet for unit test
* commit '4cabb049718003341edc75be23fbd87a7eea9cc6':
  Use KeyboardSet for unit test
2012-01-13 11:14:07 -08:00
Tadashi G. Takaoka
77ae64d8ab am ca132ce8: Merge "Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet"
* commit 'ca132ce8e224eaae6d7d9b01fb6183708779684b':
  Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet
2012-01-13 11:14:06 -08:00
Tadashi G. Takaoka
b19ac4f36e am 211680e3: Merge "Fix SuggestTests"
* commit '211680e3752cb3118ae7ec2af5fe20ecdf37159d':
  Fix SuggestTests
2012-01-13 11:14:06 -08:00
satok
53d4dd39e9 am 9fb6f47a: New LOG lib
* commit '9fb6f47a6a11f62d134d4d6259181ac987fc1ad3':
  New LOG lib
2012-01-13 11:14:05 -08:00
satok
4341d5ef32 am b9604779: Use placement new to construct the queue
* commit 'b960477952101633d053b459e669db46d3234ac3':
  Use placement new to construct the queue
2012-01-13 11:14:05 -08:00
Tadashi G. Takaoka
6a381444fa am f67f001e: Merge "Cleanup UtilsTests"
* commit 'f67f001e40f27c4dc7d2a4f5f0ff991ca8c1b9fc':
  Cleanup UtilsTests
2012-01-13 11:14:04 -08:00
Tadashi G. Takaoka
b785e40377 am 06eb0426: Merge "Fix UserBigramSuggestTests"
* commit '06eb042616d64aeed3dec6a1fcdad9de85252fee':
  Fix UserBigramSuggestTests
2012-01-13 11:14:03 -08:00
Tadashi G. Takaoka
f47e920c39 am 76dede6b: Merge "Fix SubtypeLocaleTests"
* commit '76dede6b3ba6025a0a9b93268127f619fb92a136':
  Fix SubtypeLocaleTests
2012-01-13 11:13:58 -08:00
satok
fadaef0d97 am 4da8e8e4: Merge "Fix a bug in the logic to show 3 dots of the ime switcher"
* commit '4da8e8e4d3bc430f1b0519840f63addbce949d84':
  Fix a bug in the logic to show 3 dots of the ime switcher
2012-01-13 11:13:35 -08:00
Jean Chalard
a3e52e94fb Merge "Fix a native crash with shortcuts" 2012-01-13 04:02:47 -08:00
Jean Chalard
512c669fee Fix a native crash with shortcuts
Creation of the TerminalAttributes object failed to take into
account that there may be children on this node.

Change-Id: I8224a1a51532d1a40a8555f46425e3744388326b
2012-01-13 20:50:43 +09:00
Tadashi G. Takaoka
4cabb04971 Use KeyboardSet for unit test
Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2
2012-01-13 19:14:42 +09:00
Tadashi G. Takaoka
ca132ce8e2 Merge "Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet" 2012-01-13 01:39:50 -08:00
Tadashi G. Takaoka
211680e375 Merge "Fix SuggestTests" 2012-01-13 01:39:43 -08:00
Tadashi G. Takaoka
4087ba69fa Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet
Change-Id: I6c1150eea5f0a931d01578b0157f06e0aff0cc65
2012-01-13 18:05:28 +09:00
satok
9fb6f47a6a New LOG lib
Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe
2012-01-13 18:04:15 +09:00
satok
b960477952 Use placement new to construct the queue
Change-Id: I455f9954165bd4524f2883db7ea24a6fed3015f9
2012-01-13 17:32:55 +09:00
Tadashi G. Takaoka
9c735b8038 Fix SuggestTests
We need revised scoring test because dictionary look up algorithm has
been changed significantly since this SuggestTests was made.

Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
2012-01-13 15:25:28 +09:00
Tadashi G. Takaoka
f67f001e40 Merge "Cleanup UtilsTests" 2012-01-12 22:17:33 -08:00
Tadashi G. Takaoka
06eb042616 Merge "Fix UserBigramSuggestTests" 2012-01-12 22:17:28 -08:00
Tadashi G. Takaoka
76dede6b3b Merge "Fix SubtypeLocaleTests" 2012-01-12 22:17:20 -08:00
Tadashi G. Takaoka
1d161a9038 Cleanup UtilsTests
Change-Id: I5631d010194423fd3d9c216db760ffa726131977
2012-01-13 14:49:14 +09:00
Tadashi G. Takaoka
fb9b0f493c Fix UserBigramSuggestTests
Change-Id: I3363fba44ee70876fd7ba8e27c6ca3c83753b53a
2012-01-13 14:46:45 +09:00
Tadashi G. Takaoka
4015a64a26 Fix SubtypeLocaleTests
Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
2012-01-13 14:35:43 +09:00
satok
4da8e8e4d3 Merge "Fix a bug in the logic to show 3 dots of the ime switcher" 2012-01-12 19:41:12 -08:00
satok
83a018419a Fix a bug in the logic to show 3 dots of the ime switcher
Bug: 5806103
Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
2012-01-13 11:50:31 +09:00
The Android Open Source Project
242a48e7a5 am 16d5e196: am 201a8ba8: Reconcile with ics-mr1-release
* commit '16d5e196dc12254670ff43f622234c892db547e4':
2012-01-12 09:04:08 -08:00
The Android Open Source Project
16d5e196dc am 201a8ba8: Reconcile with ics-mr1-release
* commit '201a8ba8531191b133ef4549b9cf0a61818a02d2':
2012-01-12 09:00:24 -08:00
The Android Open Source Project
201a8ba853 Reconcile with ics-mr1-release
Change-Id: I028e92611bbe6a091de34d99aa58e04b5bcf4892
2012-01-12 08:56:54 -08:00
satok
280cc53e1c am 21814c56: Merge "Move auto correction thresthold to the native code"
* commit '21814c56f0859a2d83d1ecc29f4a74210c4497a1':
  Move auto correction thresthold to the native code
2012-01-12 03:00:54 -08:00
satok
21814c56f0 Merge "Move auto correction thresthold to the native code" 2012-01-12 02:58:35 -08:00
satok
be0cf72253 Move auto correction thresthold to the native code
bug: 5858137

Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
2012-01-12 19:56:15 +09:00
Jean Chalard
ae2a4eedd2 am ab34a4a7: Merge "Fix a bug where last candidate would not be reset"
* commit 'ab34a4a7f53e1426a5cc4cd7a7fefde38a82e499':
  Fix a bug where last candidate would not be reset
2012-01-11 21:49:01 -08:00
Jean Chalard
04184c8098 am cda8a42c: Merge "Add a sanity check"
* commit 'cda8a42cbe114b6f9e3b98d868ab19fe673d3d09':
  Add a sanity check
2012-01-11 21:49:01 -08:00
Jean Chalard
ab34a4a7f5 Merge "Fix a bug where last candidate would not be reset" 2012-01-11 21:47:35 -08:00
Jean Chalard
cda8a42cbe Merge "Add a sanity check" 2012-01-11 21:47:26 -08:00
satok
79cf99ccfc am 53f56dde: Merge "Change the application name of aosp latin ime"
* commit '53f56ddef9f5e9e5eee86b95a9d8e1f2878d5e24':
  Change the application name of aosp latin ime
2012-01-11 21:32:57 -08:00
satok
53f56ddef9 Merge "Change the application name of aosp latin ime" 2012-01-11 21:31:46 -08:00
satok
c1da6566dd Change the application name of aosp latin ime
Change-Id: I96281709736bc20d70e63af170bfb48b5df3f18d
2012-01-12 14:27:22 +09:00
Jean Chalard
cd22c011ba am a8c8ab1c: Remove an excessive parens
* commit 'a8c8ab1cb4f148693ebf8443c62b029db0840d26':
  Remove an excessive parens
2012-01-11 21:10:35 -08:00
Jean Chalard
a8c8ab1cb4 Remove an excessive parens
Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7
2012-01-12 14:07:56 +09:00
Jean Chalard
a0c2c65f1f am 9de5cfc6: Fix a crash where revertSwap would be wrongly called
* commit '9de5cfc67a4e349c547e40678add27cdd6ca8490':
  Fix a crash where revertSwap would be wrongly called
2012-01-11 19:54:43 -08:00
Jean Chalard
852630ba34 Add a sanity check
Check if any character is both a magic space swapper and
a magic space stripper for the current language, and throw
an exception if found. Since this is expensive, it's done
only in debug mode.

Change-Id: Ibd166db87c91495b76878ea0e4f420a62c7bb276
2012-01-12 12:44:49 +09:00
Jean Chalard
9de5cfc67a Fix a crash where revertSwap would be wrongly called
This would crash the program when inputting a punctuation
symbol that should not swap with a weak space through the
suggestion strip, then press backspace.
Those include all two-part punctuation symbols in French for
example, as well as magic space strippers like the dash in
English. For English all suggestion strips symbols happen to
be magic space swappers so this would not happen in English
by default.
Also fix a typo.

Change-Id: Ia40678c264e978509b5786290a75a3c57181648e
2012-01-12 11:55:40 +09:00
Jean Chalard
cd2286fff1 Fix a bug where last candidate would not be reset
Bug: 5851148
Change-Id: Ic270318842d8e16bc62d78d5fe0d6be0ca1fb532
2012-01-12 11:16:51 +09:00