Yohei Yukawa
809c93214b
Experimental automatic language switching support.
...
With this CL, LatinIME switches the current subtype from its enabled
subtypes based on the first locale in EditorInfo#hintLocales.
This functionality is still experimental, and will be triggered only
when EditorInfo#hintLocales is specified by the application.
Bug: 22859862
Change-Id: Ibd0559b370d8aa0d50d1bada8ecfdac0ed8db898
2016-01-22 02:24:28 -08:00
Yohei Yukawa
16645966a9
Support EditorInfo#hintLocales in compat library.
...
This CL updates LatinIME's compatibility library so that we can access
EditorInfo#hintLocales without directly depending on unreleased SDK.
Bug: 22859862
Change-Id: I4ba7d294bc314002c3abf8842f097a4249783364
2016-01-22 02:22:11 -08:00
Yohei Yukawa
995ce45572
Use "languageTag" in RichInputMethodSubtype.
...
With this CL, RichInputMethodSubtype#getLocale() starts returning
a Locale object that is initialized with "languageTag" when it is
specified. No behavior change is intended when "languageTag" attribute
is not available or specified.
Bug: 22858221
Change-Id: I23f2e479b8e284ce589c6950b071ba84c5dd8ce1
2016-01-21 23:50:32 -08:00
Yohei Yukawa
f6997344e6
Experimentally specify languageTag attribute.
...
With previous CLs [1][2], now we can associate a BCP 47 language tag for
each InputMethodSubtype in XML resource file by "languageTag" attribute.
In order to test that the functionality, we start using "languageTag"
for some subtypes.
Note that specifying "languageTag" for all the existing subtypes is
beyond the goal of this CL, which should be handled in subsequent CLs.
Here is the list of subtypes that start having "languageTag" attribute.
- android:imeSubtypeLocale="en_US" -> android:languageTag="en-US"
- android:imeSubtypeLocale="en_GB" -> android:languageTag="en-GB"
- android:imeSubtypeLocale="fr " -> android:languageTag="fr"
- android:imeSubtypeLocale="fr_CA" -> android:languageTag="fr-CA"
- android:imeSubtypeLocale="fr_CH" -> android:languageTag="fr-CH"
- android:imeSubtypeLocale="tl" -> android:languageTag="fil"
[1]: I77db5b99a7cf745d800db75baf135bb60ad04820
8d6eeb01df72891acd3aa75e64aa1595a41cc96e
[2]: I251d3d999afd13c0d618f2cb59e8ed3d47f21c98
b8456a6a483ce62c81b92f613561fb761be0f3e8
Bug: 22858221
Change-Id: I37cb9ce196f2e23589e60ce34475504405778bbb
2016-01-21 23:47:11 -08:00
Geoff Mendal
c968a6064b
Import translations. DO NOT MERGE
...
Change-Id: I6b60be9063655acb76a724ef9ca8a0cd946c7d8d
Auto-generated-cl: translation import
2016-01-20 05:41:54 -08:00
Geoff Mendal
d8f88aa0a2
Merge "Import translations. DO NOT MERGE"
2016-01-18 14:02:02 +00:00
Geoff Mendal
83585bf8c3
Import translations. DO NOT MERGE
...
Change-Id: I0fe5a3880cbc1ddf27626d175109c31020932ed6
Auto-generated-cl: translation import
2016-01-18 06:00:28 -08:00
Geoff Mendal
b6f9777b41
Import translations. DO NOT MERGE
...
Change-Id: Ic12099dc6253b77f748245ae9ab1ad6ac9920dfc
Auto-generated-cl: translation import
2016-01-18 05:59:35 -08:00
Geoff Mendal
b9ad3f411c
Import translations. DO NOT MERGE
...
Change-Id: Id3644c842de9db4fa3b4d3fc4fd6a9d720dccffd
Auto-generated-cl: translation import
2016-01-11 05:49:02 -08:00
Yohei Yukawa
9fc50c3c04
Merge "Hide settings-key until the device is unlocked."
2016-01-07 19:03:40 +00:00
David Riley
0307020627
Merge "Merge remote-tracking branch 'goog/mnc-dr-ryu-dev'"
2016-01-07 18:11:49 +00:00
Yohei Yukawa
b823e12d6c
Hide settings-key until the device is unlocked.
...
Starting in N, we are going to have new APIs to officially support the
situation where apps need to run before the user has unlocked their
device for the first time. For IME developers those APIs would be
important not only because IMEs developers may want to support other
apps that support that feature but also because IMEs developers have
already needed to pay attention to the same situation where the IME is
running so that the user can enter the initial password (e.g. for an
encrypted device).
Bug 11270326 is a perfect example of this scenario. Now we can disable
settings-key until the device is unlocked by using the new API when
running in Android N devices.
Bug: 11270326
Change-Id: Ie1c6efa63b60b91430f1a78dde624d0f3dff3c69
2016-01-07 06:37:13 +00:00
Geoff Mendal
d043a6faa3
Merge "Import translations. DO NOT MERGE"
2016-01-06 13:45:31 +00:00
Geoff Mendal
cbf781c7ad
Import translations. DO NOT MERGE
...
Change-Id: Ie923e0212ba100e460fb8bc53717aaa08cfd72ee
Auto-generated-cl: translation import
2016-01-06 05:31:27 -08:00
Geoff Mendal
5c52549d31
Import translations. DO NOT MERGE
...
Change-Id: I47324173fd4ac0776afc1a44647e4bef21c461f9
Auto-generated-cl: translation import
2016-01-06 05:28:36 -08:00
David Riley
fdb2cf4950
Merge remote-tracking branch 'goog/mnc-dr-ryu-dev'
2015-12-21 12:37:57 -08:00
Geoff Mendal
a78b380715
Import translations. DO NOT MERGE
...
Change-Id: I2a938e925f9175325fb445358bfa881ddb16415c
Auto-generated-cl: translation import
2015-12-21 05:23:19 -08:00
Geoff Mendal
91965ce45c
Merge "Import translations. DO NOT MERGE"
2015-12-16 14:39:10 +00:00
Geoff Mendal
9bb12ccaa7
Merge "Import translations. DO NOT MERGE"
2015-12-16 14:38:49 +00:00
Geoff Mendal
47b0f9ee7a
Merge "Import translations. DO NOT MERGE"
2015-12-16 14:38:03 +00:00
Geoff Mendal
fdae9e4aeb
Merge "Import translations. DO NOT MERGE"
2015-12-16 14:36:36 +00:00
Geoff Mendal
b6bda4d565
Merge "Import translations. DO NOT MERGE"
2015-12-16 14:35:32 +00:00
Geoff Mendal
9b6edd4960
Merge "Import translations. DO NOT MERGE"
2015-12-16 14:34:37 +00:00
Geoff Mendal
0b01198ca2
Import translations. DO NOT MERGE
...
Change-Id: I2ad057c051e8c455957acbc958be1777e2eee285
Auto-generated-cl: translation import
2015-12-16 06:04:27 -08:00
Geoff Mendal
538af9ae4b
Import translations. DO NOT MERGE
...
Change-Id: Id3177c219a92a8a2e654e3f11cd8935b919444be
Auto-generated-cl: translation import
2015-12-16 06:03:38 -08:00
Geoff Mendal
f14d046c5e
Import translations. DO NOT MERGE
...
Change-Id: I4ec506d7edc476194cc2cd2ced1aec6a6e4affe8
Auto-generated-cl: translation import
2015-12-16 06:02:17 -08:00
Geoff Mendal
afd4825924
Import translations. DO NOT MERGE
...
Change-Id: I611c5740b31367399b2211ad9c79cacf9230defa
Auto-generated-cl: translation import
2015-12-16 06:01:26 -08:00
Geoff Mendal
bb4a7732d3
Import translations. DO NOT MERGE
...
Change-Id: Iefcca0df4b65fb43312e3e4a3030ccafae431a21
Auto-generated-cl: translation import
2015-12-16 06:00:10 -08:00
Geoff Mendal
a912a52498
Import translations. DO NOT MERGE
...
Change-Id: I5566cfdd9f6a5b46fd164beb95635dbcfa3a807f
Auto-generated-cl: translation import
2015-12-16 05:59:32 -08:00
Geoff Mendal
1ffe6a633d
Import translations. DO NOT MERGE
...
Change-Id: Iae2a2a5fa84265e885fd704f5893e6004f0283be
Auto-generated-cl: translation import
2015-12-16 05:58:39 -08:00
Geoff Mendal
ff3720f514
Import translations. DO NOT MERGE
...
Change-Id: I3deb5d1e2e9892e34a8272eef6d7a8b75b86b928
Auto-generated-cl: translation import
2015-12-14 05:48:35 -08:00
Seigo Nonaka
6c04339c5a
Change NavigationBar invisible if the input view is not shown.
...
The opaque navigation bar guard view does not make much sense when the
IME does not show software keyboard at all. LatinIME does not show
any UI when the hardware keyboard is connected.
With Iea77915ecc55eedaf19899e72c44f704ba9d852c, input method can change
the navigation bar visibility. This CL changes navigation bar invisible
when the hardware keyboard is connected.
Bug:22564251
Change-Id: I14d9490e00caa852035a05830e76114cbe6af8f2
2015-12-08 19:36:30 -08:00
Dmitry Torokhov
a2a057a991
Check if last shown Emoji category ID is still valid
...
When upgrading to a new version of APK we may find that the stored Emoji
category ID is no longer applicable. For example it happened when we
brought in the new Unicode 8.0 Emojis.
Also restore the "Symbols" emoji category on pre-kitkat devices which
was accidentally dropped when bringing in Unicode 8.0 Emojis.
b/25972978
Change-Id: I91c044603b0aac8757cb8597d3af995f84b822f3
2015-12-08 16:50:51 -08:00
Geoff Mendal
922be5c446
Import translations. DO NOT MERGE
...
Change-Id: I7650a71daa7cede33ba972510f36f216caf9db11
Auto-generated-cl: translation import
2015-11-25 05:44:09 -08:00
Geoff Mendal
451871ed8a
Import translations. DO NOT MERGE
...
Change-Id: I049eb4b60c35cfd73863af0563948a8da2d0a387
Auto-generated-cl: translation import
2015-11-25 05:29:44 -08:00
Jeff Sharkey
8d658035f1
Mark this coreApp as being encryptionAware.
...
Historically, apps marked with "coreApp" were prepared to run in a
limited boot environment, and were critical to booting the device, so
in the new file-based encryption world we're marking these apps with
both "forceDeviceEncrypted" and "encryptionAware" attributes.
Bug: 22358539
Change-Id: I7d46723007a5706e835223cc501f0c40d613e9c2
2015-11-19 11:11:31 -07:00
Geoff Mendal
024e1cdd55
Import translations. DO NOT MERGE
...
Change-Id: I3ceefd186d7ee9f1c8c7039548d4b7f6794d6188
Auto-generated-cl: translation import
2015-11-14 07:00:02 -08:00
Geoff Mendal
304a901c8a
Import translations. DO NOT MERGE
...
Change-Id: Ic599f7fbe1cedc69ae82ecb2af85141617f628dd
Auto-generated-cl: translation import
2015-11-14 06:45:49 -08:00
Chieu Nguyen
39a14715ef
Unicode 8.0 emoji additions to Google Keyboard. am: 7674a65367
am: fab2818b96
am: 305aef9c87
...
am: 8fb57af3e9
* commit '8fb57af3e9ee1c01352e9c69ddb33d460f828b17':
Unicode 8.0 emoji additions to Google Keyboard.
2015-11-11 22:14:12 +00:00
Chieu Nguyen
0f1be93053
Unicode 8.0 emoji additions to Google Keyboard.
...
am: 7674a65367
* commit '7674a653678b542d795b0bd05c241654ffe1015a':
Unicode 8.0 emoji additions to Google Keyboard.
2015-11-11 21:54:20 +00:00
Chieu Nguyen
fab2818b96
Unicode 8.0 emoji additions to Google Keyboard.
...
am: 7674a65367
* commit '7674a653678b542d795b0bd05c241654ffe1015a':
Unicode 8.0 emoji additions to Google Keyboard.
2015-11-11 21:54:20 +00:00
Chieu Nguyen
7674a65367
Unicode 8.0 emoji additions to Google Keyboard.
...
Squashed commit of the following:
commit 8e86347b024e2460a17264fbcaa20cd6e5fd6018
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Tue Nov 10 11:29:44 2015 -0800
Remove check for version code.
This was unnecessary and caused multi-codepoint
emoji to not show up on any device.
Bug: 25369504
Change-Id: Ia1e61c052444aaab824b18463c26b5a8066c65ed
commit 1b924816665a3a2c48307dbdd1078f61dd3179f2
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 18:12:58 2015 -0800
Fix Material icons for new tab.
Bug: 25369504
Bug: 16185905
Change-Id: I873eb9e8fc1259ac94a974c04a80a4f0d005f9c2
commit 956d5f86d2552d90d2c3240a85d5c1cddf05eda9
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 17:16:10 2015 -0800
Remove extraneous TalkBack descriptions.
Bug: 25369504
Bug: 16185905
Change-Id: Iec4f0f46cf9dda169c5827168ef207e56d619096
commit 07357bdec69b5fc118c82401d59b61ad7b802c22
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 16:01:34 2015 -0800
Better checking of whether to display new emoji.
Bug: 25369504
Bug: 16185905
Change-Id: I61f1b428e5a805f66eb4e9db346be8756fc84b8f
commit 666a92f17034f5a1948e70f40226ed995c72d81f
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 12:54:53 2015 -0800
Fix shading on emoji category icons.
Bug: 25369504
Bug: 16185905
Change-Id: I217af3d97120e7910e9850de7ea331a461ae7e56
commit 2712432c0e7a1b90ebb7ed6bde8f87eec7bf1094
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 19:06:57 2015 -0800
Add new emoji categories to Holo Blue.
Bug: 25369504
Bug: 16185905
Change-Id: Ie32af93e68e08b36a4a5861a06de511b2b190dca
commit 04c79b1f53912b263d7f7eb8b71ac802ed960a8a
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 18:06:35 2015 -0800
Fix default category, remove xxxhdpi Holo icons.
Bug: 25369504
Bug: 16185905
Change-Id: I9bca795675297dceb93777d998e8f2935f7031a6
commit 15c0b578343db2baa873096891a69305398eb830
Merge: 77bc6fc 8604ce3
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 00:59:08 2015 +0000
Merge changes into jb-ub-latinimegoogle
commit 77bc6fcfd760232757b5751993c0046f2a43626a
Merge: b0380a0 8604ce3
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 00:59:04 2015 +0000
Merge "Remove Kosovo from flags (no glyph)." into
jb-ub-latinimegoogle
commit b0380a0744647039278ad6648b7a1bc94eeab623
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 16:42:24 2015 -0800
Add icons for new emoji categories.
Bug: 25369504
Bug: 16185905
Change-Id: I1182e031994332b2e618406ad1cd467cb050766e
commit 8604ce3a34b65598101cac37a3ed3e8087fe38ca
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 16:29:33 2015 -0800
Remove Kosovo from flags (no glyph).
Bug: 25369504
Bug: 16185905
Change-Id: I92c9ace19d3600cfa1f27678ada0cf45af42d8f5
commit e0489eab47d3a6d138bfa00a668f02bcb473cf88
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 14:30:58 2015 -0800
Update emoji set to blacklist non-color glyphs.
Bug: 25369504
Bug: 16185905
Change-Id: I8b54217fa68da8ddaa1bbcd1845e0123ed106463
commit 9ffdcdff058d6b44cab70e4fb0bb301e39699483
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Wed Nov 4 17:18:22 2015 -0800
Add Unicode 8.0 emoji to emoji palette.
Currently all emoji category tabs use the flower
icon. A future CL will update these once the
icons are finalized.
If glyphs do not exist for new emoji, the old
categories will be shown.
Bug: 25369504
Bug: 16185905
Change-Id: Ie3759bfc4c8469a17f3205b45609ce6ef7510121
commit 4a4a042072790b19048a14d2ddab655b1be31a6e
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Sun Nov 1 18:38:20 2015 -0800
Add description strings for Unicode 8.0 new emoji.
Bug: 16185905
Bug: 25369504
Change-Id: I6048609ace715a23db5f82d47fefe4868ccb3d17
Change-Id: I30a043554b14531ab9cf89a1f663b6970d7d6863
2015-11-11 11:04:45 -08:00
Geoff Mendal
191ec80423
Import translations. DO NOT MERGE
...
Change-Id: I856b3184faf72ef8d16d849046d6fb7f05e8c67f
Auto-generated-cl: translation import
2015-11-11 05:31:11 -08:00
Geoff Mendal
4de1e2262e
Import translations. DO NOT MERGE
...
Change-Id: Ib2017e067aadd10ca7d2ea82c3a54c2b04fc2cf3
Auto-generated-cl: translation import
2015-11-11 05:29:20 -08:00
Geoff Mendal
0bc600a5cc
Import translations. DO NOT MERGE
...
Change-Id: I2921b5d5af7b2aa4f89481e33ab429eff75cf070
Auto-generated-cl: translation import
2015-11-11 05:22:48 -08:00
Ian Pedowitz
5af8f71a73
Revert "Unicode 8.0 emoji changes to Google Keyboard." am: e1d5012683
am: 1ce99504c5
am: 25dcdc2b15
...
am: 32b49b95cd
* commit '32b49b95cdd6c5f87c166517c1f5c26eda1ac8fd':
Revert "Unicode 8.0 emoji changes to Google Keyboard."
2015-11-10 03:37:33 +00:00
Ian Pedowitz
22c4c919da
Merge "Revert "Add description strings for Unicode 8.0 new emoji."" into mnc-dr-dev am: 9dfac101f2
am: 89efd96db6
am: 3544e4c5ca
...
am: 892de8796f
* commit '892de8796f2e656b462b5460b584b771cc7c53ed':
Revert "Add description strings for Unicode 8.0 new emoji."
2015-11-10 03:37:16 +00:00
Ian Pedowitz
1ce99504c5
Revert "Unicode 8.0 emoji changes to Google Keyboard."
...
am: e1d5012683
* commit 'e1d501268396e58bfdd37a0a50dfeb2ac48139a8':
Revert "Unicode 8.0 emoji changes to Google Keyboard."
2015-11-10 03:30:57 +00:00
Ian Pedowitz
09a2d702e3
Revert "Unicode 8.0 emoji changes to Google Keyboard."
...
am: e1d5012683
* commit 'e1d501268396e58bfdd37a0a50dfeb2ac48139a8':
Revert "Unicode 8.0 emoji changes to Google Keyboard."
2015-11-10 03:30:57 +00:00
Ian Pedowitz
c405679362
Merge "Revert "Add description strings for Unicode 8.0 new emoji."" into mnc-dr-dev
...
am: 9dfac101f2
* commit '9dfac101f2c7c34992e0214c09ee34f20b396bb1':
Revert "Add description strings for Unicode 8.0 new emoji."
2015-11-10 03:30:34 +00:00