Commit Graph

30170 Commits (1f2b8564e6caf80f0031197f8fc3d48f1c941faa)

Author SHA1 Message Date
Keisuke Kuroyanagi 9638693479 Fix native crash in BigramDictionary::addWordBigram()
Bug: 12479653
Change-Id: I7d263f744f711202000524a47769dc2d3d0e0de6
2014-01-14 18:51:49 -08:00
Keisuke Kuroyanagi 68069c55c4 Fix flaky unit test.
Change-Id: I8df0f9a0398b29f679844f256ad84f09ebcea8ee
2014-01-14 18:51:29 -08:00
Narayan Kamath 3ae8f5c40e am cdeeadf5: Merge "Revert "Revert "Disable Nepali layouts temporarily per product call"""
* commit 'cdeeadf5caf00dd7cc73ebdd6f7196e96a76df00':
  Revert "Revert "Disable Nepali layouts temporarily per product call""
2014-01-14 06:00:49 -08:00
Narayan Kamath c59fdb616b am c8501ac0: Merge "Revert "Revert "Remove Azerbaijani subtype"""
* commit 'c8501ac0f24a45bf21fb550b7381aa4d7c2ced94':
  Revert "Revert "Remove Azerbaijani subtype""
2014-01-14 06:00:40 -08:00
Narayan Kamath cdeeadf5ca Merge "Revert "Revert "Disable Nepali layouts temporarily per product call""" 2014-01-14 13:55:30 +00:00
Narayan Kamath c8501ac0f2 Merge "Revert "Revert "Remove Azerbaijani subtype""" 2014-01-14 13:55:26 +00:00
Narayan Kamath f50ea972b1 Revert "Revert "Remove Azerbaijani subtype""
This reverts commit 50e15413da.

Change-Id: I10c83ac4bf987d20a536e9b03d4c584f54a55789
2014-01-14 12:44:25 +00:00
Narayan Kamath 4f8e678bab Revert "Revert "Disable Nepali layouts temporarily per product call""
This reverts commit 93fdfc110b.

Change-Id: Ibe7bfa07aa2437701794209c16f017a88cd166b4
2014-01-14 12:44:11 +00:00
Tadashi G. Takaoka bdb18ed01d am d5ef139f: Merge "Revert "Disable Nepali layouts temporarily per product call""
* commit 'd5ef139fb690d4fd18ce99258672352b11ebfc22':
  Revert "Disable Nepali layouts temporarily per product call"
2014-01-14 00:45:15 -08:00
Tadashi G. Takaoka d5ef139fb6 Merge "Revert "Disable Nepali layouts temporarily per product call"" 2014-01-14 08:41:38 +00:00
Tadashi G. Takaoka b8b414eea3 am 50e15413: Revert "Remove Azerbaijani subtype"
* commit '50e15413daa8bf02d589bf298ba4b0267de0743b':
  Revert "Remove Azerbaijani subtype"
2014-01-14 00:41:37 -08:00
Tadashi G. Takaoka 93fdfc110b Revert "Disable Nepali layouts temporarily per product call"
This reverts Id58cdf117d.
This also partially reverts I456268b68f.

This change must be checked in together with I4d5c8ffa45.

Bug: 6910787
Change-Id: I59ba69f1b14164edea8eddf3784554a29a97e9b3
2014-01-14 17:39:24 +09:00
Tadashi G. Takaoka 50e15413da Revert "Remove Azerbaijani subtype"
This reverts I0d2a98dffe.
This also partially reverts I99be3d54d3.

This change must be checked in together with If2d081729b.

Bug: 7963448
Change-Id: Ibb6efecf59ad4ca00774eca64f2f073bf95010aa
2014-01-14 17:28:27 +09:00
Tadashi G. Takaoka 602c9cf97d am 6584d42b: Merge "Move phrase gesture related string resources to AOSP"
* commit '6584d42b02a8742f97e20b5277655d1aaa430003':
  Move phrase gesture related string resources to AOSP
2014-01-14 00:22:25 -08:00
Tadashi G. Takaoka 6584d42b02 Merge "Move phrase gesture related string resources to AOSP" 2014-01-14 08:20:14 +00:00
Tadashi G. Takaoka 7504913807 Move phrase gesture related string resources to AOSP
This change must be checked in together with Ica8fc5135.

Change-Id: I288d7083391954f1266a9b77ee4ffc0bc9d4229d
2014-01-14 17:15:41 +09:00
Tadashi G. Takaoka 4260f4efd7 am bf418f7c: Pass time stamp to addToUserHistory method as an argument
* commit 'bf418f7cba9b935785797e4ec34959fe0aef69b3':
  Pass time stamp to addToUserHistory method as an argument
2014-01-13 23:15:26 -08:00
Tadashi G. Takaoka bf418f7cba Pass time stamp to addToUserHistory method as an argument
Bug: 12179576
Change-Id: I93037ee2aa7c0432400fe2f93fb60d2e60f70f5f
2014-01-14 15:48:08 +09:00
Jean Chalard c9eca23fb5 am 62df0a6d: Merge "Update dictionaries"
* commit '62df0a6d53bddc3a8b3642bed9d11244f5455604':
  Update dictionaries
2014-01-13 19:47:32 -08:00
Jean Chalard 62df0a6d53 Merge "Update dictionaries" 2014-01-14 03:44:20 +00:00
Jean Chalard 155cb77231 Update dictionaries
This change has no effect on TRT results.

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1381226409 <=> 1389654051
  version : 42 <=> 43
Body :
Added: dialogue 120
Added: dialogues 94

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1381226409 <=> 1389654052
  version : 42 <=> 43
Body :
Deleted: d'Orange 114
Added: d'orange 114

>>> dictionaries/it_wordlist.combined.gz
Header :
  date : 1380519383 <=> 1389654052
  version : 40 <=> 43
Body :
Freq changed: ciao 85 -> 180

>>> java/res/raw/main_fr.dict
Header :
  date : 1381226409 <=> 1389654052
  version : 42 <=> 43
Body :
Deleted: d'Orange 114
Added: d'orange 114

>>> java/res/raw/main_it.dict
Header :
  date : 1380519383 <=> 1389654052
  version : 40 <=> 43
Body :
Freq changed: ciao 85 -> 180

Bug: 12487270
Bug: 12344108
Change-Id: I94768e223d05ad2551a5508e9e01222a028665c4
2014-01-14 10:37:15 +09:00
Geoff Mendal 82cf240d50 am 9fa66634: (-s ours) Import translations. DO NOT MERGE
* commit '9fa666340394be8a933baa09bc44a37e3a87062d':
  Import translations. DO NOT MERGE
2014-01-13 16:45:36 -08:00
Geoff Mendal 9fa6663403 Import translations. DO NOT MERGE
Change-Id: I3233aa7d5f64fbf8818e0065cd1da47d84070fb6
Auto-generated-cl: translation import
2014-01-13 16:31:58 -08:00
Geoff Mendal 85e087ec27 Import translations. DO NOT MERGE
Change-Id: I40592afeb40919ae7022e90c899212367ef0f110
Auto-generated-cl: translation import
2014-01-13 16:30:59 -08:00
Jean Chalard 69d318a5b6 am 7294cc5b: Merge "Fix a test."
* commit '7294cc5bfe653fde80b257bd39e3ff7eb11e102d':
  Fix a test.
2014-01-10 04:54:03 -08:00
Keisuke Kuroyanagi c548b35b6a am 5717c63a: Fix possible NPE in DictionaryFacilitatorForSuggest.
* commit '5717c63a2b3876716986b24c86cc6c564c38e720':
  Fix possible NPE in DictionaryFacilitatorForSuggest.
2014-01-10 04:50:25 -08:00
Jean Chalard 7294cc5bfe Merge "Fix a test." 2014-01-10 12:47:41 +00:00
Keisuke Kuroyanagi 5717c63a2b Fix possible NPE in DictionaryFacilitatorForSuggest.
Change-Id: I57792b7417b5f1acbb99e6ea60250eb44b193785
2014-01-10 21:42:08 +09:00
Jean Chalard 7b6e999cd1 Fix a test.
Bug: 12483313
Change-Id: Ia811d614b9260367871bc5717f587538adf46789
2014-01-10 21:39:43 +09:00
Jean Chalard b19c09797a am db0adf86: Merge "[IL55] Remove a useless argument."
* commit 'db0adf86a4c615ca8838238a1c318b1fbc05111e':
  [IL55] Remove a useless argument.
2014-01-10 03:37:54 -08:00
Keisuke Kuroyanagi c35d5abe6f am eb66f190: Merge "Check corpus handles during startup for personalization."
* commit 'eb66f1906d4269dd5c10ab83c86e3885f140cc4f':
  Check corpus handles during startup for personalization.
2014-01-10 03:37:47 -08:00
Jean Chalard db0adf86a4 Merge "[IL55] Remove a useless argument." 2014-01-10 11:36:01 +00:00
Keisuke Kuroyanagi eb66f1906d Merge "Check corpus handles during startup for personalization." 2014-01-10 11:34:39 +00:00
Jean Chalard 6c24b91601 [IL55] Remove a useless argument.
Change-Id: I0b3a6cdf49038c32194413c21da824784a53f581
2014-01-10 20:28:50 +09:00
Keisuke Kuroyanagi eb28bac542 Check corpus handles during startup for personalization.
Bug: 12479792
Change-Id: I62fd75d4bebd28afebd9631e865f5d59385511e7
2014-01-10 20:28:30 +09:00
Keisuke Kuroyanagi 7110ce3339 am 4db09448: Merge "Boundary check for ProximityInfoState::getProximityTypeG()."
* commit '4db09448e98b81fe285d685c11988beed55b0208':
  Boundary check for ProximityInfoState::getProximityTypeG().
2014-01-10 03:26:21 -08:00
Keisuke Kuroyanagi 4db09448e9 Merge "Boundary check for ProximityInfoState::getProximityTypeG()." 2014-01-10 11:24:22 +00:00
Keisuke Kuroyanagi 84c52a3c81 Boundary check for ProximityInfoState::getProximityTypeG().
Bug: 12481052
Change-Id: Ic0b64d2fa17eb8f65f3ad1a7b468cdf6dddf7e70
2014-01-10 20:15:36 +09:00
Jean Chalard 1255712a17 am 4be91376: Merge "[IL54.5] Use the cursor pos estimate, not the last value"
* commit '4be9137609913cb1e3769b3f47b925b649ca91f8':
  [IL54.5] Use the cursor pos estimate, not the last value
2014-01-10 02:48:49 -08:00
Jean Chalard 4be9137609 Merge "[IL54.5] Use the cursor pos estimate, not the last value" 2014-01-10 10:46:27 +00:00
Jean Chalard a224aafea3 [IL54.5] Use the cursor pos estimate, not the last value
For edit tasks, the estimate is actually the right thing to use.
This is really dangerous, but it will get rid of pretty much all
race conditions.

Change-Id: I2d5ca3ce45e32f1bd9c8b778421fd54b9c1f6f63
2014-01-10 19:08:47 +09:00
Keisuke Kuroyanagi 75950a7867 am f96e0f07: Merge "Periodic wipe of the personalization dict."
* commit 'f96e0f07af8230a43d733ee7a19c08c205197037':
  Periodic wipe of the personalization dict.
2014-01-10 01:42:00 -08:00
Keisuke Kuroyanagi f96e0f07af Merge "Periodic wipe of the personalization dict." 2014-01-10 09:31:22 +00:00
Jean Chalard a9d45c9bf4 am ecf46df2: [IL54] Add a mirror method to fix the cursor pos estimate
* commit 'ecf46df22683b997311ba77b34b33dffa8be43c0':
  [IL54] Add a mirror method to fix the cursor pos estimate
2014-01-09 23:39:23 -08:00
Keisuke Kuroyanagi ba07df7fc1 Periodic wipe of the personalization dict.
Bug: 12216453

Change-Id: Ie59dd19c044e9b1eb9b8bd805366200737ea506a
2014-01-10 16:30:59 +09:00
Jean Chalard ecf46df226 [IL54] Add a mirror method to fix the cursor pos estimate
This just mirrors what InputLogic#tryFixLyingCursorPosition
is doing. That method will go away in the next change.

Change-Id: Ifa2827dbc1f1d20e2c642d6f2d23514a01ed9203
2014-01-10 16:05:02 +09:00
Jean Chalard 1124cff216 am 6fbe83be: [IL53] Fix a wrong test.
* commit '6fbe83be7af6b15df3ed915b408c8179ca01c0cd':
  [IL53] Fix a wrong test.
2014-01-09 22:52:30 -08:00
Jean Chalard 6fbe83be7a [IL53] Fix a wrong test.
This test was intended only for cases without a selection, and as
a safety net for cases where the app would pretend the cursor
is at N but we can get P chars from the editor where P > N.

When there is a selection, this is wrong. In the practice it works
because these values are not used in this case, but it's still wrong.

The case where P > N is arguable, but actually I see little reason
to trust the getTextBeforeCursor() method more than the
onUpdate selection method. Plus in the practice, I don't think
we are aware of any app with this bug, and it's probably not a
great idea to be too robust about this as it may encourage wrong
values sent to onUpdateSelection.

Change-Id: I42f2065d7aee668074e6b8e40b259da7e88e16e1
2014-01-10 15:21:20 +09:00
Jean Chalard f36b520c20 am 958e4520: Merge "Fix an NPE."
* commit '958e4520250e8f2ddcbbbd56afc713262bf1a9f1':
  Fix an NPE.
2014-01-09 21:16:17 -08:00
Jean Chalard 958e452025 Merge "Fix an NPE." 2014-01-10 05:13:47 +00:00