Commit graph

14179 commits

Author SHA1 Message Date
Bill Yi
65d1db1e23 Import translations. DO NOT MERGE
Change-Id: I6c020ed48a222c306d63c19b119b927306d3d7ad
Auto-generated-cl: translation import
2016-05-23 03:36:57 -07:00
Baligh Uddin
b98b8e89b9 Merge "Import translations. DO NOT MERGE" 2016-05-18 18:11:24 +00:00
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
Geoff Mendal
83fdba1427 Import translations. DO NOT MERGE
Change-Id: Ic32df26eab46cdedabbbf63ed3b659680b518743
Auto-generated-cl: translation import
2015-11-25 05:37:55 -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
9d435e6f43 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2015-11-16 15:50:52 +00:00
Geoff Mendal
3b5421bae1 Import translations. DO NOT MERGE
Change-Id: I72546cce9ec50ddb468bbd3d989ceb3b6adb4627
Auto-generated-cl: translation import
2015-11-16 06:39:54 -08:00
Geoff Mendal
5dbecb8409 Import translations. DO NOT MERGE
Change-Id: I42db5a73ba835ce778019b8375fce0c7b1271e15
Auto-generated-cl: translation import
2015-11-16 06:39:05 -08: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
Ian Pedowitz
89efd96db6 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:33 +00:00
Ian Pedowitz
e1d5012683 Revert "Unicode 8.0 emoji changes to Google Keyboard."
This reverts commit 9cc42549d1.

Change-Id: Ia3b037160e55bc54ef55194b967d9c91f6814ff8
2015-11-10 03:29:41 +00:00
Ian Pedowitz
9dfac101f2 Merge "Revert "Add description strings for Unicode 8.0 new emoji."" into mnc-dr-dev 2015-11-10 03:29:13 +00:00
Ian Pedowitz
354d0092ac Revert "Add description strings for Unicode 8.0 new emoji."
This reverts commit 332181b834.

Change-Id: Ic7c494292249f86159ec6f4bc1f7a72859b10282
2015-11-10 03:05:40 +00:00
Reena Lee
b2e58c5691 Merge "Add description strings for Unicode 8.0 new emoji." into mnc-dr-dev am: 9749f1f1c3 am: 2c56e60003 am: f25c8c6c6f
am: 2521d1e485

* commit '2521d1e48518ba9a9cab1bb0de16e45a3c0514b3':
  Add description strings for Unicode 8.0 new emoji.
2015-11-09 21:52:32 +00:00
Chieu Nguyen
9cfc333879 Unicode 8.0 emoji changes to Google Keyboard. am: 9cc42549d1 am: 72d0a185d9 am: 3ca694e58f
am: 1ca322290a

* commit '1ca322290a421075fda219130ac26df8a1f2499e':
  Unicode 8.0 emoji changes to Google Keyboard.
2015-11-09 21:47:25 +00:00
Reena Lee
03fb74808b Merge "Add description strings for Unicode 8.0 new emoji." into mnc-dr-dev
am: 9749f1f1c3

* commit '9749f1f1c3755ece6ddfc822d642ac0e8218d138':
  Add description strings for Unicode 8.0 new emoji.
2015-11-09 21:42:28 +00:00
Reena Lee
2c56e60003 Merge "Add description strings for Unicode 8.0 new emoji." into mnc-dr-dev
am: 9749f1f1c3

* commit '9749f1f1c3755ece6ddfc822d642ac0e8218d138':
  Add description strings for Unicode 8.0 new emoji.
2015-11-09 21:42:26 +00:00
Reena Lee
9749f1f1c3 Merge "Add description strings for Unicode 8.0 new emoji." into mnc-dr-dev 2015-11-09 21:36:55 +00:00
Chieu Nguyen
a6b06585fc Unicode 8.0 emoji changes to Google Keyboard.
am: 9cc42549d1

* commit '9cc42549d18f1e28ffc8dae94ff36728933f53f1':
  Unicode 8.0 emoji changes to Google Keyboard.
2015-11-09 21:30:07 +00:00
Chieu Nguyen
72d0a185d9 Unicode 8.0 emoji changes to Google Keyboard.
am: 9cc42549d1

* commit '9cc42549d18f1e28ffc8dae94ff36728933f53f1':
  Unicode 8.0 emoji changes to Google Keyboard.
2015-11-09 21:30:07 +00:00
Geoff Mendal
c4f6affeec Merge "Import translations. DO NOT MERGE" 2015-11-09 14:10:06 +00:00
Geoff Mendal
350b3915db Import translations. DO NOT MERGE
Change-Id: Ife64801ddf3bc0c56b95a473877221e2f03348fd
Auto-generated-cl: translation import
2015-11-09 06:08:40 -08:00
Geoff Mendal
514aa601fb Import translations. DO NOT MERGE
Change-Id: Id363ef4a6bed294e41b39a435eb29fcdf936bef6
Auto-generated-cl: translation import
2015-11-09 06:05:47 -08:00
Chieu Nguyen
9cc42549d1 Unicode 8.0 emoji changes to Google Keyboard.
Squashed commit of the following:

    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

Change-Id: Ia5a5879cea828ea4cb4c678765fe5d9e5ecbfcd2
2015-11-06 18:22:05 -08:00
Chieu Nguyen
332181b834 Add description strings for Unicode 8.0 new emoji.
Bug: 16185905
Bug: 25369504

Change-Id: I6048609ace715a23db5f82d47fefe4868ccb3d17
(cherry picked from commit 4a4a042072790b19048a14d2ddab655b1be31a6e)
2015-11-06 01:08:50 +00:00
Geoff Mendal
09585f2d4f Merge "Import translations. DO NOT MERGE" 2015-11-04 14:03:46 +00:00
Geoff Mendal
02ebfb1d28 Merge "Import translations. DO NOT MERGE" 2015-11-04 14:03:21 +00:00
Geoff Mendal
1ebb70ca77 Import translations. DO NOT MERGE
Change-Id: Idcdc4fabe95e30fc5966da8b6e0273f832c4cea6
Auto-generated-cl: translation import
2015-11-04 05:39:56 -08:00
Geoff Mendal
c78cac8db3 Import translations. DO NOT MERGE
Change-Id: I47865a571450a486f22613028f277fc7887b86c3
Auto-generated-cl: translation import
2015-11-04 05:37:26 -08:00
Geoff Mendal
a4d0867e2a Import translations. DO NOT MERGE
Change-Id: I721865c2f6c3bb245be9fc5650b7b8fbb5102039
Auto-generated-cl: translation import
2015-11-04 05:35:55 -08:00
Dmitry Torokhov
9a438a325b Fix AltR+1 -> ESC shortcuts bringing on-screen keyboard
Change the way we decide whether we want to show on-screen keyboard by
not only paying attention to modifiers, but also keeping track whether
the key sequence started in the right state.

We are still misfiring if user presses a non-modifier key and then our
modifier hot-key, but such sequence is unlikely. Given the fact that we
do not want to store too much state I believe this deficiency is
acceptable.

Bug: 25087681
Bug: 24142161

Change-Id: I1a6b5e8e903c27a87134a6c9a7cd474a0607d5c8
(cherry picked from commit 7c513455918a52bd28c1c8181cb2880db0973b4b)
2015-11-03 17:36:15 +00:00
Geoff Mendal
683ad40433 Merge "Import translations. DO NOT MERGE" into mnc-dr-ryu-dev 2015-10-26 16:24:04 +00:00
Geoff Mendal
2d9c8a85c6 Import translations. DO NOT MERGE
Change-Id: If5c9898e482ef2a23bc145fdc12eab6fccbd93d3
Auto-generated-cl: translation import
2015-10-26 08:56:33 -07:00
Geoff Mendal
09e44093f2 Import translations. DO NOT MERGE
Change-Id: I64dabfa1cb5e4b6d86a6a2cb358406ce7375141c
Auto-generated-cl: translation import
2015-10-26 08:53:56 -07:00
Geoff Mendal
5771f4b4cd Import translations. DO NOT MERGE
Change-Id: I58b40b85dff70815dbbbb3bbd28a5cc61a4cbe64
Auto-generated-cl: translation import
2015-10-26 05:10:29 -07:00
Geoff Mendal
b52597b055 Import translations. DO NOT MERGE
Change-Id: Ib7f9be8c2daa7a102b553d203627627d35fe7808
Auto-generated-cl: translation import
2015-10-19 07:36:04 -07:00
Dmitry Torokhov
b3a29efec0 am 54c66d4f: am 0b20a8d2: am b1cd4006: am 28e65858: Do not start in recents tab if we do not have recent emojis
* commit '54c66d4f550388f1f04724936a17b12549394b14':
  Do not start in recents tab if we do not have recent emojis
2015-10-16 22:14:28 +00:00
Dan Zivkovic
27eb56fdc2 am 7b56ce9b: am 51fc864e: am 1194ad63: am 1fdb8f31: Define shortcuts for toggling IME layouts.
* commit '7b56ce9b169187c4a48c578949f6492cf9f69272':
  Define shortcuts for toggling IME layouts.
2015-10-16 22:14:27 +00:00
Dan Zivkovic
8ca240522d am 6376811b: am 8aed171c: am 33bbbb0d: am de674ac0: Re-activate emoji keyboard shortcut.
* commit '6376811b076b48bae2f129ccb6173f6418ac5960':
  Re-activate emoji keyboard shortcut.
2015-10-16 22:14:25 +00:00
Dmitry Torokhov
b1cd400602 am 28e65858: Do not start in recents tab if we do not have recent emojis
* commit '28e65858d9f7e8f94e0b298275624703fd74af05':
  Do not start in recents tab if we do not have recent emojis
2015-10-16 21:56:09 +00:00
Dan Zivkovic
1194ad63ee am 1fdb8f31: Define shortcuts for toggling IME layouts.
* commit '1fdb8f31562eeef78167585a878eb0450310036b':
  Define shortcuts for toggling IME layouts.
2015-10-16 21:56:08 +00:00
Dan Zivkovic
33bbbb0d33 am de674ac0: Re-activate emoji keyboard shortcut.
* commit 'de674ac02ee0090078f1ec0d286f26ef19cdeebb':
  Re-activate emoji keyboard shortcut.
2015-10-16 21:56:07 +00:00
Dmitry Torokhov
28e65858d9 Do not start in recents tab if we do not have recent emojis
If user has not used emojis we should not bring recents emoji tab on the
first invocation of the on-screen keyboard as it is confusing to see an
empty tab.

We will still be showing recents tab even if it is empty if user
actively switched to it when using on-screen keyboard.

Bug: 24497650

Change-Id: I68b4bf64441590858d246168cc4733a2875a1357
(cherry picked from commit 24d67eba27cb23c0d3aca44236247ec12380daa5)
2015-10-15 12:47:32 -07:00
Dan Zivkovic
1fdb8f3156 Define shortcuts for toggling IME layouts.
Out of the box, we want Alt-Left to toggle Emojis, while Alt-Right
toggles the shifted symbols layout.

Bug: 23954008
Bug: 24369173

Change-Id: I93dd66fb469e5d0a831359ff3a786fe68e1d73ea
(cherry picked from commit 411841b374aa04e333ea5a438dfd539f49ec589a)
2015-10-15 12:47:32 -07:00
Dan Zivkovic
de674ac02e Re-activate emoji keyboard shortcut.
Bug 23900149.

Change-Id: Iff8a3892bb88f82736e5fa680c38d98cda4d2777
(cherry picked from commit e1641395e30de7b53b06fc5c820ea83bf04b3aad)
2015-10-15 17:14:04 +00:00
Geoff Mendal
0fb027625d Import translations. DO NOT MERGE
Change-Id: Ib2bc225727b6456b8ae1689dd30b2152b90a9f2d
Auto-generated-cl: translation import
2015-10-12 07:18:51 -07:00
Geoff Mendal
0d4429f440 Import translations. DO NOT MERGE
Change-Id: I6b4e3baa5abd8e1beabed89f3953d63ad16d3503
Auto-generated-cl: translation import
2015-10-07 07:34:05 -07:00
Baligh Uddin
b24635b66a Merge "Import translations. DO NOT MERGE" 2015-09-27 02:36:12 +00:00
Baligh Uddin
8dd3da9654 Import translations. DO NOT MERGE
Change-Id: I0835962e70a79114d4b945dfe80978753a601fbe
Auto-generated-cl: translation import
2015-09-25 11:57:30 -07:00
Baligh Uddin
ede41a3663 Import translations. DO NOT MERGE
Change-Id: Ic4df2fec41f8135be1ac1b5f9c075191633b3370
Auto-generated-cl: translation import
2015-09-25 11:52:07 -07:00
Baligh Uddin
cada0b3374 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-25 02:56:49 +00:00
Baligh Uddin
d993ade72b Import translations. DO NOT MERGE
Change-Id: I3b2bbe3c7c543e8e0182e7879beedfac207f14a4
Auto-generated-cl: translation import
2015-09-24 15:22:10 -07:00
Baligh Uddin
ff853888c0 Import translations. DO NOT MERGE
Change-Id: Id3a49d7cac8bb9ae65e2b11f80971e0e5f7c71dd
Auto-generated-cl: translation import
2015-09-24 15:16:29 -07:00
Baligh Uddin
76fb62948b Import translations. DO NOT MERGE
Change-Id: Ic81451a6e3a53043ba9d5a6e746112fde36967af
Auto-generated-cl: translation import
2015-09-22 22:32:29 -07:00
Baligh Uddin
49d6548607 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-19 02:37:31 +00:00
Baligh Uddin
c9535fc918 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-19 02:37:29 +00:00
Baligh Uddin
c4391d6d4f Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-19 02:37:26 +00:00
Baligh Uddin
2aeff37209 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-19 02:37:24 +00:00
Baligh Uddin
efdd98c8ab Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-19 02:37:22 +00:00
Baligh Uddin
2e0177bc03 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-09-19 02:37:14 +00:00
Baligh Uddin
2899c7f3ca Import translations. DO NOT MERGE
Change-Id: I4dcc36e1ececec8c5aae85f8bbe27881143e88ab
Auto-generated-cl: translation import
2015-09-18 10:56:53 -07:00
Baligh Uddin
4aa751eccc Import translations. DO NOT MERGE
Change-Id: Ib7a938015a765e4ec57a0c18a3f0eacf1633d3c7
Auto-generated-cl: translation import
2015-09-18 10:53:14 -07:00
Baligh Uddin
f70cf89597 Import translations. DO NOT MERGE
Change-Id: I8f0cf22104ef4bb1ef8a6b2f808fa951416fc77b
Auto-generated-cl: translation import
2015-09-18 10:51:47 -07:00
Baligh Uddin
2b426c42fa Import translations. DO NOT MERGE
Change-Id: Id0ddfbfaff054841dba8fe4f2610a96b267cb66a
Auto-generated-cl: translation import
2015-09-18 10:51:00 -07:00
Baligh Uddin
e18ebde1fb Import translations. DO NOT MERGE
Change-Id: I54db85192abdcd42e89e16ef6912759c6bee74b4
Auto-generated-cl: translation import
2015-09-18 10:50:00 -07:00
Baligh Uddin
4059c22252 Import translations. DO NOT MERGE
Change-Id: I4f23306d49380f81b06494d1c4f21fbfbda7630e
Auto-generated-cl: translation import
2015-09-18 10:49:23 -07:00
Baligh Uddin
b57930a497 Import translations. DO NOT MERGE
Change-Id: Id52eaa6c87a18034b448d4404b571ce02a568031
Auto-generated-cl: translation import
2015-09-18 10:48:32 -07:00
Baligh Uddin
181992c4f9 Merge "Import translations. DO NOT MERGE" 2015-09-11 16:24:14 +00:00
Baligh Uddin
937793ea4c Merge "Import translations. DO NOT MERGE" 2015-09-11 16:24:12 +00:00
Baligh Uddin
6b8f50685d Import translations. DO NOT MERGE
Change-Id: I2b56a3f8e94e79e37d2d93330aff108c5de4dc5b
Auto-generated-cl: translation import
2015-09-10 15:18:44 -07:00
Baligh Uddin
929f8f87f9 Import translations. DO NOT MERGE
Change-Id: I215000680ea9d4e3d88897cef72d4d04effa209b
Auto-generated-cl: translation import
2015-09-10 15:14:43 -07:00
Baligh Uddin
5ff4aacf3f Import translations. DO NOT MERGE
Change-Id: Iac37baf2a731344933b2c7b42513385fdc677758
Auto-generated-cl: translation import
2015-09-10 15:11:36 -07:00
Geoff Mendal
5f93acbf27 Merge "Import translations. DO NOT MERGE" 2015-09-07 14:24:45 +00:00
Geoff Mendal
7bc676bdc1 Import translations. DO NOT MERGE
Change-Id: I932f254d3014243d9c3fc92be8a706d739e13ebe
Auto-generated-cl: translation import
2015-09-07 07:15:31 -07:00
Geoff Mendal
c2f101053d Import translations. DO NOT MERGE
Change-Id: Ic6cfd1be9da6b177b91bbb19c35daa80328cd242
Auto-generated-cl: translation import
2015-09-07 07:14:42 -07:00
Russell Brenner
4f8108a193 am 04be0e3a: am a6783987: am c3cc203e: am f52bae18: Don\'t show download toast during SUW
* commit '04be0e3a2f741f893d3b640e1d873c379ea19333':
  Don't show download toast during SUW
2015-09-03 04:34:45 +00:00
Russell Brenner
c3cc203e4a am f52bae18: Don\'t show download toast during SUW
* commit 'f52bae18050b8955b8afeb1cb573d42ac6e260c0':
  Don't show download toast during SUW
2015-09-01 21:38:16 +00:00
Geoff Mendal
3dd9e2cae7 Import translations. DO NOT MERGE
Change-Id: I91c46c5021d7c583e43211346d9b290209ea94ca
Auto-generated-cl: translation import
2015-08-26 05:29:22 -07:00
Russell Brenner
f52bae1805 Don't show download toast during SUW
Check to see if setup wizard is running before showing toast to
inform user that a download was started. Note that this will only
affect the device owner; when adding new users later, the toast
will still appear. (The USER_SETUP_COMPLETE flag is hidden from
the SDK, while DEVICE_PROVISIONED remains available.)

Bug: 22594336
Change-Id: I57c42d6f821714b71cbb066e82bba2a1dbab4951
2015-08-25 17:39:00 +00:00
Geoff Mendal
c36e8bf58e Import translations. DO NOT MERGE
Change-Id: Ic4e38928384e43b39f41d33a461645aed396f063
Auto-generated-cl: translation import
2015-08-24 06:33:59 -07:00
Mohammadinamul Sheik
ecc0969ba0 am 4009e4de: am c1ebf8ee: am 81f9a0d8: am a289e139: am b0dd5cc7: Fix the ellipses image scaling of LatinIME
* commit '4009e4dede2be5f12bedffb9139a4eb7d6b88978':
  Fix the ellipses image scaling of LatinIME
2015-08-12 21:01:43 +00:00
Mohammadinamul Sheik
81f9a0d8f3 am a289e139: am b0dd5cc7: Fix the ellipses image scaling of LatinIME
* commit 'a289e13927e7cd2e3d16edb96f56ced777b4c920':
  Fix the ellipses image scaling of LatinIME
2015-08-12 20:37:57 +00:00
Mohammadinamul Sheik
a289e13927 am b0dd5cc7: Fix the ellipses image scaling of LatinIME
* commit 'b0dd5cc7b235bf6e0aa59e83a58b1e902a2ff372':
  Fix the ellipses image scaling of LatinIME
2015-08-12 20:28:43 +00:00
Mohammadinamul Sheik
b0dd5cc7b2 Fix the ellipses image scaling of LatinIME
Bug: 23082844
Change-Id: I7baac5e5a0700280906fd0f5f9351fc8dfc4c2b3
(cherry picked from commit 990e9a75b6d88ba234131612f11eac6b69c1cf84)
2015-08-12 18:03:44 +00:00
Geoff Mendal
0d21507dc4 Import translations. DO NOT MERGE
Change-Id: If363a8e5c3c1fcc4f6a22dcc4f3b7d29e7b065af
Auto-generated-cl: translation import
2015-08-08 06:46:43 -07:00
Geoff Mendal
01e1299976 Merge "Import translations. DO NOT MERGE" 2015-08-05 13:26:06 +00:00
Geoff Mendal
36aef7021f Import translations. DO NOT MERGE
Change-Id: I8b507cec49c21d1e52ca8047373615a8f7566410
Auto-generated-cl: translation import
2015-08-05 06:18:18 -07:00
Geoff Mendal
b84b41a490 Import translations. DO NOT MERGE
Change-Id: Ia2602a34714db8d4d266e1a33f10ec2882cd7e98
Auto-generated-cl: translation import
2015-08-05 06:16:16 -07:00
Geoff Mendal
cc30f06888 Import translations. DO NOT MERGE
Change-Id: I9327dbfb97dc99e7c6b408d41ef97b620dc4b9a8
Auto-generated-cl: translation import
2015-07-31 20:05:51 -07:00
Geoff Mendal
56a9bb89f6 Import translations. DO NOT MERGE
Change-Id: I38c4dcdf891c1f2e883a07359cfea7c8ef7b97f4
Auto-generated-cl: translation import
2015-07-31 20:01:54 -07:00
Geoff Mendal
af309ba046 Import translations. DO NOT MERGE
Change-Id: I27869e5a8e6238b2a9eb3948c6474f94d3817268
Auto-generated-cl: translation import
2015-07-29 16:05:32 -07:00
Geoff Mendal
0497f6d34d Import translations. DO NOT MERGE
Change-Id: I5894bc3e87ed62aa351d7545df7d9901ea115877
Auto-generated-cl: translation import
2015-07-29 16:04:36 -07:00
Geoff Mendal
e343460d1c Import translations. DO NOT MERGE
Change-Id: I2172c473d8bbad5224e9551921789d68db9d5244
Auto-generated-cl: translation import
2015-07-29 15:52:21 -07:00
Mohammadinamul Sheik
0c6b903327 am 583954f6: am c8b49f7c: am e6ccd516: am 234fc825: am 464da87f: [LatinIME] bring back use_personliazed_dicts_summary resource.
* commit '583954f609488449a423ff2ba5c6dbec109eaa12':
  [LatinIME] bring back use_personliazed_dicts_summary resource.
2015-07-29 18:43:04 +00:00
Mohammadinamul Sheik
234fc82508 am 464da87f: [LatinIME] bring back use_personliazed_dicts_summary resource.
* commit '464da87f3746af38aed787602beb48841d3075ae':
  [LatinIME] bring back use_personliazed_dicts_summary resource.
2015-07-29 16:31:08 +00:00
Geoff Mendal
365e0d2ab7 Merge "Import translations. DO NOT MERGE" 2015-07-29 12:52:21 +00:00
Geoff Mendal
1be22de172 Import translations. DO NOT MERGE
Change-Id: I31e281306ce916fbfc5a2495a42525f2531729c0
Auto-generated-cl: translation import
2015-07-29 05:49:46 -07:00
Geoff Mendal
12864c6f44 Import translations. DO NOT MERGE
Change-Id: I4f22b867c9b8089dc16d23555ed3c747325d1a37
Auto-generated-cl: translation import
2015-07-29 05:46:51 -07:00
Mohammadinamul Sheik
464da87f37 [LatinIME] bring back use_personliazed_dicts_summary resource.
Bug: 22779653
Change-Id: Ia6af57e9a6ea59faf01c2587bab133136c5fc73a
(cherry picked from commit 6be49e8a9a26242cc9c49549c3a015662461fc48)
2015-07-28 23:06:10 +00:00
Geoff Mendal
b346ad5e48 Import translations. DO NOT MERGE
Change-Id: Id207c14251b9a366677e2888b3c1089d58cf540b
Auto-generated-cl: translation import
2015-07-25 00:17:11 -07:00
Mohammadinamul Sheik
570b9bbd09 am a6bc0df8: am 4e7ed10c: am c13c53c5: am ca8053d7: am 707ca769: Handle Cloud Sync and SpellChecker settings when permission changed
* commit 'a6bc0df83e0189b0a5d922078b6abd874aa23ce4':
  Handle Cloud Sync and SpellChecker settings when permission changed
2015-07-24 17:21:17 +00:00
Mohammadinamul Sheik
ca8053d7f3 am 707ca769: Handle Cloud Sync and SpellChecker settings when permission changed
* commit '707ca7692a8666989b3fbe860bee28115103988e':
  Handle Cloud Sync and SpellChecker settings when permission changed
2015-07-24 04:20:13 +00:00
Mohammadinamul Sheik
707ca7692a Handle Cloud Sync and SpellChecker settings when permission changed
This build has been compiled against API 23

This build is approved to go out with the M OTA, but may NOT be released
to the public until the Play Store has enabled API level 23 apps

Version: 4.1.2300x.build_id


1. Disable the settings.
2. Disable the feature.
3. Force reload the facilitator.

Bug: 22564048
Change-Id: Ic09742786c3e4efc034bceee836ae6a1e07307a1
(cherry picked from commit 031d04192080f0368f21c3371d1ec6af87375357)
2015-07-24 02:00:54 +00:00
Geoff Mendal
7678dd694a Import translations. DO NOT MERGE
Change-Id: I359eeec8883d4d3511cca6a5b1494b0f0c54eef9
Auto-generated-cl: translation import
2015-07-20 06:40:58 -07:00
Mohammadinamul Sheik
7cac5f1d94 am bdac2741: am 641e2bd3: am 1c47b2d8: am 992144a8: am 60415866: [LatinIME] Support MNC permissions.
* commit 'bdac27417cac7a3914a2cbf3ef76b4545b49f6fa':
  [LatinIME] Support MNC permissions.
2015-07-16 00:52:32 +00:00
Mohammadinamul Sheik
992144a8c2 am 60415866: [LatinIME] Support MNC permissions.
* commit '604158669b407a40cd0f23538fad4dce5d738f24':
  [LatinIME] Support MNC permissions.
2015-07-16 00:04:12 +00:00
Mohammadinamul Sheik
604158669b [LatinIME] Support MNC permissions.
This build has been compiled against API 23

This build is approved to go out with the M OTA, but may NOT be released
to the public until the Play Store has enabled API level 23 apps

Version: 4.1.2300x.build_id

1. Replaces the personalization is on information with the suggest
   contacts.
2. Enables "Use Contacts" only if the app has permission to read
   contacts.
3. Disables the contacts dictionary in the Facilitator.
4. Do not register/read the contacts in the contact observer.

Bug: 22236416
Change-Id: I9674e13d0d0f4a2014c5024fde0178de684c07e7
2015-07-15 22:51:53 +00:00
Geoff Mendal
7d5fb3a943 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:48:45 +00:00
Geoff Mendal
6aea6b9da7 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:47:56 +00:00
Geoff Mendal
1aceaa3c2b Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:47:44 +00:00
Geoff Mendal
c8e261e95b Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:46:10 +00:00
Geoff Mendal
cf849b40df Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:44:45 +00:00
Geoff Mendal
29217bcd65 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 16:41:49 +00:00
Geoff Mendal
f98a60cc43 Import translations. DO NOT MERGE
Change-Id: Iebd6e5f51a121cae7913e6ac21c4140b9c4de6f9
Auto-generated-cl: translation import
2015-07-15 09:41:01 -07:00
Geoff Mendal
90a6cdb26a Import translations. DO NOT MERGE
Change-Id: I922b3fb60a57db87c8bf1da3d3cd7fa976d9f5f9
Auto-generated-cl: translation import
2015-07-15 09:37:13 -07:00
Geoff Mendal
8b8df7dcf1 Import translations. DO NOT MERGE
Change-Id: I1ce33d32d058d27eae565c1e982b491372878d25
Auto-generated-cl: translation import
2015-07-15 09:34:54 -07:00
Geoff Mendal
41bffb1293 Import translations. DO NOT MERGE
Change-Id: Id1d45fb3ba0b84c8574bd8e326c62f2417660ce3
Auto-generated-cl: translation import
2015-07-15 09:33:27 -07:00
Geoff Mendal
e3e9026a3a Import translations. DO NOT MERGE
Change-Id: Id4a9a90498ece00ba399074bef4010ecd315aeb7
Auto-generated-cl: translation import
2015-07-15 09:31:30 -07:00
Geoff Mendal
a00589437e Import translations. DO NOT MERGE
Change-Id: I41b452436ee558b42b104387eb3431d8164ab766
Auto-generated-cl: translation import
2015-07-15 09:30:20 -07:00
Geoff Mendal
285c9d825d Import translations. DO NOT MERGE
Change-Id: I7b33db63242fec09f647c250e66f9eef75c7b6fa
Auto-generated-cl: translation import
2015-07-15 09:28:54 -07:00
Geoff Mendal
2e0741da81 Merge "Import translations. DO NOT MERGE" 2015-07-15 12:20:00 +00:00
Geoff Mendal
e475916ee6 Merge "Import translations. DO NOT MERGE" 2015-07-15 12:19:46 +00:00
Geoff Mendal
6fcd76fa65 Merge "Import translations. DO NOT MERGE" 2015-07-15 12:19:19 +00:00
Geoff Mendal
860bb72677 Merge "Import translations. DO NOT MERGE" 2015-07-15 12:19:05 +00:00
Geoff Mendal
d7cb3faca7 Merge "Import translations. DO NOT MERGE" 2015-07-15 12:18:32 +00:00
Geoff Mendal
66d293a6fc Merge "Import translations. DO NOT MERGE" 2015-07-15 12:17:36 +00:00
Geoff Mendal
c87fa1046a Import translations. DO NOT MERGE
Change-Id: I902a7ba3ad4374dae7af5a86fae37c7fbb9f611f
Auto-generated-cl: translation import
2015-07-15 05:08:56 -07:00
Geoff Mendal
55918d50bb Import translations. DO NOT MERGE
Change-Id: Ibb224238f36380adb49ea9ba2059a44e0bd6a004
Auto-generated-cl: translation import
2015-07-15 05:08:07 -07:00
Geoff Mendal
d9cdd9bc0b Import translations. DO NOT MERGE
Change-Id: I824270b06a5f72038f98c7259107e4984bce25b8
Auto-generated-cl: translation import
2015-07-15 05:06:49 -07:00
Geoff Mendal
41a55e2034 Import translations. DO NOT MERGE
Change-Id: I9bd02d5316ff4c15a713bd79345382ae79f2e4d8
Auto-generated-cl: translation import
2015-07-15 05:06:00 -07:00
Geoff Mendal
9468a345e3 Import translations. DO NOT MERGE
Change-Id: I52fbd93b2ddb4f78926ecd7db84c8506dff48b28
Auto-generated-cl: translation import
2015-07-15 05:04:44 -07:00
Geoff Mendal
43b12a09d7 Import translations. DO NOT MERGE
Change-Id: I77f00be6e8d3b966f60fef0c66a6e98c44180d19
Auto-generated-cl: translation import
2015-07-15 05:04:06 -07:00
Geoff Mendal
a5703d5af1 Import translations. DO NOT MERGE
Change-Id: If3d7ed1987e024974263084f4233b8b549f09381
Auto-generated-cl: translation import
2015-07-15 05:03:12 -07:00
Jatin Matani
d711426a87 Remove android.util.Log from FileUtils
FileUtils is being used for other non android projects
and hence breaks when built. Instead use the log statements
at caller to record Log.e messages. Hence there is no side
effect here.

Bug:22042371
Change-Id: Ieb100006ff38e013bc30542637465f58bfc0f2f2
2015-07-09 11:50:10 -07:00
Jatin Matani
8c2591eec8 Bring back shortcuts and add to dictionary UI
For JB and lower devices, the UI is surfaced by the IME.
Bug: 22200135
Change-Id: Icca08500ee0683e2ceb5357b0bc430cd1712220e
2015-07-06 17:32:13 -07:00
Dan Zivkovic
d23dd5978d Don't prompt before downloading.
We don't pay attention to the answer, so don't ask.

Bug 22069694.

Change-Id: Ic048d5570e68fbc9438c6577e27e6c7f68428606
2015-06-25 15:01:04 -07:00
Dan Zivkovic
5e4c0caac3 Add some more logging. Why not.
Change-Id: I536212e1b3c35d75ed93f9ab3762908e3deb9a97
2015-06-24 18:56:48 -07:00
Dan Zivkovic
3aad142435 Load metadata.json from resources on DB reset.
This will ensure that a new (or upgraded) keyboard instance will know which
dictionaries are available for download so it requests missing dictionaries.
In addition, we increment the database version number to ensure upgrades of
existing Fava instances start with a clean slate.

Bug 22069694.

Change-Id: Id71310412682543a3931f9c5c03cb0369fa7b9ac
2015-06-24 18:40:34 -07:00
Tom Ouyang
c32389ce11 Merge "Small optimization to eliminate a >0 check in RichInputConnection." into jb-ub-latinimegoogle 2015-06-24 19:44:37 +00:00
Tom Ouyang
96640a110b Small optimization to eliminate a >0 check in RichInputConnection.
Change-Id: Ibdf97726008c1f94c970461196ba445ce328a8cb
2015-06-24 12:00:04 -07:00
Dan Zivkovic
563d7935a9 Extend laggy connection timeout for initial load.
The initial reloadTextCache() operation needs to read 1k characters, and it
could be slow on low-end devices. Also, the initial load is not blocking key
strokes, so it can take a little longer.

Bug 22062102.

Change-Id: I134424e8910c0d6131c311a862bdc87eccd3af44
2015-06-24 11:57:59 -07:00
Dan Zivkovic
ecea6a6113 Merge changes Iaed8abfb,I8e55b57c into jb-ub-latinimegoogle
* changes:
  LatinIME portion of StatsUtil change.
  Do not decorate committed spans.
2015-06-23 20:55:23 +00:00
Tom Ouyang
67eaf613f7 Merge "Workaround for preserving responsiveness on a slow InputConnection." into jb-ub-latinimegoogle 2015-06-23 20:35:09 +00:00
Tom Ouyang
912016b69f Workaround for preserving responsiveness on a slow InputConnection.
1. Add mechanism to detect a slow or non-resonsive InputConnection (IC)
2. When IC slowness is detected, skip certain IC calls that are known
   to be expensive (e.g., getTextAfterCursor).
3. Similarly, disables learning / unlearning on a slow IC.
4. IC slowness flag is reset when starting input on a new TextView or
   when a fixed amount of time has passed.

Note: These are mostly temporary workarounds. The permanent solution is
to refactor RichInputConnection so that it is less sensitive to IC
slowness in general.

Bug: 21926256
Change-Id: I383fab0516d3f3a8e0f71e5d760a8336a7730f7c
2015-06-23 10:34:44 -07:00
Dan Zivkovic
ee6de1466b Do not decorate committed spans.
Users rarely tap on committed words, and the cost of sending the spans back
through the input connection, back and forth to the target app, is too high.

Bug 21926256.

Change-Id: I8e55b57ce2148ed313dc927425b6d9c958634958
2015-06-23 10:25:58 -07:00
Dan Zivkovic
4e9d260826 Do not force downloads on package replace.
This is causing issues we can't deal with in a safe and timely manner.
Furthermore, users who need downloaded dictionaries already have them by now.

Bug 21797386.

Change-Id: I97e5fd84edcf2b16f04db57b7ae4a13fa9ce993f
2015-06-23 10:15:34 -07:00
Mohammadinamul Sheik
bf7c0106b0 Fix the previous downloads logic to not missing any downloads.
Bug: 21797386
Change-Id: Ic09698b28e31b4f16831898d7cb08853f4e5df4a
2015-06-22 20:23:27 -07:00
Dan Zivkovic
73aaf68337 Detection and logging of slow input connections.
Also adds a hook to log using StatsUtils.
Proto change is coming in a separate CL.

Bug 22010482.

Change-Id: I08065fc7a5cd116e50ff84cb14bbbc44c4f14bc7
2015-06-22 17:36:53 -07:00
Mohammadinamul Sheik
5a51e4a0a8 Clear/remove all the scheduled downloads in Download Manager
Bug: 21797386
Change-Id: I60f50a2fe890af46f5e847c34df2edf719d40ac4
2015-06-22 12:57:31 -07:00
Chieu Nguyen
779d4bb429 Disable download notifications.
Change-Id: I25263fe227ae88afa2021454b0dac2b0c7b9bfe0
2015-06-19 21:52:20 -07:00
Dan Zivkovic
0232e73dfa Cleanup before fixing getTextAfterCursor().
We never delete text after the cursor, so constrain the API accordingly.
Define the number of characters to read before and after.
Set them to reasonable values.
The next CL will start caching text after the cursor.

Bug 21926256.

Change-Id: Idd58daf68614de4a69344aa3c8a4323720c5d3a0
2015-06-19 12:06:18 -07:00
Dan Zivkovic
02c28453fc Do not restrict downloads to WiFi networks.
Bug 21900337.

Change-Id: I82991b492ea4c02a28a1ccc898d6f12741f1b793
2015-06-17 12:53:55 -07:00
Dan Zivkovic
764a18cd92 Revert "Remove "Personal dictionary" link from settings."
This reverts commit 76de0a8f52.

Bug 21881199.

Change-Id: I53f42a1e8f25d214de97264f4d25813bc637cafa
2015-06-16 18:26:02 -07:00
Mohammadinamul Sheik
94b4ffa17a Merge "Hide Notification when downloading the keyboard metadata" into jb-ub-latinimegoogle 2015-06-16 00:23:02 +00:00
Mohammadinamul Sheik
851a8b5489 Hide Notification when downloading the keyboard metadata
Bug: 21797386
Change-Id: Iebe9d2f18c5c8325a5601d49d8c4c65166b67036
2015-06-15 16:04:43 -07:00
Geoff Mendal
1fadf98997 Import translations. DO NOT MERGE
Change-Id: I778853cc6cf9bd0453ab7e9149b64602d6e6fb9b
Auto-generated-cl: translation import
2015-06-15 05:39:48 -07:00
Geoff Mendal
0f706a498b Import translations. DO NOT MERGE
Change-Id: Ib5516b4b5a50c0769410fdbb37f527a8a77bf4f9
Auto-generated-cl: translation import
2015-06-10 05:34:01 -07:00
Geoff Mendal
f5eb4d1f80 Import translations. DO NOT MERGE
Change-Id: I31808e8c9b7034fb2b180936168968eff69319e3
Auto-generated-cl: translation import
2015-06-08 06:00:17 -07:00
Geoff Mendal
71a21fbd0e Import translations. DO NOT MERGE
Change-Id: Ieead0f573f84c1959e2b396808b4f339eca666cd
Auto-generated-cl: translation import
2015-06-03 08:18:04 -07:00
Geoff Mendal
23c3c6e0bf Import translations. DO NOT MERGE
Change-Id: Ic2ece7209e745530a0856a3847cf00b3a63327c2
Auto-generated-cl: translation import
2015-06-01 08:01:13 -07:00
Dan Zivkovic
a9c235b533 Change metadata fetch interval back to 4 days.
Bug 19774872.

Change-Id: Icd790414d9462ee74a7eac11dd255fddf3048dce
2015-05-28 13:29:10 -07:00
Dan Zivkovic
04f03267a4 Mark resources translatable.
Bug 21366029.

Change-Id: I1fdf954112c15ae67084189306016018a811b37c
2015-05-21 11:19:45 -07:00
Dan Zivkovic
7891733c73 Remove dogfood history reset.
Change-Id: I1d7ebe5962fc3176c376e1ce34c7ac98cdf41373
2015-05-21 10:24:15 -07:00
Dan Zivkovic
0e15ff6b48 Fix on-commit bug in AOSP keyboard.
Bug 21272977.

Change-Id: Id561040c29a7f2576cd9ef0514c31751a4360ef8
2015-05-19 10:45:19 -07:00
Geoff Mendal
8796012ac7 Import translations. DO NOT MERGE
Change-Id: Ib618c2ce9292d8c2c5d3fbe926973f2319a45fc7
Auto-generated-cl: translation import
2015-05-13 05:34:36 -07:00
Mohammadinamul Sheik
b08f434482 Make the DictionaryService check for download every day.
Bug: 20103664
Change-Id: Iba019d5f79f46c560171e0594c2b5114b477923a
2015-05-12 13:49:35 -07:00
Mohammadinamul Sheik
44caf52581 Merge "clean up debug tags." into jb-ub-latinimegoogle 2015-05-12 20:46:29 +00:00
Mohammadinamul Sheik
142294a9fe clean up debug tags.
Change-Id: I2ca37bd691abcc036ead8071045d37d72b2d088d
2015-05-12 10:46:12 -07:00
Dan Zivkovic
f7a8edba2f Merge "Update the DB version." into jb-ub-latinimegoogle 2015-05-08 19:28:55 +00:00
Dan Zivkovic
f4590b0e28 Update the DB version.
Bug 20103664.

Change-Id: I1e2b72979df148d8aa71e3e58437a5853e63c261
2015-05-08 12:25:47 -07:00
Jatin Matani
e09da0aeb9 Set syncAutomatically for sync users
Note: this doesn't mean that sync would happen.
It only unblocks users who are already opted into
cloud sync

Change-Id: I91836efadac89d0429d7f2e9c9190a873a638743
2015-05-07 20:52:34 -07:00
Dan Zivkovic
bdc55e77f7 Metadata URI does not need additionalId.
Bug 20701628.

Change-Id: Ifba1e7dd7f9934c8c13279dfb95bf02c0e30e650
2015-05-06 09:30:47 -07:00
Dan Zivkovic
12d0641864 am 9bad1ac3: Look up thresholds during decoder reset.
* commit '9bad1ac33f65dc3454a689b88560988b77a00a87':
  Look up thresholds during decoder reset.
2015-05-05 01:18:22 +00:00
Dan Zivkovic
9bad1ac33f Look up thresholds during decoder reset.
Bug 20701628.

Change-Id: I4de89587776a0859aeda5d2ed76ab1eb4f918458
2015-05-04 14:48:28 -07:00
Mohammadinamul Sheik
9c08208d1a am f01cd568: Merge "Make the DictionaryService stage the downloaded files"
* commit 'f01cd568f0de414e88507ce244969cf0e509c537':
  Make the DictionaryService stage the downloaded files
2015-05-04 20:24:33 +00:00
Mohammadinamul Sheik
f01cd568f0 Merge "Make the DictionaryService stage the downloaded files" 2015-05-04 19:04:15 +00:00
Mohammadinamul Sheik
a0d9c82921 Make the DictionaryService stage the downloaded files
Bug: 20641948
Change-Id: I6639c995b12c033bc30241cd219201dd483ee516
2015-05-04 11:57:31 -07:00
Geoff Mendal
aa9bb2f1db Import translations. DO NOT MERGE
Change-Id: I4077e97bfbbb23bf55ceaf627306473e302f08fe
Auto-generated-cl: translation import
2015-05-01 20:47:07 -07:00
Dan Zivkovic
bdddc04635 am f22571e2: Delete history on upgrade in LatinIME.
* commit 'f22571e2d9756294fa2fa332a395c06010f54d92':
  Delete history on upgrade in LatinIME.
2015-05-01 20:10:16 +00:00
Dan Zivkovic
f22571e2d9 Delete history on upgrade in LatinIME.
Bug 20733902.

Change-Id: Ibe27e6cafe4db87ba62d7df708229e0d8564ffa8
2015-05-01 12:45:07 -07:00
Tom Ouyang
6d8e783d18 Do not learn from cursor corrections when autocorrection is disabled.
Bug: 20681528
Change-Id: I80e7095b70a151f3ccc36856d7e0837613a35972
2015-05-01 00:00:47 +00:00
Tom Ouyang
89f9070264 Do not learn from cursor corrections when autocorrection is disabled.
Bug: 20681528
Change-Id: I80e7095b70a151f3ccc36856d7e0837613a35972
2015-04-30 15:10:50 -07:00
Dan Zivkovic
e991c34297 am 459b4f35: Spelling cannot cache words across invocations.
* commit '459b4f353e6138b644c1f06de68e93532ee0d856':
  Spelling cannot cache words across invocations.
2015-04-29 21:42:50 +00:00
Dan Zivkovic
459b4f353e Spelling cannot cache words across invocations.
We want to let the facilitator decide if a word is valid or invalid, and cache
the answer in the facilitator's cache. The spell checker session doesn't need
its own word cache, except as a crutch to communicate suggestions to the code
that populates the suggestion drop-down. We leave that in place.

Bug 20018546.

Change-Id: I3c3c53e0c1d709fa2f64a2952a232acd7380b57a
2015-04-29 14:30:49 -07:00
Geoff Mendal
bd7e0fd5a5 Import translations. DO NOT MERGE
Change-Id: I4e17f973073f0e5cbb1c8d8bae6e087cb8147b81
Auto-generated-cl: translation import
2015-04-29 13:46:26 +00:00
Geoff Mendal
ad95ff8178 Import translations. DO NOT MERGE
Change-Id: Iaef4f34aafd86ac42c650536601d67dad67f73f1
Auto-generated-cl: translation import
2015-04-29 13:46:25 +00:00
Geoff Mendal
82bf4a6aee Merge "Import translations. DO NOT MERGE" 2015-04-29 13:32:04 +00:00
Geoff Mendal
ca40954d9d Merge "Import translations. DO NOT MERGE" 2015-04-29 13:31:48 +00:00
Geoff Mendal
7b741fa666 Import translations. DO NOT MERGE
Change-Id: I48ca4bdfb8c0dded8af8412146b7902a34d88161
Auto-generated-cl: translation import
2015-04-29 06:19:13 -07:00
Geoff Mendal
3cc8ecb95f Import translations. DO NOT MERGE
Change-Id: I4e17f973073f0e5cbb1c8d8bae6e087cb8147b81
Auto-generated-cl: translation import
2015-04-29 06:18:06 -07:00
Geoff Mendal
8588e52379 Import translations. DO NOT MERGE
Change-Id: Iaef4f34aafd86ac42c650536601d67dad67f73f1
Auto-generated-cl: translation import
2015-04-29 06:17:25 -07:00
Chieu Nguyen
6441faa610 am 767c0bf7: Restore preference change update to show app icon setting.
* commit '767c0bf71b9c0af7f8451d7d355f6efad21a6e5b':
  Restore preference change update to show app icon setting.
2015-04-27 21:55:38 +00:00
Chieu Nguyen
767c0bf71b Restore preference change update to show app icon setting.
Bug: 20544640
Change-Id: I6e2a26a8a5e43360dfefcc85bb46eae28f5e3867
2015-04-27 13:53:17 -07:00
Geoff Mendal
ee10cceb52 Import translations. DO NOT MERGE
Change-Id: I5ad6f6abd6d40b1dea68441bca18851461ed6fd4
Auto-generated-cl: translation import
2015-04-27 06:29:58 -07:00
Geoff Mendal
e9b52401a2 Merge "Import translations. DO NOT MERGE" 2015-04-25 09:26:04 +00:00
Geoff Mendal
b6ced82d3b Import translations. DO NOT MERGE
Change-Id: I9964b966c2cf45db046bf295cc7d9051eb6ae023
Auto-generated-cl: translation import
2015-04-25 01:24:27 -07:00
Geoff Mendal
5617af7363 Import translations. DO NOT MERGE
Change-Id: I9ae307bf3567fa52a6fbb6f17de26de9274eff9c
Auto-generated-cl: translation import
2015-04-25 01:20:01 -07:00
Geoff Mendal
b42f85c8ca Import translations. DO NOT MERGE
Change-Id: I5eedc967208ea3d92d4d73b536281040106d7591
Auto-generated-cl: translation import
2015-04-25 01:19:20 -07:00
Dan Zivkovic
0108a51731 am 784233db: Specify fileName argument as Nullable.
* commit '784233dbc6dda7e702228fc831f3255bb4963f04':
  Specify fileName argument as Nullable.
2015-04-23 21:32:32 +00:00
Dan Zivkovic
784233dbc6 Specify fileName argument as Nullable.
Bug 20526371.

Change-Id: If53a81f925fbb1b29ad945ba0ec2192d92ae1eff
2015-04-23 14:12:33 -07:00
Chieu Nguyen
9d95f80e70 am a2376cd2: Restore switch for showing app icon.
* commit 'a2376cd2b4fea6b655fdcdf794cf16b7bbe1a161':
  Restore switch for showing app icon.
2015-04-22 23:17:40 +00:00
Chieu Nguyen
a2376cd2b4 Restore switch for showing app icon.
Bug: 20307420
Change-Id: I95969de40936d2ea992669324d0c4df7e8de2bd9
2015-04-22 15:46:40 -07:00
Geoff Mendal
fece743fee Merge "Import translations. DO NOT MERGE" 2015-04-22 12:49:11 +00:00
Geoff Mendal
987ce53937 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:48:08 +00:00
Geoff Mendal
072c2ed4f9 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:47:56 +00:00
Geoff Mendal
02c00cb197 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:47:42 +00:00
Geoff Mendal
0ff42b7f78 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:47:29 +00:00
Geoff Mendal
2d75d6ac86 Import translations. DO NOT MERGE
Change-Id: Id500c47ffc67f94d2a8e273ab0f19deceb44a1e5
Auto-generated-cl: translation import
2015-04-22 05:46:20 -07:00
Geoff Mendal
3446b9662b Import translations. DO NOT MERGE
Change-Id: Ieca899d22fe4aee62edb01073e7fb301162406ef
Auto-generated-cl: translation import
2015-04-22 05:45:37 -07:00
Geoff Mendal
3a9f2b64a4 Import translations. DO NOT MERGE
Change-Id: I45a167114702d67738d5f9eb8781b421280787ed
Auto-generated-cl: translation import
2015-04-22 05:44:29 -07:00
Geoff Mendal
3363aa52e0 Import translations. DO NOT MERGE
Change-Id: I97a940bcf053f383c40e03847cf2f14b38e8a62c
Auto-generated-cl: translation import
2015-04-22 05:43:48 -07:00
Geoff Mendal
c203f669d7 Import translations. DO NOT MERGE
Change-Id: Ibcb1922d708ae3894eb7015fabf24a399ef31ca3
Auto-generated-cl: translation import
2015-04-22 05:42:49 -07:00
Geoff Mendal
424d59b608 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:42:47 +00:00
Geoff Mendal
378416e1c8 Import translations. DO NOT MERGE
Change-Id: Ided6d0f74ba4159e0b59bc6ea8867b5096c1ea80
Auto-generated-cl: translation import
2015-04-22 05:42:17 -07:00
Geoff Mendal
8745f9e032 Import translations. DO NOT MERGE
Change-Id: Iceda291cbb5d6d33c82346973c45a24c0601b04d
Auto-generated-cl: translation import
2015-04-22 05:41:33 -07:00
Yohei Yukaw
4acd7177dd am 490fa47a: Always specify non-null Locale object to SuggestionSpan
* commit '490fa47a46015f2c8bd8f9010d236bfe5aecd4bb':
  Always specify non-null Locale object to SuggestionSpan
2015-04-22 08:00:45 +00:00
Yohei Yukaw
490fa47a46 Always specify non-null Locale object to SuggestionSpan
Confusingly, specifying a null Locale object to the constructor
of SuggestionSpan does not necessarily mean that
SuggestionSpan#getLocale() returns null.  The constructor in
question also receives Context object, and Context's locale can
be used as a fallback locale to initialize locale of
SuggestionSpan.

With this CL, LatinIME always specify non-null Locale object
when instantiating SuggestionSpan object.  It basically
corresponds to the active main dictionary, but can be
Locale#ROOT when one locale is not determined for some reasons.

BUG: 20435013
Change-Id: I2c152466410327300e7dba4d7ed9a22f57c17c4f
2015-04-20 20:29:44 -07:00
Martin Paraskevov
f76430ddb9 am 54e891e2: Merge "Fix bug in regular expression stripping quotes."
* commit '54e891e2bdce2d3d1f8a319c1f596fd6590314f3':
  Fix bug in regular expression stripping quotes.
2015-04-21 03:15:27 +00:00
Martin Paraskevov
54e891e2bd Merge "Fix bug in regular expression stripping quotes." 2015-04-21 03:04:13 +00:00
Martin Paraskevov
ab8482a34b Fix bug in regular expression stripping quotes.
Change-Id: Iaf84a9a1f00b31daf7225991c4cfc5f17b578028
2015-04-20 19:58:45 -07:00
Tom Ouyang
71f0e43b70 am cdfe8b93: Merge "Add affinity model for contact names."
* commit 'cdfe8b93ec8098c1c39a156948d9a79963dfd90e':
  Add affinity model for contact names.
2015-04-17 01:16:45 +00:00
Tom Ouyang
cdfe8b93ec Merge "Add affinity model for contact names." 2015-04-17 01:05:44 +00:00
Martin Paraskevov
f93aea6545 am c155f7f5: Merge "Strip quotes from begining/end of a word before checking its validity."
* commit 'c155f7f5fd4aeefcce69a06755a0b3c1360277b8':
  Strip quotes from begining/end of a word before checking its validity.
2015-04-16 23:58:23 +00:00
Martin Paraskevov
c155f7f5fd Merge "Strip quotes from begining/end of a word before checking its validity." 2015-04-16 23:46:40 +00:00
Tom Ouyang
44a175732d Add affinity model for contact names.
This allows us to:
1. Rank contacts and only add the top N names to the keyboard LM.
2. Avoid adding duplicate names.

Note: The affinity calcualuation is limited by the fact that some apps
currently do not update the TIMES_CONTACTED counter. To better handle
this case, the new measure also takes into account whether or not a
name is in the visible contacts group.

Bug: 20053274
Change-Id: I2741cb8958667d4a294aba8c437a45cec4b42dc7
2015-04-16 11:33:54 -07:00
Martin Paraskevov
8ff42d1581 Strip quotes from begining/end of a word before checking its validity.
Bug: 20142633

Change-Id: Ia0f3661ac3028473c00f83df72dcb9e1fd134247
2015-04-15 19:00:45 -07:00
Mohammadinamul Sheik
a527566fd2 am 3a5de641: Do not re-download the unused dictionaries.
* commit '3a5de64110eab7ae0b6b1da86b5ce30d5b16bd7a':
  Do not re-download the unused dictionaries.
2015-04-15 18:37:14 +00:00
Mohammadinamul Sheik
3a5de64110 Do not re-download the unused dictionaries.
Does the following
1. Uses dictionaries from the files/ directory while populating the
   entries into the pendingUpdates table. So that a download happens only
   if the metadata.json says so.
2. Delete an unusable dictionaries from the files/ directory.

Bug: 20142708
Change-Id: Ibd738793585c39735868e324b8ad682dff0eba34
2015-04-15 11:12:40 -07:00
Jatin Matani
1b79b25f24 am bf732e70: Merge "Store raw strings for personal dictionary"
* commit 'bf732e70013c6703adf83ec34b38ba7bd2d4a509':
  Store raw strings for personal dictionary
2015-04-14 18:11:51 +00:00
Jatin Matani
bf732e7001 Merge "Store raw strings for personal dictionary" 2015-04-14 18:03:56 +00:00
Mohammadinamul Sheik
70f0c72135 am db961227: Fix the NPE on selection string on unlearnWord
* commit 'db96122787a57632136566e2448c21aa96879955':
  Fix the NPE on selection string on unlearnWord
2015-04-13 23:49:43 +00:00
Mohammadinamul Sheik
db96122787 Fix the NPE on selection string on unlearnWord
Bug: 20150386
Change-Id: I2ed69aba7b1fdaba1e2ac07b8218a265dfe23e09
2015-04-13 16:30:22 -07:00
Jatin Matani
1bfd7be208 Store raw strings for personal dictionary
The raw strings would be sent to personal LM for decoding.
Earlier lowercased strings were being used with the purpose
of isValid checks (spelling does not consider casing for spell
checking calls). But for showing these in suggestion, we need the
raw strings.

Note: PersonalDictionaryLookup#getWordsForLocale is used to feed
the personal LM in PersonalLanguageModelHelper.

Bug:20152986
Change-Id: I9d796fa57bf2073036bf11d86b143ff205a6199c
2015-04-13 16:28:26 -07:00
Dan Zivkovic
694f6dbd53 am 40f0f61b: Merge "Personal dictionary feeds a personal LM."
* commit '40f0f61bb365b5073f1d9fdb56a393c5df5ef4b0':
  Personal dictionary feeds a personal LM.
2015-04-10 01:52:23 +00:00
Dan Zivkovic
40f0f61bb3 Merge "Personal dictionary feeds a personal LM." 2015-04-10 01:43:35 +00:00
Dan Zivkovic
541ef56e05 Personal dictionary feeds a personal LM.
Bug 20043003.

Change-Id: I5ccac344c089855474263d1cdc547da1e6779301
2015-04-09 18:35:57 -07:00
Tom Ouyang
efa968acd9 am 3952078a: Extract fewer characters in getWordRangeAtCursor().
* commit '3952078a919caf9a44d271642122c413dbd487f9':
  Extract fewer characters in getWordRangeAtCursor().
2015-04-09 19:12:26 +00:00