Commit Graph

13927 Commits (270c407f95bbd31e075b8e47238b8c0b7a0eb39f)

Author SHA1 Message Date
Baligh Uddin d8cff6f099 Merge "Import translations. DO NOT MERGE" 2016-05-18 18:11:18 +00:00
Baligh Uddin b7b286821a Merge "Import translations. DO NOT MERGE" 2016-05-18 18:11:13 +00:00
Baligh Uddin 14ccbaa6a3 Merge "Import translations. DO NOT MERGE" 2016-05-18 18:11:09 +00:00
Baligh Uddin a2a0825c81 Merge "Import translations. DO NOT MERGE" 2016-05-18 18:11:01 +00:00
Yohei Yukawa e5bc5eebaf Follow class package change: LocaleList am: 156139edd8 am: 03a540cc3a
am: 947cc7d7cd

* commit '947cc7d7cd32417c016ef474889ed93114395c4e':
  Follow class package change: LocaleList

Change-Id: I7e665d609267182bcfcf11e3fb309dbe9d02c830
2016-05-18 02:30:01 +00:00
Yohei Yukawa 03a540cc3a Follow class package change: LocaleList
am: 156139edd8

* commit '156139edd8f2f845e70861a962aba684aa6e9c3c':
  Follow class package change: LocaleList

Change-Id: Icfa28b71df2b3b7bc0eb3e0d12a6ab418a809e19
2016-05-18 02:25:11 +00:00
Yohei Yukawa 156139edd8 Follow class package change: LocaleList
In order to avoid layering violation, LocaleList needs to be moved from
android.util package to android.os package [1].  This CL follows up that
package change.

No behavior change is intended.

 [1]: Ia8de2ee9df3dd0a42b1fe84574439519b680fe18

Bug: 28819696
Change-Id: Ie795c191e299358c7c463693823f309ce61cc985
2016-05-17 15:48:39 -07:00
Baligh Uddin d949d21988 Import translations. DO NOT MERGE
Change-Id: I4ebae8f4d0547bfd4464139ec8dd7f72ec7eaf5a
Auto-generated-cl: translation import
2016-05-16 18:13:35 -07:00
Baligh Uddin 66d57f05ec Import translations. DO NOT MERGE
Change-Id: I55f9de7080aee44da9d7dfb5c3808aa26d1efa5a
Auto-generated-cl: translation import
2016-05-16 18:08:10 -07:00
Baligh Uddin 3c6464dc2f Import translations. DO NOT MERGE
Change-Id: I484edb50af2c0d995a50e2d450b4643c46196191
Auto-generated-cl: translation import
2016-05-16 18:06:01 -07:00
Baligh Uddin b47cd1cd7d Import translations. DO NOT MERGE
Change-Id: I814ad5a8a87af7206c4c12e7a175e2791e7e097d
Auto-generated-cl: translation import
2016-05-16 18:04:37 -07:00
Baligh Uddin 3484d41df5 Import translations. DO NOT MERGE
Change-Id: I5239c53cf28fb21f62ef0d8588ade73a03cfc8fc
Auto-generated-cl: translation import
2016-05-16 18:02:57 -07:00
Ian Rogers ac23d00694 Calling getClass on a class will return Class.class.
Bug introduced in 5ac4638f99.
Bug found by error prone:
Bug: 27723540

Change-Id: I4325f3bc1f1186bd24d4b0074f0c573cc5cb4e31
2016-05-09 20:55:28 -07:00
Baligh Uddin 93f97c07f6 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 01:33:32 +00:00
Baligh Uddin a62d335d5b Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 01:33:28 +00:00
Baligh Uddin 1c25c67a6a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 01:33:24 +00:00
Baligh Uddin 732a35eb23 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 01:33:20 +00:00
Baligh Uddin 0705a5136e Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 01:33:15 +00:00
Baligh Uddin 9058fc71c2 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 01:33:11 +00:00
Baligh Uddin e577ec06f8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: I312a18663314497174fdadc574e55ef03073cd54
2016-05-03 17:24:26 -07:00
Baligh Uddin 24fb9d93ee Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: I0ece40ba9d78c92dab06f2b9861dee7ef221081c
2016-05-03 17:18:19 -07:00
Baligh Uddin 39615178ee Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: I80bbe7ca3bf53da96b2dc52907b8ca7950281a56
2016-05-03 17:16:47 -07:00
Baligh Uddin f9d29c391d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: I4d269572319b49c8e9dc336f05d18309419ea812
2016-05-03 17:15:31 -07:00
Baligh Uddin f10270dd4d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: I0f5b249a5bdacdac2c25d7f2749788cbdfec39fe
2016-05-03 17:13:27 -07:00
Baligh Uddin 4b0500756d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: Ia9394c3e4b04ceefbcf12503c69df00fafc62495
2016-05-03 17:12:15 -07:00
Baligh Uddin 610e87310e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: If5df56492630f8708bbbccb875856f9635206f78
2016-05-03 17:11:12 -07:00
Bill Yi a9c83d351f Merge "Import translations. DO NOT MERGE" 2016-04-25 22:00:15 +00:00
Bill Yi 2e8047fdf2 Merge "Import translations. DO NOT MERGE" 2016-04-25 18:19:57 +00:00
Bill Yi c25fc0d180 Import translations. DO NOT MERGE
Change-Id: Ie12969d31d157640a431ecc7bedafa30e0015fa0
Auto-generated-cl: translation import
2016-04-25 09:38:09 -07:00
Bill Yi cc5104d28e Import translations. DO NOT MERGE
Change-Id: I802bf06470afad178463cbe0b4fd2c2f933df166
Auto-generated-cl: translation import
2016-04-25 09:32:31 -07:00
Bill Yi e83757104f Import translations. DO NOT MERGE
Change-Id: If3381f983bef428e03d0fd0e6c8f48b440cd3c82
Auto-generated-cl: translation import
2016-04-25 09:30:28 -07:00
Baligh Uddin 921dc382b1 Merge "Import translations. DO NOT MERGE" 2016-04-19 15:46:06 +00:00
Baligh Uddin d327674690 Merge "Import translations. DO NOT MERGE" 2016-04-19 15:46:04 +00:00
Baligh Uddin 933912f81a Merge "Import translations. DO NOT MERGE" 2016-04-19 15:46:02 +00:00
Baligh Uddin eab9bc1436 Merge "Import translations. DO NOT MERGE" 2016-04-19 15:46:00 +00:00
Baligh Uddin befe740e6e Import translations. DO NOT MERGE
Change-Id: I889a69c4e530b2b3c101f52b730398467943e0c4
Auto-generated-cl: translation import
2016-04-18 23:27:33 -07:00
Baligh Uddin b7eed753b5 Import translations. DO NOT MERGE
Change-Id: Ib4b5c3703ab57833a5316f375114bc0cc77bf0aa
Auto-generated-cl: translation import
2016-04-18 23:22:16 -07:00
Baligh Uddin db6464d629 Import translations. DO NOT MERGE
Change-Id: I57cd92913542d24ff7b7e81f92bc34982085d8ac
Auto-generated-cl: translation import
2016-04-18 23:19:00 -07:00
Baligh Uddin 5a0038f538 Import translations. DO NOT MERGE
Change-Id: I2e4d31b3f8a7df3c75009884c33e792409e1244c
Auto-generated-cl: translation import
2016-04-18 23:18:17 -07:00
Baligh Uddin 1eea5b7ab4 Import translations. DO NOT MERGE
Change-Id: I199a75072a39e7e4b237b03eda4a4a2cb8a3f280
Auto-generated-cl: translation import
2016-04-18 23:17:24 -07:00
Baligh Uddin 195594cffd Import translations. DO NOT MERGE
Change-Id: Id4c62c07583eb43b1524cdca78011f942db69bb8
Auto-generated-cl: translation import
2016-04-15 01:05:34 -07:00
Bill Yi 0333719e5a Merge "Import translations. DO NOT MERGE" 2016-04-09 13:57:33 +00:00
Bill Yi b9350fd8e5 Import translations. DO NOT MERGE
Change-Id: I6045cb7d69de222d0040960c051364d4db59478f
Auto-generated-cl: translation import
2016-04-09 04:37:31 -07:00
Bill Yi 8e76e294f6 Import translations. DO NOT MERGE
Change-Id: Id9a6b64dc398d02f44dc290a17be1ebf2a14b6d0
Auto-generated-cl: translation import
2016-04-09 04:36:46 -07:00
Bill Yi 6b4dd98bc7 Merge "Import translations. DO NOT MERGE" 2016-04-04 19:33:26 +00:00
Bill Yi 33da5501b9 Import translations. DO NOT MERGE
Change-Id: Icc1edaa3ec28e11ed6520e3363d6b210fe7ee335
Auto-generated-cl: translation import
2016-04-04 11:13:59 -07:00
Bill Yi 8c3bb89632 Import translations. DO NOT MERGE
Change-Id: I444cf80f8ec7f3a2767b221644ade5c1d78b8870
Auto-generated-cl: translation import
2016-04-04 11:05:22 -07:00
Bill Yi 429c220922 Import translations. DO NOT MERGE
Change-Id: I4d2cf155a48aee37a6739544a8ec4870b738819a
Auto-generated-cl: translation import
2016-04-04 10:58:05 -07:00
Bill Yi 29fe1c4f31 Import translations. DO NOT MERGE
Change-Id: I7f052b062d6cf9cc7e2d337db287337c611d72ab
Auto-generated-cl: translation import
2016-03-25 10:07:12 -07:00
Geoff Mendal c1ad897337 Import translations. DO NOT MERGE
Change-Id: If16b06df993b37f2604f6cdb013b0e01644ed719
Auto-generated-cl: translation import
2016-03-21 06:02:59 -07:00
Geoff Mendal cf85fca40f Merge "Import translations. DO NOT MERGE" 2016-03-19 04:29:11 +00:00
Geoff Mendal efc2cd18e9 Import translations. DO NOT MERGE
Change-Id: I9e228194e5d2ff246ce34762a84d939533e0783b
Auto-generated-cl: translation import
2016-03-18 21:26:22 -07:00
Geoff Mendal fc9423abd4 Import translations. DO NOT MERGE
Change-Id: I92cfd4e12b8bcf65a5f9b2a75288e23911d0c291
Auto-generated-cl: translation import
2016-03-18 19:37:59 -07:00
Geoff Mendal aa89882508 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 02:35:32 +00:00
Geoff Mendal 4024459f0d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 02:35:00 +00:00
Geoff Mendal a8fcb7664c Import translations. DO NOT MERGE
Change-Id: Ie8dddc467e695a05206fcbc8e0ec6cbcb66108ee
Auto-generated-cl: translation import
2016-03-18 22:34:19 -04:00
Geoff Mendal 0178a854f2 Import translations. DO NOT MERGE
Change-Id: I16a6b97b27126824e7a2f58c82af51485cfa1171
Auto-generated-cl: translation import
2016-03-18 22:33:06 -04:00
Geoff Mendal c8395b8801 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 02:31:52 +00:00
Geoff Mendal 6a55e5731d Import translations. DO NOT MERGE
Change-Id: I412e1b013c24b9e4464fb7800630a300388e1ad8
Auto-generated-cl: translation import
2016-03-18 22:30:12 -04:00
Geoff Mendal 36ef6068fd Import translations. DO NOT MERGE
Change-Id: I0ec016baae37e091b250af7cd9a1ff1d9df3ef73
Auto-generated-cl: translation import
2016-03-18 22:27:33 -04:00
Jeff Sharkey cec1191f95 Follow framework refactoring. am: a9298f8
am: 1775b73

* commit '1775b73f2b24298860b37849131f1977b52eb7c7':
  Follow framework refactoring.
2016-03-17 22:18:30 +00:00
Jeff Sharkey 1775b73f2b Follow framework refactoring.
am: a9298f8

* commit 'a9298f88442aae49a0817513209230e3e6e8d4e0':
  Follow framework refactoring.
2016-03-17 22:14:24 +00:00
Jeff Sharkey a9298f8844 Follow framework refactoring.
Bug: 27531029
Change-Id: I7ebd335e68a5ca44348e19544d1ec66be60cdd88
2016-03-17 11:34:21 -06:00
Keisuke Kuroyanagi 87e1990546 Merge "Start full screen mode on first tap when HW keyborad is connected." into nyc-dev am: c29921f
am: b31cd18

* commit 'b31cd18ea6aed977f731b7abfcd977631849465c':
  Start full screen mode on first tap when HW keyborad is connected.
2016-03-16 06:42:46 +00:00
Keisuke Kuroyanagi b31cd18ea6 Merge "Start full screen mode on first tap when HW keyborad is connected." into nyc-dev
am: c29921f

* commit 'c29921fe7c3f3efb47c6c760055e773bd030ca35':
  Start full screen mode on first tap when HW keyborad is connected.
2016-03-16 06:40:25 +00:00
Keisuke Kuroyanagi c29921fe7c Merge "Start full screen mode on first tap when HW keyborad is connected." into nyc-dev 2016-03-16 06:33:08 +00:00
Keisuke Kuroyanagi 48adccf349 Start full screen mode on first tap when HW keyborad is connected.
LatinIME checks hardware keyboard presence and software keyboard
visibility to decide whether to start full screen mode.
This doesn't work well with the recent update on "Show input method"
(Bug: 22517687, Id4d332e3909590c68345e).

On the first tap, software keyboard is not shown and hardware keyboard
is connected; so full screen mode is not started. However,
onEvaluateInputViewShown may return true ant software keyboard may be
brought up.
In this care, on the second tap, software keyboard is visible so full
screen mode will be started regardless of hardware keyboard presence.

This CL checks onEvaluateInputViewShown to decide whether to start
full screen mode.

Bug: 27234709
Change-Id: I587262cc36e5fccc59620b4bd2d2c3c05c72232f
2016-03-15 18:42:46 +09:00
Yohei Yukawa b53b6836db Change "touch" to "tap" in LatinIME. am: 2715add718
am: fb6242581f

* commit 'fb6242581fbd3591d3c9f7ea1b5a5db3070a318b':
  Change "touch" to "tap" in LatinIME.
2016-03-14 14:59:59 +00:00
Yohei Yukawa fb6242581f Change "touch" to "tap" in LatinIME.
am: 2715add718

* commit '2715add7181729655860518b10e03a85599d6777':
  Change "touch" to "tap" in LatinIME.
2016-03-14 14:58:04 +00:00
Yohei Yukawa 2715add718 Change "touch" to "tap" in LatinIME.
Bug: 26883567
Change-Id: I580ee65bfa0c53c219f71a17a0e0c08cf70368fb
2016-03-11 22:33:14 -08:00
Geoff Mendal f836c0f641 Import translations. DO NOT MERGE
Change-Id: Ia05e008bcc73b8b66bff4d739e5a2b1b57f19ffb
Auto-generated-cl: translation import
2016-03-09 05:13:51 -08:00
Geoff Mendal 88de25d0d2 Import translations. DO NOT MERGE
Change-Id: If690835b89a1e033adad5705557f3295b12a9877
Auto-generated-cl: translation import
2016-03-09 05:09:19 -08:00
Mihai Nita 0c00da6468 Merge "LatinIME: change "Language & input" to -> "Languages & input"" into nyc-dev am: 4cd02adfd0
am: 6c40614203

* commit '6c406142035c61091f86346ed3a8c186f4bc68ae':
  LatinIME: change "Language & input" to -> "Languages & input"
2016-03-09 01:57:41 +00:00
Mihai Nita 6c40614203 Merge "LatinIME: change "Language & input" to -> "Languages & input"" into nyc-dev
am: 4cd02adfd0

* commit '4cd02adfd0cf4638ba61f78bd7c2f4265d0651ee':
  LatinIME: change "Language & input" to -> "Languages & input"
2016-03-09 01:55:51 +00:00
Mihai Niță 4cd02adfd0 Merge "LatinIME: change "Language & input" to -> "Languages & input"" into nyc-dev 2016-03-09 01:52:59 +00:00
Mihai Nita 9a65273e04 LatinIME: change "Language & input" to -> "Languages & input"
Because now the user can select more than one locale.

Bug: 26849449

Change-Id: I6921793c16ec8c65c44b3c54c816b73a623fb4f2
2016-03-08 17:47:01 -08:00
Yohei Yukawa ddda22ad6c Use android:languageTag for Serbian-Latin layout. am: d3d36e3919
am: 1caad1dfa2

* commit '1caad1dfa2c5321017938c75f69588fa6f7e9013':
  Use android:languageTag for Serbian-Latin layout.
2016-03-04 23:00:03 +00:00
Yohei Yukawa c8024de0e7 Map "sr-Latn" to "sr_ZZ" for internal use. am: 31a3f07c21
am: 091ffff370

* commit '091ffff370314a865a1c025a39f0dc6289af3cbf':
  Map "sr-Latn" to "sr_ZZ" for internal use.
2016-03-04 22:59:44 +00:00
Yohei Yukawa 1caad1dfa2 Use android:languageTag for Serbian-Latin layout.
am: d3d36e3919

* commit 'd3d36e391944b0a131707c81c8ac5374753660bc':
  Use android:languageTag for Serbian-Latin layout.
2016-03-04 22:55:47 +00:00
Yohei Yukawa 091ffff370 Map "sr-Latn" to "sr_ZZ" for internal use.
am: 31a3f07c21

* commit '31a3f07c2117180df524d6b2e78089897c8ea807':
  Map "sr-Latn" to "sr_ZZ" for internal use.
2016-03-04 22:55:31 +00:00
Yohei Yukawa d3d36e3919 Use android:languageTag for Serbian-Latin layout.
Serbian-Latin is one of subtypes that our APIs could not easily deal
with their locale.

Now we can safely rely on BCP 47 language tag hence we should do.  See
my previous CLs [1][2][3] for details.

Note that this CL is supposed to have no effect on the behavior of
LatinIME because we internall remap "sr-Latn" to "sr_ZZ" [4].

 [1]: I77db5b99a7cf745d800db75baf135bb60ad04820
      8d6eeb01df72891acd3aa75e64aa1595a41cc96e
 [2]: I251d3d999afd13c0d618f2cb59e8ed3d47f21c98
      b8456a6a483ce62c81b92f613561fb761be0f3e8
 [3]: I37cb9ce196f2e23589e60ce34475504405778bbb
      f6997344e6
 [4]: I93ff0c75b3687bb1b913f451b9eb5f2820beefbc
      31a3f07c21

Bug: 27348943
Change-Id: Icd0667c40c6f1310699f3deb1234b7861ec2fa24
2016-03-04 13:08:23 -08:00
Yohei Yukawa 31a3f07c21 Map "sr-Latn" to "sr_ZZ" for internal use.
We want to expose Serbian (Latin) layout as "sr-Latn" to the system,
while our internal logic may not be ready to deal with "sr-Latn" yet.

As a temporary workaround, we remap "sr-Latn" into "sr_ZZ" for our
internal use.

Bug: 27348943
Change-Id: I93ff0c75b3687bb1b913f451b9eb5f2820beefbc
2016-03-04 13:07:17 -08:00
Yohei Yukawa 67ab868b93 Revert "Close FileChannels in UpdateHandler#copyFile." am: 4b46e71163
am: e1a9d7ae67

* commit 'e1a9d7ae6715fba1da71d536013e48b9b7e6f9f0':
  Revert "Close FileChannels in UpdateHandler#copyFile."
2016-03-04 00:03:44 +00:00
Yohei Yukawa e1a9d7ae67 Revert "Close FileChannels in UpdateHandler#copyFile."
am: 4b46e71163

* commit '4b46e711632f6e5d868e6d84a6211384d37e1911':
  Revert "Close FileChannels in UpdateHandler#copyFile."
2016-03-03 22:00:47 +00:00
Yohei Yukawa 4b46e71163 Revert "Close FileChannels in UpdateHandler#copyFile."
This reverts commit 3e2670265e.

It turns out that the behavior change in libcore was unintentional, and
it was already fixed [1].  Let's revert our workaround back to see if
the existing code is compatible with N.

  [1]: Ibacb192abc37870c74a2500d65b94d68f9c2318e
       5e7b572c2b494ab86ddd2baca3883a40a6064c1e

Bug: 26239281
Change-Id: I6cd2340492d93251231e7ee37c3d4f82c1721293
2016-03-03 21:11:14 +00:00
Geoff Mendal bd11b82b04 Merge "Import translations. DO NOT MERGE" 2016-02-29 13:26:58 +00:00
Geoff Mendal 6a7a2d7a97 Import translations. DO NOT MERGE
Change-Id: Ic9dbeb6bb1f618dd566ba5569ea606813e6134a5
Auto-generated-cl: translation import
2016-02-29 05:11:13 -08:00
Geoff Mendal f449778998 Import translations. DO NOT MERGE
Change-Id: I9f90a04af17740a249cdbfcc5e9be957171f7fad
Auto-generated-cl: translation import
2016-02-29 05:09:04 -08:00
Keisuke Kuroyanagi 30069c96ab Merge "Close FileChannels in UpdateHandler#copyFile." into nyc-dev am: fce8ed98aa
am: 14ff0a66f0

* commit '14ff0a66f0fbda0dde63b4cf7b92595568e2d55e':
  Close FileChannels in UpdateHandler#copyFile.
2016-02-25 04:26:19 +00:00
Keisuke Kuroyanagi 14ff0a66f0 Merge "Close FileChannels in UpdateHandler#copyFile." into nyc-dev
am: fce8ed98aa

* commit 'fce8ed98aa738a13332b6ccc9c5b145f17fae51f':
  Close FileChannels in UpdateHandler#copyFile.
2016-02-25 04:25:24 +00:00
Keisuke Kuroyanagi fce8ed98aa Merge "Close FileChannels in UpdateHandler#copyFile." into nyc-dev 2016-02-25 04:23:32 +00:00
Keisuke Kuroyanagi 3e2670265e Close FileChannels in UpdateHandler#copyFile.
Bug: 26239281
Change-Id: Ib30beb3548f8fb4a8e338b5da863ae28c252bc2b
2016-02-24 20:08:27 -08:00
Yohei Yukawa ac1aaa43cc Fix runtime crash on KitKat and prior. am: 60b59042d1
am: 9f1498ca13

* commit '9f1498ca138c69cefb241fe41510452924173b32':
  Fix runtime crash on KitKat and prior.
2016-02-23 04:31:44 +00:00
Yohei Yukawa 9f1498ca13 Fix runtime crash on KitKat and prior.
am: 60b59042d1

* commit '60b59042d1f5a1449de049a7f7adb3d6e40b8b06':
  Fix runtime crash on KitKat and prior.
2016-02-23 04:25:07 +00:00
Yohei Yukawa 60b59042d1 Fix runtime crash on KitKat and prior.
This is a follow up CL to the previous CL [1], in which we started
calling Window#setNavigationBarColor(int) when the window visibility is
changed.

One thing we missed is that calling Window#setNavigationBarColor(int) on
KitKant or prior devices would result in a runtime crash.  Hence with
this CL we do not call that method unless the OS version is N or leter,
because specifying Color.TRANSPARENT would make sense on N+ devices.

  [1]: I14d9490e00caa852035a05830e76114cbe6af8f2
       6c04339c5a

Bug: 22564251
Bug: 27302540
Change-Id: Ib7299dd8c3dad4271f8fac453e690c83bda4a954
2016-02-22 20:02:27 -08:00
Geoff Mendal 05b10b33f2 Merge "Import translations. DO NOT MERGE" 2016-02-22 14:11:17 +00:00
Geoff Mendal a3b3991f45 Import translations. DO NOT MERGE
Change-Id: I3bc3886537daa0297656846275e8afb069446cfc
Auto-generated-cl: translation import
2016-02-22 06:00:25 -08:00
Geoff Mendal b5053910c3 Import translations. DO NOT MERGE
Change-Id: If1a9f265062a88eddc1b0404a543cf399b72d39d
Auto-generated-cl: translation import
2016-02-22 05:57:33 -08:00
Geoff Mendal 3a54114e82 Import translations. DO NOT MERGE
Change-Id: I544c22f6950cdcaaea92569765856409dbad9464
Auto-generated-cl: translation import
2016-02-10 05:46:49 -08:00
Yohei Yukawa 440b9983e5 Follow API removal of LocaleList#getPrimary(). am: 706fce9bb0
am: 436b68dd73

* commit '436b68dd7383214d90153df5a71d630242a64478':
  Follow API removal of LocaleList#getPrimary().
2016-02-09 22:53:41 +00:00
Yohei Yukawa 436b68dd73 Follow API removal of LocaleList#getPrimary().
am: 706fce9bb0

* commit '706fce9bb0e044f281bf12742c406964b18e9190':
  Follow API removal of LocaleList#getPrimary().
2016-02-09 19:49:13 +00:00
Yohei Yukawa 706fce9bb0 Follow API removal of LocaleList#getPrimary().
This follows up to a recent CL [1] that removed #getPrimary() method
from LocaleList class.

 [1] I75f77aea6b75e38793ed8477e5e5a4420d5e6d85
     fee44846376c212114223fc4259382921e6dca7a

Bug: 26984092
Change-Id: Ied4678d35c4dcb380ce24e9bce9336dbbf6c16b8
2016-02-09 01:03:52 -08:00
Geoff Mendal ab5c6774a9 Import translations. DO NOT MERGE
Change-Id: Iddf2184f6d13e5a788ec2ed303346ff05dcbf377
Auto-generated-cl: translation import
2016-02-08 11:41:14 -05:00
Geoff Mendal 434b354336 Import translations. DO NOT MERGE
Change-Id: I5d01548528fd24b7e3d3a822bd259530fca308fc
Auto-generated-cl: translation import
2016-02-08 05:17:52 -08:00
Geoff Mendal 381fcf5f68 Import translations. DO NOT MERGE
Change-Id: Iebd3e06f3913a687d1490aa71421da337eea4200
Auto-generated-cl: translation import
2016-02-03 06:10:10 -08:00
Yohei Yukawa 38b15afb47 Suppress redundant TYPE_WINDOWS_STATE_CHANGED.
Bug: 23975618
Change-Id: I5933beaa5b28404f85e100461bdeab5496eb3c0e
2016-02-02 13:50:57 -08:00
Geoff Mendal 65196c80de Merge branch \'mnc-dr2-dev\' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/packages/inputmethods/LatinIME into mnc-dr2-dev am: 904a89c20b
am: 6de2f31f45

* commit '6de2f31f45cd51e14cc3191c6908af00674cfb0e':
  Import translations. DO NOT MERGE
2016-02-02 16:01:19 +00:00
Geoff Mendal 6de2f31f45 Merge branch \'mnc-dr2-dev\' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/packages/inputmethods/LatinIME into mnc-dr2-dev
am: 904a89c20b

* commit '904a89c20bf86040a6fcae8f379c7a956eb61b98':
  Import translations. DO NOT MERGE
2016-02-02 15:54:00 +00:00
Geoff Mendal 4303801153 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:48:03 +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 e27769992b Import translations. DO NOT MERGE
Change-Id: Ied3f429a108b3fa47e5c0f8c71b8a7ec60f7de2c
Auto-generated-cl: translation import
2016-02-02 10:41:59 -05: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 ff92266641 Import translations. DO NOT MERGE
Change-Id: I5d6f14c0c66d10cbadb82faa2efb3b9ea840ca47
Auto-generated-cl: translation import
2016-02-02 10:37:46 -05: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 d3f580fcb7 Import translations. DO NOT MERGE
Change-Id: Iad6a7df2c517e80c376c92197b505ae76276e71b
Auto-generated-cl: translation import
2015-12-07 05:17:27 -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