Commit Graph

35804 Commits (c668e12c8710d0f8394e91cc1d490eb5f64b5734)

Author SHA1 Message Date
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 f3bcb22c8e am fb051c39: Merge changes I3c1f5ac1,I269c9aa8
* commit 'fb051c3957ae17061204b06258aec3b2e0f05034':
  Switch code point table
  Test for code point table (dicttool test)
2014-10-03 07:59:15 +00: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 d780b1a19b am a4244df8: Merge "Add calls to stub for API to consume gesture data."
* commit 'a4244df846d055f1c95a68565478e2183871e489':
  Add calls to stub for API to consume gesture data.
2014-10-03 07:28:39 +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 1dee4b62b0 am 72ee0bdf: Merge "Refactor keyboard layout unit tests"
* commit '72ee0bdf18891b806159121e2e511a15d9e49eaa':
  Refactor keyboard layout unit tests
2014-10-03 04:07:15 +00:00
Tadashi G. Takaoka 72ee0bdf18 Merge "Refactor keyboard layout unit tests" 2014-10-03 04:03:03 +00:00
Tadashi G. Takaoka 9c17a815e9 am 61a1e46d: Fix Hindi vowel sign candra E on ICS device
* commit '61a1e46dd1b065eb1e13ab44fb446ee6e705d626':
  Fix Hindi vowel sign candra E on ICS device
2014-10-03 03:51:04 +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 917a3a4843 am c5e6ce7b: Merge "Fix ellipsizing and text scale x calculation"
* commit 'c5e6ce7bfed99e63a580b6d311d42f7294709e1a':
  Fix ellipsizing and text scale x calculation
2014-10-02 13:38:56 +00:00
Tadashi G. Takaoka c5e6ce7bfe Merge "Fix ellipsizing and text scale x calculation" 2014-10-02 13:34:24 +00:00
Baligh Uddin ad235ceb86 am 8ea7adb9: (-s ours) 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 '8ea7adb9bed0ffb771065f4626e5aad0117ca9af':
  Import translations. DO NOT MERGE
2014-10-02 12:59:08 +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 691ac05085 am 45ebb200: Merge "Preserve spans when splitting sentences"
* commit '45ebb2001d5fe88f1b726cdba3011de3a606eaa6':
  Preserve spans when splitting sentences
2014-10-02 09:36:07 +00:00
Yohei Yukawa 45ebb2001d Merge "Preserve spans when splitting sentences" 2014-10-02 09:29:23 +00:00
Jean Chalard c2902b8cbe am 371d76ff: Merge "[ML12] Add a getPrimaryLocale function and some refactoring"
* commit '371d76ff070ab962c9ab58588839965db36fdf13':
  [ML12] Add a getPrimaryLocale function and some refactoring
2014-10-02 09:29:09 +00:00
Akifumi Yoshimoto 918b05cc04 am 7e561452: Merge "Include a code point table in the binary dictionary."
* commit '7e5614520a581afa79a51677e973a9ff6dc29162':
  Include a code point table in the binary dictionary.
2014-10-02 09:29:07 +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 9443530625 am 1a7da2ec: Merge "Change package of subtype count unit test"
* commit '1a7da2ec49547423d5071a8fd5b45dcd949ec332':
  Change package of subtype count unit test
2014-10-02 07:54:33 +00:00
Tadashi G. Takaoka 0747228f15 am a5cdd6f4: Merge "Fix unnecessary touch event handling"
* commit 'a5cdd6f4c521acf84d8491757e2cc9181ad836e5':
  Fix unnecessary touch event handling
2014-10-02 07:54:31 +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 f230b8f76a am c91166de: Merge "Avoid downloading the metadata in quick succession."
* commit 'c91166de54137f1d22959ec61f8468fc4a4e1444':
  Avoid downloading the metadata in quick succession.
2014-10-02 04:35:13 +00: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 131306aafa am 0afad267: Merge "Implement updateCounter() by using existing entry adding methods."
* commit '0afad267c5a8ef1fbac0fa37b215638830b29604':
  Implement updateCounter() by using existing entry adding methods.
2014-10-02 02:12:38 +00:00
Keisuke Kuroyanagi 0afad267c5 Merge "Implement updateCounter() by using existing entry adding methods." 2014-10-02 02:09:23 +00:00
Baligh Uddin 9684d48117 am 1bf3bb5d: (-s ours) am abc95f78: (-s ours) am d3a5b55b: (-s ours) Import translations. DO NOT MERGE
* commit '1bf3bb5de371b3f9d9e3709f5df32009c9c18348':
  Import translations. DO NOT MERGE
2014-10-01 22:29:39 +00:00
Baligh Uddin 1bf3bb5de3 am abc95f78: (-s ours) am d3a5b55b: (-s ours) Import translations. DO NOT MERGE
* commit 'abc95f78159bbd696df8822294e2294add3a073c':
  Import translations. DO NOT MERGE
2014-10-01 22:16:53 +00:00
Baligh Uddin abc95f7815 am d3a5b55b: (-s ours) Import translations. DO NOT MERGE
* commit 'd3a5b55ba7ef368f2de25d03d3d51c98146a80ce':
  Import translations. DO NOT MERGE
2014-10-01 19:36:20 +00:00
Baligh Uddin d0f2c5c254 am 5a4e1c5a: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '5a4e1c5a67bbb64b6be880c4be41a6e6871769b5':
  Import translations. DO NOT MERGE
2014-10-01 19:34:32 +00:00
Baligh Uddin 16596b3af6 am ac43af5e: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'ac43af5eaf23c3b7074d53fda3a15623106cdcb9':
  Import translations. DO NOT MERGE
2014-10-01 19:34:30 +00:00
Baligh Uddin a93c1127ba am aad590f7: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'aad590f7019899237b1a1e4b71ca4ace02d0abb3':
  Import translations. DO NOT MERGE
2014-10-01 19:34:29 +00:00
Baligh Uddin 3f9f522f32 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-01 19:32:07 +00:00
Baligh Uddin 5a4e1c5a67 Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:58 +00:00
Baligh Uddin ac43af5eaf Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:54 +00:00
Baligh Uddin 13820401d6 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-01 19:30:50 +00:00