Commit graph

32372 commits

Author SHA1 Message Date
Jean Chalard
1b34985dcf Merge "[HW17] Straighten the dead char implementation." 2014-08-22 07:33:31 +00:00
Mohammadinamul Sheik
698b19ef35 Pass a new argument to StatsUtils.
Change-Id: I61e32c7a455a273e8daf9a5487d7969923802488
Bug: 17013677
2014-08-22 15:58:45 +09:00
Jean Chalard
c6612ff051 [HW17] Straighten the dead char implementation.
This now supports all cases, including cases not supported by
the framework.

Change-Id: I9dfbe2829c28c5bcb64b0b5a2551e7806990c00f
2014-08-22 15:55:32 +09:00
Yohei Yukawa
5a96395b78 am 8cbc37f2: am 8e2fcaa3: Merge "Use FrameLayout for the backing view" into lmp-dev
* commit '8cbc37f2c803fe5854237434742845a7b8ee32b9':
  Use FrameLayout for the backing view
2014-08-21 18:38:12 +00:00
Yohei Yukawa
8cbc37f2c8 am 8e2fcaa3: Merge "Use FrameLayout for the backing view" into lmp-dev
* commit '8e2fcaa33411e7cf12bc66ff8171e5466b804950':
  Use FrameLayout for the backing view
2014-08-21 18:29:41 +00:00
Yohei Yukawa
8e2fcaa334 Merge "Use FrameLayout for the backing view" into lmp-dev 2014-08-21 18:06:07 +00:00
Tadashi G. Takaoka
ebec5e1338 Merge "Add Hinglish (hi_ZZ) subtype" 2014-08-21 10:22:17 +00:00
Tadashi G. Takaoka
d6696ae78b Add Hinglish (hi_ZZ) subtype
Bug: 17169632
Change-Id: Ibee088d76c2b19f1d62a3c9c119452726e856ec8
2014-08-21 19:12:25 +09:00
Keisuke Kuroyanagi
68a52c1245 Merge "Update FormatSpec.java" 2014-08-21 09:50:38 +00:00
Keisuke Kuroyanagi
91f52e88d0 Merge "Remove unused dictionary writing methods." 2014-08-21 08:30:47 +00:00
Keisuke Kuroyanagi
c7b6393535 Update FormatSpec.java
Change-Id: I27d14697f931c9511420a459c49312ea6e10c366
2014-08-21 17:23:11 +09:00
Keisuke Kuroyanagi
ed798fa308 Remove unused dictionary writing methods.
Change-Id: Ica6ac057c0d0f037b7dd5539ab5b591c83bfa4d7
2014-08-21 17:22:54 +09:00
Yohei Yukawa
b8337e7232 am 2834ddf1: am b9768702: Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev
* commit '2834ddf1a0c9bea38569429f90bdf7526ba8fa22':
  Use #onStartInputInternal to initialize cursor rect retrieval
2014-08-20 15:52:48 +00:00
Yohei Yukawa
2834ddf1a0 am b9768702: Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev
* commit 'b9768702faf2bd36ddff4b4c59daa90db0a92d50':
  Use #onStartInputInternal to initialize cursor rect retrieval
2014-08-20 15:42:26 +00:00
Ken Wakasa
4396f662f6 am c37205f5: Merge "DO NOT MERGE: Abolish source code overlay and introduce overridable src dir" into lmp-dev
* commit 'c37205f5ab68b151ef26975df6485dcfd2dfcd52':
  DO NOT MERGE: Abolish source code overlay and introduce overridable src dir
2014-08-20 10:31:40 +00:00
Yohei Yukawa
17aeaa7578 am fa39ffcf: Support more methods in the wrapper of CursorAnchorInfo
* commit 'fa39ffcf8461ad6e53a86d8957ab892a3e367d16':
  Support more methods in the wrapper of CursorAnchorInfo
2014-08-20 04:51:21 +00:00
Yohei Yukawa
b9768702fa Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev 2014-08-20 01:43:56 +00:00
Yohei Yukawa
9f4f6681a9 Use #onStartInputInternal to initialize cursor rect retrieval
This CL simply moves the method calls of #requestCursorAnchorInfo
into #onStartInputInternal just to consolidate the logic.

Change-Id: Ia205738b9614e9ae375c1dab767a91d2e1f6d0d3
2014-08-21 00:21:57 +09:00
Yohei Yukawa
fa39ffcf84 Support more methods in the wrapper of CursorAnchorInfo
This CL add more compatibility wrapper methods for
CursorAnchorInfo.

This CL also adds more utility functions and types into
CompatUtils to reduce explict cast operations.

Change-Id: Id50165b552bbf28b832a6da13bf06eedcd2a190e
2014-08-20 09:27:22 +09:00
Yohei Yukawa
907825548b Use FrameLayout for the backing view
If we render our UI around the composing text in the fullscreen
mode, probably we need to have our views under
android.R.id.extractArea, which is implemented as FrameLayout.
Therefore, using FrameLayout for the backing view makes it easy
to simplify the code between normal mode and full screen mode.

Change-Id: I69533b22d9d1368ad906dc5ef7be1a1b674d10b8
2014-08-19 14:04:35 +09:00
Jean Chalard
db818ecd84 am 23f41049: Add the source for the Romanian dictionary
* commit '23f41049d69b17402d91506ef1283d7eb48ba430':
  Add the source for the Romanian dictionary
2014-08-18 04:15:42 +00:00
Jean Chalard
23f41049d6 Add the source for the Romanian dictionary
This is only informational data - it has no functional
impact at all.

Bug: 7645206
Change-Id: I01f0c2b4fba17a37079531c9a5246c796c836d18
2014-08-18 12:49:56 +09:00
Yohei Yukawa
4617bf563f am b7a227b9: Merge "Use RelativeLayout for the backing view" into lmp-dev
* commit 'b7a227b93ba9a0787e70157b4302b6abd15d018a':
  Use RelativeLayout for the backing view
2014-08-16 14:07:15 +00:00
Yohei Yukawa
18ac3c8afd am 16a43d2b: Let the backing view cover the entire content area
* commit '16a43d2bd9c5d80f8e50f5a7682b657ee10621e1':
  Let the backing view cover the entire content area
2014-08-16 13:57:05 +00:00
Yohei Yukawa
b7a227b93b Merge "Use RelativeLayout for the backing view" into lmp-dev 2014-08-16 04:32:18 +00:00
Ken Wakasa
c37205f5ab Merge "DO NOT MERGE: Abolish source code overlay and introduce overridable src dir" into lmp-dev 2014-08-16 04:25:55 +00:00
Ken Wakasa
0b3e48fb50 DO NOT MERGE: Abolish source code overlay and introduce overridable src dir
This should make IDEs happy with appropriate source code directory
selection.

Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
(cherry picked from commit fb74ab15c1)
2014-08-20 02:56:09 +00:00
Keisuke Kuroyanagi
cdc260b78e Merge "Fix TrieMap: Cannot create next level map of small value entry." 2014-08-16 04:15:21 +00:00
Keisuke Kuroyanagi
9c9f2d06bc Fix TrieMap: Cannot create next level map of small value entry.
Bug: 14425059
Change-Id: I864f81ea7dd1d847ef2b016366ce046b1c43d5e5
2014-08-20 20:48:25 +09:00
Ken Wakasa
9107d8be30 am 4396f662: (-s ours) am c37205f5: Merge "DO NOT MERGE: Abolish source code overlay and introduce overridable src dir" into lmp-dev
* commit '4396f662f642fa684c351d3289d1cb0ce1fac429':
  DO NOT MERGE: Abolish source code overlay and introduce overridable src dir
2014-08-20 10:38:46 +00:00
Yohei Yukawa
3cf13d1267 am 17aeaa75: am fa39ffcf: Support more methods in the wrapper of CursorAnchorInfo
* commit '17aeaa75780591f1bf7fefcc887869fd90c88a9f':
  Support more methods in the wrapper of CursorAnchorInfo
2014-08-20 05:04:07 +00:00
Ken Wakasa
9be350bc21 Merge "Abolish source code overlay and inroduce overridable src dir" 2014-08-16 04:15:21 +00:00
Keisuke Kuroyanagi
ffaa9c2a71 Merge "Add language to PersonalizationDataChunk." 2014-08-16 04:12:14 +00:00
Keisuke Kuroyanagi
e66d59e6d8 Add language to PersonalizationDataChunk.
Bug: 16547557
Change-Id: I11b82667631cbd5263cc08ccb304fc97bf692050
2014-08-19 18:27:34 +09:00
Keisuke Kuroyanagi
1f6e52ef02 Use byte array view in ver4 dict contents.
Change-Id: Icf79a51a200f7ccd775264d1a83dd61e7dcfbab2
2014-08-18 22:46:10 +09:00
Keisuke Kuroyanagi
ace03d7919 Merge "Add BoS flag in probability entry." 2014-08-16 04:15:21 +00:00
Keisuke Kuroyanagi
623067a183 Add BoS flag in probability entry.
Bug: 14425059

Change-Id: I50439630034ada0280c44cbbb308aa0b95b72048
2014-08-19 11:49:05 +09:00
Keisuke Kuroyanagi
bfcd5efd50 Merge "Use byte array view in ver4 dict contents." 2014-08-16 04:15:21 +00:00
Jean Chalard
8adf5e8a70 Have the "add to dictionary" hint display the right word
Before this, we display the word we have committed instead
of the word we will actually insert into the personal dictionary.
There is a difference when the word was typed with auto-caps.

Bug: 17071785
Change-Id: I2bfec0402b1307934590a78ab5c25104d92b75ca
2014-08-18 20:43:40 +09:00
Keisuke Kuroyanagi
2f34f0d1a8 Merge "Remove entry from language model dict content." 2014-08-16 04:15:21 +00:00
Jean Chalard
1ccb9e5e4d am db818ecd: am 23f41049: Add the source for the Romanian dictionary
* commit 'db818ecd849897633785621995ae75c0fc4f02d9':
  Add the source for the Romanian dictionary
2014-08-18 04:26:01 +00:00
Keisuke Kuroyanagi
d3097c67ca Remove entry from language model dict content.
Bug: 14425059
Change-Id: Iea51c0ae908d499da19839de06222a1c4d19088e
2014-08-18 12:34:50 +09:00
Keisuke Kuroyanagi
b4531d861e Add method to remove entry from language model dict content.
Bug: 14425059
Change-Id: Id21af0110e770caa3e95cb5d7ba8b3d1af8e0b12
2014-08-18 12:34:48 +09:00
Jean Chalard
36c02f862a Merge "Fix the name of a class" 2014-08-16 04:12:14 +00:00
Jean Chalard
650770da2c Fix the name of a class
Change-Id: I6a6360c3e606ae331b95df17ecf35942be2b89a9
2014-08-19 22:08:59 +09:00
Keisuke Kuroyanagi
0db136e51f Merge "Add method to remove entry from language model dict content." 2014-08-16 04:12:14 +00:00
Yohei Yukawa
fd8f1cf1bd am 4617bf56: am b7a227b9: Merge "Use RelativeLayout for the backing view" into lmp-dev
* commit '4617bf563f69047bfceb580477fae8c23c9b39f4':
  Use RelativeLayout for the backing view
2014-08-16 14:10:16 +00:00
Yohei Yukawa
c9240d280c am 18ac3c8a: am 16a43d2b: Let the backing view cover the entire content area
* commit '18ac3c8afd06c237a2935abad130aa3b99b5004b':
  Let the backing view cover the entire content area
2014-08-16 14:02:21 +00:00
Yohei Yukawa
1a1c5e0f60 Use RelativeLayout for the backing view
RelativeLayout allows the IME to place its UI element at an
arbitrary position on the backing view.

Change-Id: Ib40d2111f56d8f38007e37c6c47536db3f0bef75
2014-08-16 12:34:01 +09:00
Yohei Yukawa
16a43d2bd9 Let the backing view cover the entire content area
With this CL, the backing view starts covering the content area
entirely.  This allows the IME to render its UI elements at an
arbitrary position on the screen.

Change-Id: I8b4173410931b776964dddf66de2fe247e51d9de
2014-08-16 12:28:13 +09:00