| Commit message (Expand) | Author | Age | Files | Lines |
* | Rename to Kelar Keyboard (org.kelar.inputmethod.latin) |  Amin Bandali | 2025-01-11 | 291 | -1231/+1221 |
* | Initial successful standalone build |  Amin Bandali | 2025-01-11 | 1 | -3/+4 |
* | Fix bug: AOSP keyboard is shown incompletely in Android V landscape mode•••Root cause: The AOSP keyboard uses `DisplayMetrics#widthPixels` to calculate the keyboard width and draw keys. Since Android 15’s edge-to-edge enforcement, this property now returns the full screen width, including window insets. This results in an incorrectly large key width calculation.
Fix: Subtract window insets including system bar and display cutout from the width.
Change-Id: Iea01ba749a48145cf5b484dc22a570874b1b7ca4
Test: use `m LatinIME` to install the AOSP keyboard and test landscape mode manually
Bug: 377594757
|  Ziqi Chen | 2024-11-26 | 1 | -1/+1 |
* | Update the imports to androidx.test.filters.*•••Bug: 316941721
Test: mmma .
Change-Id: I131993b35a6e350c9237f9d8422c3a274988bbfb
|  Fangqiu Su | 2024-05-09 | 1 | -3/+0 |
* | Update the imports to androidx.test.filters.*•••Bug: 316941721
Test: mmma .
Change-Id: I05a7d05dc8d0acb9baecf46357757ad2453f6dbc
|  Fangqiu Su | 2024-04-18 | 139 | -142/+173 |
* | Fix errorprone warnings that should be errors•••This commit is part of a large scale change to fix errorprone
errors that have been downgraded to warnings in the android
source tree, so that they can be promoted to errors again.
The full list of changes include the following, but not all
will be present in any one individual commit:
BadAnnotationImplementation
BadShiftAmount
BanJNDI
BoxedPrimitiveEquality
ComparableType
ComplexBooleanConstant
CollectionToArraySafeParameter
ConditionalExpressionNumericPromotion
DangerousLiteralNull
DoubleBraceInitialization
DurationFrom
DurationTemporalUnit
EmptyTopLevelDeclaration
EqualsNull
EqualsReference
FormatString
FromTemporalAccessor
GetClassOnAnnotation
GetClassOnClass
HashtableContains
IdentityBinaryExpression
IdentityHashMapBoxing
InstantTemporalUnit
InvalidTimeZoneID
InvalidZoneId
IsInstanceIncompatibleType
JUnitParameterMethodNotFound
LockOnBoxedPrimitive
MathRoundIntLong
MislabeledAndroidString
MisusedDayOfYear
MissingSuperCall
MisusedWeekYear
ModifyingCollectionWithItself
NoCanIgnoreReturnValueOnClasses
NonRuntimeAnnotation
NullableOnContainingClass
NullTernary
OverridesJavaxInjectableMethod
ParcelableCreator
PeriodFrom
PreconditionsInvalidPlaceholder
ProtoBuilderReturnValueIgnored
ProtoFieldNullComparison
RandomModInteger
RectIntersectReturnValueIgnored
ReturnValueIgnored
SelfAssignment
SelfComparison
SelfEquals
SizeGreaterThanOrEqualsZero
StringBuilderInitWithChar
TreeToString
TryFailThrowable
UnnecessaryCheckNotNull
UnusedCollectionModifiedInPlace
XorPower
See https://errorprone.info/bugpatterns for more
information on the checks.
Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I454a105ae82484a2d19aff1808e8d9dd55ba64f4
|  Cole Faust | 2022-10-17 | 2 | -2/+3 |
* | Update language to comply with Android’s inclusive language guidance•••See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Test: tapas LatinIME && m
Change-Id: Ic06f948c023a091e1532db826a78dd01031d7205
|  Seigo Nonaka | 2020-07-31 | 2 | -13/+13 |
* | Update language to comply with Android's inclusive language guidance•••See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Change-Id: I171bc299e660f96f20041a67a3052bd8a2ed781c
|  Jeff Sharkey | 2020-07-31 | 5 | -7/+7 |
* | Migrate packages/inputmethods/LatinIME to androidx.test•••See go/jetpack-test-android-migration
Test: make checkbuild
Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932
|  Brett Chabot | 2018-12-13 | 50 | -214/+234 |
* | Merge "Fix dicttool build" am: a92d0f9262 am: 438a303732•••am: 6aed05232b
Change-Id: I558fb5ff22a7428d1d82eac82b4caba469ed48d4
|  Tadashi G. Takaoka | 2018-10-31 | 4 | -0/+1169 |
|\ |
|
| * | Fix dicttool build•••This CL partially reverts
- Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c
- I05c7d8429e8d9a26139456763c77997340fea8c2
And followup (remove shortcut support)
- I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
Bug: 28255684
Test: make -j10 dicttool_aosp
Change-Id: I2e01ed86b9517a1141aee35ea6d8ef39258981d1
|  Tadashi G. Takaoka | 2018-10-29 | 4 | -0/+1169 |
* | | Add missing test runner annotations•••These tests are supposed to run even withotu @RunWith annocation, but
for better consistency we should have it there.
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.ContactsDictionaryUtilsTest && \
atest LatinIMETests:com.android.inputmethod.latin.ContactsContentObserverTest
Change-Id: I5c115d57b2ad41642f5f9b09b0c0d8f8c12480b0
|  Yohei Yukawa | 2018-08-13 | 2 | -2/+8 |
* | | Migrate to Android Testing Support Lib (part 7/N)•••InstrumentationTestCase and ActivityInstrumentationTestCase2 are
deprecated. This CL rewrites tests that rely on those deprecated
classes by using 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.keyboard.internal.MoreKeySpecStringReferenceTests LatinIMETests:com.android.inputmethod.latin.settings.AccountsSettingsFragmentTests
Change-Id: I4fefccaa0c480cfba7142ed36883da2f19b6a5f9
|  Yohei Yukawa | 2018-07-24 | 2 | -24/+62 |
* | | Migrate to Android Testing Support Lib (part 6/N)•••This is a follow up CL to previous CLs that converted unit tests to
use Android Testing Support Library but forgot to remove unused import
lines.
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: I8762b0dfc209bdf68867f725b03a22286026faae
|  Yohei Yukawa | 2018-07-23 | 2 | -3/+0 |
* | | Migrate to Android Testing Support Lib (part 5/N)•••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
|  Yohei Yukawa | 2018-07-06 | 19 | -126/+429 |
* | | Migrate to Android Testing Support Lib (part 4/N)•••This CL converts 7 test classes under com.android.inputmethod.keyboard
to Android Testing Support Library.
This CL also fix missing annotations in KeyboardLayoutTest.
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.keyboard
Change-Id: I8ab9e3329f159f0df02812fafe44c25efa76c0d1
|  Yohei Yukawa | 2018-07-06 | 8 | -115/+206 |
* | | Merge "Migrate to Android Testing Support Lib (part 3/N)" |  TreeHugger Robot | 2018-07-06 | 3 | -24/+452 |
|\ \ |
|
| * | | Migrate to Android Testing Support Lib (part 3/N)•••This CL converts the following 3 test cases to Android Testing Support
Library.
* MoreKeysKeyboardBuilderAutoOrderTests
* MoreKeysKeyboardBuilderFixedOrderTests
* MoreKeysKeyboardBuilderMaxOrderTests
Bug: 110805255
Test: atest LatinIMETests:com.android.inputmethod.keyboard.MoreKeysKeyboardBuilderAutoOrderTests
Test: atest LatinIMETests:com.android.inputmethod.keyboard.MoreKeysKeyboardBuilderFixedOrderTests
Test: atest LatinIMETests:com.android.inputmethod.keyboard.MoreKeysKeyboardBuilderMaxOrderTests
Change-Id: I68d6c1901d4bb77bdc59d0be71eb565984fbd97d
|  Yohei Yukawa | 2018-07-05 | 3 | -24/+452 |
* | | | Merge "Migrate to Android Testing Support Lib (part 2/N)" |  TreeHugger Robot | 2018-07-06 | 3 | -9/+46 |
|\ \ \ |
|
| * | | | Migrate to Android Testing Support Lib (part 2/N)•••This CL converts tests under com.android.inputmethod.compat 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.compat
Change-Id: I6766447ca27f5cccdb1e9f7e751235daa04cc252
|  Yohei Yukawa | 2018-07-05 | 3 | -9/+46 |
| |/ / |
|
* / / | Migrate to Android Testing Support Lib (part 1/N)•••This CL converts tests under com.android.inputmethod.latin.utils 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.utils
Change-Id: I5cc2ddbc4116003ab6407432ab521b6b560052ae
|  Yohei Yukawa | 2018-07-05 | 13 | -65/+206 |
|/ / |
|
* / | Remove unused class PersonalDictionaryLookup•••PersonalDictionaryLookup has never been used. Usually proguard can
remove this class but it also makes it difficult to run unit tests.
We should just remove this unused class.
Bug: 111164993
Test: compile
Test: No new test failure
Change-Id: I732db94cb3aac4ed9c6b5954679b896334a12a9c
|  Yohei Yukawa | 2018-07-04 | 1 | -492/+0 |
|/ |
|
* | [LatinIME] Support MNC permissions.•••This build has been compiled against API 23
This build is approved to go out with the M OTA, but may NOT be released
to the public until the Play Store has enabled API level 23 apps
Version: 4.1.2300x.build_id
1. Replaces the personalization is on information with the suggest
contacts.
2. Enables "Use Contacts" only if the app has permission to read
contacts.
3. Disables the contacts dictionary in the Facilitator.
4. Do not register/read the contacts in the contact observer.
Bug: 22236416
Change-Id: I9674e13d0d0f4a2014c5024fde0178de684c07e7
|  Mohammadinamul Sheik | 2015-07-15 | 1 | -145/+4 |
* | Fix breakage in tests.•••Change-Id: I4f0472b9f2ea2daeeba3025c588e6d0042c31be7
|  Tom Ouyang | 2015-06-23 | 1 | -18/+18 |
* | Always specify non-null Locale object to SuggestionSpan•••Confusingly, specifying a null Locale object to the constructor
of SuggestionSpan does not necessarily mean that
SuggestionSpan#getLocale() returns null. The constructor in
question also receives Context object, and Context's locale can
be used as a fallback locale to initialize locale of
SuggestionSpan.
With this CL, LatinIME always specify non-null Locale object
when instantiating SuggestionSpan object. It basically
corresponds to the active main dictionary, but can be
Locale#ROOT when one locale is not determined for some reasons.
BUG: 20435013
Change-Id: I2c152466410327300e7dba4d7ed9a22f57c17c4f
|  Yohei Yukaw | 2015-04-20 | 1 | -5/+39 |
* | Merge "Add affinity model for contact names." |  Tom Ouyang | 2015-04-17 | 1 | -10/+50 |
|\ |
|
| * | Add affinity model for contact names.•••This allows us to:
1. Rank contacts and only add the top N names to the keyboard LM.
2. Avoid adding duplicate names.
Note: The affinity calcualuation is limited by the fact that some apps
currently do not update the TIMES_CONTACTED counter. To better handle
this case, the new measure also takes into account whether or not a
name is in the visible contacts group.
Bug: 20053274
Change-Id: I2741cb8958667d4a294aba8c437a45cec4b42dc7
|  Tom Ouyang | 2015-04-16 | 1 | -10/+50 |
* | | Store raw strings for personal dictionary•••The raw strings would be sent to personal LM for decoding.
Earlier lowercased strings were being used with the purpose
of isValid checks (spelling does not consider casing for spell
checking calls). But for showing these in suggestion, we need the
raw strings.
Note: PersonalDictionaryLookup#getWordsForLocale is used to feed
the personal LM in PersonalLanguageModelHelper.
Bug:20152986
Change-Id: I9d796fa57bf2073036bf11d86b143ff205a6199c
|  Jatin Matani | 2015-04-13 | 1 | -1/+39 |
|/ |
|
* | Personal dictionary feeds a personal LM.•••Bug 20043003.
Change-Id: I5ccac344c089855474263d1cdc547da1e6779301
|  Dan Zivkovic | 2015-04-09 | 3 | -73/+126 |
* | Define stats for UserDictionaryLookup.•••Bug 20071513.
Change-Id: Iaab909575da29bfe6e17bb3865ce51d1e7720e7c
|  Dan Zivkovic | 2015-04-06 | 1 | -0/+46 |
* | Merge "Revert "Declare that LatinIME does not use cleartext network traffic."" |  Dan Zivkovic | 2015-04-06 | 1 | -5/+5 |
|\ |
|
| * | Revert "Declare that LatinIME does not use cleartext network traffic."•••This reverts commit 24a9683ac9fc1b6d3ac49de449ea4b2f155f26a9.
Change-Id: I6f305aac6ac8d5c550a39eb5c88ec2881203cecc
Reason: Breaks a clean build on master.
|  Dan Zivkovic | 2015-04-06 | 1 | -5/+5 |
* | | Merge "Declare that LatinIME does not use cleartext network traffic." |  Alex Klyubin | 2015-04-03 | 1 | -5/+5 |
|\| |
|
| * | Declare that LatinIME does not use cleartext network traffic.•••This declares to the platform and tools that this app does not use
cleartext network traffic. The platform and tools will be blocking
(on best effort basis) attempts to use such traffic by this app.
For example, attempts to use HTTP (rather than HTTPS) will be blocked.
Bug: 19215516
Change-Id: I4c933a214457025797e077b72d8daf8a0c876923
|  Alex Klyubin | 2015-04-02 | 1 | -5/+5 |
* | | Log interrupted tasks in AOSP.•••Bug 19987461.
Change-Id: Ia2714f555146f8f31a6d8c61f555d2b6fecdab7d
|  Dan Zivkovic | 2015-04-02 | 1 | -4/+4 |
* | | Add shortcut support to UserDictionaryLookup.•••Also move the class to the parent package, since it's no longer tied to the
spell checking service.
Bug 19966848.
Bug 20036810.
Change-Id: I35014d212fd87281eb90def03ee92e6872dcd63e
|  Dan Zivkovic | 2015-04-02 | 2 | -27/+107 |
|/ |
|
* | "spellcheking" needs spellchecking.•••Change-Id: Iaf4cd5d11b113be4738182fb662e5dc54b2f5366
|  Chieu Nguyen | 2015-03-27 | 1 | -1/+1 |
* | Use the complete Locale in generating the dictionary id.•••- Also deleted a couple of dead methods.
Bug:19929051
Change-Id: I4f88dbc2a8204d5e2a20d1ad8c205a23c6319f8d
|  Mohammadinamul Sheik | 2015-03-25 | 1 | -0/+18 |
* | Merge "Disable Hinglish locale." |  Chieu Nguyen | 2015-03-24 | 2 | -4/+4 |
|\ |
|
| * | Disable Hinglish locale.•••Bug: 19899126.
Change-Id: I1824233b3bcb6cb6579714a7eb375ea2cebc39db
|  Chieu Nguyen | 2015-03-23 | 2 | -4/+4 |
* | | We can't spell check Russian without an LM.•••Change-Id: I635a51acc2e45aebe23a1cf69da1b5c72a6ac9e1
|  Dan Zivkovic | 2015-03-23 | 2 | -10/+7 |
|/ |
|
* | We ship with English, so we can't unit test French•••Change-Id: I20a470a18ca0cd47fe7588958be904eb23fdf1a2
|  Dan Zivkovic | 2015-03-23 | 2 | -52/+8 |
* | Minor unit test fixes.•••Change-Id: I800bb33a10f31d5b934b00768bc8fe4776e36f90
|  Dan Zivkovic | 2015-03-23 | 2 | -6/+0 |
* | Move ManagedProfileUtils to overridable•••Bug:19532354
Change-Id: I50b3ae11b6e58f07b482353b624b1a7a73eadc99
|  Jatin Matani | 2015-03-23 | 1 | -3/+3 |
* | Fix InputLogicTests.•••Change-Id: Ie319a6087297251e6b22ffd80014b69c746458e0
|  Dan Zivkovic | 2015-03-20 | 1 | -70/+43 |
* | Retire Delight2 migration code to speed up tests.•••We're waiting 10 minutes for tests to run, and half of that time is spent in
depreacted code related to migration of Delight2 dictionary files.
LatinIME will never migrate another Delight2 dictionary file again, so we can
delete this code.
Change-Id: I05c7d8429e8d9a26139456763c77997340fea8c2
|  Dan Zivkovic | 2015-03-20 | 5 | -997/+23 |
* | Pass DictionaryFacilitator to GestureConsumer#onImeSuggestionsProcessed.•••Bug: 19712589
Change-Id: I81f9bf09b37487450780d85a1e4f752a9ba49370
|  David Faden | 2015-03-19 | 1 | -1/+1 |
* | Add prev words context to the SuggestedWordInfo.•••Bug: 19712589
Bug: 19715579
Change-Id: Ie06665cab8405455c1b0a2ff034e0bb0731c9156
|  Mohammadinamul Sheik | 2015-03-19 | 3 | -4/+6 |
* | Merge "Disable message if personalization is disabled." |  Chieu Nguyen | 2015-03-18 | 1 | -9/+33 |
|\ |
|
| * | Disable message if personalization is disabled.•••Bug: 19087415.
Change-Id: I3974f1b676aa4a9bb04ab7f609b6daf1860c64f1
|  Chieu Nguyen | 2015-03-18 | 1 | -9/+33 |