Commit Graph

10196 Commits (f1074c508e70b3489dc85c036f7ed49d3196ba47)

Author SHA1 Message Date
Ken Wakasa ffd08e3788 Reorganize file and class names for typing and gesture
multi-project commit with Iecacb05c

Change-Id: I0d21063335fb8c11184ad4eea00b123362de6853
2012-12-20 19:24:03 +09:00
Satoshi Kataoka a489284533 fix build breakage
Change-Id: I3ab0a143eff063e2e5be672a207c9b3cb45a69d7
2012-12-20 18:01:12 +09:00
Satoshi Kataoka 4801fd66d6 Cleanup decoder wrapper
Change-Id: Iade1c3954f151edce313856395dc5083e820aa93
2012-12-20 17:49:46 +09:00
Kurt Partridge 5a50d574e4 [Rlog13] Add flag to inhibit uploading
Change-Id: I9d22dfb3fbc8332000507c8b97d9072bdd8dda91
2012-12-19 18:32:28 -08:00
Kurt Partridge c572c20cd8 [Rlog8] Show red border if logging everything
Change-Id: I5a3f21cef7d93128661b11b60eac7d84b8110e47
2012-12-19 18:26:07 -08:00
Kurt Partridge ff9e30f5a3 [Rlog10] ResearchLogger change visible indicator to just lines on the side
(Note: Rlog9 was abandoned).

Change-Id: I69de4116e33d3c79216e25efe2ad2bcb2780b0ff
2012-12-19 18:20:03 -08:00
Kurt Partridge af34813127 [Rlog11] ResearchLogger printable code for research key
Change-Id: Ifac7a801ea8534191a9258871d3d7f91e942788b
2012-12-19 18:15:41 -08:00
Kurt Partridge c2049c3284 Merge "[Rlog6.1] Fix LOG_EVERYTHING bug." 2012-12-19 17:20:12 -08:00
Kurt Partridge 94ac7a3851 Merge "Add ProductionFlag.IS_EXPERIMENTAL_DEBUG" 2012-12-19 09:02:05 -08:00
Jean Chalard cff28c5d5d Add skeleton classes for hardware event flow (B1)
Bug: 5037589
Change-Id: Id8eea0e2bd00dd339a1efb4b0542e4c091a84195
2012-12-19 17:47:29 +09:00
Ken Wakasa 45239029ce Remove trailing spaces
Change-Id: I260b85ef9e91d17f97d6e405d2d92a65b443df44
2012-12-19 15:36:55 +09:00
Kurt Partridge 41fe487e3a [Rlog6.1] Fix LOG_EVERYTHING bug.
(It wasn't logging everything).

Change-Id: I8c9fd1e7c04e1a3813e26e67691e0366ff48c9ee
2012-12-18 19:47:10 -08:00
Kurt Partridge 0aafbcf879 Add ProductionFlag.IS_EXPERIMENTAL_DEBUG
The IS_EXPERIMENTAL_DEBUG flag gives a single place to turn off all debugging flags that might be
set and to also enforce privacy controls.  Currently only used in the research package.

multi-project commit with I9275a7c8e40bf56106447a02d3056655329074b3

Change-Id: If769fe3a633f33963ca49e8ddf01ab24a30b6fd2
2012-12-18 19:46:30 -08:00
Ken Wakasa ee7f559e01 Merge "Remove entry for obsolete resource" 2012-12-18 17:48:18 -08:00
Kurt Partridge baf73311cd Merge "[Rlog6] ResearchLogger fix dictionary loading" 2012-12-18 12:25:31 -08:00
Kurt Partridge ce8b139124 Merge "[Rlog5] ResearchLogging change from onFinishInput to onFinishInputView" 2012-12-18 11:34:34 -08:00
Kurt Partridge 1e55e59cc9 Merge "[Rlog4] ResearchLogger add LOG_EVERYTHING flag" 2012-12-18 10:46:12 -08:00
Kurt Partridge 8432c1317a Merge "[Rlog3] improve stat recording" 2012-12-18 09:54:05 -08:00
Ken Wakasa f81c553a9b Remove entry for obsolete resource
Follow-up to Icf9b8848

Change-Id: I656c1fc436440fbee56c8a2a56a7ce3e10f08240
2012-12-19 00:07:47 +09:00
Jean Chalard cd89c5d6ed Update dictionaries
>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1355802857 <=> 1355818916
Body :
Freq changed: БД 18 -> 0
Freq changed: ГБ 14 -> 0
Freq changed: ЕС 44 -> 0
Freq changed: ЖД 3 -> 0
Freq changed: ЖЖ 8 -> 0
Freq changed: ЖК 3 -> 0
Freq changed: ИИ 21 -> 0
Freq changed: КБ 37 -> 0
Freq changed: МБ 19 -> 0
Freq changed: МО 26 -> 0
Freq changed: ОС 40 -> 0
Freq changed: РФ 65 -> 0
Freq changed: СБ 21 -> 0
Freq changed: СК 23 -> 0
Freq changed: ТВ 37 -> 0
Freq changed: УК 36 -> 0
Freq changed: ЦБ 11 -> 0
Freq changed: ЦК 59 -> 0
Deleted: бэ 0
Freq changed: дБ 92 -> 0
Deleted: йо 0
Freq changed: мм 149 -> 0
Freq changed: рН 104 -> 0
Deleted: ша 0

>>> java/res/raw/main_ru.dict
Header :
  date : 1355802857 <=> 1355818916
Body :
Freq changed: БД 18 -> 0
Freq changed: ГБ 14 -> 0
Freq changed: ЕС 44 -> 0
Freq changed: ЖД 3 -> 0
Freq changed: ЖЖ 8 -> 0
Freq changed: ЖК 3 -> 0
Freq changed: ИИ 21 -> 0
Freq changed: КБ 37 -> 0
Freq changed: МБ 19 -> 0
Freq changed: МО 26 -> 0
Freq changed: ОС 40 -> 0
Freq changed: РФ 65 -> 0
Freq changed: СБ 21 -> 0
Freq changed: СК 23 -> 0
Freq changed: ТВ 37 -> 0
Freq changed: УК 36 -> 0
Freq changed: ЦБ 11 -> 0
Freq changed: ЦК 59 -> 0
Deleted: бэ 0
Freq changed: дБ 92 -> 0
Deleted: йо 0
Freq changed: мм 149 -> 0
Freq changed: рН 104 -> 0
Deleted: ша 0

Change-Id: I03f0f4e8d03e0f77f5879e6dd5c424673466afca
2012-12-18 17:25:37 +09:00
Jean Chalard bb5d3b6352 Merge "Update dictionaries" 2012-12-17 22:10:30 -08:00
Satoshi Kataoka 4221738cf6 add debug
Change-Id: I101810d2cdd7c2702c489d76fe8f90da0a87a103
2012-12-18 14:52:42 +09:00
Kurt Partridge 606058f777 [Rlog5] ResearchLogging change from onFinishInput to onFinishInputView
Change-Id: I7d3bcfe647249e0b8a14ac3d67460c2684f16d8c
2012-12-17 21:39:54 -08:00
Kurt Partridge 40417aed94 [Rlog6] ResearchLogger fix dictionary loading
Change-Id: I5af460bd7c7fd67f858626ae3daf71fd615a25bf
2012-12-17 21:39:54 -08:00
Kurt Partridge 1a27336837 [Rlog4] ResearchLogger add LOG_EVERYTHING flag
- broaden OUTPUT_WHOLE_BUFFER to log not just the buffer at the end, but everything along the
  way.  This should only be set when the user is aware that logging is on, e.g. in a user test.

Change-Id: I8f9874697524e533586da40d0a3e452f6a04d3e4
2012-12-17 21:39:35 -08:00
Jean Chalard 21dbe3701c Update dictionaries
cs, da, de, el, es, fi, fr, hr, it, lt, lv, nb, nl, pl,
pt_BR, pt_PT, sl, sr, sv, tr : rescale frequencies to match
spec. This has no large effect in the practice except the
dictionary will become stronger vs spatial model (especially in
lower count corpora, like lt, lv, sr)
en* : Small changes (rounding going the other way essentially)
ru : the above rescaling, and remove the following words:
Дре, ОСТа, Планше, легкими, легком, легкому, легкости,
легкую, нелегкие, нелегкий, нелегким, нелегкое, нелегкой,
нелегкую, полулегком and add нелёгкие, нелёгкое, нелёгкую;
other accented forms were already in the dictionary.

Change-Id: I40386c2ebd4d2be38874e822bde89db7cb512ae6
2012-12-18 13:06:48 +09:00
Kurt Partridge 48160f9d84 [Rlog3] improve stat recording
Change-Id: Ie3b70e6eadc2a9af5ef45ddfad6a3398cea7bfe8
2012-12-17 17:08:47 -08:00
Kurt Partridge c5da4365fb Merge "[Rlog2] ResearchLogging fix multi-space logging" 2012-12-17 16:33:57 -08:00
Kurt Partridge 3370dc8237 [Rlog2] ResearchLogging fix multi-space logging
multi-space logging should look like single-space logging, missing a few minor log statements
(SuggestionUpdates, SetComposingText)

multi-project commit with I2af842348c2f2b8f7271ac5b63def245e83df24d

Change-Id: Icd3187c0d0377255f82787afffea657c14345803
2012-12-17 09:53:43 -08:00
Ken Wakasa e57e9fbd18 Merge "Remove AudioManagerCompatWrapper.java" 2012-12-17 02:50:18 -08:00
Ken Wakasa fbe83245c9 Clean up SuggestionSpanUtils for API level 14+
Change-Id: Iadc235524341b48e7618e9ce05907c786409e004
2012-12-17 19:41:44 +09:00
Ken Wakasa 1e6edb3e57 Remove AudioManagerCompatWrapper.java
It is actually no longer needed for API 14+

Change-Id: I379809eae881351fdf210dd8eaa5e0b5662fb59f
2012-12-17 18:27:20 +09:00
Ken Wakasa 96b22200be Privatize a few constants in BinaryDictionary.java
Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
2012-12-17 17:46:57 +09:00
Tadashi G. Takaoka 4b39f00075 Merge "Show last valid suggestions when gesture typing gets no suggestion" 2012-12-16 23:41:29 -08:00
Tadashi G. Takaoka f21a491ad8 Show last valid suggestions when gesture typing gets no suggestion
Bug: 7679566
Change-Id: Ie68c7698144c7576b5814ee35664309bcfdcbf0f
2012-12-17 16:19:10 +09:00
Tadashi G. Takaoka 609fb7d940 Merge "Show last valid suggestions when tap typing gets no suggestion" 2012-12-16 22:53:13 -08:00
Satoshi Kataoka c3363e8e34 Merge "Refactor most probable string" 2012-12-16 22:36:12 -08:00
Satoshi Kataoka e0349619ac Refactor most probable string
Change-Id: Ic14f1632f219f844c65a2e9c78d5ecf635e8234e
2012-12-17 15:24:08 +09:00
Tadashi G. Takaoka b808188b2f Show last valid suggestions when tap typing gets no suggestion
Bug: 7872809
Change-Id: Ib5a255de7968aba214249c1b934327d248a15efd
2012-12-17 14:32:18 +09:00
The Android Open Source Project d15e80d6e2 am 1b770503: (-s ours) Reconcile with jb-mr1.1-release - do not merge
* commit '1b770503394da4968fdabf5c39190edf60031f59':
2012-12-14 16:48:52 -08:00
Ken Wakasa 8c15e91344 resolved conflicts for merge of d48d6fee to master
Change-Id: I21141956135debe737453dba87617671b1716d0a
2012-12-15 09:44:39 +09:00
The Android Open Source Project 1b77050339 Reconcile with jb-mr1.1-release - do not merge
Change-Id: I53296de92b1846263d7aa2dc588d13d3bd7ce930
2012-12-14 14:03:42 -08:00
The Android Automerger a610aa2bc5 merge in jb-mr1.1-release history after reset to jb-mr1.1-dev 2012-12-14 13:56:23 -08:00
Jean Chalard d48d6feedd am db6f21c6: am 18d688c9: Use the amended user dictionary word for insertion
* commit 'db6f21c6792fe07a733572e1d4978f46b5462c35':
  Use the amended user dictionary word for insertion
2012-12-14 11:01:56 -08:00
Jean Chalard db6f21c679 am 18d688c9: Use the amended user dictionary word for insertion
* commit '18d688c94bb8e1e26de2d12445cb3096c6126f75':
  Use the amended user dictionary word for insertion
2012-12-14 10:59:21 -08:00
Kurt Partridge 39b5396f8e Merge "[Rlog1] Track time of log statements" 2012-12-14 06:08:20 -08:00
Jean Chalard 18d688c94b Use the amended user dictionary word for insertion
When the user edits a word before adding it to the user
dictionary, the keyboard should replace whatever was
committed before with the amended version.

Bug: 7725834
Change-Id: I1a417be6c5a86d6a96bc2c76aca314ad8f1202a9
2012-12-14 20:28:22 +09:00
Tadashi G. Takaoka edbb65be3e Reset composing state at onFinishInputView
Bug: 7709817
Change-Id: Icac0b8cb28209d98d291d8f00be55e33af5bf696
2012-12-14 17:48:13 +09:00
Tom Ouyang ac69ab400d Refactor more keys menu framework (part 3)
Make it possible to re-enter gesture input even after triggering the long-press
menu. This is useful for new users who may pause at the start of a word. Works
for both single and bi-manual gestures.

Bug: 7595193
Change-Id: Ieaecfd5385ed6c10ae9347b99c2e35a0de5e895d
2012-12-13 21:45:51 -08:00
Tom Ouyang be68b41ccb Fix more suggestion window asymmetry bug in N7.
Bug: 7711822
Change-Id: I63ba13b1c160cf55b8820a08e6e28fa666dd2580
2012-12-13 21:01:30 -08:00