Commit Graph

8613 Commits (36c6e2933f1e25013b5d04d651cab8938e7f1090)

Author SHA1 Message Date
Ken Wakasa 36c6e2933f am aef0acdb: DO NOT MERGE - Fix an error in the base char table for LETTER L WITH STROKE
* commit 'aef0acdbe078fe83ed834ffe986e9cb7b4b8df7d':
  DO NOT MERGE - Fix an error in the base char table for LETTER L WITH STROKE
2012-11-14 15:18:13 -08:00
Ken Wakasa aef0acdbe0 DO NOT MERGE - Fix an error in the base char table for LETTER L WITH STROKE
Cherrypick of I67a431d8

bug: 7539944
Change-Id: I0d1f9649f30c36b8e464944a5b881c2cb9c05ccf
2012-11-15 00:54:53 +09:00
Jean Chalard f592270a0f am 7648b37d: Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev
* commit '7648b37d1e4cf3799288f85cc9c5f67b515e24c4':
  Make sure all FDs are correctly closed.
2012-11-13 18:43:57 -08:00
Jean Chalard 7648b37d1e Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev 2012-11-13 18:42:35 -08:00
Jean Chalard 5c32b6da44 Make sure all FDs are correctly closed.
In this kind of series of calls, it's possible that an outer call to a
constructor fails, but the inner succeeded.
Example:
try {
    is = new A(new B());
} finally {
    if (null != is) is.close();
}
In this case, if new B() succeeds but new A() throws an
exception, is stays null and the intermediate object is never
closed. This is what was happening in this instance.

Bug: 7377336
Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add
2012-11-13 16:53:07 +09:00
Jean Chalard 7d34763e23 am fac619a3: Merge "Don\'t restrict reset composing state to non-identical setText" into jb-mr1.1-dev
* commit 'fac619a34c8101cac504db500d74114dc8768372':
  Don't restrict reset composing state to non-identical setText
2012-11-12 23:02:34 -08:00
Jean Chalard a13a8a58e0 am 0e84041b: Refactor all phantom-space-inserted spaces in one place
* commit '0e84041bf740590230198fa845d8c45acd4cb586':
  Refactor all phantom-space-inserted spaces in one place
2012-11-12 23:02:32 -08:00
Jean Chalard fac619a34c Merge "Don't restrict reset composing state to non-identical setText" into jb-mr1.1-dev 2012-11-12 23:00:12 -08:00
Jean Chalard 0e84041bf7 Refactor all phantom-space-inserted spaces in one place
Bug: 7164981
Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a
2012-11-13 12:53:55 +09:00
Jean Chalard 61cc2a3391 Don't restrict reset composing state to non-identical setText
Bug: 7497063
Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478
2012-11-12 18:34:18 +09:00
The Android Open Source Project a8ec322b1a am bc43e3f2: Reconcile with jb-mr1-release - do not merge
* commit 'bc43e3f29060252d2a08b4e976bdb2ca50438623':
2012-11-07 10:24:23 -08:00
The Android Open Source Project bc43e3f290 Reconcile with jb-mr1-release - do not merge
Change-Id: I105d8e6a795dd5b38d42051196581896e7ea4f30
2012-11-07 10:20:18 -08:00
The Android Automerger be07aad4e9 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-11-06 18:04:26 -08:00
Ken Wakasa aa5d6fe05c am 9cc22c45: am 5d2556b9: Reset the IME if requested by the app.
* commit '9cc22c45ec04f3b1772631e1ef18103dc55c2a0b':
  Reset the IME if requested by the app.
2012-11-06 14:29:45 -08:00
Ken Wakasa 9cc22c45ec am 5d2556b9: Reset the IME if requested by the app.
* commit '5d2556b93286f5f1d7d829b586b84a8b7ae55743':
  Reset the IME if requested by the app.
2012-11-06 14:27:24 -08:00
The Android Open Source Project 4d09554794 am 202c3a5f: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
* commit '202c3a5f32e20939a3dff24b7e2f047e47b29e17':
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Build LatinIME with NDK r8
2012-11-06 12:24:06 -08:00
The Android Open Source Project 202c3a5f32 Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
Change-Id: I355e91c06f0958f1baec5923324dcbcdf408d3f2
2012-11-06 12:18:48 -08:00
Ken Wakasa 5d2556b932 Reset the IME if requested by the app.
Specifically, reset the KeyboardState to the main Alphabet layout in
LatinIME.onStartInputViewInternal() if a keyboard layout set doesn't get
reloaded in the method.

Please note TextView.setText() calls up resetInput(), then the IME should
reset with it.

bug: 7482086

Note that bug: 6851364 needs to be revisited.

Change-Id: I5d448c10963d3dd952dd13cb587085ec7b014e69
2012-11-07 01:09:26 +09:00
The Android Automerger cbbfb472ab merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-26 16:23:17 -07:00
Satoshi Kataoka 5e118c4c04 am 60dea36d: Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
* commit '60dea36dafc4a567b948b5175bcca776b08fdfad':
  Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
2012-10-25 19:26:35 -07:00
Satoshi Kataoka 60dea36daf Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
Bug: 7393485
Bug: 7272829
Change-Id: I873e8d99486c734e76484526631a90fc55e91c86
2012-10-25 20:00:46 +09:00
The Android Automerger 99a8169e18 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-24 06:59:24 -07:00
Jean Chalard 1f9eea44dc am 306e0a80: Update AOSP dictionaries.
* commit '306e0a800f2ac9fc6af24d41bfff2d8445e963c4':
  Update AOSP dictionaries.
2012-10-24 00:26:30 -07:00
Jean Chalard 306e0a800f Update AOSP dictionaries.
Changes :
- Add "emoji"
- Change the whitelist target of "foo" from "for" to "too"
- Fix non-word frequencies to 0
- Fix the freq of common en_US vs en_GB words
- Add "connection" to the en_GB dictionary

Bug: 7368441
Bug: 7370033
Bug: 7371955
Change-Id: Ib22a97e97b486b05012d5496619557f406c441b9
2012-10-24 16:12:28 +09:00
The Android Automerger 9f97ced562 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-23 06:59:51 -07:00
Jean Chalard d39e64350c am f960eb18: Don\'t put spaces after characters that don\'t take one
* commit 'f960eb186d63aa4f9fecd22f036fc8724d39d949':
  Don't put spaces after characters that don't take one
2012-10-22 21:41:41 -07:00
Jean Chalard f960eb186d Don't put spaces after characters that don't take one
Bug: 7393639
Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
2012-10-23 12:28:28 +09:00
The Android Automerger 89b4a66939 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-18 07:00:10 -07:00
Jean Chalard 5b095509c9 am 65225d82: Merge "Update AOSP dictionaries." into jb-mr1-dev
* commit '65225d8211ee4f551c0996cf58552c721e45c39c':
  Update AOSP dictionaries.
2012-10-17 19:04:28 -07:00
Jean Chalard 65225d8211 Merge "Update AOSP dictionaries." into jb-mr1-dev 2012-10-17 19:03:01 -07:00
Jean Chalard 25b4a14e5f am d03e065b: Don\'t consider non-words for split word suggestion
* commit 'd03e065b861bd1cdb90bc70f18b7d7a3815b7a4d':
  Don't consider non-words for split word suggestion
2012-10-17 17:02:16 -07:00
Jean Chalard d03e065b86 Don't consider non-words for split word suggestion
Bug: 7368683
Change-Id: Iecd8348be788e5a749dafabdf7eddc4a14d901e0
2012-10-18 07:28:18 +09:00
Jean Chalard 3d83a1648b Update AOSP dictionaries.
Differences :
oh 90 -> 105
ooh 54 -> 54
hoy,kinkier,kinkiest,kinkiness,kinkily,kinky -> 0
trst -> remove

New whitelist entries (actually old that had not been applied)
"berm" -> "been"
"foe" -> "for"
"hid" -> "his"
"thong" -> "thing"

French :
Add "six" and remove some non-words

Bug: 7329149
Bug: 7356297
Change-Id: I55092f0538db8627148b0a314e50eff926c47275
2012-10-18 00:39:16 +09:00
The Android Automerger 2dd555077e merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-17 07:00:06 -07:00
Baligh Uddin e5fd5ea596 am dbba676c: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'dbba676c00cd5479e292a91c5672d920b9137759':
  Import translations. DO NOT MERGE
2012-10-16 22:30:16 -07:00
Baligh Uddin dbba676c00 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 22:27:36 -07:00
Baligh Uddin c561cc2b64 Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev 2012-10-16 22:27:14 -07:00
Jean Chalard 63b3fc0d23 am 15142588: Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev
* commit '15142588244a10b241f5d3691f80b6540f3f3fc3':
  Have "no whitespace before cursor" upon gesture trigger phantom space
2012-10-16 18:08:11 -07:00
Jean Chalard 1514258824 Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev 2012-10-16 18:06:11 -07:00
Jean Chalard e91d495c53 Have "no whitespace before cursor" upon gesture trigger phantom space
Bug: 7359291
Bug: 7357758
Bug: 7197651
Change-Id: Ia805a87e922739ae0a06978a3bf00d91c94b6c51
2012-10-17 09:36:07 +09:00
Tadashi G. Takaoka 658e935ba1 am c0bc3369: Merge "Fix more suggestions text width calculation" into jb-mr1-dev
* commit 'c0bc3369555435c677804b652b5fb36faf3602e5':
  Fix more suggestions text width calculation
2012-10-16 17:26:59 -07:00
Tadashi G. Takaoka 718a07441e am 0cbc19b0: Merge "Restrict bogus move event detector to a horizontal movement" into jb-mr1-dev
* commit '0cbc19b0b1d2540cd4bebf20ce4fb62c014e9cac':
  Restrict bogus move event detector to a horizontal movement
2012-10-16 17:26:58 -07:00
Tadashi G. Takaoka c0bc336955 Merge "Fix more suggestions text width calculation" into jb-mr1-dev 2012-10-16 17:24:35 -07:00
Tadashi G. Takaoka 0cbc19b0b1 Merge "Restrict bogus move event detector to a horizontal movement" into jb-mr1-dev 2012-10-16 17:24:23 -07:00
Jean Chalard 2631fe4c4e am 6686e63f: Honor automatic shift turned off for gestures
* commit '6686e63f2158eff07e39ff002ba211d0578f2a4f':
  Honor automatic shift turned off for gestures
2012-10-16 17:23:29 -07:00
Baligh Uddin 97903bf95e Import translations. DO NOT MERGE
Change-Id: I16dccd4bf5897d4b62a4642fbb3d24bd379deb4e
Auto-generated-cl: translation import
2012-10-16 15:55:23 -07:00
Baligh Uddin 6501204007 Import translations. DO NOT MERGE
Change-Id: Ibab3b46b8d19b4d8d2dc69f08be84dcc7431ddf1
Auto-generated-cl: translation import
2012-10-16 15:54:10 -07:00
Tadashi G. Takaoka d631778e1c Restrict bogus move event detector to a horizontal movement
The bogus move detection threshold is in proportional to a diagonal
length of a key. It was in proportional to a key width.

Bug: 7346614
Change-Id: I796add8aea16dd05e9844d6c4fba8072eece39c6
2012-10-16 14:53:54 -07:00
Tadashi G. Takaoka bdc8b9e42b Fix more suggestions text width calculation
Bug: 7345983
Change-Id: Ic1554db98e7aaf032eb90a98c0c37c7c789461b5
2012-10-16 14:24:30 -07:00
Jean Chalard 6686e63f21 Honor automatic shift turned off for gestures
Bug: 7354129
Change-Id: Ia02336e8cea2f04b629edbe74b7815cce0d7fad6
2012-10-17 05:41:06 +09:00