Commit graph

38704 commits

Author SHA1 Message Date
Geoff Mendal
84690b1b01 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 0bd70798c6 -s ours am: b9e5a1ff03 -s ours
am: bd8252ef04  -s ours

* commit 'bd8252ef04c2282c3f5f311e963f225de246253d':
  Import translations. DO NOT MERGE
2016-02-02 16:00:26 +00:00
Geoff Mendal
2e4edc70f1 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: d23b30dc24 -s ours
am: ae01a6a8a4  -s ours

* commit 'ae01a6a8a44006c3881242c1852f6c6dd0a3ffe0':
  Import translations. DO NOT MERGE
2016-02-02 16:00:09 +00:00
Geoff Mendal
d6035fcac6 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 78607504d6 -s ours
am: 1b90f4bfa9  -s ours

* commit '1b90f4bfa9850eaa28e9d7180f94e91048d83b49':
  Import translations. DO NOT MERGE
2016-02-02 15:58:13 +00:00
Geoff Mendal
bbca26d3f7 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 56c9dac3c7 -s ours am: 15ed73df76 -s ours
am: 086d1107d5  -s ours

* commit '086d1107d5c300569b79ca3095aaf732b8f54a6a':
  Import translations. DO NOT MERGE
2016-02-02 15:58:00 +00:00
Geoff Mendal
7e2ec74494 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 2cbd636c70 -s ours am: bd101c8033 -s ours
am: 1f95524a43  -s ours

* commit '1f95524a43efaa4c212ea87121c56bb42657242d':
  Import translations. DO NOT MERGE
2016-02-02 15:57:48 +00:00
Geoff Mendal
a3a4f78f38 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 94ffd0b43b -s ours
am: 718e0149a6  -s ours

* commit '718e0149a6d4a40f7c76dd2f5c2c409809a805c9':
  Import translations. DO NOT MERGE
2016-02-02 15:57:31 +00:00
Geoff Mendal
bd8252ef04 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 0bd70798c6 -s ours
am: b9e5a1ff03  -s ours

* commit 'b9e5a1ff034be8ade23ba5b147c7b2adc3055def':
  Import translations. DO NOT MERGE
2016-02-02 15:53:05 +00:00
Geoff Mendal
ae01a6a8a4 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: d23b30dc24  -s ours

* commit 'd23b30dc24328616aded7e9e9da125e14d1e692b':
  Import translations. DO NOT MERGE
2016-02-02 15:52:53 +00:00
Geoff Mendal
1b90f4bfa9 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: 78607504d6  -s ours

* commit '78607504d66a67752d539160fa1eeb8bc1c13487':
  Import translations. DO NOT MERGE
2016-02-02 15:49:20 +00:00
Geoff Mendal
086d1107d5 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 56c9dac3c7 -s ours
am: 15ed73df76  -s ours

* commit '15ed73df76c39da3401ca6a62ccdcaf1dbca1e86':
  Import translations. DO NOT MERGE
2016-02-02 15:49:03 +00:00
Geoff Mendal
1f95524a43 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 2cbd636c70 -s ours
am: bd101c8033  -s ours

* commit 'bd101c80332f42e813e255cf6727bffc6455957e':
  Import translations. DO NOT MERGE
2016-02-02 15:48:47 +00:00
Geoff Mendal
718e0149a6 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: 94ffd0b43b  -s ours

* commit '94ffd0b43b508d8254a6b028f2fc8312b4349795':
  Import translations. DO NOT MERGE
2016-02-02 15:48:35 +00:00
Geoff Mendal
b9e5a1ff03 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev
am: 0bd70798c6  -s ours

* commit '0bd70798c6ccb6b260302e08646d43b3aa790d22':
  Import translations. DO NOT MERGE
2016-02-02 15:46:46 +00:00
Geoff Mendal
d23b30dc24 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:46:28 +00:00
Geoff Mendal
78607504d6 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:44:40 +00:00
Geoff Mendal
15ed73df76 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev
am: 56c9dac3c7  -s ours

* commit '56c9dac3c7587ebfba90a39d8aeaaa5a7f0feeb7':
  Import translations. DO NOT MERGE
2016-02-02 15:43:53 +00:00
Geoff Mendal
bd101c8033 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev
am: 2cbd636c70  -s ours

* commit '2cbd636c7093839ebff8b442d866f58898acdf2d':
  Import translations. DO NOT MERGE
2016-02-02 15:43:41 +00:00
Geoff Mendal
94ffd0b43b Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:42:57 +00:00
Geoff Mendal
0bd70798c6 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev 2016-02-02 15:41:15 +00:00
Geoff Mendal
56d4729221 Import translations. DO NOT MERGE am: cf4b2bf709 -s ours am: c893b5fe57 -s ours
am: 9a1733002f  -s ours

* commit '9a1733002ff2108ef6872515da3d90462b039aa1':
  Import translations. DO NOT MERGE
2016-02-02 15:40:39 +00:00
Geoff Mendal
98a77b4edd Import translations. DO NOT MERGE
Change-Id: Ia854ef967086df83683588d555d040567c379c76
Auto-generated-cl: translation import
2016-02-02 10:39:59 -05:00
Geoff Mendal
1e395d5f1e Import translations. DO NOT MERGE
Change-Id: I3298816f22de3d4088800d34940e25a192fc422e
Auto-generated-cl: translation import
2016-02-02 10:38:58 -05:00
Geoff Mendal
56c9dac3c7 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev 2016-02-02 15:38:45 +00:00
Geoff Mendal
2cbd636c70 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev 2016-02-02 15:38:35 +00:00
Geoff Mendal
9a1733002f Import translations. DO NOT MERGE am: cf4b2bf709 -s ours
am: c893b5fe57  -s ours

* commit 'c893b5fe57bb97105ee56da246f33c449031f0f9':
  Import translations. DO NOT MERGE
2016-02-02 15:38:23 +00:00
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
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