Commit Graph

40891 Commits (bfa5581857086948ffa5d732e4a095d548b218f6)

Author SHA1 Message Date
Yohei Yukawa bfa5581857 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
2018-07-05 13:44:00 -07:00
Yohei Yukawa 2802250415 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
2018-07-04 23:13:18 -07:00
Yohei Yukawa f623196477 Add AndroidTest.xml for LatinIME
Fix: 111161344
Test: Manually tested as follows
        tapas adb LatinIME LatinIMETests arm64 userdebug && \
        DISABLE_PROGUARD=true make -j LatinIME && \
        adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
        atest LatinIMETests
Change-Id: If9f5691d5c624c9856acd31a3e1de307360d2c7c
2018-07-04 18:25:53 -07:00
TreeHugger Robot 416889655a Merge "Import translations. DO NOT MERGE" 2018-06-27 17:38:20 +00:00
TreeHugger Robot b5e50dd6b5 Merge "Import translations. DO NOT MERGE" 2018-06-27 17:30:51 +00:00
Bill Yi 615a9ff532 Import translations. DO NOT MERGE
Change-Id: Ib1fbe9d70fcb60c19b0323490a6b8cb147e83bed
Auto-generated-cl: translation import
2018-06-27 08:51:02 -07:00
Bill Yi eb5173e7b3 Import translations. DO NOT MERGE
Change-Id: I3494a9c6608aafc5406ca9a6f341983fe82feccc
Auto-generated-cl: translation import
2018-06-27 08:50:14 -07:00
Bill Yi e58de4a04e Import translations. DO NOT MERGE
Change-Id: Ia3fb708923998222608c8c4de5617ee4ad6e936d
Auto-generated-cl: translation import
2018-06-27 08:48:22 -07:00
TreeHugger Robot f1185e3120 Merge "Merge inputmethodcommon into LatinIME repo" 2018-06-25 16:24:57 +00:00
Yohei Yukawa 5b65f03cff Remove an unused layout file
This layout file was copied from Settings app but in LatinIME it has
never been used.  Also, android:onClick attributes in that layout file
are pointing to non-existing method in LatinIME, which causes lint
warnings.

Since tihs files has never been used in LatinIME, there should be no
user-visible behavior change.

Bug: 110757803
Test: tapas LatinIME && make -j
Change-Id: Ib51744979df333ac432aefc54ef7d0f413cf6161
2018-06-24 16:50:43 -07:00
Yohei Yukawa 733a0ea406 Merge inputmethodcommon into LatinIME repo
This is a preparation to deprecate frameworks/opt/inputmethodcommon
repository.

Currently repository 'inputmethodcommon' is used only from LatinIME.
Having such a repository only for one project is overkill.  Also, to
add gradle build support to LatinIME project, it would be much easier
LatinIME didn't have such a dependency.

This CL mechanically copies files in 'inputmethodcommon' repository to
'LatinIME' repository.  In theory there should be no behavior change.

Bug: 110741521
Test: tapas LatinIME && make -j
Change-Id: I3fabb038be9a944dcd9ef79ffcc89800a5f0bf5a
2018-06-24 15:52:36 -07:00
Bill Yi 97763ae8c8 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 900a59f177 -s ours
am: da96495c86  -s ours

Change-Id: I14e5d966b8c80f2fcd183caac830f58be76f2611
2018-06-21 17:08:06 -07:00
Bill Yi da96495c86 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 900a59f177  -s ours

Change-Id: If686cbc8844e0dd19d1f37b1012aa1159bafe78e
2018-06-21 17:05:17 -07:00
TreeHugger Robot 900a59f177 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-22 00:01:23 +00:00
Bill Yi aa125d95ea [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 79f43db513 -s ours
am: 30b871c550  -s ours

Change-Id: Ic0aaf1b5f4a486cc9717c853002a80f6814a3b0b
2018-06-21 16:07:35 -07:00
Bill Yi d0fd836f1b [automerger skipped] Import translations. DO NOT MERGE am: 3fc7472bcf -s ours
am: 6e78ee9f84  -s ours

Change-Id: I908e1bfe8568128f71a710d62c340effda6482f6
2018-06-21 16:03:18 -07:00
Bill Yi 30b871c550 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 79f43db513  -s ours

Change-Id: I7e2c2f6b4081255210a646b9023e9173f7130d56
2018-06-21 16:03:17 -07:00
Bill Yi 6e78ee9f84 [automerger skipped] Import translations. DO NOT MERGE
am: 3fc7472bcf  -s ours

Change-Id: I004f85a326da76a65c1d8fa8072ba719c5e42344
2018-06-21 16:00:38 -07:00
TreeHugger Robot 79f43db513 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-21 22:59:59 +00:00
Bill Yi 3fc7472bcf Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ifdefd11713addfc8ffedee5f65b9c842cbe3a435
2018-06-21 12:18:33 -07:00
Bill Yi e0a1f83d8b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3a99b392b7d303bac6c0e702029642b75419a6cb
2018-06-21 12:17:47 -07:00
Bill Yi d25ca81e5d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8984bc6cf378f0efcbcb0e7a1d601614045c6d10
2018-06-21 12:15:36 -07:00
TreeHugger Robot 4569741c3f Merge "Import translations. DO NOT MERGE" 2018-06-20 22:08:13 +00:00
TreeHugger Robot 92734fcbae Merge "Import translations. DO NOT MERGE" 2018-06-20 22:04:12 +00:00
Bill Yi dd57cac3e8 Import translations. DO NOT MERGE
Change-Id: I161eb84ec4a68d0983aeaffad5ac4b4f68e64afc
Auto-generated-cl: translation import
2018-06-20 11:32:37 -07:00
Bill Yi 342c8a31c0 Import translations. DO NOT MERGE
Change-Id: I5e073ffc26f474f27faafc7f0e1c28858a0f2d1a
Auto-generated-cl: translation import
2018-06-20 11:31:47 -07:00
Bill Yi d995f95355 Import translations. DO NOT MERGE
Change-Id: I268ff60118e223b9645b93e6af9ec75efb2d8003
Auto-generated-cl: translation import
2018-06-20 11:29:50 -07:00
Xin Li 3603fb9848 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master am: 787b1fd397
am: d3bd55ff36

Change-Id: I5634d7f941eb68ae2c60074dc35483b8d70249e0
2018-06-09 07:00:50 -07:00
Xin Li d3bd55ff36 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
am: 787b1fd397

Change-Id: I7d53b153be2c2ae7953862b31c33924b3a4b69a7
2018-06-09 03:32:22 -07:00
Xin Li 787b1fd397 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Bug: 79597307
Change-Id: I76aba51f6b8badf493af7f7c5311cc4d64ae92da
2018-06-08 11:08:09 -07:00
Bill Yi 9d6ea8f64b [automerger skipped] Import translations. DO NOT MERGE am: 5223e55714 -s ours
am: fe98372052  -s ours

Change-Id: Ia7a523f3f12cd60f8f98d28a506f70ef406c2f66
2018-06-04 12:08:40 -07:00
Bill Yi fe98372052 [automerger skipped] Import translations. DO NOT MERGE
am: 5223e55714  -s ours

Change-Id: Idad46c75f15d0c86502a6da620729217798fbe66
2018-06-04 10:13:46 -07:00
Bill Yi 5223e55714 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Idfabfb70bd18c49a7c22d374d3679682228e9a6f
2018-06-03 12:00:24 -07:00
TreeHugger Robot 92db44e865 Merge "Import translations. DO NOT MERGE" 2018-05-26 02:39:44 +00:00
TreeHugger Robot 0a26d64aca Merge "Import translations. DO NOT MERGE" 2018-05-25 23:25:47 +00:00
Bill Yi 9ae5e45ddc [automerger skipped] Import translations. DO NOT MERGE am: 6f52cfc821 -s ours
am: d6cc05be1d  -s ours

Change-Id: Ia7eb3eafb6844300693c864ddad35cbb5a7de9f9
2018-05-25 12:11:19 -07:00
Bill Yi d6cc05be1d [automerger skipped] Import translations. DO NOT MERGE
am: 6f52cfc821  -s ours

Change-Id: Ie9432dc64b559b374b19eeeb935f7ef7068c1ab3
2018-05-25 12:07:42 -07:00
Bill Yi 339789cccd [automerger skipped] Import translations. DO NOT MERGE am: 1896f3436b -s ours
am: b1283460a2  -s ours

Change-Id: Iaf54d091ca2482b3d413f9e9796db9baff4406f9
2018-05-24 22:56:11 -07:00
Bill Yi 6f52cfc821 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie39b03988909ff74c926f29324818007de3c624b
2018-05-24 17:09:14 -07:00
Bill Yi e5218a757b Import translations. DO NOT MERGE
Change-Id: Ia196c88f1238f9b8332beaff05066fb585dc899f
Auto-generated-cl: translation import
2018-05-24 17:08:22 -07:00
Bill Yi e3406ff0c1 Import translations. DO NOT MERGE
Change-Id: If609cecd258ccedd9073d17d342e2847e2f19909
Auto-generated-cl: translation import
2018-05-24 16:59:38 -07:00
Bill Yi b1283460a2 [automerger skipped] Import translations. DO NOT MERGE
am: 1896f3436b  -s ours

Change-Id: I01e54375e0cc37def80a199a8ce2fbeb8fb37865
2018-05-23 14:25:58 -07:00
Bill Yi 1896f3436b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie24f420e99418085e9c202fdea3dac9773fb30a5
2018-05-22 16:31:38 -07:00
Yohei Yukawa f97da47c02 Opensource a test tool called EditTextVariations
This CL opensouces a testing tool called EditTextVariations that has
been used internally to test IME behaviors on various
EditorInfo#inputType and EditorInfo#imeOptions.

Bug: 80039502
Test: Manually verified as follows.
 1. tapas EditTextVariations
 2. make -j
 3. adb install -r $ANDROID_TARGET_OUT_TESTCASES/EditTextVariations/EditTextVariations.apk
Change-Id: Ia87e655573c2fd1fc09d56e4af90bfb1dfd65f9b
2018-05-22 10:31:28 -07:00
Bill Yi a3b17c255d [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 2435eb87ba -s ours
am: 6edf41eede  -s ours

Change-Id: I121d5f4aab7996fa7c293c6677c12fc06cd681a8
2018-05-20 07:00:30 -07:00
Bill Yi 09b06a522b [automerger skipped] Import translations. DO NOT MERGE am: cf0305126e -s ours
am: de25c764a2  -s ours

Change-Id: I3f054fdfb7aec3d6fef1ab879b672922eb56c5ee
2018-05-20 06:59:42 -07:00
Bill Yi 6edf41eede [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 2435eb87ba  -s ours

Change-Id: I93b6417a13e9682cc29befcd41ce97db5e81b06b
2018-05-20 06:55:51 -07:00
Bill Yi de25c764a2 [automerger skipped] Import translations. DO NOT MERGE
am: cf0305126e  -s ours

Change-Id: Iab985c4b58208fbd669d79468895e1673e95ead9
2018-05-20 06:55:07 -07:00
TreeHugger Robot 2435eb87ba Merge "Import translations. DO NOT MERGE" into pi-dev 2018-05-20 13:49:14 +00:00
Bill Yi cf0305126e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7a1a6a0b898a05da415b67c0e963bb32122c850f
2018-05-20 04:06:48 -07:00