| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Fixes the UserHistoryDictionaryTests
Change-Id: I49776f53298ced3cd7e771cfe77a940b80b01f20
|
|
|
|
|
|
| |
Bug 19516048.
Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584
|
|
|
|
|
|
| |
Bug 19296201.
Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
|
|
|
|
| |
Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
|
|
|
|
| |
Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Attempt to use dictionary facilitor without invoking
preference manager. Instead use account from settings only when
things are being reset/changed. Discussion forked from ag/591663
Overall, the idea here is to maintain an account information
inside dictionary groups. Reset the dictionary groups if
account changes (the way we do for locale). Since only user
history dictionary is currently affected, the check to reset user
history dictionary also includes the check to verify the account.
For other things remain the same.
SettingsValues holds the current account (and is updated if prefs change
due to change in account settings). The updated settings are then
propagated to dictionary facilitator via LatinIME#loadSettings.
Bug:18104749,18469539
Change-Id: I553e776e7ea125d0fb7a1fe70a4c7eb0b2277fb8
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add API to ExpandableBinaryDictionary to dump content
from a given dictionary. We use this for dumping data
for sync process.
Refactored UserHistoryDictionaryTests to scrap out the util
methods for testing. These utility methods would be used
for testing sync + user dictionary code in LatinIMEGoogleTests
Bug:18106539
Change-Id: I357f9192ea1bd69a526d0b620c25616a2e8e9d5b
|
|/
|
|
|
| |
Bug: 18528171
Change-Id: I6e12c006bd9eff15f3fa9cfd335bdd9fa081be61
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
UserHistoryDictionary currently uses locale to determine the
UserHistoryDictionary on the filesystem. With this change we
use the account name as well. Thus each UserHistoryDictionary
would following the following spec:
UserHistoryDictionary.<locale>.<account>.dict.
In case no account is selected, we default to the existing
spec:
UserHistoryDictionary.<locale>.dict
Example
UserHistoryDictionary.en_US.testaccount@example.com.dict
Bug: 18104749
Change-Id: Iab031e166b55cf2ded68275a7e9be22475737b37
|
|
|
|
|
|
|
| |
Also why did we have two copies of LocaleUtils >.>
Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
|
|
|
|
|
|
|
| |
Our intention is to have classes of latinime-common under the common
package as much as we can.
Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
|
|
|
|
|
|
|
| |
This CL also adds @SuppressWarning("unused" to java-overridable package.
Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL fixes the following compiler warnings.
- Indirect access to static member
- Access to a non-accessible member of an enclosing type
- Parameter assignment
- Method can be static
- Local variable declaration hides another field or variable
- Value of local variable is not used
- Unused import
- Unused private member
- Unnecessary 'else' statement
- Unnecessary declaration of throw exception
- Redundant type arguments
- Missing '@Override' annotation
- Unused '@SuppressWarning' annotations
Bug: 18003991
Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
|
|
|
|
|
| |
Bug: 14425059
Change-Id: I409ebf90f68f4a0f1638128ac5ee6af859323d30
|
|
|
|
|
| |
Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
|
|
|
|
|
| |
Bug: 14425059
Change-Id: I48a193b965e3055bd10a00046322c2b7b19a6232
|
|
|
|
|
| |
Bug:17097992
Change-Id: Ic8bfde3d4cc0e720bf7681e08e16fb2ad94d5670
|
|
|
|
|
| |
Bug: 16547557
Change-Id: I03eda34edc902fc4732d16d234216344d8d84d88
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This should make IDEs happy with appropriate source code directory
selection.
bug: 16829244
Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
|
|/
|
|
|
| |
Bug: 16547557
Change-Id: I11b82667631cbd5263cc08ccb304fc97bf692050
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 12725817
Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
|
|/
|
|
|
| |
Bug: 16416948
Change-Id: I0fac5ab26d6efbadbd688d033a79f6705e0161a5
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a ground work to take per word locale information into
consideration in the spell checker. This CL is supposed to change
no user visible behavior.
With this CL, the spell checker session is able to read span
information if necessary.
BUG: 16029304
Change-Id: Icb1e1ecdf40fe0445e14565b685b1b878b746210
|
|
|
|
| |
Change-Id: I5c6c0a9098c5a228ed82b208aa6f237a41f2f6cc
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
|
| |
| |
| |
| |
| | |
Bug: 15868192
Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba
|
|/
|
|
|
| |
Bug: 14119293
Change-Id: I23c407f0afed0ae4af290a1195b0e3bbcd5af8d7
|
|
|
|
|
| |
Bug: 15677822
Change-Id: Ibebb215a08795482c0f1eef965db06af57558906
|
|
|
|
|
| |
Bug: 14161647
Change-Id: Ic7d53464bd051bffc8c7f8d097325321fe0aaee7
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 14161647
Change-Id: I8106419678d5d26a4debec7bbef43af079c1ab18
|
|\| |
|
| |
| |
| |
| |
| | |
Bug: 14161647
Change-Id: I7ab3d701525e9a19bc100aa577527e332bb2ad95
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Bug: 14161647
Bug: 14119293
Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2
|
|/
|
|
|
| |
Bug: 15557070
Change-Id: I5796df54a74c111d361da8c548e5597aba8e24d0
|
|
|
|
|
| |
Bug: 13630847
Change-Id: Ib4513b8cb6981e01dd33fd9703cc01646a2c7ccc
|
|
|
|
|
|
| |
Bug: 13142176
Bug: 15428247
Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
|
|
|
|
|
| |
Bug: 13142176
Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978
|
|
|
|
| |
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|
|
|
|
|
|
| |
Bug: 13142176
Bug: 15094186
Change-Id: Ib9e42f8e25538009f3ba62cf1e034cae3f6823c7
|
|
|
|
|
|
| |
Bug: 13142176
Bug: 15094186
Change-Id: I9da67352ff2abcd289fa5885389895ced878a413
|
|
|
|
|
|
|
| |
Bug: 14119293
Bug: 14425059
Bug: 15102610
Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3.
Bug: 14119293
Bug: 14425059
Bug: 15102610
Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
|
|
|
|
|
|
|
| |
Bug: 14119293
Bug: 14425059
Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
|