Commit graph

38758 commits

Author SHA1 Message Date
Geoff Mendal
4024459f0d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-19 02:35:00 +00: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
a9298f8844 Follow framework refactoring.
Bug: 27531029
Change-Id: I7ebd335e68a5ca44348e19544d1ec66be60cdd88
2016-03-17 11:34:21 -06: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
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
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
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
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
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
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
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
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
5074304dbd Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 7ac5ae6209 -s ours
am: fb23664e2e  -s ours

* commit 'fb23664e2e2886a7bf330be8f58bc43fea78aa26':
  Import translations. DO NOT MERGE
2016-02-02 16:06:48 +00:00
Geoff Mendal
5c4f81f49c Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: b5c715a7b1 -s ours
am: 986fc583ba  -s ours

* commit '986fc583ba20019cefd36357bf40dd326f31200e':
  Import translations. DO NOT MERGE
2016-02-02 16:06:12 +00:00
Geoff Mendal
8584055d93 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 9af165b878 -s ours
am: 2244b48985  -s ours

* commit '2244b489850684cc350899adced14fef1ff9973f':
  Import translations. DO NOT MERGE
2016-02-02 16:01:32 +00: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
a506eec9dc Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: c1967edb1d -s ours am: 89266e7eef -s ours
am: 1bfc6ebc53  -s ours

* commit '1bfc6ebc536a9feb8d26c363b6a7e8642d761012':
  Import translations. DO NOT MERGE
2016-02-02 16:01:06 +00:00
Geoff Mendal
6911dbdb06 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 5e30472110 -s ours am: 77b1667000 -s ours
am: 8da77361d8  -s ours

* commit '8da77361d8bb6ccf03e5f8d5f14acab10934624e':
  Import translations. DO NOT MERGE
2016-02-02 16:00:53 +00:00
Geoff Mendal
a255ca803d Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: edb0f1c3b1 -s ours am: 91d7e15277 -s ours
am: 0f242a6c12  -s ours

* commit '0f242a6c12232c07c2d9965b62ae6af3aa46a988':
  Import translations. DO NOT MERGE
2016-02-02 16:00:39 +00:00
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
fb23664e2e Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: 7ac5ae6209  -s ours

* commit '7ac5ae620965638d3a56941789377b60c48fef22':
  Import translations. DO NOT MERGE
2016-02-02 15:57:23 +00:00
Geoff Mendal
986fc583ba Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: b5c715a7b1  -s ours

* commit 'b5c715a7b1522c0348ba032249c8df32bd83d756':
  Import translations. DO NOT MERGE
2016-02-02 15:57:11 +00:00
Geoff Mendal
2244b48985 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: 9af165b878  -s ours

* commit '9af165b878f46afd2e08b763fc36d48e23e76123':
  Import translations. DO NOT MERGE
2016-02-02 15:56:58 +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
1bfc6ebc53 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: c1967edb1d -s ours
am: 89266e7eef  -s ours

* commit '89266e7eef1ea9cb11a0ef28f70de6dc712e8e91':
  Import translations. DO NOT MERGE
2016-02-02 15:53:45 +00:00
Geoff Mendal
8da77361d8 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: 5e30472110 -s ours
am: 77b1667000  -s ours

* commit '77b1667000993dc5ab06f9950584f94d304b9449':
  Import translations. DO NOT MERGE
2016-02-02 15:53:31 +00:00
Geoff Mendal
0f242a6c12 Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: edb0f1c3b1 -s ours
am: 91d7e15277  -s ours

* commit '91d7e15277b24c9fcd25cd57cfac294a36afcb1e':
  Import translations. DO NOT MERGE
2016-02-02 15:53:18 +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
7ac5ae6209 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:52:25 +00:00
Geoff Mendal
b5c715a7b1 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:50: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
9af165b878 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-02 15:49:10 +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