| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Test: tapas LatinIME && m
Change-Id: Ic06f948c023a091e1532db826a78dd01031d7205
|
|
|
|
|
|
|
| |
See go/jetpack-test-android-migration
Test: make checkbuild
Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL converts 19 test classes under com.android.inputmethod.latin
to Android Testing Support Library.
Bug: 110805255
Test: verified as follows. No new test failures.
tapas adb LatinIME LatinIMETests arm64 userdebug && \
DISABLE_PROGUARD=true make -j LatinIME && \
adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
atest LatinIMETests:com.android.inputmethod.latin
Change-Id: I878fcae0126f57c43a644af341e5a0a8ac8f5cc9
|
|
|
|
|
|
| |
Bug 19516048.
Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584
|
|
|
|
|
|
| |
Bug 19296201.
Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I24bd81e6781148302d5679850ed0a9bda71a3d27
|
|
|
|
|
| |
Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
|
|
|
|
| |
Change-Id: I939fdbda31ff066ea6e807ad1438a8f77fb6ddef
|
|
|
|
| |
Change-Id: I1f3137bacf02bf6bad03a9a99fa56346ff0cd763
|
|
|
|
| |
Change-Id: I96533abf939d39873c5eaab9a9b02f71681aafcf
|
|
|
|
| |
Change-Id: Ife8d30e1de22336ea87faadb8c6ad7451679337b
|
|
|
|
| |
Change-Id: Id71f239afa95b68961192714998695c21ed48002
|
|
|
|
| |
Change-Id: I92db6318daa98684639ab959f55d047a941fe265
|
|
|
|
| |
Change-Id: Ibb79b9821dac3d48e18c684e8aca605254bec045
|
|
|
|
|
| |
Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
|
|
|
|
|
|
| |
Bug: 13142176
Bug: 15428247
Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
|
|
|
|
|
| |
Bug: 13142176
Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978
|
|
|
|
| |
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|
|
|
|
|
| |
Bug: 14119293
Change-Id: I5020e5f0aa64bc3e97b3a3c2c07a60c8b765ed64
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 8187060
Change-Id: Ic665f0a5e940708aa9addedac068a64900b307e7
|
|
|
|
|
| |
Bug: 13755213
Change-Id: I1ea8a6df007af7153852f2d32bf5e8ec669c432b
|
|
|
|
|
|
|
|
|
| |
clearAndFlushDictionary() was needed when dictionaries are constructed
in java side. All expandable dictionaries now use native code; thus,
this method is same to clear() and no longer needed.
Bug: 13755213
Change-Id: Ifd836e64f8ff807930f7cd2319b103b65e8fce70
|
|
|
|
|
| |
Bug: 13458617
Change-Id: I4942af4a48881fb6ca866c74140b262e6d323f4a
|
|
|
|
|
| |
Bug: 8187060
Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
|
|
|
|
|
| |
Bug: 13231889
Change-Id: If64b7422967c3e4107c845072b64a7bb26a35f7e
|
|
|
|
|
| |
Bug: 13106697
Change-Id: If81f77c3cefdefae94cb9145aa9f700494f8237a
|
|
|
|
|
|
| |
Bug: 10667710
Change-Id: Ib2be57d8c4cbbb34f64555d84ea6fd571cfdd247
|
|
|
|
| |
Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837
|
|
|
|
|
|
| |
Bug: 12800726
Bug: 12798403
Change-Id: I6d60f9ad39761757f8a64533f40d6441f3a36410
|
|
|
|
| |
Change-Id: I8df0f9a0398b29f679844f256ad84f09ebcea8ee
|
|
|
|
|
|
| |
The bulk merge from -bayo to klp-dev should not have been merged to master.
Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
|
|
|
|
|
|
|
| |
Bug: 6669677
Bug: 10667710
Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug: 6669677
Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
|
|/
|
|
|
|
|
|
| |
It was possible that fetchNextTasks() would be called by multiple
threads concurrently.
If it happens, some tasks in the task queues might be ignored.
Change-Id: Idc81c43c45e382da3850cc55b9a42c281548d2a8
|
|
|
|
|
| |
Bug: 6669677
Change-Id: Ie90417fa9b726454fe729a665fcd549efabb9e94
|
|
|
|
| |
Change-Id: Id185224d135c8571a39efe8a41a66ce769142903
|
|
|
|
| |
Change-Id: I003b769e408ebd692085a7e17fed6d9396876202
|
|
|
|
|
|
| |
Bug: 10667710
Change-Id: I45ebb08cb4ef9a9f6d2da31e2c50e740f88209c2
|
|
|
|
|
| |
Bug: 6669677
Change-Id: I06afad35d3eb73510c34d10cd4116f5bcf934f7c
|
|
|
|
| |
Change-Id: If92bf1e3908257c4c0cd68d041b122404e301e08
|