Commit graph

32667 commits

Author SHA1 Message Date
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
Baligh Uddin
8fb9874470 Import translations. DO NOT MERGE
Change-Id: I3cae3b62faf27fea8cc7c24051ac18f415934399
Auto-generated-cl: translation import
2014-08-18 23:15:21 -07:00
Baligh Uddin
2b250a1174 Import translations. DO NOT MERGE
Change-Id: I9d51675746cc1b3987f2c7a2469a3deced820e69
Auto-generated-cl: translation import
2014-08-18 23:14:04 -07:00
Baligh Uddin
0c4679699f Import translations. DO NOT MERGE
Change-Id: Iacc87d9f13f21de7584cd5028527ec59c7c12802
Auto-generated-cl: translation import
2014-08-18 23:09:41 -07:00
Baligh Uddin
71673204f0 Import translations. DO NOT MERGE
Change-Id: Ieef69130fa6f1f9c9f95a8f308175fbec470af86
Auto-generated-cl: translation import
2014-08-18 23:08:37 -07:00
Baligh Uddin
a549f99dcc Import translations. DO NOT MERGE
Change-Id: I0b7fb1fc18139ff80343703ab7a6caa2166fa519
Auto-generated-cl: translation import
2014-08-18 23:07:30 -07: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
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
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
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
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
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
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
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
Ken Wakasa
fb74ab15c1 Abolish source code overlay and inroduce overridable src dir
This should make IDEs happy with appropriate source code directory
selection.

bug: 16829244
Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
2014-08-16 03:37:54 +09:00
Keisuke Kuroyanagi
90d51d94b5 Merge "Add retry for dict file existence tests." 2014-08-15 04:47:18 +00:00
Keisuke Kuroyanagi
a4fb0cc266 Add retry for dict file existence tests.
Change-Id: Ife8d30e1de22336ea87faadb8c6ad7451679337b
2014-08-15 17:55:27 +09:00
Keisuke Kuroyanagi
7be252d479 Use %zd to print size_t value.
Change-Id: Id46f50353b489d84b9a97dd4ddc5519bd99492cd
2014-08-15 16:50:23 +09:00
Keisuke Kuroyanagi
ed1ab3b363 Improve accent error handling in exact match logic.
Bug: 16963362
Change-Id: I50a48806bc3147388d165faab6b572415a851f29
2014-08-15 16:50:23 +09:00