Commit Graph

33251 Commits (4ef27c035892888df82d9c9f32ac12ed48c8308f)

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
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
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 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 aad590f701 Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:48 +00:00
Tadashi G. Takaoka 47c9c32c10 Merge "Enable preliminary Sinhara keyboard for dogfood" 2014-10-01 14:35:12 +00:00
Keisuke Kuroyanagi 29777e3a8a Implement updateCounter() by using existing entry adding methods.
Bug: 14425059
Change-Id: I0b6cb80e1fb8f738e9c7d9e80fbc0c479546b879
2014-10-01 19:59:39 +09:00
Jean Chalard 2910990065 Merge "Never include the typed word in recorrections" 2014-10-01 10:34:22 +00:00
Jean Chalard eff21b653f Merge "Make a better effort to detect a framework lie." 2014-10-01 10:24:32 +00:00
Jean Chalard 38144047ea Make a better effort to detect a framework lie.
Bug: 17130496
Change-Id: I1a3631670c152d9b7667c9c4e08e14c48569eef5
2014-10-01 19:17:31 +09:00
Jean Chalard 7f226b4f9d Merge "Fix an NPE on ICS factory rom." 2014-10-01 10:16:40 +00:00
Tadashi G. Takaoka 2a6176fc65 Enable preliminary Sinhara keyboard for dogfood
Bug: 6911143
Change-Id: I38241d00567b25d1c6ba352f5b01eb8d8d532e0f
2014-10-01 09:36:56 +00:00
Jean Chalard 57e29436b1 Fix an NPE on ICS factory rom.
In ICS factory rom and MR0, there was a bug where calling the
constructor for SuggestionSpan that doesn't take a context as
an argument would always return in a crash. Don't call it,
and pass an explicit context instead.

Bug: 13552505
Change-Id: I5c919499b9d086c2cf283795b2af5b91cb425933
2014-10-01 18:33:47 +09:00
Jean Chalard 4c90df7e5b Never include the typed word in recorrections
Bug: 17623275
Change-Id: I2461e5e8baf06fb80a05b87f9d3db7a4d1952a01
2014-10-01 18:32:02 +09:00
Tadashi G. Takaoka 31c16d41bc Add Uzbek keyboard
Bug: 13222403
Change-Id: I9a4cf447a8ab0c26c4dc7f7794c57390024660cc
2014-10-01 09:29:34 +00:00
Tadashi G. Takaoka 79d992ccba Merge "Use Devanagari Danda letter as full stop on Hindi keyboard" 2014-10-01 09:29:14 +00:00
Tadashi G. Takaoka a987f6d0cc Use Devanagari Danda letter as full stop on Hindi keyboard
Bug: 17418371
Change-Id: I22bb2913015a83604301576e68095974c38b7c9a
2014-10-01 18:20:31 +09:00
Keisuke Kuroyanagi bcb439e702 Merge "Add jni method to update entries for a word efficiently." 2014-10-01 08:57:02 +00:00
Keisuke Kuroyanagi ce5fd94b97 Add jni method to update entries for a word efficiently.
Bug: 14425059
Change-Id: Ic628939ea68cdee17573409883a8403c73b78905
2014-10-01 17:40:20 +09:00
Keisuke Kuroyanagi 841aa0b6f8 Merge "Move HistoricalInfo to property and use it in *Property." 2014-10-01 08:29:14 +00:00
Tadashi G. Takaoka d368975cdb Merge "Add Akkhor Layout for Bengali Bangladesh" 2014-10-01 08:13:46 +00:00
Tadashi G. Takaoka f41c11a5c0 Merge "Fix when to show more suggestions dot hint" 2014-10-01 07:58:28 +00:00
Tadashi G. Takaoka 0487290f0f Merge "Fix NPE in KeyboardParams" 2014-10-01 07:54:47 +00:00
Keisuke Kuroyanagi 108dad1491 Merge "Introduce NgramProperty in Java side." 2014-10-01 07:53:04 +00:00