Commit Graph

5007 Commits (44456dcbf23c29b54e9372d932b79805957724cb)

Author SHA1 Message Date
Satoshi Kataoka 44456dcbf2 Merge remote-tracking branch 'goog/master' into mergescriptpackage
Conflicts:
	java/res/values-af/strings.xml
	java/res/values-cs/strings.xml
	java/res/values-et/strings.xml
	java/res/values-fi/strings.xml
	java/res/values-hi/strings.xml
	java/res/values-hr/strings.xml
	java/res/values-hu/strings.xml
	java/res/values-in/strings.xml
	java/res/values-ja/strings.xml
	java/res/values-ko/strings.xml
	java/res/values-lt/strings.xml
	java/res/values-lv/strings.xml
	java/res/values-ms/strings.xml
	java/res/values-pt/strings.xml
	java/res/values-ro/strings.xml
	java/res/values-ru/strings.xml
	java/res/values-sk/strings.xml
	java/res/values-sl/strings.xml
	java/res/values-sr/strings.xml
	java/res/values-sw/strings.xml
	java/res/values-tr/strings.xml
	java/res/values-vi/strings.xml
	java/res/values-zh-rCN/strings.xml
	java/res/values-zh-rTW/strings.xml

Change-Id: Ib4141aca0b35148d62d22d4f32309f890c84303a
2012-08-06 16:04:07 +09:00
Tadashi G. Takaoka d299bde24b am 76bfe7f7: am 44f12ed9: Merge "Separate updateSuggestionStrip from commitTyped" into jb-mr1-dev
* commit '76bfe7f7b0f6b231e0596e400620cd34265a044f':
  Separate updateSuggestionStrip from commitTyped
2012-08-05 22:49:27 -07:00
Tadashi G. Takaoka 0a524de3df Separate updateSuggestionStrip from commitTyped
The commitTyped() called updateSuggestionStrip(), and that led to call
Suggest.getSuggestedWordsForTypingInput() even after a batch input was
started because WordComposer.commitWord() reset the batch input state.

Bug: 6932442
Change-Id: If645b1ef0343aa1e21ca71a9275b40c6c3be13df
2012-08-06 14:31:01 +09:00
Tadashi G. Takaoka 6b4cada7b2 am 2687b667: am 4e9e6cd1: Fix IllegalStateException of KeyDetector
* commit '2687b667a7edb889fd2704380fee45f848da6626':
  Fix IllegalStateException of KeyDetector
2012-08-05 19:25:20 -07:00
Tadashi G. Takaoka 4e9e6cd154 Fix IllegalStateException of KeyDetector
A KeyDetector without Keyboard may exist in some rare cases. This
change eliminates throwing IllegalStateException and checks explicitly
against null.

Bug: 6891020
Change-Id: I29ec3e9f10484f30288fac76f0c45b3707bc2259
2012-08-06 11:09:50 +09:00
Kurt Partridge 838e6c1e5b ResearchLogging capture full n-gram data
- Captures complete motion data for all words in an n-gram.
- Also filters n-grams properly; if any word in the n-gram is not
  in the dictionary, it is not included.
- Simplify ResearchLog to not require explicit state
- Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
  about privacy.
- Moved LogUnit out from ResearchLogger

multi-project change with Id997fb6572daa3ff55591afa1676953bb204f33a

Because of a strange Gerrit interaction, earlier patchsets were recorded
as the following separate changes (to soon be abandoned):

- I59d86ae28123890ddb7aabc7dc9a73a75eecbca4
- I9cc95266fa4500d019e09ec53ec00e5dea7ffd38
- Ie6f23a2035e160f231406df1388a43725380df1d
- Id87909e96fa7fa91174c86395a964404f3490fe1
- I57c5cbde0425c42538d589fa4d1802b3e5688f7c
- Ic1f9d7727e416da1b6c4f1a45b53750cd4088dcf
- I20a72ccc4ba1bc08ed3ee39bff71d2adb376588c
- I417f6f364144b90085f5fef4bd2de1a40b5dfa79

Bug: 6188932
Change-Id: I771e57e3b8c0eb6721c2022e775cb0b528bdff93
2012-08-05 00:55:58 -07:00
Ying Wang f06db84d19 Import translations. DO NOT MERGE
Change-Id: I5b3c408ec87801fb3e6475d8cce0336fa7d26872
Auto-generated-cl: translation import
2012-08-03 14:30:57 -07:00
Ying Wang 3d5a0b90f8 Import translations. DO NOT MERGE
Change-Id: I9510061c7ae1f4020cd5c5d24ed75348556ee085
Auto-generated-cl: translation import
2012-08-03 14:25:41 -07:00
Jean Chalard 78b17bb021 am 2fb40ef3: am 15b28432: Merge "Cleanup unused code" into jb-mr1-dev
* commit '2fb40ef30121da62386d64a2c9c5f5abffdcbc98':
  Cleanup unused code
2012-08-03 09:37:19 -07:00
Jean Chalard 7c2ec76ed8 am 900910c0: am 54e84a00: Make a makedict command for dicttool (A3)
* commit '900910c02bc10f902a27681311b8a93279c34ec2':
  Make a makedict command for dicttool (A3)
2012-08-03 09:35:16 -07:00
Jean Chalard 15b28432ba Merge "Cleanup unused code" into jb-mr1-dev 2012-08-03 09:32:27 -07:00
Jean Chalard 8ee4b35c70 Cleanup unused code
The Italian dictionary has been amended to contain words that
include apostrophes, and accordingly the apostrophe is now
excluded from word separators in Italian.
This code was only used for Italian, and in the general case
it does the wrong thing; it was only needed by limitations of
the old dictionary.

Bug: 6929108
Change-Id: I7ff4615e01899a1cebed2c4c51679cd0746740fe
2012-08-04 01:15:04 +09:00
Jean Chalard 54e84a00fc Make a makedict command for dicttool (A3)
This behaves exactly as the old makedict command. Further
changes will redirect the calls to makedict to this, so as
to consolidate similar code.

Groundwork for
Bug: 6429606

Change-Id: Ibeadbf48bec70f988a15ca36ebf5d1ce3b5b54ea
2012-08-04 01:11:46 +09:00
Jean Chalard f4e139a7b5 am 9a0e1df2: am 1644a3c7: Merge "Update French and Italian separators." into jb-mr1-dev
* commit '9a0e1df25c1f679b1458d2205d1bc09e2af0ccbd':
  Update French and Italian separators.
2012-08-03 08:11:05 -07:00
Jean Chalard 1644a3c732 Merge "Update French and Italian separators." into jb-mr1-dev 2012-08-03 08:07:58 -07:00
Jean Chalard beccb6e573 Update French and Italian separators.
French and Italian separators used to be decided this way
because of how the old dictionaries were made.
However, the new dictionaries actually do include the
composite words, and in both French and Italian, apostrophes
and dashes shouldn't be treated as separators any more.

Change-Id: If11c42625c819e223502a76749dbe797163d3c18
2012-08-04 00:04:13 +09:00
Jean Chalard 3695f4be47 am 53f4acf8: am 3f805418: Merge "Fix an OOB exception" into jb-mr1-dev
* commit '53f4acf86f6d330146af72f3688ad71428cb8bb6':
  Fix an OOB exception
2012-08-03 07:22:09 -07:00
Jean Chalard 3f80541844 Merge "Fix an OOB exception" into jb-mr1-dev 2012-08-03 07:17:37 -07:00
Jean Chalard 4c976aceee Fix an OOB exception
Not sure exactly how this can happen, but at least this should
prevent us from crashing.

Bug: 6920884
Change-Id: I451864756b48c5cb5e98b06edee917d88766d77f
2012-08-03 23:10:47 +09:00
Tadashi G. Takaoka 83b3289a03 am be7897a0: am 6242564c: Merge "Using hardware accelerated drawing" into jb-mr1-dev
* commit 'be7897a04ab38a91d1b4afcf54c9ac668abf2e44':
  Using hardware accelerated drawing
2012-08-03 04:59:09 -07:00
Tadashi G. Takaoka 622d6a5b1b Using hardware accelerated drawing
When Canvas has been hardware accelerated, don't use offscreen bitmap.

Bug: 6872994
Change-Id: I1121f76377991692bc29ebeedbfbfa1b2a12dbb7
2012-08-03 20:46:10 +09:00
Tadashi G. Takaoka 00fe40242c am 2af1b124: am ffe36cdc: Merge "Small cleanup for keyboard drawing code" into jb-mr1-dev
* commit '2af1b1241b120e0e9df53edd415601e14fc54e0e':
  Small cleanup for keyboard drawing code
2012-08-02 15:08:32 -07:00
Tadashi G. Takaoka 50836af6c3 am ab4d177a: am 76c242a1: Merge "Fix multi-touch input in auto-caps field" into jb-mr1-dev
* commit 'ab4d177a0eacad55f66b1bfb7448ab39a636d819':
  Fix multi-touch input in auto-caps field
2012-08-02 15:08:24 -07:00
Ken Wakasa 6f3454be71 am 90817001: am fb955693: Enable hardware accelerated drawing for SoftInputWindow of LatinIME
* commit '908170017208ee2cf84d5857cb33e13b0443c919':
  Enable hardware accelerated drawing for SoftInputWindow of LatinIME
2012-08-02 15:08:22 -07:00
Tadashi G. Takaoka ffe36cdc6d Merge "Small cleanup for keyboard drawing code" into jb-mr1-dev 2012-08-02 01:04:05 -07:00
Tadashi G. Takaoka 8344259fc9 Small cleanup for keyboard drawing code
Change-Id: I8b562e03b30f82dddae311b49d316402e867cd31
2012-08-02 16:50:31 +09:00
Tadashi G. Takaoka 76c242a1f6 Merge "Fix multi-touch input in auto-caps field" into jb-mr1-dev 2012-08-01 23:45:24 -07:00
Ken Wakasa fb955693d4 Enable hardware accelerated drawing for SoftInputWindow of LatinIME
Taking advantage of Ib6a8bda46223ce1153f32834daf02a820d16136e

bug: 6872994
Change-Id: I799b25b6509980dd9f039bead9bc926b42cbb040
2012-08-02 15:11:31 +09:00
Kurt Partridge b3b14f5020 Merge "ResearchLogger to track simple statistics" 2012-08-01 20:24:17 -07:00
Kurt Partridge 5d6cdef255 ResearchLogger to track simple statistics
Bug: 6188932
Change-Id: I1ecb5e1fd08f17af998b87414771fa7d90ef5f81
2012-08-01 20:19:35 -07:00
Kurt Partridge 0db6b5b874 Merge "ResearchLogger log RichInputConnection" 2012-08-01 20:15:49 -07:00
Kurt Partridge 2996cf24ef ResearchLogger log RichInputConnection
Move many ResearchLogger data collection points to RichInputConnection.
By collecting data here, developers do not have to remember to keep the
ResearchLog consistent with calls to the RichInputConnection.

In addition, some unnecessary log points were removed, and the ResearchLogger
is now independent of LatinImeLogger.

multi-project change with I67bbf5fe8fd821da967a50b69e467caafc7fd388

Bug: 6188932
Change-Id: I49ccee1dcffe8d41401b42a637dd0da8dd11d90d
2012-08-01 19:22:33 -07:00
Ying Wang d6609e4df9 Import translations. DO NOT MERGE
Change-Id: I4e27d3edd7beb65232912c51cf531d6989768540
Auto-generated-cl: translation import
2012-08-01 15:04:46 -07:00
Ying Wang 2ca0f26237 Import translations. DO NOT MERGE
Change-Id: Ifdbe0c41f5e01c4afc155ea68c05d50d483e5749
Auto-generated-cl: translation import
2012-08-01 14:58:52 -07:00
Tadashi G. Takaoka 44972bcdb6 Fix multi-touch input in auto-caps field
Bug: 6905194
Change-Id: I7f9f61f36b7f3aa2b40c126a68232a947976aad2
2012-08-01 18:56:11 +09:00
Tadashi G. Takaoka d2173b5737 Cancel the while-typing timer when user hits the spacebar
Bug: 6689079
Change-Id: I6b366acdcefb8b2c0d973a4f2a12329fc12eb5c5
2012-07-31 19:39:52 +09:00
Tadashi G. Takaoka 71c472ed8c Merge "Add language switch key to 10" tablet" into jb-mr1-dev 2012-07-31 00:43:22 -07:00
Tadashi G. Takaoka f6235167b7 Add language switch key to 10" tablet
Bug: 6637175
Change-Id: Ife9c9a6d35bd3cb4de406b388c504846b35059e7
2012-07-31 16:40:30 +09:00
Ken Wakasa 6492a2f31d Merge "Add a <uses-sdk> element in the LatinIME's manifest" into jb-mr1-dev 2012-07-31 00:12:37 -07:00
Ken Wakasa 8573223442 Add a <uses-sdk> element in the LatinIME's manifest
Change-Id: I8354677e271fc73865aabffe0df489e52c85c1eb
2012-07-31 16:06:18 +09:00
Tadashi G. Takaoka 2b077a6576 Merge "Add android::supportsRtl="true"" into jb-mr1-dev 2012-07-30 23:42:01 -07:00
Tadashi G. Takaoka b8afd540d9 Add android::supportsRtl="true"
Bug: 6904817

Change-Id: I1176e239d001d8eb5ae79ed345660b22be68b137
2012-07-31 15:18:12 +09:00
Tadashi G. Takaoka b98b957424 Fix east slavic keyboard layouts
This change affects Ukrainian, Belarusian, Kyrgyz, and Russian
keyboard. The followings are the layout changes for each language
respectively.

[Ukrainian]
 * Replace useless CYRILLIC LETTER E with CYRILLIC LETTER UKRAINIAN IE.
 * Replace useless CYRILLIC LETTER HARD SIGN with CYRILLIC LETTER YI
   on 10-inch tablet.
 * Add CYRILLIC LETTER GHE WITH UPTURN as more keys of CYRILLIC LETTER
   GHE.

[Belarusian]
 * Add CYRILLIC LETTER IO as more keys of CYRILLIC LETTER IE.
 * Replace useless CYRILLIC LETTER HARD SIGN with CYRILLIC LETTER IE
   on 10-inch tablet.

[Kyrgyz]
 * Add CYRILLIC LETTER IO as more keys of CYRILLIC LETTER IE.
 * Remove CYRILLIC LETTER HARD SIGN from more keys of CYRILLIC LETTER
   HA because CYRILLIC LETTER SOFT SIGN has it.

[Russian]
 * Remove CYRILLIC LETTER HARD SIGN from more keys of CYRILLIC LETTER
   HA because CYRILLIC LETTER SOFT SIGN has it.

This change also replace misspelled "more_keys_for_cyrillic_ye" text
name with "more_keys_for_cyrillic_ie".

Bug: 6881007
Change-Id: I9e88c4e27f66225e1676f2b286a7e55b9f2cbf5b
2012-07-31 13:19:11 +09:00
Ying Wang 07e4f9eb53 Import translations. DO NOT MERGE
Change-Id: Id6cdea59392aeb90fe8951b06ee94d0e82732f7a
Auto-generated-cl: translation import
2012-07-30 14:55:58 -07:00
Ying Wang ff2bec1ce6 Import translations. DO NOT MERGE
Change-Id: I4495669f10f41c2c7c3877c65b061df6a2c9f196
Auto-generated-cl: translation import
2012-07-30 14:54:31 -07:00
Jean Chalard f68fe7a9c9 Don't forward phantom space state on stripper input
Bug: 6890540
Change-Id: I923b24e3bc17e7b923be4940ad739b58dca24a1f
2012-07-31 01:48:10 +09:00
Tadashi G. Takaoka ca57f5ba40 Move gesture preview parameters to KeyboardView attributes
Change-Id: Iff9d6b485e202656fc869f3ff4d94575ad2c186f
2012-07-30 20:10:48 +09:00
Tadashi G. Takaoka 6b9677d84b Merge "Small fix to KeyboardView" into jb-mr1-dev 2012-07-30 01:48:59 -07:00
Tadashi G. Takaoka b9770cb7f7 Merge "Add device form factor to KeyboardId" into jb-mr1-dev 2012-07-30 00:50:25 -07:00
Tadashi G. Takaoka edf7990e84 Small fix to KeyboardView
Change-Id: Ifb7500ec2e55b50bb7951aa847fd4fbf49e32f4e
2012-07-30 16:50:03 +09:00