Commit graph

32379 commits

Author SHA1 Message Date
Jean Chalard
88a522cf9b am ad2cf220: Merge "Remove a call to a deprecated method"
* commit 'ad2cf220a9f05d0cee8670ebc9f963daa788cf85':
  Remove a call to a deprecated method
2014-02-19 22:42:05 -08:00
Jean Chalard
ad2cf220a9 Merge "Remove a call to a deprecated method" 2014-02-20 06:40:46 +00:00
Tadashi G. Takaoka
93562fc0df am 251ed3b3: Merge "Revert "Turn off personalization default settings""
* commit '251ed3b358693d06f60fb87914f8b3955f077429':
  Revert "Turn off personalization default settings"
2014-02-19 22:28:08 -08:00
Tadashi G. Takaoka
251ed3b358 Merge "Revert "Turn off personalization default settings"" 2014-02-20 06:26:48 +00:00
Tadashi G. Takaoka
c2ba73ab41 Revert "Turn off personalization default settings"
This reverts commit 0a4ac795d6.

Bug: 10587358
Change-Id: Ib4c472756fb9a6ebba4a66d34a9652f1b5afc714
2014-02-20 06:06:29 +00:00
Keisuke Kuroyanagi
6b23749dec Check all enabled IME's subtypes to enable personalization.
Bug: 13067743

Change-Id: I6fc68b5151430a5ab51777f4c381e20f5a657924
2014-02-20 15:05:37 +09:00
Jean Chalard
c44b7312ad Remove a call to a deprecated method
...that would cause a crash

Bug: 13082186
Change-Id: Ie12575c27dfdd2029bc9d5f0647e444f69770afc
2014-02-20 14:40:38 +09:00
Tadashi G. Takaoka
eb1cf55cd9 am f16d63c6: Tweak key popup animation parameters
* commit 'f16d63c644acac34085943adc21d73c91d5f58b9':
  Tweak key popup animation parameters
2014-02-19 21:38:51 -08:00
Tadashi G. Takaoka
f16d63c644 Tweak key popup animation parameters
Key popup show up start scale 98%
Key popup dismiss end scale 94%
Key popup show up duration 17ms
Key popup dismiss duration 53ms

Bug: 11518021
Change-Id: Icfde99969163f05cfaed1050ea074545d44db13b
2014-02-20 14:20:44 +09:00
Jean Chalard
be8ad77ebb Comments improvements
Typo fixes and clarifications

Change-Id: I0f7e0b6e665232bb995172fff10521c7f17599eb
2014-02-20 13:29:43 +09:00
Baligh Uddin
6ba93ce718 am bb173540: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'bb17354041ed4fff635e2f324bd55a3d79a5cfe5':
  Import translations. DO NOT MERGE
2014-02-19 14:20:09 -08:00
Baligh Uddin
bb17354041 Merge "Import translations. DO NOT MERGE" 2014-02-19 22:16:21 +00:00
Baligh Uddin
d520f3927a Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-02-19 22:16:00 +00:00
Keisuke Kuroyanagi
c1f67233c8 am 34fb9625: Call PersonalizationDictionarySessionRegistrar.init().
* commit '34fb962513ce25ad81149bfc4034b40131ce03fa':
  Call PersonalizationDictionarySessionRegistrar.init().
2014-02-19 06:36:18 -08:00
Keisuke Kuroyanagi
34fb962513 Call PersonalizationDictionarySessionRegistrar.init().
Wrongly removed in I1f50cb137b6054dc9.

Bug: 13067743
Change-Id: I27cd221cb7f6e403c3fc128d65d14dbf628b6f55
2014-02-19 23:27:14 +09:00
Keisuke Kuroyanagi
f8c4a401b6 am 4377ae31: Merge "Fix: crash when opening a broken dictionary."
* commit '4377ae31cff5650fad43acc5b2fe63a10b6df038':
  Fix: crash when opening a broken dictionary.
2014-02-19 05:48:45 -08:00
Keisuke Kuroyanagi
4377ae31cf Merge "Fix: crash when opening a broken dictionary." 2014-02-19 13:45:23 +00:00
Keisuke Kuroyanagi
303e767728 Fix: crash when opening a broken dictionary.
Bug: 13085169
Change-Id: Icfb6184dfefc6a336432203c071d9e30ae8bf990
2014-02-19 22:11:09 +09:00
Keisuke Kuroyanagi
ae034a1eb9 am d102eb80: Remove personalization dicts for multilingual users.
* commit 'd102eb80da07de6b9541c3e8d767441d84257b8d':
  Remove personalization dicts for multilingual users.
2014-02-19 04:05:54 -08:00
Keisuke Kuroyanagi
d102eb80da Remove personalization dicts for multilingual users.
Bug: 13067743
Change-Id: I1f50cb137b6054dc9442237586b70fc0aa2bf427
2014-02-19 21:00:27 +09:00
Tadashi G. Takaoka
4f9fbad114 am 920c40fe: Use AlertDialog.setOnDismissListener
* commit '920c40fe45c446f738a3d8e9fe7b321b8e92eb2e':
  Use AlertDialog.setOnDismissListener
2014-02-19 02:12:10 -08:00
Tadashi G. Takaoka
920c40fe45 Use AlertDialog.setOnDismissListener
AlertDialog.Builder.setOnDismissListener is supported from API 17.

Bug: 10587358
Change-Id: Ie8ce8e283b803f7f6bb58ced446e676339f980eb
2014-02-19 19:05:06 +09:00
Tadashi G. Takaoka
433651a228 am ed616083: Merge "Turn personalization on when important notice dialog is displayed"
* commit 'ed616083dda090775c6d17ca073ccb80aaa1c4bd':
  Turn personalization on when important notice dialog is displayed
2014-02-19 01:49:29 -08:00
Tadashi G. Takaoka
ed616083dd Merge "Turn personalization on when important notice dialog is displayed" 2014-02-19 09:46:15 +00:00
Tadashi G. Takaoka
6abc852255 Turn personalization on when important notice dialog is displayed
This change must be checked in together with Ifde70b1d3b.

Bug: 10587358
Change-Id: I9dc48f9d521e0e6f6269e4f184389ba805f3053f
2014-02-19 18:36:32 +09:00
Tadashi G. Takaoka
a58431003c am 3a7ed5fd: Merge "Fix IllegalStateException raied by monkey"
* commit '3a7ed5fdfe5e2ceaabe80532a75380e2c6c1e012':
  Fix IllegalStateException raied by monkey
2014-02-19 00:30:19 -08:00
Tadashi G. Takaoka
3a7ed5fdfe Merge "Fix IllegalStateException raied by monkey" 2014-02-19 08:27:37 +00:00
Tadashi G. Takaoka
9fd7447d6c Fix IllegalStateException raied by monkey
Bug: 13082467
Change-Id: I9290974821d22067e7ddd60dce441b11ca533a0f
2014-02-19 16:40:52 +09:00
Keisuke Kuroyanagi
20dee7106e am 03105290: Merge "Throw exception when the header cannot be read."
* commit '03105290d840c86b6fe9376bade466e606391141':
  Throw exception when the header cannot be read.
2014-02-18 21:01:16 -08:00
Keisuke Kuroyanagi
03105290d8 Merge "Throw exception when the header cannot be read." 2014-02-19 04:59:47 +00:00
Tadashi G. Takaoka
b68eff5f7d am 776bba09: Merge "Turn off personalization default settings"
* commit '776bba098b8777763128e78bc3f110a7250e27ae':
  Turn off personalization default settings
2014-02-18 20:26:30 -08:00
Tadashi G. Takaoka
776bba098b Merge "Turn off personalization default settings" 2014-02-19 04:25:04 +00:00
Keisuke Kuroyanagi
b7dbfcfe58 am e49e007b: Fix: Use old suggest after reloading.
* commit 'e49e007bb233ab9ac0bfa8a36fcb4a67e41496c8':
  Fix: Use old suggest after reloading.
2014-02-18 19:46:58 -08:00
Keisuke Kuroyanagi
97a40d030f Throw exception when the header cannot be read.
Bug: 13066902
Change-Id: I8fd0f361a4ca55aaab8a2bd2e11f48f92b87fc93
2014-02-19 12:35:58 +09:00
Keisuke Kuroyanagi
e49e007bb2 Fix: Use old suggest after reloading.
Change-Id: Icb2821f61c4203254b7d573cad5ce71fbf0ed841
2014-02-19 12:34:09 +09:00
Tadashi G. Takaoka
0a4ac795d6 Turn off personalization default settings
Because the previous personalization settings default value was on,
this CL changes the preference key of the personalization settings.

Bug: 10587358
Change-Id: I80233e8af4b532d8c67d8fb184c2865862bb35dd
2014-02-19 12:08:50 +09:00
Keisuke Kuroyanagi
c5a953da21 am f2a6f2db: Merge "Fix: using wrong method to call ArrayList.add."
* commit 'f2a6f2db3e77587f952c5628bd1e4223d7b26b64':
  Fix: using wrong method to call ArrayList.add.
2014-02-18 18:30:08 -08:00
Keisuke Kuroyanagi
f2a6f2db3e Merge "Fix: using wrong method to call ArrayList.add." 2014-02-19 02:27:33 +00:00
Keisuke Kuroyanagi
14fe931362 Fix: using wrong method to call ArrayList.add.
bug: 13072808
Change-Id: I60dc5ae1e535f2f0b3784a12c40ac082560a436f
2014-02-19 11:24:39 +09:00
Ken Wakasa
bab654e31f am 7e79814a: Fix wrong Java method call function
* commit '7e79814aa33890a1d1b4abfdbdc11b5714112d16':
  Fix wrong Java method call function
2014-02-18 06:45:46 -08:00
Ken Wakasa
7e79814aa3 Fix wrong Java method call function
bug: 13072808

Change-Id: I189fda85b59ce40e3657bfbbcc313e7e1225a0da
2014-02-18 23:40:24 +09:00
Jean Chalard
c67cb7ce75 am 0b03681f: Merge "Fix build"
* commit '0b03681fd580e6e580c1d6be0ec53604bcf0c328':
  Fix build
2014-02-18 03:12:33 -08:00
Jean Chalard
83d21b8703 am 80d413ca: Merge "Straighten out database cursors behavior."
* commit '80d413caff342149aea958199cd343ebc75c8e91':
  Straighten out database cursors behavior.
2014-02-18 03:12:31 -08:00
Jean Chalard
0b03681fd5 Merge "Fix build" 2014-02-18 11:10:06 +00:00
Jean Chalard
80d413caff Merge "Straighten out database cursors behavior." 2014-02-18 11:09:38 +00:00
Jean Chalard
fbb8cb5a82 Fix build
This is a forgotten rebase

Change-Id: I7c7c381775488ed9239dc284bd9c31247a86a972
2014-02-18 20:08:53 +09:00
Jean Chalard
6eb49ba835 am 28e0b249: Merge "Fix a bug where the cache would be out of sync"
* commit '28e0b249650d08f25f2b7da8034e09a244be825c':
  Fix a bug where the cache would be out of sync
2014-02-18 03:01:35 -08:00
Jean Chalard
28e0b24965 Merge "Fix a bug where the cache would be out of sync" 2014-02-18 10:58:50 +00:00
Jean Chalard
b8ff8ca9d9 Straighten out database cursors behavior.
Some were never closed, other closed twice. This change
makes all Cursor instances behave, having the #close()
call in a finally{} clause, and puts the burden of closing
the cursor squarely on the creator rather than in the
called methods.
There is however one exception that is beyond the scope
of this change: UserDictionarySettings have a Cursor
member, it's never closed, and fixing the problem is not
obvious. This change adds a TODO for now.

It's not very clear if this change actually helps with
bug#12670151, but it may be related and it's a good
think to do anyway.

Bug: 12670151
Change-Id: I87cc44387e7dee3da1488671b93a28d9d73f7dc0
2014-02-18 19:58:23 +09:00
Jean Chalard
fe92c174ea Fix a bug where the cache would be out of sync
During recorrection, the cursor position when calling
commitText is not necessarily at the end of the
composing text.
Besides, RichInputConnection assumes the cursor is
always after any composing text. This is not correct,
but in the practice, it seems all code paths work.
We should fix this in the future.

Bug: 13060691
Change-Id: I15f71fff62d36e80cf6e4a022c5e78af634b199d
2014-02-18 19:55:54 +09:00