Commit graph

35925 commits

Author SHA1 Message Date
Sandeep Siddhartha
c11c9d262d am d9015233: Set up a sync preference and policy for syncing [2]
* commit 'd9015233f50724294bb408f1c56715a581dc4bed':
  Set up a sync preference and policy for syncing [2]
2014-10-10 23:18:32 +00:00
Sandeep Siddhartha
d9015233f5 Set up a sync preference and policy for syncing [2]
- Adds a preference for enabling sync, which controls the sync behavior
- Make the ProductionFlags depend on appropriate flags to guarantee that
  we don't mess things when flipping some flags
- Preferences now control the "syncable" property of the provider
  thereby controlling the policy and when this entry shows up in
  system settings.

Bug: 17464069
Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427
2014-10-10 16:03:54 -07:00
Sandeep Siddhartha
2c7a1c91c9 am 1e10d29b: Don\'t restore device specific preferences
* commit '1e10d29bc8975ea45ca5e3bdf1936aa418161bcb':
  Don't restore device specific preferences
2014-10-10 18:19:05 +00:00
Sandeep Siddhartha
1e10d29bc8 Don't restore device specific preferences
There are two categories of preferences:
1. That are part of the default shared preference
   They were all getting backed up and restored.
   Added a blacklist to not restore some of these.
   e.g. current account

2. That are in a non-default shared preference file.
   These are not getting backed up currently, but added a specific
   local preference file for all such preferences.

Bug: 17288591
Change-Id: I2f748be971a2337543e5014434aa39313fd1e1d8
2014-10-10 10:49:32 -07:00
Tadashi G. Takaoka
287d2dcab5 am 6e565332: Merge "Fixing keyboard theme selection"
* commit '6e565332df385d67d58543879f9d81263e667c06':
  Fixing keyboard theme selection
2014-10-10 09:32:23 +00:00
Tadashi G. Takaoka
6e565332df Merge "Fixing keyboard theme selection" 2014-10-10 09:28:24 +00:00
Jean Chalard
e3bd12a827 am 7d5e1cb2: [ML23] Introduce a different accuracy/performance tradeoff
* commit '7d5e1cb2650d74816767c085ad71d04d6e605559':
  [ML23] Introduce a different accuracy/performance tradeoff
2014-10-10 09:24:39 +00:00
Jean Chalard
7d5e1cb265 [ML23] Introduce a different accuracy/performance tradeoff
Bug: 11230254
Change-Id: Ic09518c818ae7b68942b1c63160dd462e5922cb5
2014-10-10 18:02:52 +09:00
Tadashi G. Takaoka
4f17f3df46 Fixing keyboard theme selection
Bug: 17937287
Change-Id: I476045980843c5897820cd544daea06fa991acb5
2014-10-10 17:42:03 +09:00
Jean Chalard
8beebbf8b1 am 5d2d852e: [ML22] Improve the language on spacebar for SLS
* commit '5d2d852eb0caaf7416c159f83d51e07b1ca87e30':
  [ML22] Improve the language on spacebar for SLS
2014-10-10 07:31:34 +00:00
Jean Chalard
5d2d852eb0 [ML22] Improve the language on spacebar for SLS
Bug: 11230254
Change-Id: Ib54be1a2a77b6e80cdff1af89a7b4203ea859716
2014-10-10 16:19:48 +09:00
Keisuke Kuroyanagi
8473800f40 am 229f354f: Merge "Make members of classes that are used with std::vector const"
* commit '229f354fdc2ff98dd6b1132ef5a5bd364c065079':
  Make members of classes that are used with std::vector const
2014-10-10 06:29:29 +00:00
Jatin Matani
e78c86c5fb am 701b14ff: Merge "Make SuggestionWordInfo non-final for testabilty"
* commit '701b14ffa604df48bdc5c6287c9ba296ef8a02db':
  Make SuggestionWordInfo non-final for testabilty
2014-10-10 06:29:28 +00:00
Keisuke Kuroyanagi
229f354fdc Merge "Make members of classes that are used with std::vector const" 2014-10-10 05:39:57 +00:00
Jatin Matani
701b14ffa6 Merge "Make SuggestionWordInfo non-final for testabilty" 2014-10-10 05:18:55 +00:00
Tadashi G. Takaoka
c986a6bec1 am fee22c2a: Fix asset name
* commit 'fee22c2aaf3f6114848c40a7e6f1feca045feb48':
  Fix asset name
2014-10-10 02:23:55 +00:00
Tadashi G. Takaoka
fee22c2aaf Fix asset name
Change-Id: I7a2609af13c3ed7e6333a6af87cb113addd82f34
2014-10-10 11:07:22 +09:00
Sandeep Siddhartha
c4521eb19f am 80f0e89a: Remove UsedForTesting tags from BlockingHttpClient
* commit '80f0e89aaf1a3e7063bb4e9c3b930b6d7e460a6c':
  Remove UsedForTesting tags from BlockingHttpClient
2014-10-10 00:18:35 +00:00
Sandeep Siddhartha
80f0e89aaf Remove UsedForTesting tags from BlockingHttpClient
Bug: 17464069
Change-Id: I45aa6da0e339ffb56de613c2a0a43fe37fb2defd
2014-10-09 14:30:45 -07:00
Jatin Matani
d00ef4f691 am eaf517ff: Merge "Changes related Sync Engine library that communicates to cloud server"
* commit 'eaf517ffea7f700a4249eac5c61837fd101320a7':
  Changes related Sync Engine library that communicates to cloud server
2014-10-09 18:11:08 +00:00
Jatin Matani
eaf517ffea Merge "Changes related Sync Engine library that communicates to cloud server" 2014-10-09 18:06:32 +00:00
Keisuke Kuroyanagi
d9dc829fa6 am b559c65e: Merge "Rename prev_words_info.h to ngram_context.h"
* commit 'b559c65e7ebc233a1c2c9e92104b7c9edb539e9c':
  Rename prev_words_info.h to ngram_context.h
2014-10-09 12:51:56 +00:00
Keisuke Kuroyanagi
fcff3f8b9d am 10fa30e3: Merge "Rename PrevWordsInfo to NgramContext."
* commit '10fa30e3807139af1a42114abadc921e2406867c':
  Rename PrevWordsInfo to NgramContext.
2014-10-09 12:51:55 +00:00
Keisuke Kuroyanagi
b559c65e7e Merge "Rename prev_words_info.h to ngram_context.h" 2014-10-09 12:47:24 +00:00
Keisuke Kuroyanagi
10fa30e380 Merge "Rename PrevWordsInfo to NgramContext." 2014-10-09 12:47:17 +00:00
Keisuke Kuroyanagi
620ebde704 Make members of classes that are used with std::vector const
Change-Id: Id93fb87f5630230fc3f9cd339e12f3b0e2006ea9
2014-10-09 21:28:40 +09:00
Keisuke Kuroyanagi
45783013bf Rename prev_words_info.h to ngram_context.h
Bug: 14425059
Change-Id: I0e906631ecad2361a8198b3f9e3394bb22c5bf83
2014-10-09 21:28:19 +09:00
Adrian Velicu
4df8316765 am 44efbe64: Fixing misspelled word
* commit '44efbe64b1ba44f8edf13a52eca630fce3d7c809':
  Fixing misspelled word
2014-10-09 12:02:15 +00:00
Jean Chalard
e06fe74d99 am bc180059: Always show the typed word in recorrections.
* commit 'bc18005948c3872a96bd3406e7dd2c722d60a013':
  Always show the typed word in recorrections.
2014-10-09 12:02:13 +00:00
Keisuke Kuroyanagi
f49a1ec120 am 41302021: Merge "Rename updateCounter to updateEntriesForWordWithNgramContext."
* commit '41302021d61d3c876fe3952089ff211bab0abb4e':
  Rename updateCounter to updateEntriesForWordWithNgramContext.
2014-10-09 12:02:11 +00:00
Keisuke Kuroyanagi
ef37d49e1b am fca049a4: Merge "Extend jni method to dump ngram entries."
* commit 'fca049a4b01a92f2f59d790898f8aedb13ad7e7d':
  Extend jni method to dump ngram entries.
2014-10-09 12:02:09 +00:00
Yohei Yukawa
a4217f5a92 am 65473118: Merge "Simplify CursorAnchorInfoCompatWrapper"
* commit '65473118655817c7f5382d91c7c4e3d734262a3a':
  Simplify CursorAnchorInfoCompatWrapper
2014-10-09 12:02:07 +00:00
Jean Chalard
4099611d64 am 437fcbaa: [ML20.1] Move getRichInputMethodSubtype to additional features
* commit '437fcbaa9f9e7de6ccdb6c9ac5f977c0aa6e6bc6':
  [ML20.1] Move getRichInputMethodSubtype to additional features
2014-10-09 12:02:06 +00:00
Jean Chalard
12250e2492 am 176e6e22: Merge "[ML19] Actually switch the language when appropriate"
* commit '176e6e22cff8a3f77e121371a91419aa295abb65':
  [ML19] Actually switch the language when appropriate
2014-10-09 12:02:02 +00:00
Tadashi G. Takaoka
8e5dac104f am 15480481: Add keyboard shadow
* commit '15480481be790c913b0117d0841565efd399cd01':
  Add keyboard shadow
2014-10-09 12:01:38 +00:00
Adrian Velicu
44efbe64b1 Fixing misspelled word
Change-Id: I51d77e271143d40256b39e5c60a3065d9fdf63fb
2014-10-09 19:26:54 +09:00
Jean Chalard
bc18005948 Always show the typed word in recorrections.
Bug: 11330140
Bug: 17875601
Bug: 17623275
Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179
2014-10-09 17:54:58 +09:00
Keisuke Kuroyanagi
41302021d6 Merge "Rename updateCounter to updateEntriesForWordWithNgramContext." 2014-10-09 08:51:18 +00:00
Keisuke Kuroyanagi
72e2383d11 Rename PrevWordsInfo to NgramContext.
Bug: 14425059
Change-Id: I30703fc80e9450d4e2dbfec965e7f9f4468f6a11
2014-10-09 17:34:32 +09:00
Keisuke Kuroyanagi
ab4437f468 Rename updateCounter to updateEntriesForWordWithNgramContext.
Bug: 14425059
Change-Id: Id9b0dd7e32c711ed4292981517c3febd5fe9e897
2014-10-09 17:34:29 +09:00
Keisuke Kuroyanagi
fca049a4b0 Merge "Extend jni method to dump ngram entries." 2014-10-09 08:28:13 +00:00
Yohei Yukawa
6547311865 Merge "Simplify CursorAnchorInfoCompatWrapper" 2014-10-09 08:13:50 +00:00
Jean Chalard
437fcbaa9f [ML20.1] Move getRichInputMethodSubtype to additional features
Bug: 11230254
Change-Id: I9bc19db5f101eeb6841394fe3637f271c93cbfa7
2014-10-09 16:35:15 +09:00
Jatin Matani
db1b736446 Changes related Sync Engine library that communicates to cloud server
This change updates some of the code that the library uses
to communicate with the cloud server
Specifically :
- Update BlockingHttpClient to use template ResponseProcessor
- Update HttpUrlConnectionBuilder to setAuthToken for HttpUrlConnection

Bug: 17464069
Bug: 17464805

Change-Id: I7d7b58dff594b920162f799d102e8582ff9fe6a4
2014-10-09 00:01:32 -07:00
Yohei Yukawa
dac49f9f6d Simplify CursorAnchorInfoCompatWrapper
With this CL, we will use CursorAnchorInfoCompatWrapper just to
avoid unexpected NoClassDefFoundError due to the direct
dependency CursorAnchorInfo class, which is available only on
API level 21 and later.

Change-Id: I254ff83f1ca41daa21d0666b5824af22ba529022
2014-10-09 15:54:34 +09:00
Keisuke Kuroyanagi
d7a51c242b Extend jni method to dump ngram entries.
Bug: 14425059
Change-Id: Ib03b58525fae12f254b45630bee31ecbdde227b1
2014-10-09 15:26:10 +09:00
Jean Chalard
176e6e22cf Merge "[ML19] Actually switch the language when appropriate" 2014-10-09 05:12:01 +00:00
Jean Chalard
81a5a10476 [ML19] Actually switch the language when appropriate
That is, when auto-correcting or when manually picking.
This is not great, but it's a good starting point.

Bug: 11230254
Change-Id: I07627f48e2de1c28053d6572c7c72625808ec79c
2014-10-09 13:13:25 +09:00
Tadashi G. Takaoka
15480481be Add keyboard shadow
This CL sets 8dp elevation ot input view in order to cast a shadow
onto underlying application.

Bug: 16210054
Change-Id: I7779c63612fc88e24dde65de3e4e7a45b9d1762f
2014-10-09 12:39:15 +09:00
Jatin Matani
45110a7bcf am 3c6ac75c: Merge "Fix messaging for sync now feature, when no account is selected"
* commit '3c6ac75c48e0f57d389305c9c22a3be960682ed2':
  Fix messaging for sync now feature, when no account is selected
2014-10-08 23:46:46 +00:00