Commit Graph

12064 Commits (8dd31a28ae774c0f5cd43404ad4b78bf46e5aeb6)

Author SHA1 Message Date
Jatin Matani 734733d8ad Skeleton code for user dictionary sync
Bug:17464069
Change-Id: If683b80e882c07fba576959346ae74cd445dd83e
2014-10-07 12:30:12 -07:00
Yohei Yukawa 89d7965e76 Merge "Fix NoClassDefFoundError due to CursorAnchorInfo in K" 2014-10-07 10:30:36 +00:00
Yohei Yukawa 883bfd2c0b Fix NoClassDefFoundError due to CursorAnchorInfo in K
Check API level before touching CursorAnchorInfo that is only
available in L and later.

BUG: 17891202
Change-Id: I6e8d2e3f071bd78bed8c1d24ba2b97207dea3044
2014-10-07 19:19:20 +09:00
Jean Chalard be4e1539cb [ML17] Add a method to switch the most probable language
Also directly hold a ref to it. It's simpler for now, though
we may want to remove it completely later to have a flat,
purely weight-based system with no preference.
Also split weights between gesturing and typing.

Bug: 11230254
Change-Id: Ica15964a193ae6e7f14c85a9a3ed806130fa7efb
2014-10-07 19:09:49 +09:00
Jean Chalard 38ec825ef8 [ML16] Remove DictionaryFacilitator.getLocale()
Bug: 11230254
Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9
2014-10-07 16:44:26 +09:00
Jean Chalard ea07734956 [ML15] First step in removing DictionaryFacilitator.getLocale
Bug: 11230254
Change-Id: Ied010ec6f1024080e8a499f682d2fc1780e82ef7
2014-10-07 16:06:35 +09:00
Keisuke Kuroyanagi 3ead4d7f8a Merge "Quit having obsolete options for ime-simulator." 2014-10-07 02:03:59 +00:00
Geoff Mendal 4d6dd4a5c1 Merge "Import translations. DO NOT MERGE" 2014-10-07 01:24:06 +00:00
Geoff Mendal 8403f533c8 Import translations. DO NOT MERGE
Change-Id: Id46f6934d46a5d517194656a824fc9f921a1cc04
Auto-generated-cl: translation import
2014-10-06 18:23:25 -07:00
Geoff Mendal 5a6bdc40e8 Merge "Import translations. DO NOT MERGE" 2014-10-07 01:23:06 +00:00
Geoff Mendal f876595332 Import translations. DO NOT MERGE
Change-Id: I4ff0dd2333f316363c72071f70694bbf43bb77e2
Auto-generated-cl: translation import
2014-10-06 18:19:53 -07:00
Geoff Mendal d218ba4b51 Import translations. DO NOT MERGE
Change-Id: I542174a860f968289c76095dd059ee595b790409
Auto-generated-cl: translation import
2014-10-06 18:16:54 -07:00
Geoff Mendal b5c6900fad Merge "Import translations. DO NOT MERGE" 2014-10-07 01:11:57 +00:00
Geoff Mendal dc12363e18 Import translations. DO NOT MERGE
Change-Id: Ib46e14a36ff47c3fc39ad76d33d93611fb818ad2
Auto-generated-cl: translation import
2014-10-06 18:11:23 -07:00
Geoff Mendal c540c01652 Merge "Import translations. DO NOT MERGE" 2014-10-07 01:11:03 +00:00
Geoff Mendal fc291d43fa Merge "Import translations. DO NOT MERGE" 2014-10-07 01:10:40 +00:00
Geoff Mendal 0403903725 Import translations. DO NOT MERGE
Change-Id: Ifed7ebdb7582223e9cca0c3330e0a3e385ba97c4
Auto-generated-cl: translation import
2014-10-06 18:09:30 -07:00
Geoff Mendal 1e2d282d88 Import translations. DO NOT MERGE
Change-Id: Idb955cc9c187dc0b3b38fdd3ee2ade9e28bac1d1
Auto-generated-cl: translation import
2014-10-06 18:07:53 -07:00
Adrian Velicu 639837f85d Merge "Postponing memory deallocation after onFinishInputView" 2014-10-06 23:45:40 +00:00
Adrian Velicu 7a2e38ad40 Merge "Update dictionaries" 2014-10-06 23:45:23 +00:00
Tadashi G. Takaoka f849d21a5d Fix currency symbol size
Bug: 17877107
Change-Id: I0723fc86792ec5a20ac54a1d3c965293ba1f0bd2
2014-10-07 00:51:47 +09:00
Tadashi G. Takaoka 6fb586a527 Fix missing prediction words on contextual strip
Bug: 17874801
Change-Id: Iaba935a6b2548376f10a0ecd80f07ea7ada6c60a
2014-10-07 00:06:53 +09:00
Yohei Yukawa db6c32778e Merge "Add a utility method to SuggestionSpanUtils" 2014-10-06 15:03:20 +00:00
Tadashi G. Takaoka 162ca68051 Remove preliminary subtypes from E-MR1 release
Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have
been unexpectedly @suppressed.

Bug: 17743363
Change-Id: I4076a61adbf2d4aee58417d0c354b8ef4a938668
2014-10-06 23:42:14 +09:00
Adrian Velicu 7b8f317050 Postponing memory deallocation after onFinishInputView
Bug: 17559789
Change-Id: I1d4b1524028164d27ec4eadd3960b567148f2b84
2014-10-06 23:14:48 +09:00
Jean Chalard fcc4cbf6f1 Merge "[ML14] Forward the locale list to relevant places, again" 2014-10-06 13:32:32 +00:00
Adrian Velicu 5664f64dff Update dictionaries
>>> java/res/raw/main_ru.dict
Header :
  codePointTable : null <=> оаиенрстлвкмпудыгяйзбьчхюшжцфщёКэСМАБГПВДЛТРНХФ-ОИШЭУъЗЧЕЯЖЦЮЙЩЁЫѓ
  date : 1412325424 <=> 1412592602
  version : 52 <=> 53
Body :
  No differences

Change-Id: I5db813c4e671797c71de8609aa0e4d26404b425e
2014-10-06 22:10:57 +09:00
Keisuke Kuroyanagi a84a8d38c0 Quit having obsolete options for ime-simulator.
Bug: 16547409
Change-Id: I43f5a15153cbd7072fde15764a664ad4d1c6417f
2014-10-06 22:03:39 +09:00
Ken Wakasa 8784b4366e Merge "Revert "Remove preliminary subtypes from E-MR1 release"" 2014-10-06 12:53:14 +00:00
Ken Wakasa fe5132f783 Revert "Remove preliminary subtypes from E-MR1 release"
This reverts commit 704db5f003.

Bug: 17743363

Reverting due to unit test breakage..

Change-Id: Ie7c1e86e50af2a05b4b7877092122dc4f026aa54
2014-10-06 12:52:45 +00:00
Jean Chalard bc051a561f [ML14] Forward the locale list to relevant places, again
Diff:
+++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java
@@ -735,7 +735,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> {

     private boolean matchLocaleCodes(TypedArray caseAttr, final Locale[] locales) {
         // TODO: adujst this for multilingual input
-        return matchString(caseAttr, R.styleable.Keyboard_Case_languageCode, locales[0].toString());
+        return matchString(caseAttr, R.styleable.Keyboard_Case_localeCode, locales[0].toString());
     }

     private boolean matchLanguageCodes(TypedArray caseAttr, Locale[] locales) {

Change-Id: Icefac18dd6d5fea97f591177cf8df1ba6de7f4f0
2014-10-06 21:27:32 +09:00
Yohei Yukawa 4f04fd95f4 Merge "Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK" 2014-10-06 11:02:24 +00:00
Tadashi G. Takaoka 704db5f003 Remove preliminary subtypes from E-MR1 release
Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have
been unexpectedly @suppressed.

Bug: 17743363
Change-Id: I5f4b6fd8cbb8fa4e31df9ac602847c681655fd02
2014-10-06 10:44:59 +00:00
Yohei Yukawa 81c2dfe9c6 Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK
We can now start relying on L APIs even in unbundled release.

This means ENABLE_CURSOR_ANCHOR_INFO_CALLBACK can be always true.
Hence we simply remove it.

Change-Id: I0353e992e97e252059f83accea100504594bf171
2014-10-06 19:39:13 +09:00
Tadashi G. Takaoka dbeed7e4d8 Update setup wizard image
Bug: 17769384
Change-Id: Ie1a294c9f317e61fee30b316b65a4663c5ebef8b
2014-10-06 18:07:10 +09:00
Tadashi G. Takaoka a697c62b7d Merge "Stop using splitActionBar" 2014-10-06 08:19:12 +00:00
Tadashi G. Takaoka 4bde90bf77 Merge "Update setup wizard video and image of AOSP" 2014-10-06 08:08:11 +00:00
Tadashi G. Takaoka 477ee88022 Stop using splitActionBar
Bug: 16830067
Change-Id: I05514ca03438f577bb8a17a59705897440907bf7
2014-10-06 16:56:32 +09:00
Tadashi G. Takaoka 48b707e1bd Update setup wizard video and image of AOSP
Bug: 17769384
Change-Id: I23748bce17566aad1693ff56e8c04f493f957f84
2014-10-06 16:53:22 +09:00
Tadashi G. Takaoka 8b24e7abde Merge "Refactor custom input style settings" 2014-10-06 07:35:34 +00:00
Yohei Yukawa 03c1e7955a Add a utility method to SuggestionSpanUtils
This is a ground work for subsequent CLs.

BUG: 16995261
Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904
2014-10-06 16:22:51 +09:00
Yohei Yukawa a48ff4e294 Merge "Add unittest for SuggestionSpanUtils" 2014-10-06 07:20:39 +00:00
Keisuke Kuroyanagi 1616d6d440 Merge "Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()" 2014-10-06 07:03:55 +00:00
Keisuke Kuroyanagi 9290d0a4eb Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()
Bug: 14425059
Change-Id: I409ebf90f68f4a0f1638128ac5ee6af859323d30
2014-10-06 15:50:38 +09:00
Tadashi G. Takaoka 399a3bd930 Refactor custom input style settings
This CL removes references of Pair class.

Change-Id: I7cda0ac438ac1d5026599cb52ac2ea8845339da9
2014-10-06 15:39:42 +09:00
Adrian Velicu add93b1190 Merge "Update dictionaries" 2014-10-06 06:24:21 +00:00
Adrian Velicu 5fd77cfcca Update dictionaries
>>> dictionaries/de_wordlist.combined.gz
Header :
  date : 1412325412 <=> 1412572955
Body :
Added: überzeugen 50

>>> java/res/raw/main_de.dict
Header :
  date : 1412325412 <=> 1412572955
Body :
Added: überzeugen 50

Change-Id: Ief0a0bbe1a280cdba59a74158cd6a4f5bd1b5287
2014-10-06 15:20:50 +09:00
Adrian Velicu a9089f9a57 Merge "Update dictionaries" 2014-10-06 03:26:31 +00:00
Yohei Yukawa ceedaf6321 Add unittest for SuggestionSpanUtils
This adds unittest for SuggestionSpanUtils for subsequent CLs.
No behavior change is intended in this CL.

BUG: 16995261
Change-Id: I90d1591cab893a1421ca633963b7c8f00a5fe4b4
2014-10-06 12:24:46 +09:00
Keisuke Kuroyanagi 818c2ef5ef Merge "Make unit tests use new entry updating method." 2014-10-06 03:12:08 +00:00
Keisuke Kuroyanagi 6accf63d0a Make unit tests use new entry updating method.
Bug: 14425059
Change-Id: Ie7d92e92822a0d3a8b654d213e55d45aab799f5d
2014-10-06 12:09:15 +09:00
Adrian Velicu 487a6a6949 Update dictionaries
>>> dictionaries/de_wordlist.combined.gz
Header :
  date : 1393228134 <=> 1412325412
  version : 44 <=> 52
Body :
Probability changed: kommen 0 -> 149
Added: Käsebrötchen 50
Added: Lädst 50
Added: Müllbeutel 50
Added: Theresienwiese 50
Added: Verdammtes 50
Added: Wurstbrötchen 50
Added: abgebe 50
Added: angucke 50
Added: async 20
Added: backends 20
Added: brate 50
Added: erschreckendes 50
Added: erwische 50
Added: fahrt 80
Added: fragst 100
Added: gepostet 50
Added: gewundert 80
Added: gucke 50
Added: hattet 50
Added: hinkriege 50
Added: hustet 50
Added: hättet 60
Added: irgendwer 60
Added: koche 50
Added: kriege 70
Added: lehrst 50
Added: motivierenden 50
Added: müsstest 50
Added: müsstet 50
Added: organisiere 50
Added: peilen 50
Added: probiere 50
Added: rede 50
Added: reserviere 50
Added: sag 120
Added: schickes 80
Added: schickst 90
Added: sitze 50
Added: standet 50
Added: stolpere 50
Added: stressig 50
Added: telefoniere 80
Added: wolltest 100
Added: wolltet 100
Added: würdet 100
Added: ziele 50
Added: ähnlich 50
Added: älteren 50
Added: übelriechend 80
Added: überholen 50
Added: überlege 50
Added: überlegen 50
Added: überlegt 50
Added: übermorgen 50
Added: übernachte 50
Added: überquert 50
Added: überstanden 50
Added: übrig 50
Added: übrigens 50

>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1402373154 <=> 1412325408
  version : 47 <=> 52
Body :
Deleted: Pinterest  25
Added: Edamame 25
Added: Pinterest 25
Added: amd 0

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1402373154 <=> 1412325184
  version : 47 <=> 52
Body :
Deleted: Pinterest  25
Added: Edamame 25
Added: Pinterest 25
Added: amd 0

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1402373178 <=> 1412325419
  version : 47 <=> 52
Body :
Deleted: Pinterest  25
Added: Edamame 25
Added: Pinterest 25
Added: amd 0

>>> dictionaries/es_wordlist.combined.gz
Header :
  date : 1404131686 <=> 1412325412
  version : 49 <=> 52
Body :
Added: cállese 30
Added: mándame 30
Added: recupérate 35

>>> dictionaries/ro_wordlist.combined.gz
Header :
  description : Româna <=> Română
  date : 1408019089 <=> 1412325511
  version : 50 <=> 52
Body :
!!!!!! Truncated. !!!!!!!

>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1406597821 <=> 1412325424
  version : 50 <=> 52
Body :
Deleted: Агг 52
Deleted: ЗАГС 77
Deleted: КОНКАКАФ 19
Deleted: Монк 69
Probability changed: НКАО 13 -> 0
Probability changed: НКВД 46 -> 0
Probability changed: НКО 14 -> 0
Probability changed: НКР 22 -> 0
Deleted: НОМОС-БАНК 58
Deleted: ПДД 77
Probability changed: РНК 33 -> 0
Deleted: СМС 78
Probability changed: СНК 35 -> 0
Deleted: ТОО 14
Probability changed: ТЦ 85 -> 5
Probability changed: УНКВД 11 -> 0
Deleted: ФИО 65
Deleted: Эбля 49
Probability changed: асексуальность 59 -> 0
Probability changed: бисексуал 72 -> 0
Probability changed: бисексуалов 85 -> 0
Probability changed: бисексуальной 67 -> 0
Probability changed: бисексуальности 75 -> 0
Deleted: бумажке 94
Deleted: бумажку 104
Deleted: важней 86
Deleted: вероника 58
Deleted: вероники 54
Deleted: вероникой 29
Deleted: веронику 29
Deleted: влезет 94
Deleted: влезть 87
Deleted: врожденная 75
Deleted: врожденного 78
Deleted: врожденное 71
Deleted: врожденной 85
Deleted: врожденную 66
Deleted: врожденные 82
Deleted: врожденный 82
Deleted: врожденным 79
Deleted: врожденными 76
Deleted: врожденных 86
Probability changed: врождённая 68 -> 75
Probability changed: врождённое 69 -> 71
Probability changed: врождённой 80 -> 85
Probability changed: врождённые 78 -> 82
Probability changed: врождённый 77 -> 82
Probability changed: врождённым 74 -> 79
Probability changed: врождённых 80 -> 86
Probability changed: все-таки 113 -> 30
Deleted: вылезли 88
Deleted: г-же 65
Deleted: г-н 88
Deleted: г-на 88
Probability changed: га 135 -> 0
Probability changed: гг 160 -> 0
Probability changed: гетеросексуалов 73 -> 0
Probability changed: гетеросексуального 67 -> 0
Probability changed: гетеросексуальной 71 -> 0
Probability changed: гетеросексуальности 65 -> 0
Probability changed: гетеросексуальность 67 -> 0
Probability changed: гетеросексуальную 65 -> 0
Probability changed: гетеросексуальные 76 -> 0
Probability changed: гетеросексуальных 77 -> 0
Probability changed: гомосексуал 74 -> 0
Probability changed: гомосексуала 67 -> 0
Probability changed: гомосексуалам 75 -> 0
Probability changed: гомосексуалами 70 -> 0
Probability changed: гомосексуализм 91 -> 0
Probability changed: гомосексуализма 91 -> 0
Probability changed: гомосексуализме 74 -> 0
Probability changed: гомосексуализму 68 -> 0
Probability changed: гомосексуалист 80 -> 0
Probability changed: гомосексуалиста 72 -> 0
Probability changed: гомосексуалистам 69 -> 0
Probability changed: гомосексуалистами 69 -> 0
Probability changed: гомосексуалистов 94 -> 0
Probability changed: гомосексуалистом 78 -> 0
Probability changed: гомосексуалисты 77 -> 0
Probability changed: гомосексуалов 93 -> 0
Probability changed: гомосексуалом 65 -> 0
Probability changed: гомосексуалы 82 -> 0
Probability changed: гомосексуальная 70 -> 0
Probability changed: гомосексуального 78 -> 0
Probability changed: гомосексуальное 71 -> 0
Probability changed: гомосексуальной 93 -> 0
Probability changed: гомосексуальности 103 -> 0
Probability changed: гомосексуальность 100 -> 0
Probability changed: гомосексуальностью 73 -> 0
Probability changed: гомосексуальную 75 -> 0
Probability changed: гомосексуальные 92 -> 0
Probability changed: гомосексуальный 75 -> 0
Probability changed: гомосексуальным 74 -> 0
Probability changed: гомосексуальными 70 -> 0
Probability changed: гомосексуальных 91 -> 0
Probability changed: д-р 93 -> 0
Deleted: дада 72
Deleted: даша 55
Deleted: даши 47
Deleted: дашу 29
Probability changed: де 154 -> 30
Probability changed: др 156 -> 0
Deleted: зажги 92
Deleted: зажгу 89
Deleted: зажигай 95
Deleted: зажигаю 88
Probability changed: зоосексуальность 65 -> 0
Probability changed: иРНК 68 -> 0
Probability changed: кДНК 62 -> 0
Probability changed: кв 133 -> 0
Deleted: кио 49
Deleted: лег 91
Deleted: лезу 88
Deleted: лезь 91
Probability changed: ля 103 -> 30
Probability changed: мРНК 102 -> 0
Deleted: машка 29
Probability changed: микроРНК 65 -> 0
Deleted: мону 29
Probability changed: мтДНК 79 -> 0
Probability changed: мяРНК 65 -> 0
Deleted: нажрался 97
Deleted: налил 97
Deleted: налили 86
Probability changed: негетеросексуальной 73 -> 0
Probability changed: негетеросексуальный 73 -> 0
Deleted: орут 98
Deleted: отт 64
Deleted: паша 83
Deleted: паше 66
Deleted: пашей 69
Deleted: пашой 73
Deleted: подоконник 88
Deleted: подскажет 87
Deleted: подскажете 89
Deleted: подскажите 112
Deleted: покажите 95
Deleted: полезли 91
Probability changed: пр 129 -> 0
Probability changed: пре-мРНК 78 -> 0
Deleted: пресекся 73
Probability changed: рРНК 91 -> 0
Deleted: раздражённо 91
Deleted: сажусь 99
Deleted: саше 54
Probability changed: секс 106 -> 0
Probability changed: секс-символ 74 -> 0
Probability changed: секс-символов 65 -> 0
Probability changed: секс-символом 74 -> 0
Probability changed: секс-туризм 62 -> 0
Probability changed: секса 105 -> 0
Probability changed: сексе 93 -> 0
Deleted: секси 88
Probability changed: сексизм 63 -> 0
Probability changed: сексизма 72 -> 0
Probability changed: сексолог 75 -> 0
Probability changed: сексологии 80 -> 0
Probability changed: сексом 102 -> 0
Probability changed: сексу 80 -> 0
Probability changed: сексуальная 95 -> 0
Probability changed: сексуально 88 -> 0
Probability changed: сексуального 107 -> 0
Probability changed: сексуальное 98 -> 0
Probability changed: сексуальной 111 -> 0
Probability changed: сексуальном 84 -> 0
Probability changed: сексуальному 79 -> 0
Probability changed: сексуальности 99 -> 0
Probability changed: сексуальность 90 -> 0
Probability changed: сексуальностью 70 -> 0
Probability changed: сексуальную 95 -> 0
Probability changed: сексуальные 105 -> 0
Probability changed: сексуальный 91 -> 0
Probability changed: сексуальным 95 -> 0
Probability changed: сексуальными 84 -> 0
Probability changed: сексуальных 113 -> 0
Deleted: сете 78
Deleted: слезой 87
Deleted: соображаю 90
Probability changed: тРНК 86 -> 0
Deleted: тав 69
Probability changed: транссексуал 67 -> 0
Probability changed: транссексуалки 64 -> 0
Probability changed: транссексуалов 82 -> 0
Probability changed: транссексуалы 71 -> 0
Probability changed: транссексуальности 77 -> 0
Probability changed: транссексуальность 65 -> 0
Deleted: укажите 83
Probability changed: ул 137 -> 0
Deleted: устар 93
Deleted: эдак 99
Added: Вероника 58
Added: Вероники 54
Added: Вероникой 29
Added: Веронику 29
Added: Даша 55
Added: Даши 47
Added: Дашу 29
Added: Маш 57
Added: Машка 29
Added: Паша 83
Added: Паше 66
Added: Пашей 69
Added: Пашой 73
Added: Саше 54
Added: впросак 0
Added: врождённую 66
Added: втечение 0
Added: втечении 0
Added: лёг 97
Added: машу 80
Added: чтоли 0
Added: чтоль 0
Added: ща 0
Added: щас 0

>>> java/res/raw/main_de.dict
Header :
  date : 1393228134 <=> 1412325412
  version : 44 <=> 52
Body :
Probability changed: kommen 0 -> 149
Added: Käsebrötchen 50
Added: Lädst 50
Added: Müllbeutel 50
Added: Theresienwiese 50
Added: Verdammtes 50
Added: Wurstbrötchen 50
Added: abgebe 50
Added: angucke 50
Added: async 20
Added: backends 20
Added: brate 50
Added: erschreckendes 50
Added: erwische 50
Added: fahrt 80
Added: fragst 100
Added: gepostet 50
Added: gewundert 80
Added: gucke 50
Added: hattet 50
Added: hinkriege 50
Added: hustet 50
Added: hättet 60
Added: irgendwer 60
Added: koche 50
Added: kriege 70
Added: lehrst 50
Added: motivierenden 50
Added: müsstest 50
Added: müsstet 50
Added: organisiere 50
Added: peilen 50
Added: probiere 50
Added: rede 50
Added: reserviere 50
Added: sag 120
Added: schickes 80
Added: schickst 90
Added: sitze 50
Added: standet 50
Added: stolpere 50
Added: stressig 50
Added: telefoniere 80
Added: wolltest 100
Added: wolltet 100
Added: würdet 100
Added: ziele 50
Added: ähnlich 50
Added: älteren 50
Added: übelriechend 80
Added: überholen 50
Added: überlege 50
Added: überlegen 50
Added: überlegt 50
Added: übermorgen 50
Added: übernachte 50
Added: überquert 50
Added: überstanden 50
Added: übrig 50
Added: übrigens 50

>>> java/res/raw/main_en.dict
Header :
  date : 1402373178 <=> 1412325419
  version : 47 <=> 52
Body :
Deleted: Pinterest  25
Added: Edamame 25
Added: Pinterest 25
Added: amd 0

>>> java/res/raw/main_es.dict
Header :
  date : 1404131686 <=> 1412325412
  version : 49 <=> 52
Body :
Added: cállese 30
Added: mándame 30
Added: recupérate 35

>>> java/res/raw/main_ru.dict
Header :
  date : 1406597821 <=> 1412325424
  version : 50 <=> 52
Body :
Deleted: Агг 52
Deleted: ЗАГС 77
Deleted: КОНКАКАФ 19
Deleted: Монк 69
Probability changed: НКАО 13 -> 0
Probability changed: НКВД 46 -> 0
Probability changed: НКО 14 -> 0
Probability changed: НКР 22 -> 0
Deleted: НОМОС-БАНК 58
Deleted: ПДД 77
Probability changed: РНК 33 -> 0
Deleted: СМС 78
Probability changed: СНК 35 -> 0
Deleted: ТОО 14
Probability changed: ТЦ 85 -> 5
Probability changed: УНКВД 11 -> 0
Deleted: ФИО 65
Deleted: Эбля 49
Probability changed: асексуальность 59 -> 0
Probability changed: бисексуал 72 -> 0
Probability changed: бисексуалов 85 -> 0
Probability changed: бисексуальной 67 -> 0
Probability changed: бисексуальности 75 -> 0
Deleted: бумажке 94
Deleted: бумажку 104
Deleted: важней 86
Deleted: вероника 58
Deleted: вероники 54
Deleted: вероникой 29
Deleted: веронику 29
Deleted: влезет 94
Deleted: влезть 87
Deleted: врожденная 75
Deleted: врожденного 78
Deleted: врожденное 71
Deleted: врожденной 85
Deleted: врожденную 66
Deleted: врожденные 82
Deleted: врожденный 82
Deleted: врожденным 79
Deleted: врожденными 76
Deleted: врожденных 86
Probability changed: врождённая 68 -> 75
Probability changed: врождённое 69 -> 71
Probability changed: врождённой 80 -> 85
Probability changed: врождённые 78 -> 82
Probability changed: врождённый 77 -> 82
Probability changed: врождённым 74 -> 79
Probability changed: врождённых 80 -> 86
Probability changed: все-таки 113 -> 30
Deleted: вылезли 88
Deleted: г-же 65
Deleted: г-н 88
Deleted: г-на 88
Probability changed: га 135 -> 0
Probability changed: гг 160 -> 0
Probability changed: гетеросексуалов 73 -> 0
Probability changed: гетеросексуального 67 -> 0
Probability changed: гетеросексуальной 71 -> 0
Probability changed: гетеросексуальности 65 -> 0
Probability changed: гетеросексуальность 67 -> 0
Probability changed: гетеросексуальную 65 -> 0
Probability changed: гетеросексуальные 76 -> 0
Probability changed: гетеросексуальных 77 -> 0
Probability changed: гомосексуал 74 -> 0
Probability changed: гомосексуала 67 -> 0
Probability changed: гомосексуалам 75 -> 0
Probability changed: гомосексуалами 70 -> 0
Probability changed: гомосексуализм 91 -> 0
Probability changed: гомосексуализма 91 -> 0
Probability changed: гомосексуализме 74 -> 0
Probability changed: гомосексуализму 68 -> 0
Probability changed: гомосексуалист 80 -> 0
Probability changed: гомосексуалиста 72 -> 0
Probability changed: гомосексуалистам 69 -> 0
Probability changed: гомосексуалистами 69 -> 0
Probability changed: гомосексуалистов 94 -> 0
Probability changed: гомосексуалистом 78 -> 0
Probability changed: гомосексуалисты 77 -> 0
Probability changed: гомосексуалов 93 -> 0
Probability changed: гомосексуалом 65 -> 0
Probability changed: гомосексуалы 82 -> 0
Probability changed: гомосексуальная 70 -> 0
Probability changed: гомосексуального 78 -> 0
Probability changed: гомосексуальное 71 -> 0
Probability changed: гомосексуальной 93 -> 0
Probability changed: гомосексуальности 103 -> 0
Probability changed: гомосексуальность 100 -> 0
Probability changed: гомосексуальностью 73 -> 0
Probability changed: гомосексуальную 75 -> 0
Probability changed: гомосексуальные 92 -> 0
Probability changed: гомосексуальный 75 -> 0
Probability changed: гомосексуальным 74 -> 0
Probability changed: гомосексуальными 70 -> 0
Probability changed: гомосексуальных 91 -> 0
Probability changed: д-р 93 -> 0
Deleted: дада 72
Deleted: даша 55
Deleted: даши 47
Deleted: дашу 29
Probability changed: де 154 -> 30
Probability changed: др 156 -> 0
Deleted: зажги 92
Deleted: зажгу 89
Deleted: зажигай 95
Deleted: зажигаю 88
Probability changed: зоосексуальность 65 -> 0
Probability changed: иРНК 68 -> 0
Probability changed: кДНК 62 -> 0
Probability changed: кв 133 -> 0
Deleted: кио 49
Deleted: лег 91
Deleted: лезу 88
Deleted: лезь 91
Probability changed: ля 103 -> 30
Probability changed: мРНК 102 -> 0
Deleted: машка 29
Probability changed: микроРНК 65 -> 0
Deleted: мону 29
Probability changed: мтДНК 79 -> 0
Probability changed: мяРНК 65 -> 0
Deleted: нажрался 97
Deleted: налил 97
Deleted: налили 86
Probability changed: негетеросексуальной 73 -> 0
Probability changed: негетеросексуальный 73 -> 0
Deleted: орут 98
Deleted: отт 64
Deleted: паша 83
Deleted: паше 66
Deleted: пашей 69
Deleted: пашой 73
Deleted: подоконник 88
Deleted: подскажет 87
Deleted: подскажете 89
Deleted: подскажите 112
Deleted: покажите 95
Deleted: полезли 91
Probability changed: пр 129 -> 0
Probability changed: пре-мРНК 78 -> 0
Deleted: пресекся 73
Probability changed: рРНК 91 -> 0
Deleted: раздражённо 91
Deleted: сажусь 99
Deleted: саше 54
Probability changed: секс 106 -> 0
Probability changed: секс-символ 74 -> 0
Probability changed: секс-символов 65 -> 0
Probability changed: секс-символом 74 -> 0
Probability changed: секс-туризм 62 -> 0
Probability changed: секса 105 -> 0
Probability changed: сексе 93 -> 0
Deleted: секси 88
Probability changed: сексизм 63 -> 0
Probability changed: сексизма 72 -> 0
Probability changed: сексолог 75 -> 0
Probability changed: сексологии 80 -> 0
Probability changed: сексом 102 -> 0
Probability changed: сексу 80 -> 0
Probability changed: сексуальная 95 -> 0
Probability changed: сексуально 88 -> 0
Probability changed: сексуального 107 -> 0
Probability changed: сексуальное 98 -> 0
Probability changed: сексуальной 111 -> 0
Probability changed: сексуальном 84 -> 0
Probability changed: сексуальному 79 -> 0
Probability changed: сексуальности 99 -> 0
Probability changed: сексуальность 90 -> 0
Probability changed: сексуальностью 70 -> 0
Probability changed: сексуальную 95 -> 0
Probability changed: сексуальные 105 -> 0
Probability changed: сексуальный 91 -> 0
Probability changed: сексуальным 95 -> 0
Probability changed: сексуальными 84 -> 0
Probability changed: сексуальных 113 -> 0
Deleted: сете 78
Deleted: слезой 87
Deleted: соображаю 90
Probability changed: тРНК 86 -> 0
Deleted: тав 69
Probability changed: транссексуал 67 -> 0
Probability changed: транссексуалки 64 -> 0
Probability changed: транссексуалов 82 -> 0
Probability changed: транссексуалы 71 -> 0
Probability changed: транссексуальности 77 -> 0
Probability changed: транссексуальность 65 -> 0
Deleted: укажите 83
Probability changed: ул 137 -> 0
Deleted: устар 93
Deleted: эдак 99
Added: Вероника 58
Added: Вероники 54
Added: Вероникой 29
Added: Веронику 29
Added: Даша 55
Added: Даши 47
Added: Дашу 29
Added: Маш 57
Added: Машка 29
Added: Паша 83
Added: Паше 66
Added: Пашей 69
Added: Пашой 73
Added: Саше 54
Added: впросак 0
Added: врождённую 66
Added: втечение 0
Added: втечении 0
Added: лёг 97
Added: машу 80
Added: чтоли 0
Added: чтоль 0
Added: ща 0
Added: щас 0

Change-Id: I0c6bf1a1ecc9edf03523bfb080774738aa40d163
2014-10-06 10:13:37 +09:00
Baligh Uddin 9e11e22adb Merge "Import translations. DO NOT MERGE" 2014-10-05 17:53:52 +00:00
Baligh Uddin eb78c8a5a0 Import translations. DO NOT MERGE
Change-Id: Iad17411e9d4d02524072c0569f1a3dce52010a49
Auto-generated-cl: translation import
2014-10-05 02:56:42 -07:00
Baligh Uddin 9d28970b2b Import translations. DO NOT MERGE
Change-Id: I4314a00b07c73c343c3852745727e635b21ec462
Auto-generated-cl: translation import
2014-10-05 02:54:06 -07:00
Baligh Uddin 4f4ef946ad Import translations. DO NOT MERGE
Change-Id: Ie3bd15488ad9d5594a95dd2734eab17189740b35
Auto-generated-cl: translation import
2014-10-05 02:51:05 -07:00
Ken Wakasa 46fcb3f91f Merge "Revert "[ML14] Forward the locale list to relevant places"" 2014-10-03 23:50:01 +00:00
Ken Wakasa faefad5b0f Revert "[ML14] Forward the locale list to relevant places"
This reverts commit 15dbd38283.

Bug: 11230254

Reverting due to unit test breakage.

Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe
2014-10-03 23:48:53 +00:00
Tadashi G. Takaoka 37ba3ddd54 Merge "Use Theme.DeviceDefault.Settings" 2014-10-03 14:48:49 +00:00
Jean Chalard 15dbd38283 [ML14] Forward the locale list to relevant places
Bug: 11230254
Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
2014-10-03 23:20:38 +09:00
Tadashi G. Takaoka a55c601493 Use Theme.DeviceDefault.Settings
Bug: 13888366
Change-Id: Ib0bc35462f453438b295f8d4e1bc919ef709bf99
2014-10-03 22:41:46 +09:00
Tadashi G. Takaoka 826186f66b Use Devanagari Danda letter as full stop on Nepali keyboard
Bug: 17741882
Change-Id: I62e8c9a3f194b9a3a6724c7d1a92292b150ddeb9
2014-10-03 09:48:18 +00:00
Jean Chalard 332f43275d Merge "Fix a behavior change in dicttool" 2014-10-03 09:33:28 +00:00
Jean Chalard d415747a27 Merge "[ML13] Fix the locale passing in ProximityInfo" 2014-10-03 09:24:49 +00:00
Tadashi G. Takaoka 96d31df8c4 Fix when to show input view
Bug: 15922840
Bug: 17788786
Change-Id: I69aea682202650b601a295d9da583ef8e05a3982
2014-10-03 18:20:06 +09:00
Jean Chalard 4ef27c0358 [ML13] Fix the locale passing in ProximityInfo
The locale is used to determine additional proximity characters. This
is dependent on the dictionary language, but was passed as a function
of the layout, which is wrong and would have given bad suggestions in
multi-lingual mode.

Ideally, additional proximity characters should be inserted in the
dictionary header, but for now it's a rather simple change to get
it from the dictionary's locale instead of the proximity info locale.

Also, that allows us to remove completely the locale parameter from
proximity info, which is a much needed change.

This change has zero effect on unit tests and on regression tests.

Bug: 11230254
Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4
2014-10-03 18:16:34 +09:00
Jean Chalard b28d1cc487 Fix a behavior change in dicttool
The behavior change was introduced by I8b3458ad. Concretely,
empty bigram lists would end up as empty lists instead of null.

Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5
2014-10-03 18:04:10 +09:00
David Faden c92c883fdf Add calls to stub for API to consume gesture data.
Bug: 17400259
Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
2014-10-03 15:01:34 +09:00
Tadashi G. Takaoka 61a1e46dd1 Fix Hindi vowel sign candra E on ICS device
Change-Id: I160f3c9f8671b6dc8a38a06fe2be50dbb27919a9
2014-10-03 11:55:10 +09:00
Tadashi G. Takaoka 049d642cc4 Fix ellipsizing and text scale x calculation
Bug: 17742721
Bug: 11158757
Change-Id: I98b55a8e661804e84f75e75675c6f2ef33ac1a11
2014-10-02 19:58:24 +09:00
Yohei Yukawa 45ebb2001d Merge "Preserve spans when splitting sentences" 2014-10-02 09:29:23 +00:00
Jean Chalard 371d76ff07 Merge "[ML12] Add a getPrimaryLocale function and some refactoring" 2014-10-02 09:20:04 +00:00
Jean Chalard 1c0876dc49 [ML12] Add a getPrimaryLocale function and some refactoring
Bug: 11230254
Change-Id: Ic579b93702c24f47e6cdb0c9a4da6b11f1fa76c8
2014-10-02 18:15:35 +09:00
Akifumi Yoshimoto 7e5614520a Merge "Include a code point table in the binary dictionary." 2014-10-02 08:55:18 +00:00
Tadashi G. Takaoka a5cdd6f4c5 Merge "Fix unnecessary touch event handling" 2014-10-02 07:51:02 +00:00
Yohei Yukawa 3852cfa717 Preserve spans when splitting sentences
This CL fixes a bug that span information was unintentionally
removed when given sentences are split into words. Nothing is
changed in KitKat and prior because TextInfo never returns
spanned text until L.

Note that the spell checker service still doesn't rely on
span information even with this CL.

BUG: 16419551
Change-Id: I6ffb75ee6add4ae20e9d3dcfb90b65f097d70fba
2014-10-02 14:08:59 +09:00
Jean Chalard c91166de54 Merge "Avoid downloading the metadata in quick succession." 2014-10-02 04:31:08 +00:00
Tadashi G. Takaoka 8ab46225b3 Fix unnecessary touch event handling
Bug: 17762449
Change-Id: I698ca91ab977aa65c7bd8a5fb82b3d91264cfbca
2014-10-02 12:48:26 +09:00
Akifumi Yoshimoto 9168ab60cf Include a code point table in the binary dictionary.
Bug:17097992
Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
2014-10-02 12:27:49 +09:00
Baligh Uddin 5a4e1c5a67 Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:58 +00:00
Baligh Uddin ac43af5eaf Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:54 +00:00
Baligh Uddin aad590f701 Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:48 +00:00
Tadashi G. Takaoka 47c9c32c10 Merge "Enable preliminary Sinhara keyboard for dogfood" 2014-10-01 14:35:12 +00:00
Jean Chalard 2910990065 Merge "Never include the typed word in recorrections" 2014-10-01 10:34:22 +00:00
Jean Chalard eff21b653f Merge "Make a better effort to detect a framework lie." 2014-10-01 10:24:32 +00:00
Jean Chalard 38144047ea Make a better effort to detect a framework lie.
Bug: 17130496
Change-Id: I1a3631670c152d9b7667c9c4e08e14c48569eef5
2014-10-01 19:17:31 +09:00
Jean Chalard 7f226b4f9d Merge "Fix an NPE on ICS factory rom." 2014-10-01 10:16:40 +00:00
Tadashi G. Takaoka 2a6176fc65 Enable preliminary Sinhara keyboard for dogfood
Bug: 6911143
Change-Id: I38241d00567b25d1c6ba352f5b01eb8d8d532e0f
2014-10-01 09:36:56 +00:00
Jean Chalard 57e29436b1 Fix an NPE on ICS factory rom.
In ICS factory rom and MR0, there was a bug where calling the
constructor for SuggestionSpan that doesn't take a context as
an argument would always return in a crash. Don't call it,
and pass an explicit context instead.

Bug: 13552505
Change-Id: I5c919499b9d086c2cf283795b2af5b91cb425933
2014-10-01 18:33:47 +09:00
Jean Chalard 4c90df7e5b Never include the typed word in recorrections
Bug: 17623275
Change-Id: I2461e5e8baf06fb80a05b87f9d3db7a4d1952a01
2014-10-01 18:32:02 +09:00
Tadashi G. Takaoka 31c16d41bc Add Uzbek keyboard
Bug: 13222403
Change-Id: I9a4cf447a8ab0c26c4dc7f7794c57390024660cc
2014-10-01 09:29:34 +00:00
Tadashi G. Takaoka 79d992ccba Merge "Use Devanagari Danda letter as full stop on Hindi keyboard" 2014-10-01 09:29:14 +00:00
Tadashi G. Takaoka a987f6d0cc Use Devanagari Danda letter as full stop on Hindi keyboard
Bug: 17418371
Change-Id: I22bb2913015a83604301576e68095974c38b7c9a
2014-10-01 18:20:31 +09:00
Keisuke Kuroyanagi bcb439e702 Merge "Add jni method to update entries for a word efficiently." 2014-10-01 08:57:02 +00:00
Keisuke Kuroyanagi ce5fd94b97 Add jni method to update entries for a word efficiently.
Bug: 14425059
Change-Id: Ic628939ea68cdee17573409883a8403c73b78905
2014-10-01 17:40:20 +09:00
Tadashi G. Takaoka d368975cdb Merge "Add Akkhor Layout for Bengali Bangladesh" 2014-10-01 08:13:46 +00:00
Tadashi G. Takaoka f41c11a5c0 Merge "Fix when to show more suggestions dot hint" 2014-10-01 07:58:28 +00:00
Tadashi G. Takaoka 0487290f0f Merge "Fix NPE in KeyboardParams" 2014-10-01 07:54:47 +00:00
Keisuke Kuroyanagi 108dad1491 Merge "Introduce NgramProperty in Java side." 2014-10-01 07:53:04 +00:00
Tadashi G. Takaoka 23b35a9689 Fix when to show more suggestions dot hint
Bug: 17742406
Change-Id: Ifdf5d196778da2bb9bb9e3ca9250d23857d90bab
2014-10-01 16:50:28 +09:00
Tadashi G. Takaoka dbf5701ee0 Fix NPE in KeyboardParams
Bug: 17707885
Change-Id: Ie6a54ac5ab60f5d11363ac8da8eef850d65dba7c
2014-10-01 16:08:58 +09:00
Jean Chalard 9d92d3e02d Avoid downloading the metadata in quick succession.
Bug: 17668298
Bug: 8651816
Bug: 17709442
Change-Id: Ib232f9d95d7c01a028be85d10f974a5a570c0ed5
2014-10-01 12:20:27 +09:00
Baligh Uddin d1e19ee755 Import translations. DO NOT MERGE
Change-Id: I69c02deb213419a95c464fb6ee45646611675d79
Auto-generated-cl: translation import
2014-09-30 20:09:31 -07:00
Baligh Uddin e347b65e0f Import translations. DO NOT MERGE
Change-Id: I61b5124ffbdc073a093f55702b773c1cc8fd6046
Auto-generated-cl: translation import
2014-09-30 20:06:07 -07:00
Baligh Uddin d3a5b55ba7 Import translations. DO NOT MERGE
Change-Id: Id3f3a910f5503eb21582d5f8eb376948ac753470
Auto-generated-cl: translation import
2014-09-30 20:02:12 -07:00
Baligh Uddin 6041d899bf Import translations. DO NOT MERGE
Change-Id: I3e80f9e306fe210f8f0cb1e56d7306e2b44ee493
Auto-generated-cl: translation import
2014-09-30 19:55:36 -07:00
Yohei Yukawa 7b673c7265 am 5139c4fd: am 702a736e: am 31838876: am 9baaa4b5: am 6ad437ed: Merge "Fix NPE due to the lack of null-check" into lmp-dev
* commit '5139c4fd28d1a34981d590f2fbec9b407481ea52':
  Fix NPE due to the lack of null-check
2014-10-01 02:26:35 +00:00
Keisuke Kuroyanagi c6a6f6a990 Introduce NgramProperty in Java side.
Bug: 14425059
Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82
2014-10-01 11:21:08 +09:00
Yohei Yukawa 9baaa4b5c7 am 6ad437ed: Merge "Fix NPE due to the lack of null-check" into lmp-dev
* commit '6ad437edd93382ce872c42fc8a2126e34dbf98d9':
  Fix NPE due to the lack of null-check
2014-10-01 00:51:40 +00:00
Jatin Matani 0187db39b5 Merge "Add StatsUtils#onLoadSettings for when settings are changed" 2014-10-01 00:41:32 +00:00
Jatin Matani cc7e44e34c Add StatsUtils#onLoadSettings for when settings are changed
Non-blocking call in nature.
Bug:17013677

Change-Id: Iff737422bbacbf22c9b0ff6eaf1c1f75e6bf23c3
2014-09-30 17:09:00 -07:00
Adrian Velicu 9586d69bdf Avoid double space when autocorrect is triggered
Bug: 17596034
Change-Id: Iaa6cc066eefd2436195a91791f2628e9a5f1c449
2014-09-30 15:48:48 +09:00
Yohei Yukawa 6ad437edd9 Merge "Fix NPE due to the lack of null-check" into lmp-dev 2014-09-30 00:41:24 +00:00
Baligh Uddin 5dd9e4ae15 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-29 17:16:18 +00:00
Baligh Uddin 1222cac5a3 Import translations. DO NOT MERGE
Change-Id: Iaee29fb909327ab892f1b5c88cac0f9f0bd62ea3
Auto-generated-cl: translation import
2014-09-29 01:45:51 -07:00
Baligh Uddin 961470ff88 Import translations. DO NOT MERGE
Change-Id: I2865485fc1e9c76ecdc2f138f04bae77691e8d3f
Auto-generated-cl: translation import
2014-09-29 01:40:51 -07:00
Yohei Yukawa de12c1bf49 Fix NPE due to the lack of null-check
The case that was not coverted well is that
CursorAnchorInfoCompatWrapper could be instantiated
with null object. In such situations, we should
do nothing.

BUG: 17682582
Change-Id: I6625a2f0ed8c5580ed9edfe4728f342da77a8e40
2014-09-29 17:03:29 +09:00
Tadashi G. Takaoka 4936d259d7 Merge "Fix verbalizing missing emoticons" 2014-09-29 06:39:30 +00:00
Akifumi Yoshimoto 5e828b2c61 Merge "Create a code point table based on occurrence counts." 2014-09-29 06:31:33 +00:00
Tadashi G. Takaoka d9d5ba4287 Fix verbalizing missing emoticons
Bug: 15585153
Change-Id: I8ae184047558d1a78e20efde0b08e40beb4458b9
2014-09-29 15:15:18 +09:00
Keisuke Kuroyanagi a4a4e9d96b Merge "Rename PrevWordsInfo to NgramContext." 2014-09-29 03:00:55 +00:00
Keisuke Kuroyanagi 33b0ebff27 Merge "Refactoring PrevWordsInfo." 2014-09-29 02:33:00 +00:00
Keisuke Kuroyanagi bb0eca5705 Rename PrevWordsInfo to NgramContext.
Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
2014-09-29 10:52:18 +09:00
Tadashi G. Takaoka 76150b8133 Add Akkhor Layout for Bengali Bangladesh
Bug: 16143057
Change-Id: I0b4a3d0d1125f9af25a98ee7a1852129ae1c1d2c
2014-09-26 18:20:25 +00:00
Sandeep Siddhartha 569f6f1c9e Merge "Add authentication/http request related code to LatinIme" 2014-09-26 17:22:12 +00:00
Sandeep Siddhartha 05274d5a0d Add authentication/http request related code to LatinIme
Bug: 17464068
Bug: 17464805
Change-Id: I533ae8821e0628fdf6591538a96ab50f805c0cdf
2014-09-26 10:14:24 -07:00
Keisuke Kuroyanagi bbd6a26be0 Refactoring PrevWordsInfo.
Bug: 14425059
Change-Id: I48a193b965e3055bd10a00046322c2b7b19a6232
2014-09-26 21:46:57 +09:00
Tadashi G. Takaoka dade81d78c Fix adding more diacritics letters for Nordic languages
Bug: 10787354
Change-Id: Ia71417069a0cc10d7908d0c404ce85eb0cd76540
2014-09-26 20:21:17 +09:00
Tadashi G. Takaoka 8108a3e1cd Add Serbian Latin keyboard
Bug: 9687668
Change-Id: I0631ab04cf33e3d454c965e98a756c31666537bf
2014-09-26 16:01:34 +09:00
Akifumi Yoshimoto 8a6e96d286 Create a code point table based on occurrence counts.
Bug:17097992
Change-Id: Ifd76dbd4d385d800af416368e25c9e56a76d0fbf
2014-09-26 15:15:16 +09:00
Tadashi G. Takaoka 1c70a8e147 Merge "Add info log of custom input styles" 2014-09-26 03:56:22 +00:00
Tadashi G. Takaoka 10a93dc80c Add info log of custom input styles
Bug: 17622871
Change-Id: Ia97c7bc2f0923417b458b178fbd8776d5cd0758c
2014-09-26 12:51:42 +09:00
Tadashi G. Takaoka 90058c3d1f Add an internal state test to ImportantNoticeUtilsTests
On some 32bit-x86 testing emulators, it seems the internal state after
clear the related settings seems like a contradiction state. This CL
adds an test to check such internal state in order to investigate what
is happening on these emulators.

Bug: 17635340
Change-Id: Iba85f06c46959b1dc22e2a9213c50c9e7e30949b
2014-09-26 12:16:54 +09:00
Sandeep Siddhartha d0a144282e Add the sync related permissions to LatinIme too
This can go in master because the actual code changes will also go in here,
and not in lmp-dev

Bug: 17464069
Change-Id: Ica1a22c61aa07efb6dadf8db53513607be437b73
2014-09-25 10:30:31 -07:00
Tadashi G. Takaoka f99cce8615 Merge "Fix checking a11y status just before calling an a11y method" 2014-09-25 14:14:28 +00:00
Tadashi G. Takaoka aaefd56661 Add !string/<resource_name> reference
This CL introduces new text reference notation !string/<resource_name>
to refer a string resource on the fly.

This notation is mainly used to represent action key labels may refer
a string in a system locale in run-time.

This notation is needed to implement Hinglish and Serbian-Latin
keyboards that need to refer its own action key labels.

Bug: 17169632
Bug: 9687668
Change-Id: I042f6bd04714e0e448cd92031730eb9fb422e6d3
2014-09-25 18:27:23 +09:00
Tadashi G. Takaoka 04cd8794e0 Fix checking a11y status just before calling an a11y method
Bug: 17035860
Change-Id: I9627d525a570ced085281b4db93fe6896081e818
2014-09-25 18:24:17 +09:00
Keisuke Kuroyanagi 951252bf47 Merge "Get stats from dictionary." 2014-09-25 08:24:55 +00:00
Tadashi G. Takaoka 22e2fa372c Merge "Add allowRedundantMoreKeys attribute" 2014-09-25 08:20:19 +00:00
Jean Chalard 2828d9eda7 Merge "[ML10.1] Adjust call for additional features" 2014-09-25 08:19:47 +00:00
Tadashi G. Takaoka 0be4e6e585 Add allowRedundantMoreKeys attribute
This CL also adds a couple of custom layout tests of Nordic languages.

Bug: 10787354
Change-Id: I5e875d3f30863395511afa82f0a02deb093d3a6f
2014-09-25 15:12:06 +09:00
Jean Chalard 8da2052113 [ML10.1] Adjust call for additional features
Bug: 11230254
Change-Id: I7b60d9174d7d267eb1b3cd848cff36cdbea75b12
2014-09-25 12:50:11 +09:00
Keisuke Kuroyanagi a40db55d9b Merge "Fix typo." 2014-09-25 02:52:12 +00:00
Keisuke Kuroyanagi 97465afbf8 Fix typo.
Change-Id: Ib090a3dfa7e53232e0d1ef5e4d2cbe48130f657f
2014-09-25 11:50:30 +09:00
Sandeep Siddhartha 145f05d637 Merge "Add account change receiver to handle account removal" 2014-09-24 23:40:58 +00:00
Sandeep Siddhartha d4aec65f65 Add account change receiver to handle account removal
Also cleanup the manifest to group similar components together.
Moving LoginAccountUtils to its own package

Bug: 17464068
Change-Id: Iad7928855531d58334b1e4039bb45b97dde75462
2014-09-24 13:10:54 -07:00
Tadashi G. Takaoka 21f038ee0a Stop showing more suggestions while important notice is showing
Bug: 15812659
Change-Id: I314e235cfffae3ae655320a9a75867efc28066bf
2014-09-24 14:12:05 +09:00
Tadashi G. Takaoka 064ba6bc0a Merge "Fix Turkish/Azerbaijani keyboard to add more accented letters" 2014-09-24 03:36:10 +00:00
Tadashi G. Takaoka 9a73a79cbe Merge "Fix not intercepting touch event while in modal mode" 2014-09-24 03:24:18 +00:00
Jean Chalard 3db17c5394 Merge "[ML9.1] Add option for multi-lingual support" 2014-09-24 02:42:46 +00:00
Tadashi G. Takaoka 620bfb9bb9 am 4c4ba10b: am 71b51590: am a76e11a2: am 1f490d6c: am be4e0d0e: Fix when to show important notice
* commit '4c4ba10bbb257036d7cb6ae8a128263285b7384f':
  Fix when to show important notice
2014-09-23 16:18:45 +00:00
Keisuke Kuroyanagi 9997853d6f Merge "Prepare supporting n-gram for user history dictionary." 2014-09-23 10:18:41 +00:00
Jatin Matani e2e48eb9b3 Merge "Add StatsUtilManager.onStartInput & onFinishInput" 2014-09-22 16:15:14 +00:00
Keisuke Kuroyanagi ddfaeff544 Prepare supporting n-gram for user history dictionary.
Bug:17097992
Change-Id: Ic8bfde3d4cc0e720bf7681e08e16fb2ad94d5670
2014-09-22 18:18:50 +09:00
Jean Chalard 4b0dba4cd8 [ML9.1] Add option for multi-lingual support
Bug: 11230254
Change-Id: I15d42fad155142fa6f556f13e84cad489be00dbd
2014-09-22 17:41:37 +09:00
Tadashi G. Takaoka 1f490d6c10 am be4e0d0e: Fix when to show important notice
* commit 'be4e0d0e3921af3d575f745cb356704974362baf':
  Fix when to show important notice
2014-09-22 07:28:43 +00:00
Tadashi G. Takaoka d144b7874e Fix not intercepting touch event while in modal mode
Bug: 17600156
Change-Id: Ife8f04550411d88311e08dd33e370a410d791ca2
2014-09-22 15:30:29 +09:00
Adrian Velicu b12c174c2f Merge "Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords instances directly to it to use isEmpty instead" 2014-09-22 06:20:25 +00:00
Adrian Velicu 30f4a2a4d7 Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords instances directly to it to use isEmpty instead
Bug: 17560717
Change-Id: I7032bf0ab46f9cf5e3b3312a14e689b5496764c1
2014-09-22 14:50:21 +09:00
Tadashi G. Takaoka be4e0d0e39 Fix when to show important notice
This CL introduces a timeout duration to show an important notice
message. When the timeout has passed, the important notice message
will be suppressed without user intervention.

This CL also adds unit tests and fixes a bug in
getNextImportantNoticeTitle().

Bug: 17181982
Change-Id: If321c0060cc2f7ca14ad0631b84f4990f88bd659
2014-09-22 14:28:31 +09:00
Tadashi G. Takaoka 5fa6a538cc Add plus-sign hint to PIN's zero key
Bug: 16378846
Change-Id: Ia1f95a33db4e1eb6b2fe367cfffa4aada567b6d9
2014-09-22 14:05:28 +09:00
Jatin Matani 6a6137325b Add StatsUtilManager.onStartInput & onFinishInput
Bug:15657192
Change-Id: I6e976202812d1c1675bd7822c4a15686d1ec1fe9
2014-09-21 20:19:12 -07:00
Keisuke Kuroyanagi 825747348b Merge "Create DictionaryStats in executor." 2014-09-22 02:49:04 +00:00
Mohammadinamul Sheik 8f116d7cda Merge "Invoke onWordCommitUserTyped on startInput() with non empty wordcomposer" 2014-09-22 02:13:21 +00:00
Tadashi G. Takaoka 8ea51a2760 Fix Turkish/Azerbaijani keyboard to add more accented letters
Bug: 16807005
Change-Id: Ifd0ab3aeb8207cdecacf8cfe5b1d58c07690142f
2014-09-22 10:55:08 +09:00
Keisuke Kuroyanagi 743a9b4499 Get stats from dictionary.
Bug: 16553957
Change-Id: I70c7a7be3c902dc8a0dfe8f946f9ef75ba6c9655
2014-09-22 10:26:19 +09:00
Keisuke Kuroyanagi c724864c61 Create DictionaryStats in executor.
Bug: 16553957
Change-Id: Ie4e9a6ee67f90ba0086af2075068e078efc7f189
2014-09-22 10:25:51 +09:00
Baligh Uddin 1c810c6725 Import translations. DO NOT MERGE
Change-Id: I51bc9a71a30b362938d155e091a7b0d4694eacbf
Auto-generated-cl: translation import
2014-09-21 04:15:07 -07:00
Baligh Uddin cf59579cf5 Import translations. DO NOT MERGE
Change-Id: I5c04251f5db42dab2189da52895e171c9082348b
Auto-generated-cl: translation import
2014-09-21 04:12:17 -07:00
Yohei Yukawa c514d64bff am d8c83fb8: am 88cae78f: am 89dd5f03: am c1d35148: am f2d0d9b0: Merge "Avoid the add-to-dictionary indicator from being clipped" into lmp-dev
* commit 'd8c83fb81bb06e22ab0857e1a7531c666ad8701e':
  Avoid the add-to-dictionary indicator from being clipped
2014-09-20 04:46:48 +00:00
Baligh Uddin 3c52bf7ddf Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:35 +00:00
Baligh Uddin b0388e81ed Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:35 +00:00
Baligh Uddin ab63e0c01d Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:35 +00:00
Baligh Uddin ed04bd9ef6 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-20 04:35:32 +00:00
Baligh Uddin 5bb9b99d52 Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:26 +00:00
Baligh Uddin c7dc7bccf4 Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:23 +00:00
Yohei Yukawa c1d3514891 am f2d0d9b0: Merge "Avoid the add-to-dictionary indicator from being clipped" into lmp-dev
* commit 'f2d0d9b0b91953df440ed55e0ee2e7f67705a881':
  Avoid the add-to-dictionary indicator from being clipped
2014-09-20 04:04:43 +00:00
Yohei Yukawa f2d0d9b0b9 Merge "Avoid the add-to-dictionary indicator from being clipped" into lmp-dev 2014-09-20 03:58:03 +00:00
Tadashi G. Takaoka ed7e5bdd65 Revert "Disable preliminary subtypes on E-release"
This reverts commit 0e6dd1a6f1.
This CL enables the following preliminary subtypes.
  - hi_ZZ: Hinglish
  - my_MM: Myanmar

Bug: 17587199
Change-Id: I6a2e621f1d50715b1b379fe2a19c48dac022eb92
2014-09-20 03:35:05 +00:00
Tadashi G. Takaoka 0e6dd1a6f1 Disable preliminary subtypes on E-release
This CL disables the following preliminary subtypes.
  - hi_ZZ: Hinglish
  - my_MM: Myanmar

Bug: 17587199
Change-Id: Ib7c88fc4817b79f8e46b5d499c6bb748c24d6c7d
2014-09-20 03:27:45 +00:00
Jean Chalard 4328cd88d4 am c648bae1: (DO NOT MERGE) Remove some logs which spam encrypted boot
* commit 'c648bae15de599e76d865fd181e980fc1b2175b3':
  (DO NOT MERGE) Remove some logs which spam encrypted boot
2014-09-20 01:36:08 +00:00
Yohei Yukawa 9d2f606aa8 Avoid the add-to-dictionary indicator from being clipped
With this CL, the display bounds is taken into consideration
when the location of add-to-dictionary indicator is determined.

BUG: 17578360
Change-Id: I31e458fa7bbc33e539578b331fe1c51ff7f8668e
2014-09-19 19:19:56 +09:00
Keisuke Kuroyanagi 845c061970 Fix unit tests.
Change-Id: I7706db4c9279488552ea5fabc16dd1dd2bc7fa05
2014-09-19 19:02:08 +09:00
Jean Chalard c648bae15d (DO NOT MERGE) Remove some logs which spam encrypted boot
Bug: 17539539
Change-Id: Idb442c2f0db2361b8e535f39b02d209b1edd1069
(cherry picked from commit 4b6c6fa0e4)
2014-09-19 07:29:03 +00:00
Mohammadinamul Sheik 6901ea6eac Invoke onWordCommitUserTyped on startInput() with non empty wordcomposer
In chat clients, the last committed word is not committed via
rich input connection. This will handle those missed out cases.

Change-Id: If3f1f6e1927cdf56a09d3e9124f05c66ca75de53
2014-09-18 23:00:11 -07:00
Adrian Velicu bacf2dbac6 Merge "Added @UsedForTesting to 'missing' methods to avoid ProGuard removing them" 2014-09-19 05:39:31 +00:00
Adrian Velicu 8c889784e2 Added @UsedForTesting to 'missing' methods to avoid ProGuard removing them
Bug: 16864527
Change-Id: I698a1b3e09e7e9a12722169b37f87bd51c8cbd34
2014-09-19 14:31:33 +09:00
Jean Chalard 17511a41a4 Merge "[ML8] Add a language weight" 2014-09-19 05:15:51 +00:00
Jean Chalard 4b6c6fa0e4 Remove some logs which spam encrypted boot
Bug: 17539539
Change-Id: Idb442c2f0db2361b8e535f39b02d209b1edd1069
2014-09-19 14:02:23 +09:00
Jean Chalard 6da9b21191 [ML8] Add a language weight
...and rename an improperly named normalization value

Bug: 11230254
Change-Id: I0f5633148a9f66dbfd7d28540b8a8985131c4549
2014-09-19 13:44:42 +09:00
Tadashi G. Takaoka bd46e3f2e3 am 00e01837: Merge "(DO NOT MERGE) Fix showing important notice even at beginning of sentence" into lmp-dev
* commit '00e018370fdc3b66a7937a3f08197cedb7907c19':
  (DO NOT MERGE) Fix showing important notice even at beginning of sentence
2014-09-18 22:57:20 +00:00
Tadashi G. Takaoka 00e018370f Merge "(DO NOT MERGE) Fix showing important notice even at beginning of sentence" into lmp-dev 2014-09-18 22:48:10 +00:00
Mohammadinamul Sheik 0e9419d014 Add word commit methods to StatsUtils
Change-Id: Ibb2cf0150cd9a851ff48d097688edc916dc82998
2014-09-18 13:06:38 -07:00
Sandeep Siddhartha 84185148c5 Add account listing and preference integration for current account
Bug: 17464068
Change-Id: Idb68a6012b285d6bc4632414bb6d11131148cf67
2014-09-18 10:39:30 -07:00
Sandeep Siddhartha 27bb70d6a0 Merge "Start showing the split keyboard layout" 2014-09-18 17:05:28 +00:00
Sandeep Siddhartha a7c5dcdedf Merge "Add Accounts & privacy settings in LatinIME" 2014-09-18 16:49:34 +00:00
Keisuke Kuroyanagi 6624ea96f7 Merge "Pass prevWordCount to native code for getSuggestion." 2014-09-18 13:01:35 +00:00
Keisuke Kuroyanagi 8806248386 Pass prevWordCount to native code for getSuggestion.
Bug: 14425059
Change-Id: Id2b49a448982c997e5c0a22445b115e675156c3e
2014-09-18 19:18:55 +09:00
Tadashi G. Takaoka 0055d26164 Merge "Fix showing important notice even at beginning of sentence" 2014-09-18 10:01:49 +00:00
Tadashi G. Takaoka f4c7eb478f Fix showing important notice even at beginning of sentence
This is a cherry-pick of Ic72d6fecc3 from lmp-dev.

Bug: 17536096
Change-Id: Id76b8f8dc85d03bc7ed5f24800301c081a82a8d2
2014-09-18 18:51:23 +09:00