aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2018-08-04Import translations. DO NOT MERGE•••Change-Id: I3aa89ae1670744014b169157832143e462dfaf4f Auto-generated-cl: translation import Bill Yi13-18/+18
2018-08-04Import translations. DO NOT MERGE•••Change-Id: I72cb33f43c33497c1f022aee66c7b87cc46af6a8 Auto-generated-cl: translation import Bill Yi1-1/+1
2018-08-04Import translations. DO NOT MERGE•••Change-Id: I8892576a36ac7ad3f113db815bfa5d85d3272f6f Auto-generated-cl: translation import Bill Yi15-39/+39
2018-08-04Import translations. DO NOT MERGE•••Change-Id: Id73e068efeb13735eca3fd8009100ea4323e4129 Auto-generated-cl: translation import Bill Yi2-2/+2
2018-08-04Import translations. DO NOT MERGE•••Change-Id: I0b1ba5a559b21086273b6aeb51a4594fd103f581 Auto-generated-cl: translation import Bill Yi1-1/+1
2018-08-01Import translations. DO NOT MERGE•••Change-Id: I4d394e997b58cd7dd2768861a3da887fdb7c1c6d Auto-generated-cl: translation import Bill Yi1-1/+1
2018-08-01Import translations. DO NOT MERGE•••Change-Id: Ifaf4318866c3ba72adee1190e0dfce8506fbd7b0 Auto-generated-cl: translation import Bill Yi1-1/+1
2018-07-25Let Android Studio use 'shared' cert to build APK•••make build uses 'shared' cert in build/make/target/product/security/. If LatinIME APK built with AndroidStudio doesn't use the same signing cert, then you cannot install the APK into AOSP image, which is not convenient. With this CL, AndroidStudio build also uses the same signing cert. Note that shared.keystore was built as follows. $ openssl pkcs8 -inform DER -nocrypt \ -in build/make/target/product/security/shared.pk8 \ -out shared.pem $ openssl pkcs12 -export \ -in build/make/target/product/security/shared.x509.pem \ -inkey shared.pem -out shared.p12 \ -password pass:android -name AndroidDebugKey $ keytool -importkeystore -deststorepass android \ -destkeystore shared.keystore -srckeystore shared.p12 \ -srcstoretype PKCS12 -srcstorepass android Fix: 110741422 Test: made sure that the APK built with Android Studio can be installed to an AOSP build Change-Id: I471a87e190b15ff02bb06849e4660ed7898897a5 Yohei Yukawa2-0/+8
2018-07-25Experimentally Support Android Studio to build LatinIME•••With this CL, you can build LatinIME and run tests for it on Android Studio. This is still experimental and is not an official way to build LatinIME though. Bug: 110741422 Test: Made sure that you can build LatinIME with Android Studio Change-Id: Ia75e3f74fa5f9b5f93dfac0b920c2e650aafa083 Yohei Yukawa6-0/+365
2018-07-25Fix lint warnings in LatinIME JNI code•••This CL addresses compiler warnings when building libjni_latinime.so with NDK from Android Studio. There should be no behavior change. Bug: 110741422 Bug: 110757803 Test: tapas LatinIME LatinIMETests arm64 userdebug && make -j Change-Id: Icc711dd46511a167b1fd90028552def5b2f9941f Yohei Yukawa2-2/+4
2018-07-25Specify version code in AndroidManifest.xml•••This should be the most convenient way for both make build and Android Studio build to share the same version code. Bug: 110741422 Test: tapas LatinIME LatinIMETests arm64 userdebug && make -j Change-Id: I35f850c392553b2640a4c3c7398441ac28e90eca Yohei Yukawa2-2/+4
2018-07-25Deprecate host-side C++ test in LatinIME•••Host-side C++ test in LatinIME is no longer actively used and is actually not compatible with Android Studio build. Let's just remove this for now. Bug: 13754552 Bug: 110741422 Test: compile Change-Id: I3e81285fe559022e1a296051036e74d2f2afbf9c Yohei Yukawa2-66/+0
2018-07-25Move <uses-sdk /> to a differnt XML•••Basically Android Studio does want targetSdkVersion to be specified in build.gradle rather than AndroidManifest.xml. To make both make build and Android Studio build happy, this CL splits <uses-sdk /> from the main AndroidManifest.xml to a different file and let them merged in make build. There should be no behavior change. Bug: 110741422 Test: Manually verified that there is no difference in AndroidManifest.xml in the APK. Change-Id: Ib673bca5a31b2f95329c9310a127ec0701bd8fdc Yohei Yukawa6-4/+48
2018-07-24Migrate 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 Yukawa2-24/+62
2018-07-23Migrate 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 Yukawa2-3/+0
2018-07-21Import translations. DO NOT MERGE•••Change-Id: I55e880457966992e25acd30cc65390e80fa4a515 Auto-generated-cl: translation import Bill Yi2-3/+3
2018-07-19Import translations. DO NOT MERGE•••Auto-generated-cl: translation import Bug: 64712476 Change-Id: I0a07d63a0916cf33bbebcf68bd58bef0dfb91826 Bill Yi3-6/+6
2018-07-19Import translations. DO NOT MERGE•••Auto-generated-cl: translation import Bug: 64712476 Change-Id: Ifffe3a45508e97013f768a0f7949cb2f8571acee Bill Yi1-1/+1
2018-07-19Import translations. DO NOT MERGE•••Auto-generated-cl: translation import Bug: 64712476 Change-Id: Icc6eca523dd0cad7c8087aa0ede4edbd7ac9d748 Bill Yi1-2/+2
2018-07-06Migrate 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 Yukawa19-126/+429
2018-07-06Migrate 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 Yukawa8-115/+206
2018-07-05Migrate 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 Yukawa3-24/+452
2018-07-05Migrate 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 Yukawa13-65/+206
2018-07-05Migrate 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 Yukawa3-9/+46
2018-07-04Remove 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 Yukawa2-1143/+0