Commit graph

33792 commits

Author SHA1 Message Date
Baligh Uddin
9e11e22adb Merge "Import translations. DO NOT MERGE" 2014-10-05 17:53:52 +00:00
Baligh Uddin
eb78c8a5a0 Import translations. DO NOT MERGE
Change-Id: Iad17411e9d4d02524072c0569f1a3dce52010a49
Auto-generated-cl: translation import
2014-10-05 02:56:42 -07:00
Baligh Uddin
9d28970b2b Import translations. DO NOT MERGE
Change-Id: I4314a00b07c73c343c3852745727e635b21ec462
Auto-generated-cl: translation import
2014-10-05 02:54:06 -07:00
Baligh Uddin
4f4ef946ad Import translations. DO NOT MERGE
Change-Id: Ie3bd15488ad9d5594a95dd2734eab17189740b35
Auto-generated-cl: translation import
2014-10-05 02:51:05 -07:00
Ken Wakasa
46fcb3f91f Merge "Revert "[ML14] Forward the locale list to relevant places"" 2014-10-03 23:50:01 +00:00
Ken Wakasa
faefad5b0f Revert "[ML14] Forward the locale list to relevant places"
This reverts commit 15dbd38283.

Bug: 11230254

Reverting due to unit test breakage.

Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe
2014-10-03 23:48:53 +00:00
Tadashi G. Takaoka
37ba3ddd54 Merge "Use Theme.DeviceDefault.Settings" 2014-10-03 14:48:49 +00:00
Jean Chalard
15dbd38283 [ML14] Forward the locale list to relevant places
Bug: 11230254
Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
2014-10-03 23:20:38 +09:00
Tadashi G. Takaoka
a55c601493 Use Theme.DeviceDefault.Settings
Bug: 13888366
Change-Id: Ib0bc35462f453438b295f8d4e1bc919ef709bf99
2014-10-03 22:41:46 +09:00
Ken Wakasa
3a41528cbe Merge "Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFile" 2014-10-03 12:04:05 +00:00
Keisuke Kuroyanagi
73edc1eed9 Merge "Simplify dictionary creation in unit tests." 2014-10-03 11:42:58 +00:00
Akifumi Yoshimoto
6164f1fcb9 Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFile
Bug:17097992
Change-Id: Ic26c95fccb63d592883f85fe34f4570f1861b8c3
2014-10-03 20:07:41 +09:00
Keisuke Kuroyanagi
82e87f4f7f Merge "Fix: NPE in unit test." 2014-10-03 10:59:28 +00:00
Keisuke Kuroyanagi
ef903a81ac Simplify dictionary creation in unit tests.
Change-Id: Id1b41494701f54651d7f79aba426e15cca8d898d
2014-10-03 19:59:15 +09:00
Keisuke Kuroyanagi
2522a4a477 Fix: NPE in unit test.
Change-Id: I769b43f2afa1151d5c0d9c408018c3932be377dc
2014-10-03 19:53:23 +09:00
Jean Chalard
33cbd1fb38 Align a compat file for a change in native signature
Change-Id: I89eb530c1a44e5ea9b5fcb37c792cb8c81d6dc1c
2014-10-03 19:35:18 +09:00
Akifumi Yoshimoto
80861cde9d Merge "Fix bug of testCharacterTableIsPresent (dicttool test)" 2014-10-03 10:07:04 +00:00
Akifumi Yoshimoto
71f9b8d50b Fix bug of testCharacterTableIsPresent (dicttool test)
Bug:17097992
Change-Id: Ibe343b8cc704631e84ed9d3a39feee30a54bdc38
2014-10-03 18:56:41 +09:00
Tadashi G. Takaoka
826186f66b Use Devanagari Danda letter as full stop on Nepali keyboard
Bug: 17741882
Change-Id: I62e8c9a3f194b9a3a6724c7d1a92292b150ddeb9
2014-10-03 09:48:18 +00:00
Keisuke Kuroyanagi
3d7681d8e5 Merge "Remove -fno-inline from profiling build." 2014-10-03 09:35:14 +00:00
Jean Chalard
332f43275d Merge "Fix a behavior change in dicttool" 2014-10-03 09:33:28 +00:00
Jean Chalard
d415747a27 Merge "[ML13] Fix the locale passing in ProximityInfo" 2014-10-03 09:24:49 +00:00
Tadashi G. Takaoka
96d31df8c4 Fix when to show input view
Bug: 15922840
Bug: 17788786
Change-Id: I69aea682202650b601a295d9da583ef8e05a3982
2014-10-03 18:20:06 +09:00
Jean Chalard
4ef27c0358 [ML13] Fix the locale passing in ProximityInfo
The locale is used to determine additional proximity characters. This
is dependent on the dictionary language, but was passed as a function
of the layout, which is wrong and would have given bad suggestions in
multi-lingual mode.

Ideally, additional proximity characters should be inserted in the
dictionary header, but for now it's a rather simple change to get
it from the dictionary's locale instead of the proximity info locale.

Also, that allows us to remove completely the locale parameter from
proximity info, which is a much needed change.

This change has zero effect on unit tests and on regression tests.

Bug: 11230254
Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4
2014-10-03 18:16:34 +09:00
Keisuke Kuroyanagi
3da610d5a6 Remove -fno-inline from profiling build.
Bug: 17797064
Change-Id: I0ab60e2da8c9f509de472afbc3ad32e41e69e73c
2014-10-03 18:16:19 +09:00
Jean Chalard
b28d1cc487 Fix a behavior change in dicttool
The behavior change was introduced by I8b3458ad. Concretely,
empty bigram lists would end up as empty lists instead of null.

Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5
2014-10-03 18:04:10 +09:00
Jean Chalard
fb051c3957 Merge changes I3c1f5ac1,I269c9aa8
* changes:
  Switch code point table
  Test for code point table (dicttool test)
2014-10-03 07:55:59 +00:00
Jean Chalard
a4244df846 Merge "Add calls to stub for API to consume gesture data." 2014-10-03 07:26:25 +00:00
David Faden
c92c883fdf Add calls to stub for API to consume gesture data.
Bug: 17400259
Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
2014-10-03 15:01:34 +09:00
Tadashi G. Takaoka
72ee0bdf18 Merge "Refactor keyboard layout unit tests" 2014-10-03 04:03:03 +00:00
Tadashi G. Takaoka
61a1e46dd1 Fix Hindi vowel sign candra E on ICS device
Change-Id: I160f3c9f8671b6dc8a38a06fe2be50dbb27919a9
2014-10-03 11:55:10 +09:00
Tadashi G. Takaoka
6959a0f214 Refactor keyboard layout unit tests
- Move predfined keys definitions to AbstractLayerBase and make it a
  top-level class.
- LayoutCustomizer extends AbstractLayoutBase that provides unit tests
  to access helper method and predefined key easily.
- Move shared layout custmizers to new layout.customizer package.
- Move private layout customizers to layout classes.

Change-Id: I9421cef1bedf5759fb0434842ac13a3fe3320b69
2014-10-03 10:44:26 +09:00
Tadashi G. Takaoka
c5e6ce7bfe Merge "Fix ellipsizing and text scale x calculation" 2014-10-02 13:34:24 +00:00
Baligh Uddin
8ea7adb9be am 4d84487c: (-s ours) am 9684d481: (-s ours) am 1bf3bb5d: (-s ours) am abc95f78: (-s ours) am d3a5b55b: (-s ours) Import translations. DO NOT MERGE
* commit '4d84487cdc0149489d6fb8e6faf7ef27788a03d4':
  Import translations. DO NOT MERGE
2014-10-02 12:52:08 +00:00
Baligh Uddin
4d84487cdc am 9684d481: (-s ours) am 1bf3bb5d: (-s ours) am abc95f78: (-s ours) am d3a5b55b: (-s ours) Import translations. DO NOT MERGE
* commit '9684d4811794b3785999e6aeadc56c1ea64ab752':
  Import translations. DO NOT MERGE
2014-10-02 12:39:19 +00:00
Tadashi G. Takaoka
049d642cc4 Fix ellipsizing and text scale x calculation
Bug: 17742721
Bug: 11158757
Change-Id: I98b55a8e661804e84f75e75675c6f2ef33ac1a11
2014-10-02 19:58:24 +09:00
Yohei Yukawa
45ebb2001d Merge "Preserve spans when splitting sentences" 2014-10-02 09:29:23 +00:00
Jean Chalard
371d76ff07 Merge "[ML12] Add a getPrimaryLocale function and some refactoring" 2014-10-02 09:20:04 +00:00
Jean Chalard
1c0876dc49 [ML12] Add a getPrimaryLocale function and some refactoring
Bug: 11230254
Change-Id: Ic579b93702c24f47e6cdb0c9a4da6b11f1fa76c8
2014-10-02 18:15:35 +09:00
Akifumi Yoshimoto
7e5614520a Merge "Include a code point table in the binary dictionary." 2014-10-02 08:55:18 +00:00
Tadashi G. Takaoka
1a7da2ec49 Merge "Change package of subtype count unit test" 2014-10-02 07:51:16 +00:00
Tadashi G. Takaoka
a5cdd6f4c5 Merge "Fix unnecessary touch event handling" 2014-10-02 07:51:02 +00:00
Yohei Yukawa
3852cfa717 Preserve spans when splitting sentences
This CL fixes a bug that span information was unintentionally
removed when given sentences are split into words. Nothing is
changed in KitKat and prior because TextInfo never returns
spanned text until L.

Note that the spell checker service still doesn't rely on
span information even with this CL.

BUG: 16419551
Change-Id: I6ffb75ee6add4ae20e9d3dcfb90b65f097d70fba
2014-10-02 14:08:59 +09:00
Jean Chalard
c91166de54 Merge "Avoid downloading the metadata in quick succession." 2014-10-02 04:31:08 +00:00
Tadashi G. Takaoka
8ab46225b3 Fix unnecessary touch event handling
Bug: 17762449
Change-Id: I698ca91ab977aa65c7bd8a5fb82b3d91264cfbca
2014-10-02 12:48:26 +09:00
Akifumi Yoshimoto
f51d3667fc Switch code point table
Bug:17097992
Change-Id: I3c1f5ac183ebb5d3757b8ff258655869ab61f2e7
2014-10-02 12:28:04 +09:00
Akifumi Yoshimoto
25c884ba65 Test for code point table (dicttool test)
Bug:17097992
Change-Id: I269c9aa86378f32083f8688f4ce91862d47dd181
2014-10-02 12:28:04 +09:00
Akifumi Yoshimoto
9168ab60cf Include a code point table in the binary dictionary.
Bug:17097992
Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
2014-10-02 12:27:49 +09:00
Tadashi G. Takaoka
f2c64cd644 Change package of subtype count unit test
Change-Id: Ie191c0607bb8388632fda5d276dd95f962676e3e
2014-10-02 12:25:50 +09:00
Keisuke Kuroyanagi
0afad267c5 Merge "Implement updateCounter() by using existing entry adding methods." 2014-10-02 02:09:23 +00:00