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
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
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
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
Jean Chalard
b8d764772b
Add the input style to SuggestedWords.
...
Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
2014-08-14 17:53:04 +09:00
Tadashi G. Takaoka
a94c89e017
Use light emoji icon for Material light tablet keyboard
...
Bug: 16808603
Change-Id: I39ce0ed8b5580754dfd0cf1494289b0a23863d50
2014-08-14 00:25:34 +09:00
Yohei Yukawa
d9a8e1ccfd
Enable CursorAnchorInfo callback when necessary
...
Change-Id: If3dda7442418053600ac935da50baaddb0e31d37
2014-08-13 20:02:14 +09:00
Yohei Yukawa
6e7806bc00
Add stub implementation of #onUpdateCursorAnchorInfo
...
This CL never changes existing behavior because
ProductionFlags.ENABLE_CURSOR_ANCHOR_INFO_CALLBACK is
not yet turned on.
Change-Id: I4bcbd2aebd05977b07231e8aa14acdcf6d8e1fa0
2014-08-13 19:36:23 +09:00
Tadashi G. Takaoka
c225d2e29c
Add setting boolean for showing UI to accept typed word
...
Change-Id: Iedd90d07b904362d9debc9994ce86cd78a0303b9
2014-08-13 17:29:49 +09:00
Tadashi G. Takaoka
a696c92477
(DO NOT MERGE) Add debug setting to force hardware special key
...
Bug: 13988700
Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655
(cherry picked from commit 3659c70fc3
)
2014-08-13 08:04:54 +00:00
Tadashi G. Takaoka
78cff10f8d
Add BuildCompatUtils to get an effective platfrom API version
...
This CL removes reference of VERSION_CODES.CUR_DEVELOPMENT.
Bug: 13888366
Change-Id: I5c8499a175473a220c8fb04ead219760c585a19a
2014-08-13 16:21:23 +09:00
Tadashi G. Takaoka
8f3e778a21
Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
...
This reverts commit 5380acfd04
.
Bug: 13888366
Change-Id: Iae0fb6798cef9d59c9de3790123f6acaf8b2746b
2014-08-13 04:00:36 +00:00
Tadashi G. Takaoka
5380acfd04
Remove reference of VERSION_CODES.CUR_DEVELOPMENT
...
Bug: 13888366
Change-Id: I0b829e2cf9a11c694cf01b6f02753233c9c85105
2014-08-12 23:13:18 +09:00
Yohei Yukawa
89e8cba6ae
Merge "Add CursorAnchorInfoCompatWrapper for KitKat and older platforms" into lmp-dev
2014-08-11 19:46:21 +00:00
Tadashi G. Takaoka
499153734e
(DO NOT MERGE) Add SpecialkeyDetector
...
Bug: 13988700
Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a
(cherry picked from commit 34541bfeb6
)
2014-08-12 10:14:41 +00:00
Tadashi G. Takaoka
8fdff5a111
(DO NOT MERGE) Show InputView even when hardware keyboard is connected
...
Bug: 13988700
Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120
(cherry picked from commit 06514f00f4
)
2014-08-12 10:03:47 +00:00
Yohei Yukawa
deff9495f7
Add CursorAnchorInfoCompatWrapper for KitKat and older platforms
...
Change-Id: Ia26c783ebefd7b928d623a598792b7ba32d89a80
2014-08-12 17:26:56 +09:00
Tadashi G. Takaoka
016d6c424c
Auto scale-X text of key popup preview
...
Bug: 9978106
Change-Id: I335fa3117ac2af2cb8220c4827dd54c1a1da4c5c
2014-08-12 12:17:40 +09:00
Tadashi G. Takaoka
c9add10c38
(DO NOT MERGE) Disable Sinhala keyboard for L-release
...
This CL also disables Tamil (Sri Lanka) subtype in conjunction with
Sinhala (Sri Lanka) subtype.
Bug: 6911143
Bug: 9978106
Change-Id: I686b4e5d2c79039ca8d837d3227448d69c7e47de
2014-08-11 11:14:07 +00:00
Tadashi G. Takaoka
25906373ff
Fix Tamil keyboard
...
This CL adds Tamil (Sri Lanka) and Tamil (Singapore) subtypes.
This CL also fixes Sinhala Keyboard's currency symbol.
Bug: 9978106
Bug: 6911143
Change-Id: I2060978097882d0f4b1ec10f1103260ed8a447d0
2014-08-11 18:07:27 +09:00
Tadashi G. Takaoka
2863997abd
Fix Kannada keyboard
...
Bug: 10029252
Change-Id: I5ae056ca6ada4ffb921e9882bf57ad21a9bb4d47
2014-08-11 15:51:56 +09:00
Tadashi G. Takaoka
015fcc2685
(DO NOT MERGE) Enable InScript keyboards for L
...
This CL enables the followin InScript keyboards for L-release.
- Sinhala
- Tamil
- Bengali
- Telugu
- Marathi
- Kannada
- Malayalam
Bug: 6911143
Bug: 9978106
Bug: 10028755
Bug: 10028759
Bug: 10028772
Bug: 10029252
Bug: 10417006
Change-Id: Id8962b429fbb58b5c2c90a65849af6a6fe84a8c9
2014-08-11 15:51:12 +09:00
Ken Wakasa
31869bf5ad
A follow up to AAPT change
...
AAPT previously allowed apps to generate resources in the android
package. This is no longer allowed after I1be66e3f8df9a737b21c71f8a93685376c7e6780.
Change-Id: Icda68829c0bf9254b6637f0ec2cecc0b357dbc43
2014-08-10 11:21:14 +09:00
Ken Wakasa
f729f2214f
Help & feedback should be the very last item in the menu
...
bug: 16717930
Change-Id: I7ce73fe067bb7f9a639b414875780c39bb1de12d
2014-08-08 21:26:51 +09:00
Keisuke Kuroyanagi
a848c09485
Merge "Rename distracter filter class." into lmp-dev
2014-08-07 16:37:11 +00:00
Keisuke Kuroyanagi
e05eb21826
Rename distracter filter class.
...
Bug: 13142176
Bug: 15531638
Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
2014-08-08 17:01:19 +09:00
Keisuke Kuroyanagi
33ca0c80c1
Use suggestions in the distracter filter.
...
Bug: 13142176
Bug: 15531638
Change-Id: I609fa61fccf2a0c738726985806b7d9248eadf49
2014-08-08 17:01:16 +09:00
Keisuke Kuroyanagi
6fef4ff00d
Merge "Use suggestions in the distracter filter." into lmp-dev
2014-08-07 16:56:07 +00:00
Ken Wakasa
83a96fe5c7
Initial implementation of Help & feedback
...
bug: 16717930
Change-Id: Iddc8e831c3f01ec7eb02ed1bc5d5e103d497e177
2014-08-08 12:58:31 +09:00
Tadashi G. Takaoka
db776143d9
Revert "Revert "Align hint label to bottom""
...
This reverts commit 02c4a80afe
.
2014-08-07 23:44:34 +09:00
Tadashi G. Takaoka
dfeb014726
Revert "Revert "Tune number letter size of Material keyboard""
...
This reverts commit 5ad718f2ca
.
2014-08-07 23:43:37 +09:00
Tadashi G. Takaoka
f7f6574368
Revert "Revert "Remove unused Key and Keyboard attributes""
...
This reverts commit 44e20f4fb4
.
Change-Id: I6560c8f4ef15bf8318d9eedf68a9eb5031f0581d
2014-08-07 23:36:57 +09:00
Tadashi G. Takaoka
9cca3c8359
am a262144d
: Add ViewCompatUtils.setElevation
...
* commit 'a262144dcb6a8e7d5bb42f1feb1f80902877baec':
Add ViewCompatUtils.setElevation
2014-08-05 13:19:39 +00:00
Tadashi G. Takaoka
eceefd0725
am 689064d0
: Remove unnecessarily overridden defaultEnterKeyStyle
...
* commit '689064d0a26a7d551c49b53bf43d0eeab0f28379':
Remove unnecessarily overridden defaultEnterKeyStyle
2014-08-05 13:19:38 +00:00
Jean Chalard
d5c89d6490
am 6474ef99
: Merge "[HW16] Implement processing event chains." into lmp-dev
...
* commit '6474ef9925e538d19aed24d53753ec1b0d5ae30c':
[HW16] Implement processing event chains.
2014-08-05 13:19:32 +00:00
Tadashi G. Takaoka
c34a384212
am 8cbb4eb9
: Merge "Make popup hint letter theme-aware" into lmp-dev
...
* commit '8cbb4eb984f327bb6f1990b0efb5ca3e080ca0a9':
Make popup hint letter theme-aware
2014-08-05 13:19:30 +00:00
Jean Chalard
5a91e4fa90
am f69bb4c7
: [HW15] Pass events instead of reading them from the transaction
...
* commit 'f69bb4c7a31095012608f6608aa714588eb73b3d':
[HW15] Pass events instead of reading them from the transaction
2014-08-05 13:19:28 +00:00
Keisuke Kuroyanagi
583bbb16dc
am 203ba408
: Merge "Remove ProbabilityDictContent and use LanguageModelDictContent" into lmp-dev
...
* commit '203ba408d7124598da49c0b146aba35b72f5f336':
Remove ProbabilityDictContent and use LanguageModelDictContent
2014-08-05 13:19:27 +00:00
Keisuke Kuroyanagi
baf915e4c4
am 6d181179
: Merge "Add methods for unigrams to LanguageModelDictContent." into lmp-dev
...
* commit '6d1811793e0ec786aec77ac1fc6ddc04ae13cfed':
Add methods for unigrams to LanguageModelDictContent.
2014-08-05 13:19:26 +00:00
Jean Chalard
b8c1075a8f
am 1b9f7c96
: Merge "[HW14] Cleanup" into lmp-dev
...
* commit '1b9f7c962c164e656d8a6ba94f50ffe7960c2636':
[HW14] Cleanup
2014-08-05 13:19:25 +00:00
Jean Chalard
b5c862f8f9
am c710b34e
: Merge "[HW13] Split up onCodeInput" into lmp-dev
...
* commit 'c710b34e34ab4035846efea6b5109811befd956a':
[HW13] Split up onCodeInput
2014-08-05 13:19:24 +00:00
Tadashi G. Takaoka
a262144dcb
Add ViewCompatUtils.setElevation
...
Bug: 16210054
Change-Id: I632158951a60ab527246410caefd9fbe471dd859
2014-08-05 18:56:24 +09:00
Tadashi G. Takaoka
689064d0a2
Remove unnecessarily overridden defaultEnterKeyStyle
...
The overriding defaultEnterKeyStyle was needed because there were two
Key's attributes to control key's visual, keyLabel and
keyIcon. Because these were merged into one keySpec attribute, there
is no need to override defaultEnterKeyStyle.
Bug: 16787857
Change-Id: I78ca2c7c9349e4532c67e8d6468a5b98309adc05
2014-08-05 09:54:02 +00:00
Jean Chalard
f69bb4c7a3
[HW15] Pass events instead of reading them from the transaction
...
It's probably cleaner to just pass the events rather than read
them from a transaction, especially when a transaction may be
associated with several events in a chain.
Change-Id: I27830f0f3f3f32fe77ea8b9cad505b7ebee648af
2014-08-05 15:37:01 +09:00