Commit graph

38981 commits

Author SHA1 Message Date
Geoff Mendal
ff92266641 Import translations. DO NOT MERGE
Change-Id: I5d6f14c0c66d10cbadb82faa2efb3b9ea840ca47
Auto-generated-cl: translation import
2016-02-02 10:37:46 -05:00
Geoff Mendal
f06b26d495 Import translations. DO NOT MERGE
Change-Id: I7ebf89cb1cc21515ed1c03f4738aa6fbc2ddc711
Auto-generated-cl: translation import
2016-02-02 07:37:45 -08:00
Geoff Mendal
887b32f11a Import translations. DO NOT MERGE
Change-Id: Ieee874fbcf2772e6bc9dfea1d8d6ab973604f106
Auto-generated-cl: translation import
2016-02-02 07:36:41 -08:00
Geoff Mendal
c893b5fe57 Import translations. DO NOT MERGE
am: cf4b2bf709  -s ours

* commit 'cf4b2bf7097ac506e031add76891bab8ec0f9342':
  Import translations. DO NOT MERGE
2016-02-02 15:36:16 +00:00
Geoff Mendal
323e7077e5 Import translations. DO NOT MERGE
Change-Id: I319087599a69dbc502792528a1f6a6f271f01a83
Auto-generated-cl: translation import
2016-02-02 07:35:59 -08:00
Geoff Mendal
e085e4fc71 Import translations. DO NOT MERGE
Change-Id: I5d515d10a10996742473c4747a5a232fdd179b0c
Auto-generated-cl: translation import
2016-02-02 07:34:53 -08:00
Geoff Mendal
66da06ed64 Import translations. DO NOT MERGE
Change-Id: I5b5f1b6b2034af820e116b4bb0ca592add026abf
Auto-generated-cl: translation import
2016-02-02 07:34:15 -08:00
Geoff Mendal
cf4b2bf709 Import translations. DO NOT MERGE
Change-Id: I49316abaf3db35799511fb25edbde618bb839ab3
Auto-generated-cl: translation import
2016-02-02 07:33:28 -08:00
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
5765a98b59 Import translations. DO NOT MERGE am: f6d1c5f323 -s ours am: ac0f805945 -s ours
am: 717f0100b4  -s ours

* commit '717f0100b425e842c11a53bd76df85890bb6bacf':
  Import translations. DO NOT MERGE
2015-12-07 23:49:24 +00:00
Geoff Mendal
e35a218f66 Import translations. DO NOT MERGE am: d3f580fcb7 -s ours
am: 1785399828  -s ours

* commit '1785399828a37a0b55b21f2efcb4289ba302f3eb':
  Import translations. DO NOT MERGE
2015-12-07 23:48:52 +00:00
Geoff Mendal
717f0100b4 Import translations. DO NOT MERGE am: f6d1c5f323 -s ours
am: ac0f805945  -s ours

* commit 'ac0f805945c4ef1ded149f56c1b183a307153844':
  Import translations. DO NOT MERGE
2015-12-07 23:29:11 +00:00
Geoff Mendal
ac0f805945 Import translations. DO NOT MERGE
am: f6d1c5f323  -s ours

* commit 'f6d1c5f323edf3e68b3009f8b13d661fea031902':
  Import translations. DO NOT MERGE
2015-12-07 23:06:42 +00:00
Geoff Mendal
1785399828 Import translations. DO NOT MERGE
am: d3f580fcb7  -s ours

* commit 'd3f580fcb76c3b15f5ca8b0e32255535d0e6b42f':
  Import translations. DO NOT MERGE
2015-12-07 23:05:54 +00:00
Geoff Mendal
d3f580fcb7 Import translations. DO NOT MERGE
Change-Id: Iad6a7df2c517e80c376c92197b505ae76276e71b
Auto-generated-cl: translation import
2015-12-07 05:17:27 -08:00
Geoff Mendal
f6d1c5f323 Import translations. DO NOT MERGE
Change-Id: Iad1409117bddf84a193f3999bbc502ad36c2ad84
Auto-generated-cl: translation import
2015-12-07 05:15:13 -08:00
Geoff Mendal
35171024db Import translations. DO NOT MERGE am: fdbd6fe212 -s ours am: c2483d98b5 -s ours am: b8442588a3 -s ours am: fded2f954a -s ours
am: 21211be33f  -s ours

* commit '21211be33f4c7a44efcae980b09b9c9b9d24b5c6':
  Import translations. DO NOT MERGE
2015-11-25 16:38:04 +00:00
Geoff Mendal
0ea7d10e08 Import translations. DO NOT MERGE am: 888712e489 -s ours am: 9d3f4154a5 -s ours
am: da6bf40d24  -s ours

* commit 'da6bf40d24f4402d1c5cbac38305d91b656f9425':
  Import translations. DO NOT MERGE
2015-11-25 16:36:58 +00:00