aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-02-07Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: If684531601502dce2fa4c0fe36a1af2086226faa Auto-generated-cl: translation import
2019-02-05Support testing Direct Reply with EditTextVariations on API 24/25Yohei Yukawa2-18/+22
This is a follow up CL to my previous CL [1], which enabled us to test Direct-Reply with EditTextVariations. What this CL does are: * Specyfing min_sdk_version to avoid INSTALL_FAILED_OLDER_SDK error when installing on older devices. * Avoiding NoSuchMethodError on pre-O devices where Notification.Builder does not have a constructor that takes notification channel. * Fixing a race condition where notification can be sent before notification channel is created. [1]: Iafffcc7d138b0f502116a5e557f0c3f17e9d0b73 da2486fd63d7d46e982d0e2fb2eba3dac07aff32 Bug: 122957841 Test: Made sure that we can install EditTextVariations on N devices and "Direct-Reply" on EditTextVariations works there. Change-Id: Ib4fbd447608b111e763fde4287226cf7e206e65e
2019-02-02Import translations. DO NOT MERGEBill Yi1-189/+189
Change-Id: I58ea73335befe5324077a7775c4ff78f04ed1a4b Auto-generated-cl: translation import
2019-02-02Import translations. DO NOT MERGEBill Yi1-73/+73
Change-Id: I09408d72060cc69d3734647abe7969528539c1cc Auto-generated-cl: translation import
2019-02-02Import translations. DO NOT MERGEBill Yi1-179/+179
Change-Id: Ide4b5b729b9a7b482cfbd2aff914c3064f5ec668 Auto-generated-cl: translation import
2019-02-02Import translations. DO NOT MERGEBill Yi1-1281/+1281
Change-Id: Ie30d0bb36cd7157921f3745fe722f7c0c458e92f Auto-generated-cl: translation import
2019-02-02Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: Id25f8e0d7b2bb7c47e9f04e6355a10f2da9f9b25 Auto-generated-cl: translation import
2019-02-02Import translations. DO NOT MERGEBill Yi1-4/+4
Change-Id: I782e5d547025d56f98fc6a972c205367fa9e7bca Auto-generated-cl: translation import
2019-02-02Import translations. DO NOT MERGEBill Yi1-8/+8
Change-Id: I51b7669e416dce6ccf73724110d9ed446e0f2940 Auto-generated-cl: translation import
2019-01-28Import translations. DO NOT MERGEBill Yi1-5/+5
Change-Id: I9612b424937fd60ea265f2276d5a53ebe332afb9 Auto-generated-cl: translation import
2019-01-16Support testing Direct Reply with EditTextVariationsYohei Yukawa5-1/+162
With this CL, EditTextVariations is able to send Direct Repply notification so that we can easily test IME behaviors there. You don't need to set up a chat application then let it receive a message from someone else any more just to test IME behaviors on Direct Reply. Fix: 122957841 Test: manually done as follows. 1. tapas EditTextVariations 2. make -j 3. adb install -r \ $ANDROID_TARGET_OUT_TESTCASES/EditTextVariations/EditTextVariations.apk 4. Open EditTextVariations 5. Tap the menu icon. 6. Select "Direct Reply" 7. Make sure that there is a Direct Reply notification. Change-Id: Iafffcc7d138b0f502116a5e557f0c3f17e9d0b73
2019-01-13Import translations. DO NOT MERGEBill Yi1-2/+2
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I55aec88a6c77441c68c7121cab8dcce25d5ef4cc
2019-01-13Import translations. DO NOT MERGEBill Yi1-1/+1
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I9baa804b18e008b1083ef970d9d3c12498364744
2019-01-11Import translations. DO NOT MERGEBill Yi1-2/+2
Change-Id: I57c8de2acc020fdb8d30f8cdc6f5b616acc98eab Auto-generated-cl: translation import
2019-01-11Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I23b6acdfb44a25c8136764c6b1b254dd54e363a2 Auto-generated-cl: translation import
2019-01-11Move LatinIME and its lib to /productAnton Hansson3-0/+6
This app is frequently overriden by proprietary apps on shipping devices, so move it to /product along with its jni library. Bug: 122353713 Test: launch keyboard on aosp_arm64 emulator Change-Id: Ied8c1e6133b67e28da76b0e48254e2e2e0ed15bf
2018-12-28Import translations. DO NOT MERGEBill Yi5-17/+17
Auto-generated-cl: translation import Bug: 64712476 Change-Id: Id860302ad84eb62980b4a945874cb45edfdcc687
2018-12-28Import translations. DO NOT MERGEBill Yi2-4/+4
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I6c89395f7bef7820235bd25d506493ab2bd577e5
2018-12-28Import translations. DO NOT MERGEBill Yi3-7/+7
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I1bb720f59308fd358bf855f68bec70fa4884f197
2018-12-28Import translations. DO NOT MERGEBill Yi2-2/+2
Auto-generated-cl: translation import Bug: 64712476 Change-Id: Iedbf75b9435c748ada110ea50847d4be9efe5f79
2018-12-13Migrate packages/inputmethods/LatinIME to androidx.testBrett Chabot54-218/+238
See go/jetpack-test-android-migration Test: make checkbuild Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932
2018-12-11Fix performance-for-range-copy warningsChih-Hung Hsieh3-4/+4
Bug: 30413223 Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance* Change-Id: I06021a6597705515dc7a3cb81a7fbbac7ba344a1
2018-12-11Import translations. DO NOT MERGEBill Yi2-4/+4
Change-Id: Ife74efb16f80197258d9d56f26a5e8253fa9e503 Auto-generated-cl: translation import
2018-12-11Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I390f4cc2cb95c7f814594b8ade8d41086e6772df Auto-generated-cl: translation import
2018-12-06Import translations. DO NOT MERGEBill Yi2-3/+3
Change-Id: I8f5a587e64d849d775f31e7f3383b2ea2f7c4146 Auto-generated-cl: translation import
2018-11-19Move MODULE_LICENSE_APACHE2 to the project top dirYohei Yukawa2-0/+192
In general files in LatinIME project should be Apache 2 license (unless some exceptional note is there). This is not limited to Java source files. Hence moving MODULE_LICENSE_APACHE2 [1] to the project top directory would make much more sense to avoid possible confusions. NOTICE file is a bit complicated because it also needs to be copied into the system image. Since the actual build rule for LatinIME.apk is placed as java/Android.bp, and notice: "../NOTICE" is something that is not supported / recommended, this CL just copies NOTICE file from java/NOTICE to the top level directory. Note also that NOTICE for LatinIME has a special notation [2]. [1]: Originally added in the following CL for Bug 2548782 If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4 443c360d0afdbab091994244f045f4756feaf2b4 [2]: Originally added in the following CL for Bug 7285172 Ib4f4e433850d3f58e0a7cef205be4dc59c7f28c4 49d301e9ad470a83048e0a5093cd88e54dd491be Test: Locally verified as follows: lunch aosp_taimen-userdebug make -j cat $OUT/obj/NOTICE_FILES/src/system/app/LatinIME/LatinIME.apk.txt Change-Id: I0ca84c46125de7f86f9e26906e107ac9ad7af177
2018-11-13Bump targetSdkVersion to "28" and minSdkVersion to "21"Yohei Yukawa3-4/+4
With this CL, targetSdkVersion and minSdkVersion will be bumped as follows: targetSdkVersion: 23 -> 28 minSdkVersion: 14 -> 21 As far as we know, there should be no user-visible behavior change on supported OS versions. Fix: 119489995 Test: manually verified that LatinIME still is functional Change-Id: I68f1545778b0c8b44c6850f22f3f5ca25bdb6de0
2018-11-13Re-introduce <uses-sdk> to the main AndroidManifest.xmlYohei Yukawa2-0/+4
This logically reverts my previous CL [1], which moved <uses-sdk /> from AndroidManifest.xml to AndroidManifest_SdkVersion.xml, which was later accidentally removed during Android.bp migration [2]. Since gradle support in LatinIME is still experimental and not used in official build, it is OK to keep it broken for a while. A more important problem right now is letting LatinIME target API 28. As the first step to let LatinIME target SDK 28, <uses-sdk> will be revived in AndroidManifest.xml [1]: Ib673bca5a31b2f95329c9310a127ec0701bd8fdc 9cd42f39eb31d4f0b9cb3a795025e8ab3663f3c8 [2]: Ib8867d3b74f09fc1d9f95adc9a49a81ac0f7f054 22ebec6e2e4bdf3f18023907e649c68ab8b3c7a3 Bug: 110741422 Bug: 119489995 Test: manually verified that LatinIME still is functional Change-Id: I8b04caa56fe2431c07e076fb6f97c560d5da8838
2018-11-10Import translations. DO NOT MERGEBill Yi1-1/+1
Auto-generated-cl: translation import Bug: 64712476 Change-Id: If1a85bd7e787396faf8fb780a96e598c81dc4087
2018-11-10Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: Iec7f8162a5f1fa6323b5aaad028982d27ae4d703 Auto-generated-cl: translation import
2018-11-09Import translations. DO NOT MERGEBill Yi1-2/+2
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I6dd75f52e619fdc8c3d54ea223f0e35171b3bc1c
2018-11-09Import translations. DO NOT MERGEBill Yi3-4/+4
Change-Id: I2cf19a83bd266325c4a1b37344bdab61753cdbca Auto-generated-cl: translation import
2018-11-06Import translations. DO NOT MERGEBill Yi1-1/+1
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I075d4469fed4c68a77c131c2f9d76ec283fe0b04
2018-11-02Import translations. DO NOT MERGEBill Yi1-1/+1
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I42759929af5c662c4b5d306b4967e67f5ad05547
2018-11-01Convert to Android.bpDan Willemsen39-1081/+533
See build/soong/README.md for more information. Test: cd packages/inputmethods/LatinIME; mma Change-Id: Ib8867d3b74f09fc1d9f95adc9a49a81ac0f7f054 Merged-In: Ib8867d3b74f09fc1d9f95adc9a49a81ac0f7f054
2018-10-31Convert to Android.bpDan Willemsen41-1089/+537
See build/soong/README.md for more information. Test: cd packages/inputmethods/LatinIME; mma Change-Id: Ib8867d3b74f09fc1d9f95adc9a49a81ac0f7f054
2018-10-29Fix dicttool buildTadashi G. Takaoka12-61/+1193
This CL partially reverts - Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c - I05c7d8429e8d9a26139456763c77997340fea8c2 And followup (remove shortcut support) - I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Bug: 28255684 Test: make -j10 dicttool_aosp Change-Id: I2e01ed86b9517a1141aee35ea6d8ef39258981d1
2018-10-28Import translations. DO NOT MERGEBill Yi1-3/+3
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I27785eae6f6e44e130a7cad0cfedeb8ed630e95f
2018-10-25Import translations. DO NOT MERGEBill Yi2-5/+5
Change-Id: I60b4bb2939b9e6bb73072b3c2e96ca197c41f6f2 Auto-generated-cl: translation import
2018-10-15Import translations. DO NOT MERGEBill Yi1-2/+2
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I8f0f4691bcdb730d71feae0616c65f1e38b99b06
2018-10-13Import translations. DO NOT MERGEBill Yi43-150/+150
Change-Id: Id26d6b48ca52c631b3f2041682663f07b49e4b80 Auto-generated-cl: translation import
2018-10-13Import translations. DO NOT MERGEBill Yi13-18/+18
Change-Id: I76dbccb4e65ebb99db55049222d6fe361d08d9fc Auto-generated-cl: translation import
2018-10-13Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I0606bc4b8d8c37ef386f1af4764a6887b86017f5 Auto-generated-cl: translation import
2018-10-13Import translations. DO NOT MERGEBill Yi16-42/+42
Change-Id: Id8ca0f5d84e52df495611542f8c52e63329d531a Auto-generated-cl: translation import
2018-10-13Import translations. DO NOT MERGEBill Yi2-2/+2
Change-Id: I915ddb171c85d7f9f1428bb52e60727a9e254a60 Auto-generated-cl: translation import
2018-10-13Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I521ffadf560fd919a12387844ba6799a024884b1 Auto-generated-cl: translation import
2018-10-10Remove paulduffin@ from OWNERSPaul Duffin1-3/+0
Test: n/a Change-Id: I24503d403feefbed40475660983493fb2991d9a8