Commit Graph

14446 Commits (a2695d0ca6d6fbe03aed87513cdf54ae440e08f0)

Author SHA1 Message Date
Seigo Nonaka f53e034a17 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: I2ffb39ff70f61e579b62761d3da526a545dead1f
2020-07-22 14:08:35 -07:00
Ashwini Oruganti 7c1b5497f2 Add an exported flag in manifest
With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for S+. This change adds the value reflecting the previous
default to the manifest.

These changes were made using an automated tool, the xml file may be
reformatted slightly creating a larger diff. The only "real" change is
the addition of "android:exported" to activities, services, and
receivers that have one or more intent-filters.

Bug: 150232615
Test: TH
Exempt-From-Owner-Approval: mechanical refactoring
Change-Id: Idc43e262fd2911e19f0bcd20add29e4c3392d3da
2020-03-23 16:23:26 -07:00
Ryan Lin c3eafcb756 Merge "Implement text entry key API for accessibility services in AOSP Keyboard" 2019-12-04 08:41:04 +00:00
Alex Henrie fa276af7df Merge "Support polytonic Greek diacritics in the Greek keyboard"
am: f64e2769b7

Change-Id: I1a18716ff46f0d9aae119941d426ea1d778a5407
2019-11-25 18:55:11 -08:00
Treehugger Robot f64e2769b7 Merge "Support polytonic Greek diacritics in the Greek keyboard" 2019-11-26 02:42:31 +00:00
Alex Henrie 0cf4376826 Support polytonic Greek diacritics in the Greek keyboard
Although modern Greek is typically written with only acute accent marks,
polytonic diacritics are still used by the Greek orthodox church, the
Greek newspaper Estia, and students of classical Greek texts. Supporting
these special characters is helpful to all of those groups.

Note that for the short vowels (epsilon, upsilon, iota, and omicron) all
of the diacritics permitted on lowercase letters are also permitted on
their uppercase forms. However, for the long vowels (alpha, eta, and
omega) the diacritics permitted on uppercase letters are a subset of the
diacritics permitted on lowercase letters. That's just how Greek is.

Test: Manually turned on the Greek (Greece) keyboard in the aosp_x86-eng
emulator and tried out all the new characters with Shift, with Shift
Lock, and without any modifiers.

Bug: 142007431
Change-Id: Iec4a82cab02aea5176721e8447f7dfdba46bacb3
2019-10-13 17:36:45 -06:00
TreeHugger Robot 6a40932ee2 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2019-09-25 14:18:45 +00:00
TreeHugger Robot 9cee1b60eb Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2019-09-25 14:11:15 +00:00
TreeHugger Robot 54bcf4c593 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2019-09-25 14:11:13 +00:00
TreeHugger Robot 6e683f824a Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2019-09-25 14:07:40 +00:00
TreeHugger Robot 355dfa6850 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2019-09-25 13:58:13 +00:00
Bill Yi 71c0e9adab Import translations. DO NOT MERGE
Change-Id: Ib5d118c530a2f1a8a7671dcd5e5c3b77526b2582
Auto-generated-cl: translation import
2019-09-24 22:10:45 -07:00
Bill Yi d7efca3250 Import translations. DO NOT MERGE
Change-Id: Ic8c8b74c22d74c43897762200e7b0c925ce1e5c0
Auto-generated-cl: translation import
2019-09-24 22:10:05 -07:00
Bill Yi 5ac7c60248 Import translations. DO NOT MERGE
Change-Id: I35067db3dbae5228b51d48383eae67eba48a6717
Auto-generated-cl: translation import
2019-09-24 22:09:07 -07:00
Bill Yi 0cdbc7b3b9 Import translations. DO NOT MERGE
Change-Id: I8735b7149146b06e4f2df15c746c24ca83b97b94
Auto-generated-cl: translation import
2019-09-24 22:08:29 -07:00
Bill Yi 3f805692b0 Import translations. DO NOT MERGE
Change-Id: I25500c09630cd8037896424a30086207d489467b
Auto-generated-cl: translation import
2019-09-24 22:07:17 -07:00
Bill Yi 1cad92ede4 Import translations. DO NOT MERGE
Change-Id: I15b1a2d1ad1b939ef39ef2484f779668c54a1bf8
Auto-generated-cl: translation import
2019-09-24 22:06:40 -07:00
ryanlwlin 389e849a42 Implement text entry key API for accessibility services in AOSP Keyboard
From Android Q, Talkback supports lift-to-type feature if the node claims
it is a text entry key via setTextEntryKey(). We implement this API to
show how this API is applied.

This CL uses AccessibilityNodeInfoCompat instead of AccessibilityNodeInfo
so that the same functionality can be used even on pre-Q devices when
the AccessibilityService supports it.
With that, this CL removes the legacy code of lift-to-type feature,
which was implemented in the AOSP Keyboard side.

Bug: 131644969

Test: manual - enable Talkback suporting lift-to-type,check Talback
perform click action when finger is lifted.

Change-Id: I1ec2928f5a9ba0bde999b09d4c0b9c922f179a2a
2019-09-17 20:42:45 +08:00
lumark 87f14f1e18 Create display context when switching IME to new display for AOSP IME
To address IME service context's Resources / DisplayMetrics update
when switching IME window to another display after onConfigurationChange.

We use Context#createDisplayContext to create display specific context when
display changed, to ensure soft keyboard can re-layout with correct resources.

Bug: 126930163
Test: manual with AOSP IME as below steps:
     1) Settings > Developer options > enable "Simulated Display" & "Force desktop mode".
     2) Reboot device
     3) Launch app (i.e. Contacts) with bluetooth or usb mouse in Simulated display.
     4) Tap EditText on app to see see if IME window layout correctly on simulated display.
     5) Launch app (i.e Files) on primary display.
     6) Tap EditText on app to see if IME window layout correctly on primary display.

Change-Id: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed
Merged-In: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed
2019-09-11 02:02:48 +00:00
lumark b1dec95c37 Merge "Remove extend touchable region for AOSP keyboard"
am: ff1db79a18

Change-Id: Ic162b5e20213a3f1b2aeaf77250bf1d7edc198c5
2019-07-05 07:45:50 -07:00
lumark b4360e65ca Remove extend touchable region for AOSP keyboard
Remove EXTENDED_TOUCHABLE_REGION_HEIGHT from LatinIME#onComputeInsets
to prevent keyboard touch region covered navigation bar
when in split-window mode with display density < 240 case.

Fix: 134893742
Test: manual as below steps:
1) Set window density as 240 with "adb shell wm density 240"
2) Launch a app (i.e. Messages) from recents activity, set as split-screen mode.
3) Tap Search bar to show IME keyboard.
4) Press home / back / recents key if it works, expect it works.

Change-Id: I596b7276041fecc50d2bc095c7e51664f632368d
2019-07-05 03:30:10 +00:00
Xin Li a9e018f52d DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master
Bug: 132622481
Change-Id: I64de94291e8fb8ac0e0b574594c3923aeb97d21d
2019-05-13 15:39:17 -07:00
Yohei Yukawa d6c56279b3 Launch AOSP Keyboard Settings on the same display
am: d762841494

Change-Id: Id06f29304f0f1e47ee546bacbee28f66d15e8baa
2019-05-06 08:25:05 -07:00
Yohei Yukawa d762841494 Launch AOSP Keyboard Settings on the same display
This CL demonstrates how an IME can show an Activity on the display
where the IME is shown.  The key points are:

 * The current display ID can be obtained as follows.

    final int curentDisplayId = inputMethodService
            .getSystemService(WindowManager.class)
            .getDefaultDisplay()
            .getDisplayId();

 * When launching an Activity, specify the target display ID as
   follows.

    inputMethodService.startActivity(intent, ActivityOptions
            .makeBasic()
            .setLaunchDisplayId(curentDisplayId)
            .toBundle());

Fix: 131718879
Test: Manually verified as follows.
  1. Build aosp_blueline-userdebug and flash it.
  2. adb shell settings put global force_desktop_mode_on_external_displays 1
  3. adb shell settings put global overlay_display_devices 1920x1080/320
  4. adb reboot
  5. With a mouse, launch any application that has input field
     in the secondary display.
  6. Click that input field to bring up AOSP Keyboard.
  7. Long click the comma key then select the gear icon.
  8. Select "Android Keyboard Settings (AOSP)"
  9. Make sure that the AOSP Keyboard Settings is launched in
     the secondary display, not in the default display.
 10. Go back to the step 7.
 11. Select "Languages"
 12. Subtype Enabler for AOSP Keyboard is shown in the secondary
     display, not in the default display.
Change-Id: I9f89f371c38d9a7b5a06d018d4b41aa09815ea24
2019-05-04 09:52:07 -07:00
TreeHugger Robot 35cca31844 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-04 07:01:44 +00:00
TreeHugger Robot fed6dee6ce Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-04 06:59:34 +00:00
Bill Yi ac9ff315d9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5a1e14997b62527fe4b7c902855c999e06fee399
2019-05-03 19:49:02 -07:00
Bill Yi fa95428cd0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I28ede254065c4491af0c8f82f724e1f83d5a8c69
2019-05-03 19:47:52 -07:00
Bill Yi c21dbf355f Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icf4d8be7d9322b87d1d2eebe55c6b7d270f47a2b
2019-05-03 19:43:12 -07:00
Bill Yi dec7e77280 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I582cc100421d415defcd817a96191f6608eea8ad
2019-04-24 21:42:13 -07:00
TreeHugger Robot e73e47f83f Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:45:24 +00:00
TreeHugger Robot 7630c6c549 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:32:27 +00:00
TreeHugger Robot 1999854ad9 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:31:44 +00:00
TreeHugger Robot c96234e71c Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:27:32 +00:00
TreeHugger Robot b22d5f3fe7 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:27:12 +00:00
Bill Yi 86df8fb903 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibd1ea3ad66df1032a70a90f0f38df532b1f8e7a2
2019-04-16 19:28:34 -07:00
Bill Yi ceded9ebcb Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia43a2ac5c29cef680fb4e44ef12da74176726b3b
2019-04-16 19:27:49 -07:00
Bill Yi 56198b8702 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3dee70ec398ce7e6f4bfb4b677a97153906a9b19
2019-04-16 19:26:44 -07:00
Bill Yi 2c79d22ccd Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4a2e1950cd5eff7f1a64b023a15ec591f43b13c0
2019-04-16 19:26:01 -07:00
Bill Yi 9f3ef50e34 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3ffc9f82edaa14bc34372a9107e71e834a494c57
2019-04-16 19:24:27 -07:00
Bill Yi dea379f4ba Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id5f69f9696d57630083976b6e0b438409fc8b59e
2019-04-16 19:23:48 -07:00
TreeHugger Robot 9db1319d77 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-07 06:25:13 +00:00
Bill Yi ca994736cc Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7437c061744c3a3ff86c6b476ac1a87525fc74d8
2019-04-05 17:42:08 -07:00
Bill Yi 4be998498e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic1c492d7ebd6718099bc2b12f3daed09596218cd
2019-04-05 17:27:17 -07:00
Bill Yi 4292bf3f69 Import translations. DO NOT MERGE
Change-Id: I4f02f5f4ccc6ff864fb5120dc7766755fb773fcf
Auto-generated-cl: translation import
2019-03-23 07:56:54 -07:00
TreeHugger Robot 01090bdaaf Merge "Import translations. DO NOT MERGE" 2019-02-21 20:47:33 +00:00
TreeHugger Robot 769f5d069d Merge "Import translations. DO NOT MERGE" 2019-02-21 19:50:52 +00:00
TreeHugger Robot 4dc4196a34 Merge "Import translations. DO NOT MERGE" 2019-02-21 19:37:35 +00:00
TreeHugger Robot 289a72634b Merge "Import translations. DO NOT MERGE" into pi-dev 2019-02-21 18:47:25 +00:00
TreeHugger Robot 624bac2cd8 Merge "Import translations. DO NOT MERGE" into pi-dev 2019-02-21 18:36:34 +00:00