Commit Graph

9078 Commits (a021d1d8e0fb87374e2e859633085e0da3b773aa)

Author SHA1 Message Date
Keisuke Kuroyanagi 251999bfd1 Merge "Show amanatto settings only when in debug mode." 2013-11-19 06:21:24 +00:00
Keisuke Kuroyanagi eacb44b38d Show amanatto settings only when in debug mode.
Bug: 11740462
Change-Id: I206b16ab785215c6fa64e740a6dd46588c633ec8
2013-11-19 14:40:20 +09:00
Satoshi Kataoka 2f67375708 am 136b32c9: am ea6dcd69: am 5707b216: Show mic key option on sw540 device
* commit '136b32c975827ac0171e10ab089952c0ef706571':
  Show mic key option on sw540 device
2013-11-18 09:18:11 -08:00
Satoshi Kataoka ea6dcd69e0 am 5707b216: Show mic key option on sw540 device
* commit '5707b21647630dde1f5890804908582218e67f51':
  Show mic key option on sw540 device
2013-11-18 09:10:10 -08:00
Tadashi G. Takaoka 4362ded01c Clean up dangling resources
Bug: 11737015
Change-Id: I2e1ad4bc4e6e88080f9c88561813b06a0f150780
2013-11-18 15:04:29 +09:00
Satoshi Kataoka 5707b21647 Show mic key option on sw540 device
Bug: 11737760

Change-Id: Id50a7d393acf755cb04d3f8dc60327abeee5a671
2013-11-18 14:15:54 +09:00
Satoshi Kataoka 9fc0337b5b Use SDK19 APIs
Change-Id: I88ea9ae0b47166f551f30b244a159578aeb18a30
2013-11-18 11:40:10 +09:00
Kurt Partridge 0a51c2b657 Merge "Track selection end in RichInputConnection" 2013-11-16 00:55:43 +00:00
Kurt Partridge d564466d30 Track selection end in RichInputConnection
Change-Id: Ie5cffe03b676dcde83896cda139b42f3829eb528
2013-11-15 16:49:24 -08:00
Tadashi G. Takaoka 2cbcc987ee Merge "Fix unusual NPE after onDestroy" 2013-11-15 09:03:51 +00:00
Tadashi G. Takaoka ffb064656e Fix unusual NPE after onDestroy
Bug: 11673978
Change-Id: I4d5268312911685ff1ca9483a62442a1a9686c62
2013-11-15 17:48:10 +09:00
Tadashi G. Takaoka be734d298a Return copied String array from getStringArray method
In the Key class constructor, elements in a String[] instance returned
from DeclaredKeyStyle.getStringArray() may be altered by
KeySpecParser.get(Int|Boolean)Value methods.

Bug: 11245712
Change-Id: I3a7fc5ccdb2a14efb72c402dd11559ab13e08596
2013-11-15 17:19:23 +09:00
Kurt Partridge 2bf3a77814 Rename mExpectedCursorStart to mExpectedSelStart
Change-Id: If23d8bd73fe464f12f473e093dc87ed68756e1ec
2013-11-14 07:45:02 -08:00
Kurt Partridge a2632aabf7 Merge "Extract method to reloadTextCache()" 2013-11-14 15:28:07 +00:00
Ken Wakasa 46636b08fb Merge "Update targetSdkVersion to KitKat" 2013-11-14 10:30:35 +00:00
Ken Wakasa ec256f4b8a Update targetSdkVersion to KitKat
Change-Id: I4682aa854b244b58080c964bed1c3017ce365e87
2013-11-14 19:26:25 +09:00
Tadashi G. Takaoka f7bb78fb58 Merge "Add keyboard color switch option" 2013-11-14 09:33:09 +00:00
Tadashi G. Takaoka 4c8a96cf88 Merge "Fix additional subtype id calculation" 2013-11-14 09:04:33 +00:00
Tadashi G. Takaoka 053424e56e Merge "Add StringUtils.joinCommaSplittableText" 2013-11-14 09:04:24 +00:00
Tadashi G. Takaoka b4c7a10840 Add keyboard color switch option
Bug: 11622614
Change-Id: I25aa1ff7376fe72fd94ab2cb7190c61d7a98a1af
2013-11-14 17:56:07 +09:00
Tadashi G. Takaoka 1d1db42d89 Fix additional subtype id calculation
Bug: 11678247
Change-Id: I4a2061fae264473e1ebff6961aa897367ef9cc09
2013-11-14 17:45:53 +09:00
Tadashi G. Takaoka 6589751ace Add StringUtils.joinCommaSplittableText
Change-Id: I80ad9d8b5aee53f1403486a56ffae8d09cbd4e28
2013-11-14 17:43:03 +09:00
Keisuke Kuroyanagi 97fdb184bc Purge ExpandableDictionary.
Bug: 11245133
Change-Id: Ia0886686d8add940409dcd5c883c34eb5289380d
2013-11-14 14:18:02 +09:00
Jean Chalard b87ed46118 Merge "Fix many small nits." 2013-11-13 06:10:39 +00:00
Jean Chalard 5a0bc6ac69 Fix many small nits.
...the interaction of which results in a very bad bug.

Bug: 11648854
Change-Id: I774489e384388f187e72b9ac091ab387c5e1a79a
2013-11-13 14:42:27 +09:00
Tadashi G. Takaoka 3b2171c898 Add microphone key as long press of comma
Bug: 11637249
Change-Id: Ib6202484ad12c63c8a38d8e12432007ab56d4a30
2013-11-13 12:04:24 +09:00
Tadashi G. Takaoka a2a1096406 Revert back punctuations to the more keys keyboard of the period
Bug: 11621857
Change-Id: I157164910fc6f23ef36c838d0a13792c766be223
2013-11-12 14:46:40 +09:00
Tadashi G. Takaoka 1c95c8ba3b Add JB/ICS resources from Azuki MR1 release
Bug: 11622614
Change-Id: I126fc42dd31e912788db0446b67a9d4ea80f848e
2013-11-12 13:04:47 +09:00
Tadashi G. Takaoka c10757e8e8 Rename KLP theme related resources
Bug: 11622614
Change-Id: I4e390aa263349d730b47502d84e4d528e7f5ce71
2013-11-11 20:01:00 +09:00
Tadashi G. Takaoka 4b37b2b3f6 Rename KLP/JB/ICS common resource name suffixes to _holo
Bug: 11622614
Change-Id: I53b5ff8b6627a38aef352855ad024213a450b40f
2013-11-11 19:08:07 +09:00
Tadashi G. Takaoka 1a6a8510b8 Relaxing CHAR LIMIT of strings.action-kes.xml to 7
Bug: 11589582
Bug: 11590257
Bug: 11590258
Bug: 11590364
Change-Id: Iab5b1ef8d29a3808c7270e33fc3c5e7e77104e25
2013-11-11 11:47:04 +09:00
Jean Chalard af8df16887 Remove an out-of-place check
Bug: 11584525
Change-Id: I76cc3e4ee21d62fbd56042adcf085efd5cafb53f
2013-11-08 20:32:43 +09:00
Tadashi G. Takaoka e998e51330 Merge "Tune Khmer keyboard using keyHintLabelVerticalAdjustment" 2013-11-07 10:35:12 +00:00
Tadashi G. Takaoka 541fa7858d Add keyLabelHintVerticalAdjustment attribute
Bug: 11546184
Change-Id: I1fbdbbdcf4d6a74888c48f2e4f0b7afce7913653
2013-11-07 19:29:23 +09:00
Tadashi G. Takaoka 028b425d4c Tune Khmer keyboard using keyHintLabelVerticalAdjustment
Bug: 11546184
Change-Id: I565c5202e3154e4f7d71611a9d68a02e57a1dd3c
2013-11-07 19:24:01 +09:00
Tadashi G. Takaoka 4d49908682 Move reference char/digit width/height method to TypefaceUtils
Change-Id: I3c94c23c31b273a07e145d381587ab0aa4ee8e68
2013-11-07 18:39:42 +09:00
Tadashi G. Takaoka 92248fd288 Add key press vibration value for Motorola DVX
Bug: 10884131
Change-Id: Id6d5589f3528de05c7b346ce55e926c3e18f22cc
2013-11-07 17:32:08 +09:00
Tadashi G. Takaoka 1f025a8541 Merge "Tune key label size of Khmer keyboard using autoScale" 2013-11-07 08:14:15 +00:00
Tadashi G. Takaoka 0a4f4b2bbd Add autoScale Key attribute
Bug: 11546184
Change-Id: I754e98dbc0689dbf14c52d4906141a150bde97a6
2013-11-07 16:56:37 +09:00
Kurt Partridge 4e1f8be3e5 Extract method to reloadTextCache()
Change-Id: Ibdaa9553cafeded15f800077606378b06af755cb
2013-11-06 23:43:56 -08:00
Tadashi G. Takaoka 92f9f6e5d2 Tune key label size of Khmer keyboard using autoScale
Bug: 11546184
Change-Id: I187b1e4205146f517c90de33aee9339d1d91f5b9
2013-11-07 16:09:07 +09:00
Tadashi G. Takaoka 0ea72c8519 Separate action key labels to strings-action-keys.xml
Bug: 11562208
Change-Id: I70390f9eafe51f16ff47b2e39454d1948a259469
2013-11-07 15:12:55 +09:00
Tadashi G. Takaoka 1e1ffa7663 Update popup panel background a bit draker
Bug: 11169026
Change-Id: I164ab69eb263f58000ffed7b7d97fc6b356147d5
2013-11-06 18:57:50 +09:00
Tadashi G. Takaoka aaf532e641 Fix possible RuntimeException in parsing saved addtional subtypes
Bug: 11488129
Change-Id: I91f333aee9f3ae8d4b1d5e67d47de30f361947f3
2013-11-06 17:16:24 +09:00
Tadashi G. Takaoka 463674f950 Merge "Remove unused vertical scrollable KeyboardView" 2013-11-05 10:26:14 +00:00
Tadashi G. Takaoka 78d2895c8d Remove unused vertical scrollable KeyboardView
Bug: 11517736
Change-Id: I9d71290112c2306336e136c94b628b533e386aaa
2013-11-05 19:15:20 +09:00
Baligh Uddin d075a7af41 Import translations. DO NOT MERGE
Change-Id: I103b96a481208d2d3525dd57df2387e9c61b84a3
Auto-generated-cl: translation import
2013-11-04 23:29:12 -08:00
Keisuke Kuroyanagi 9b3e59d644 Implement ver4 bigram reading method.
Bug: 11073222
Change-Id: I7b3408938f304da361201892e0a1342fdf92e62e
2013-11-05 16:00:26 +09:00
Baligh Uddin 9bd2e4c7e7 Merge "Import translations. DO NOT MERGE" 2013-11-01 14:28:43 +00:00
Baligh Uddin 9e80ef32f2 Import translations.
Cherry-picked from I83d28c60de84b09da48bd79aa9917f12bd850fdc

Change-Id: I55184cfd398bfe5c4a7dce8c41dd6ab60d5433d5
2013-11-01 03:57:10 +00:00
Baligh Uddin fb0f805e93 Import translations. DO NOT MERGE
Change-Id: Ic4bb5751c6ed8c07668f533604542c3fb1ef5909
Auto-generated-cl: translation import
2013-10-28 23:49:13 -07:00
Baligh Uddin ea596c4f7c Import translations. DO NOT MERGE
Change-Id: Ib8c870d0c974eb3b49ae29141aaa53e5f6a2cac9
Auto-generated-cl: translation import
2013-10-28 23:45:03 -07:00
Keisuke Kuroyanagi 67cff29fd4 Merge "Fix UserHistoryDictIOUtilsTests by adding @UsedForTesting." 2013-10-29 04:48:05 +00:00
Keisuke Kuroyanagi 82c962f1e0 Fix UserHistoryDictIOUtilsTests by adding @UsedForTesting.
Change-Id: I1bfeeafa002496bb98a385b87437e7f4eb0f6e1d
2013-10-28 21:46:05 -07:00
Satoshi Kataoka 40a3712a4c Merge "Show version in dumped info" 2013-10-29 02:43:09 +00:00
Satoshi Kataoka 5982b1ea08 Show version in dumped info
Bug: 10315296
Change-Id: Icb8e271451f4f9c5b083bfb5eb408372479c2140
2013-10-28 19:22:20 -07:00
Keisuke Kuroyanagi 388c953613 Fix tests by adding @UsedForTesting.
Change-Id: I5b98db67a083bde65bb0f2fb714ae2e799fb1d45
2013-10-28 17:16:01 -07:00
Satoshi Kataoka ba212e9d76 Add a facility to dump the dictionary contents while closing
Change-Id: I02e920e0512f2b46a778f0b23f7ca03f8d5dabe6
2013-10-28 11:25:38 -07:00
Keisuke Kuroyanagi 6e23e336ff Merge "Add a test for ver4 native binary dictionary." 2013-10-28 16:14:45 +00:00
Baligh Uddin d1575a9d89 Import translations. DO NOT MERGE
Change-Id: I9c2c9578bbc0a7036c7ee4c6b8a605ef90ae6001
Auto-generated-cl: translation import
2013-10-25 14:43:14 -07:00
Baligh Uddin c9dea6d6c2 Import translations. DO NOT MERGE
Change-Id: I9c4542106d4660da3b67907afa5696e91f537dd6
Auto-generated-cl: translation import
2013-10-25 14:39:08 -07:00
Keisuke Kuroyanagi 8e9df884aa Add a test for ver4 native binary dictionary.
Bug: 10197478
Bug: 11073222
Change-Id: I6daac6c4b048c65682c25afe6ca0fad83cc9720f
2013-10-25 12:32:30 -07:00
Jean Chalard 42de819ae8 am 1875860d: Stopgap solution for a crash.
* commit '1875860d2606eff269381ef0bb68db549ab4819d':
  Stopgap solution for a crash.
2013-10-22 08:11:48 -07:00
Jean Chalard d4b5bc1695 Merge "Preliminary refactor" 2013-10-22 11:26:54 +00:00
Jean Chalard b00ed46385 Preliminary refactor
Bug: 11328842
Change-Id: I7c22e951fef9bc4443c6b64625e25f632f876ab1
2013-10-22 20:16:17 +09:00
Jean Chalard 1875860d26 Stopgap solution for a crash.
This returns the wrong string, but since it's used for getting the
previous word for bigrams, it only results in slightly worse
suggestions quality.
Cherry-pick of I6ce5de2f

Bug: 11273655
Change-Id: I17fb6d74f18fb31bd8f8518f80456d74ae30a2c3
2013-10-22 20:07:06 +09:00
Jean Chalard 729abe6332 Stopgap solution for a crash.
This returns the wrong string, but since it's used for getting the
previous word for bigrams, it only results in slightly worse
suggestions quality.

Bug: 11273655
Change-Id: I6ce5de2f76effc453ca691a654ab6bf17445b9e7
2013-10-22 20:00:09 +09:00
Jean Chalard d869e1fdbb am f603fa1f: Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-dev
* commit 'f603fa1f0e8fc909bf2e1bc6e2d0c9b5a01c02c6':
  [DO NOT MERGE] Add a sequence number to SuggestedWords.
2013-10-21 23:36:51 -07:00
Jean Chalard 238941991d am f356a25f: [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
* commit 'f356a25f36952f59e9918daa35f7ff6e5235a37d':
  [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
2013-10-21 23:36:49 -07:00
Jean Chalard f603fa1f0e Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-dev 2013-10-22 06:34:55 +00:00
Jean Chalard 6b8d2d31f9 [DO NOT MERGE] Add a sequence number to SuggestedWords.
This allows testing for suggestion freshness in an asynchronous
suggestions world.
Cherry-pick of Ic76cd175

Bug: 11301597
Change-Id: I45a84de0632062475eebe30234b3147f1c680359
2013-10-22 04:03:52 +00:00
Jean Chalard f356a25f36 [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
Cherry-pick of I62955e36

Bug: 11311002
Change-Id: I5b11cb48e6dd0563fc29566fe0d27864be2beb0a
2013-10-22 04:03:17 +00:00
Jean Chalard 926ebe849a Merge "Add a sequence number to SuggestedWords." 2013-10-22 04:02:11 +00:00
Jean Chalard ac76463306 Add a sequence number to SuggestedWords.
This allows testing for suggestion freshness in an asynchronous
suggestions world.

Bug: 11301597
Change-Id: Ic76cd17568598d8534aec81e037f9e37f52eb6b4
2013-10-22 12:52:58 +09:00
Jean Chalard c6a121805f Fix a bug where autocaps would jam auto-commit
Bug: 11311002
Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
2013-10-22 12:39:49 +09:00
Ken Wakasa 859b117118 Update Setup Wizard welcome video & image
bug: 11227246
Change-Id: I291ebdaf7e96d4a2ca738432ce8be1d75b91e5c3
2013-10-22 09:36:39 +09:00
Ken Wakasa 513b99dfa2 Cosmetic fixes
Change-Id: I44ac89edaba2e57bd1b7e091ff74b77a5e598f2f
2013-10-21 15:53:49 +09:00
Ken Wakasa 1c5f5eca9d am 47568d5e: Merge "Fix: Suggested words from user history are invalid. DO NOT MERGE." into klp-dev
* commit '47568d5e19ed907485f7cb435c3944ccc0cb4411':
  Fix: Suggested words from user history are invalid. DO NOT MERGE.
2013-10-18 11:18:28 -07:00
Ken Wakasa 069d44c32c am 146cf238: DO NOT MERGE: Update input method subtype locales.
* commit '146cf238792c4748aa726a440fb96a33b4260fa5':
  DO NOT MERGE: Update input method subtype locales.
2013-10-18 11:18:26 -07:00
Ken Wakasa 47568d5e19 Merge "Fix: Suggested words from user history are invalid. DO NOT MERGE." into klp-dev 2013-10-18 17:43:00 +00:00
Yuichiro Hanada 52f18d7f40 Change the block sizes for SparseTables.
This change saves about 240k bytes.

Bug: 10941472
Change-Id: Ieb00e4dd3391cdb0d42d705f8d0a7b1421f516f9
2013-10-18 20:28:07 +09:00
Keisuke Kuroyanagi 029d9eeb38 Fix: Suggested words from user history are invalid. DO NOT MERGE.
- Suggestions form user history can contain invalid words.
- isValidWord always returns false.

Bug: 11139426
Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
2013-10-18 20:13:40 +09:00
Keisuke Kuroyanagi 8e9af925b1 Merge "Fix: Suggested words from user history are invalid." 2013-10-18 11:05:03 +00:00
Keisuke Kuroyanagi 53686e0f5f Fix: Suggested words from user history are invalid.
- Suggestions form user history can contain invalid words.
- isValidWord always returns false.

Bug: 11139426
Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
2013-10-18 19:53:57 +09:00
Satoshi Kataoka 7fdb2c2956 Merge "Change the numbering order of terminal IDs." 2013-10-18 10:31:27 +00:00
Yuichiro Hanada 9ae7d37108 Change the numbering order of terminal IDs.
Change-Id: I85a6b6e948ee0de012eef2f9f841240cbca63947
2013-10-18 19:16:11 +09:00
Yuichiro Hanada 2b7110ff1f (2/2) Implement insertWord in Ver4DictUpdater.
Change-Id: I2328a9df0a009b564e8acaf4180f9b0c1ed0901a
2013-10-18 18:03:44 +09:00
Yuichiro Hanada 19b247e79d Fix the name of the argument of writeString.
Change-Id: I76916914f1402913daa56dd5387fe82e42287989
2013-10-18 17:33:10 +09:00
Ken Wakasa 146cf23879 DO NOT MERGE: Update input method subtype locales.
To match up with the removal of obsolete locales.

cherrypick of I27098bfa26b66631ef412f8f0f72e0273a0161bc

bug: 11244796
Change-Id: I6e93513978ac657c859391d0431f90143d855e5f
2013-10-18 17:09:24 +09:00
Jean Chalard 7e7fe6057a Merge "(1/2) Implement insertWord in Ver4DictUpdater." 2013-10-18 08:00:04 +00:00
Ken Wakasa a62dc28121 Update input method subtype locales.
To match up with the removal of obsolete locales.

bug: 11244796
Change-Id: I27098bfa26b66631ef412f8f0f72e0273a0161bc
2013-10-18 16:44:38 +09:00
Yuichiro Hanada 520f612849 (1/2) Implement insertWord in Ver4DictUpdater.
Change-Id: Ia3079d5ef00ca7d831c91fb9220ad9c17038c5a3
2013-10-18 16:42:59 +09:00
Satoshi Kataoka 27106487ba Remove unexpectedly used resources
Change-Id: I0ddd1dfd54c76177660448d156a6c670f5579671
2013-10-18 11:53:32 +09:00
Satoshi Kataoka b4b0a0507a am 2e7f360a: Merge "Do not merge. Fix keyboard layout" into klp-dev
* commit '2e7f360a04f2a840fa083dde299d10e213de7bbb':
  Do not merge. Fix keyboard layout
2013-10-17 17:44:47 -07:00
Satoshi Kataoka dcc33ab0fc am 141a0c33: Merge "Do not merge. Don\'t show long-pressing emoji key on tablet" into klp-dev
* commit '141a0c33802d44a0b8b240b6b8415d465e0aa794':
  Do not merge. Don't show long-pressing emoji key on tablet
2013-10-17 17:44:45 -07:00
Satoshi Kataoka 2e7f360a04 Merge "Do not merge. Fix keyboard layout" into klp-dev 2013-10-18 00:41:53 +00:00
Satoshi Kataoka 141a0c3380 Merge "Do not merge. Don't show long-pressing emoji key on tablet" into klp-dev 2013-10-18 00:41:42 +00:00
Baligh Uddin f4fd6017a0 am 8ccb79eb: am 66bdabad: am e47f7332: These files were in the obsoleted locale directories and are not processed by the translation pipeline. Moving them to their new locale directory.
* commit '8ccb79ebab1ece201da95866d2673e43752a949c':
  These files were in the obsoleted locale directories and are not processed by the translation pipeline. Moving them to their new locale directory.
2013-10-17 14:40:24 -07:00
Baligh Uddin 66bdabad80 am e47f7332: These files were in the obsoleted locale directories and are not processed by the translation pipeline. Moving them to their new locale directory.
* commit 'e47f7332f9bb94905015061dd9791f43763ccab8':
  These files were in the obsoleted locale directories and are not processed by the translation pipeline. Moving them to their new locale directory.
2013-10-17 11:26:35 -07:00
Baligh Uddin a7cebb8c5c am 486c5896: Remove obsolete locale directories.
* commit '486c5896102cccfaa79d2109272ab7235dcacf38':
  Remove obsolete locale directories.
2013-10-17 11:26:33 -07:00