vineel sadineni
d256927b93
Migrated various apps under packages/inputmethods/LatinIME/ to androidx
...
Bug: 76692459
Test: mmma packages/inputmethods/LatinIME/
Change-Id: Ib76af6f6db1a0dd5cf64a06a4ea56151712e9692
2018-05-15 14:55:43 -07:00
Dmitry Torokhov
a2a057a991
Check if last shown Emoji category ID is still valid
...
When upgrading to a new version of APK we may find that the stored Emoji
category ID is no longer applicable. For example it happened when we
brought in the new Unicode 8.0 Emojis.
Also restore the "Symbols" emoji category on pre-kitkat devices which
was accidentally dropped when bringing in Unicode 8.0 Emojis.
b/25972978
Change-Id: I91c044603b0aac8757cb8597d3af995f84b822f3
2015-12-08 16:50:51 -08:00
Chieu Nguyen
7674a65367
Unicode 8.0 emoji additions to Google Keyboard.
...
Squashed commit of the following:
commit 8e86347b024e2460a17264fbcaa20cd6e5fd6018
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Tue Nov 10 11:29:44 2015 -0800
Remove check for version code.
This was unnecessary and caused multi-codepoint
emoji to not show up on any device.
Bug: 25369504
Change-Id: Ia1e61c052444aaab824b18463c26b5a8066c65ed
commit 1b924816665a3a2c48307dbdd1078f61dd3179f2
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 18:12:58 2015 -0800
Fix Material icons for new tab.
Bug: 25369504
Bug: 16185905
Change-Id: I873eb9e8fc1259ac94a974c04a80a4f0d005f9c2
commit 956d5f86d2552d90d2c3240a85d5c1cddf05eda9
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 17:16:10 2015 -0800
Remove extraneous TalkBack descriptions.
Bug: 25369504
Bug: 16185905
Change-Id: Iec4f0f46cf9dda169c5827168ef207e56d619096
commit 07357bdec69b5fc118c82401d59b61ad7b802c22
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 16:01:34 2015 -0800
Better checking of whether to display new emoji.
Bug: 25369504
Bug: 16185905
Change-Id: I61f1b428e5a805f66eb4e9db346be8756fc84b8f
commit 666a92f17034f5a1948e70f40226ed995c72d81f
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 12:54:53 2015 -0800
Fix shading on emoji category icons.
Bug: 25369504
Bug: 16185905
Change-Id: I217af3d97120e7910e9850de7ea331a461ae7e56
commit 2712432c0e7a1b90ebb7ed6bde8f87eec7bf1094
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 19:06:57 2015 -0800
Add new emoji categories to Holo Blue.
Bug: 25369504
Bug: 16185905
Change-Id: Ie32af93e68e08b36a4a5861a06de511b2b190dca
commit 04c79b1f53912b263d7f7eb8b71ac802ed960a8a
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 18:06:35 2015 -0800
Fix default category, remove xxxhdpi Holo icons.
Bug: 25369504
Bug: 16185905
Change-Id: I9bca795675297dceb93777d998e8f2935f7031a6
commit 15c0b578343db2baa873096891a69305398eb830
Merge: 77bc6fc 8604ce3
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 00:59:08 2015 +0000
Merge changes into jb-ub-latinimegoogle
commit 77bc6fcfd760232757b5751993c0046f2a43626a
Merge: b0380a0 8604ce3
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 00:59:04 2015 +0000
Merge "Remove Kosovo from flags (no glyph)." into
jb-ub-latinimegoogle
commit b0380a0744647039278ad6648b7a1bc94eeab623
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 16:42:24 2015 -0800
Add icons for new emoji categories.
Bug: 25369504
Bug: 16185905
Change-Id: I1182e031994332b2e618406ad1cd467cb050766e
commit 8604ce3a34b65598101cac37a3ed3e8087fe38ca
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 16:29:33 2015 -0800
Remove Kosovo from flags (no glyph).
Bug: 25369504
Bug: 16185905
Change-Id: I92c9ace19d3600cfa1f27678ada0cf45af42d8f5
commit e0489eab47d3a6d138bfa00a668f02bcb473cf88
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 14:30:58 2015 -0800
Update emoji set to blacklist non-color glyphs.
Bug: 25369504
Bug: 16185905
Change-Id: I8b54217fa68da8ddaa1bbcd1845e0123ed106463
commit 9ffdcdff058d6b44cab70e4fb0bb301e39699483
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Wed Nov 4 17:18:22 2015 -0800
Add Unicode 8.0 emoji to emoji palette.
Currently all emoji category tabs use the flower
icon. A future CL will update these once the
icons are finalized.
If glyphs do not exist for new emoji, the old
categories will be shown.
Bug: 25369504
Bug: 16185905
Change-Id: Ie3759bfc4c8469a17f3205b45609ce6ef7510121
commit 4a4a042072790b19048a14d2ddab655b1be31a6e
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Sun Nov 1 18:38:20 2015 -0800
Add description strings for Unicode 8.0 new emoji.
Bug: 16185905
Bug: 25369504
Change-Id: I6048609ace715a23db5f82d47fefe4868ccb3d17
Change-Id: I30a043554b14531ab9cf89a1f663b6970d7d6863
2015-11-11 11:04:45 -08:00
Ian Pedowitz
e1d5012683
Revert "Unicode 8.0 emoji changes to Google Keyboard."
...
This reverts commit 9cc42549d1
.
Change-Id: Ia3b037160e55bc54ef55194b967d9c91f6814ff8
2015-11-10 03:29:41 +00:00
Chieu Nguyen
9cc42549d1
Unicode 8.0 emoji changes to Google Keyboard.
...
Squashed commit of the following:
commit 1b924816665a3a2c48307dbdd1078f61dd3179f2
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 18:12:58 2015 -0800
Fix Material icons for new tab.
Bug: 25369504
Bug: 16185905
Change-Id: I873eb9e8fc1259ac94a974c04a80a4f0d005f9c2
commit 956d5f86d2552d90d2c3240a85d5c1cddf05eda9
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 17:16:10 2015 -0800
Remove extraneous TalkBack descriptions.
Bug: 25369504
Bug: 16185905
Change-Id: Iec4f0f46cf9dda169c5827168ef207e56d619096
commit 07357bdec69b5fc118c82401d59b61ad7b802c22
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 16:01:34 2015 -0800
Better checking of whether to display new emoji.
Bug: 25369504
Bug: 16185905
Change-Id: I61f1b428e5a805f66eb4e9db346be8756fc84b8f
commit 666a92f17034f5a1948e70f40226ed995c72d81f
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 12:54:53 2015 -0800
Fix shading on emoji category icons.
Bug: 25369504
Bug: 16185905
Change-Id: I217af3d97120e7910e9850de7ea331a461ae7e56
commit 2712432c0e7a1b90ebb7ed6bde8f87eec7bf1094
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 19:06:57 2015 -0800
Add new emoji categories to Holo Blue.
Bug: 25369504
Bug: 16185905
Change-Id: Ie32af93e68e08b36a4a5861a06de511b2b190dca
commit 04c79b1f53912b263d7f7eb8b71ac802ed960a8a
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 18:06:35 2015 -0800
Fix default category, remove xxxhdpi Holo icons.
Bug: 25369504
Bug: 16185905
Change-Id: I9bca795675297dceb93777d998e8f2935f7031a6
commit 15c0b578343db2baa873096891a69305398eb830
Merge: 77bc6fc 8604ce3
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 00:59:08 2015 +0000
Merge changes into jb-ub-latinimegoogle
commit 77bc6fcfd760232757b5751993c0046f2a43626a
Merge: b0380a0 8604ce3
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Fri Nov 6 00:59:04 2015 +0000
Merge "Remove Kosovo from flags (no glyph)." into
jb-ub-latinimegoogle
commit b0380a0744647039278ad6648b7a1bc94eeab623
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 16:42:24 2015 -0800
Add icons for new emoji categories.
Bug: 25369504
Bug: 16185905
Change-Id: I1182e031994332b2e618406ad1cd467cb050766e
commit 8604ce3a34b65598101cac37a3ed3e8087fe38ca
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 16:29:33 2015 -0800
Remove Kosovo from flags (no glyph).
Bug: 25369504
Bug: 16185905
Change-Id: I92c9ace19d3600cfa1f27678ada0cf45af42d8f5
commit e0489eab47d3a6d138bfa00a668f02bcb473cf88
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Thu Nov 5 14:30:58 2015 -0800
Update emoji set to blacklist non-color glyphs.
Bug: 25369504
Bug: 16185905
Change-Id: I8b54217fa68da8ddaa1bbcd1845e0123ed106463
commit 9ffdcdff058d6b44cab70e4fb0bb301e39699483
Author: Chieu Nguyen <cvnguyen@google.com>
Date: Wed Nov 4 17:18:22 2015 -0800
Add Unicode 8.0 emoji to emoji palette.
Currently all emoji category tabs use the flower
icon. A future CL will update these once the
icons are finalized.
If glyphs do not exist for new emoji, the old
categories will be shown.
Bug: 25369504
Bug: 16185905
Change-Id: Ie3759bfc4c8469a17f3205b45609ce6ef7510121
Change-Id: Ia5a5879cea828ea4cb4c678765fe5d9e5ecbfcd2
2015-11-06 18:22:05 -08:00
Dmitry Torokhov
28e65858d9
Do not start in recents tab if we do not have recent emojis
...
If user has not used emojis we should not bring recents emoji tab on the
first invocation of the on-screen keyboard as it is confusing to see an
empty tab.
We will still be showing recents tab even if it is empty if user
actively switched to it when using on-screen keyboard.
Bug: 24497650
Change-Id: I68b4bf64441590858d246168cc4733a2875a1357
(cherry picked from commit 24d67eba27cb23c0d3aca44236247ec12380daa5)
2015-10-15 12:47:32 -07:00
Chieu Nguyen
60835872a1
Set background color for emoji category tabs.
...
Bug: 19686516.
Change-Id: I519d09491ded4f5d85a5951afb48a9638b5fe652
2015-03-18 18:48:30 -07:00
Dan Zivkovic
00ae43316e
Fix delete handling in Emoji keyboard.
...
Bug 19113652.
Change-Id: I4255c248a25bb92f5c12da6a185d17cc13a9a69d
2015-02-03 18:27:17 -08:00
Dan Zivkovic
23574d1231
LatinIME portion of "green plus" feature.
...
Removes the feature that adds strings to the user dictionary,
aka the "green highlight with a plus sign".
Bug 19237189.
Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735
2015-02-03 15:12:01 -08:00
Dan Zivkovic
53e81fdc55
Remove custom code for Emoji keyboard Delete key.
...
The code tries to implement a completely separate touch handler for the Delete
key, so it can do fancy things like suppress haptic feedback during long press.
This is not really necessary.
Change-Id: I0eae758b617e94605035c40e0df15d972ae733c1
2015-02-02 15:24:17 -08:00
Tadashi G. Takaoka
be819dbe2b
Revert "Add keyboard margin options to place the keyboard dynamically."
...
This reverts commit 8584db1461
.
Bug: 18675223
Bug: 18675476
Change-Id: I4e25d87ac261c44b1943df832115f8cca690103a
2014-12-09 17:53:24 +09:00
Andy Wang
8584db1461
Add keyboard margin options to place the keyboard dynamically.
...
Keyboard location and location can now be set in the debug options
section.
Change-Id: I87c5a1d679489e12dccf26632c399af28087629e
2014-12-05 16:21:20 +09:00
Tadashi G. Takaoka
2a7da0ab87
Move some methods out from SubtypeSwitcher
...
Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
2014-11-06 11:51:01 -08:00
Tadashi G. Takaoka
b1439c2872
Fix EmojiPageKeyboardView onPress bug
...
Change-Id: I110f36e0547be4957656217c42a8dafd9359b700
2014-11-04 20:27:39 +09:00
Tadashi G. Takaoka
a5d24336bf
Revert "Fix Emoji key feedback"
...
This reverts commit 953858d615
.
The original CL should be split into two.
Change-Id: Ic1d032e2964a1b9bb44d98bdb8573c6cb47a865c
2014-11-04 11:24:26 +00:00
Tadashi G. Takaoka
953858d615
Fix Emoji key feedback
...
Bug: 18166905
Change-Id: I3c3296cabeed31e1250ff0753ea94576b494b96a
2014-11-04 17:49:18 +09:00
Ken Wakasa
53b010384e
Remove an unused import
...
Follow up to I2b81450f99d7b4493ba0fc5e502f4333b8db48cd
Change-Id: I3d106db076e8181b65ce6843b801d12c6ca0adb1
2014-10-24 21:36:24 +09:00
Ken Wakasa
23a357d71d
Small cleanup
...
Change-Id: I2b81450f99d7b4493ba0fc5e502f4333b8db48cd
2014-10-24 19:47:26 +09:00
Ken Wakasa
9342484e8d
Move Constants.java to the latin.common package
...
Our intention is to have classes of latinime-common under the common
package as much as we can.
Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
2014-10-23 20:27:37 +09:00
Tadashi G. Takaoka
5f00fe09e9
Fix some compiler warnings
...
This CL fixes the following compiler warnings.
- Indirect access to static member
- Access to a non-accessible member of an enclosing type
- Parameter assignment
- Method can be static
- Local variable declaration hides another field or variable
- Value of local variable is not used
- Unused import
- Unused private member
- Unnecessary 'else' statement
- Unnecessary declaration of throw exception
- Redundant type arguments
- Missing '@Override' annotation
- Unused '@SuppressWarning' annotations
Bug: 18003991
Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
2014-10-21 19:28:37 +09:00
Tadashi G. Takaoka
04cd8794e0
Fix checking a11y status just before calling an a11y method
...
Bug: 17035860
Change-Id: I9627d525a570ced085281b4db93fe6896081e818
2014-09-25 18:24:17 +09:00
Tadashi G. Takaoka
78cff10f8d
Add BuildCompatUtils to get an effective platfrom API version
...
This CL removes reference of VERSION_CODES.CUR_DEVELOPMENT.
Bug: 13888366
Change-Id: I5c8499a175473a220c8fb04ead219760c585a19a
2014-08-13 16:21:23 +09:00
Tadashi G. Takaoka
adba09b54e
Remove redundant override methods and extended classes
...
Bug: 15727335
Change-Id: Icea09f0643e7aeb8e722e473ad322f7439c3497a
2014-06-24 22:31:43 -07:00
Tadashi G. Takaoka
3d8848e5cb
Refactor keyboard accessibility delegate classes
...
Bug: 15727335
Change-Id: I1aa79a6f7f8cf14bacec391c016a5d1c553eea24
2014-06-24 22:14:07 -07:00
Tadashi G. Takaoka
d801b6ee66
Populate accessibility root node info of keyboard
...
Partially reverting Ie033d21ef8 to populate root node info.
This CL also fixes the bounds in screen of virtual node info.
Bug: 15746768
Bug: 15582251
Change-Id: I3a82f904270adf138036ef462fd70b349a3cd33e
2014-06-20 14:32:16 -07:00
Tadashi G. Takaoka
e9d9b37b5a
Add EmojiPageKeyboardAccessibilityDelegate
...
Because EmojiPageKeyboardView doesn't use PointerTracker to handle
MotionEvent, a dedicated accessibility delegate is needed. Then the
recent tab can be updated even with accessibility mode on.
Bug: 15582599
Change-Id: I63d75b9aca21ec44f1f77d2eaaf2ba7813992183
2014-06-13 13:35:35 +09:00
Tadashi G. Takaoka
874a600dc8
Add audio and haptic feedback for Emoji and Suggestions
...
Bug: 15378862
Change-Id: Ia14929bd9eb63ad5735cae0ad98ad0e2ad301128
2014-06-10 09:15:59 +09:00
Tadashi G. Takaoka
dec599d172
Fix overwriting accessibility delegate in setKeyboard
...
A keyboard accessibility delegate object should be a singleton for
each keyboard view.
Bug: 15437933
Bug: 15419386
Change-Id: Ia70853c644d950ea6130c1f209b89929b1cb1ee5
2014-06-08 22:12:52 +09:00
Tadashi G. Takaoka
3ca65c8fd5
Remove unused supportsSwitchingToShortcutIme attribute
...
Change-Id: I51c5247ac925a158facb79057f704b763b903552
2014-06-06 13:11:57 +09:00
Tadashi G. Takaoka
509d07c764
am 61a8a66c: Merge "Workaround to draw spacebar icon of emoji palettes" into lmp-preview-dev
...
* commit '61a8a66ccac1de7e146344dd77c8be84aa8daf33':
Workaround to draw spacebar icon of emoji palettes
2014-05-30 15:03:10 +00:00
Tadashi G. Takaoka
3558505bee
Workaround to draw spacebar icon of emoji palettes
...
Bug: 15321822
Change-Id: Iab7cef83ffdf91c877c3ed2e59d412496b516e1c
2014-05-30 22:53:24 +09:00
Tadashi G. Takaoka
6fe326ae42
am 761a6812: Don\'t reuse main keyboard\'s spacebar icon for Emoji palette
...
* commit '761a6812312c48d04bcb91e5c4448364c4925731':
Don't reuse main keyboard's spacebar icon for Emoji palette
2014-05-29 15:06:36 +00:00
Tadashi G. Takaoka
761a681231
Don't reuse main keyboard's spacebar icon for Emoji palette
...
Bug: 15321822
Change-Id: I6a5a865364fb98e0ebb6206d80d5629bbcb817b8
2014-05-29 23:32:03 +09:00
Tadashi G. Takaoka
9647d7fbee
Use onHoverEvent instead of dispatchHoverEvent
...
This CL also refactors KeyboardAccessibilityDelegate a bit to be able
to override on hovering methods that handle enter, move, and exit on a
key.
Bug: 12491371
Change-Id: I3c7e81ccb8729ae6e466c654efde0c18ed734bdf
2014-05-27 11:28:52 +09:00
Tadashi G. Takaoka
0380421bf7
Release and register current key when emoji palette is hidden
...
Bug: 13290802
Change-Id: Ib087152f8bd47a5c81901377291e4223ee4a49ec
2014-05-25 10:54:15 +09:00
Tadashi G. Takaoka
6726bc9001
Merge "Use Java 7 diamond operator"
2014-05-23 16:43:12 +00:00
Tadashi G. Takaoka
a91561aa58
Use Java 7 diamond operator
...
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
2014-05-24 01:05:42 +09:00
Tadashi G. Takaoka
2782f97927
Consolidate attributes to EmojiPaletteView to control indicators
...
This CL consolidates attributes of EmojiTabWidget and
EmojiCategoryPageIndicatorView with EmojiPaletteView.
Bug: 15151483
Change-Id: I6eca10b60e894d945080ef3f88523d539a4992fa
2014-05-23 16:09:00 +09:00
Tadashi G. Takaoka
305778b53a
Support accessibility TalkBack in emoji palette
...
Bug: 11452158
Change-Id: I699e4e9f4baec4bb0fb9cd7875f675044f20465f
2014-05-20 17:35:39 +09:00
Tadashi G. Takaoka
437be2d5c4
Refactor Emoji tab indicators to refer keyboard theme
...
Bug: 14419121
Change-Id: I7086923fff153039c2d011bbccbfd04eb687a76a
2014-05-20 01:16:25 +09:00
Tadashi G. Takaoka
27ca9f1bf1
Remove Emoji label tab
...
Change-Id: Ia2f3482363b462c16a51f2baac59d6bcae96ffab
2014-05-19 23:11:39 +09:00
Tadashi G. Takaoka
6ea0dab845
Remove Emoji delete key UX hack
...
The Emoji delete key UX hack that changes key background color based
on the key state isn't keyboard theme compliant.
Change-Id: I0fa43a91cdd6da944d6d4d1a5a09b771f852a081
2014-05-19 14:07:35 +09:00
Tadashi G. Takaoka
10bd458efc
Rename Emoji related resource names more consistent
...
Change-Id: I318a98feeaf7b8bc4d2ed6d54475a144e2dca0a1
2014-05-19 13:54:00 +09:00
Tadashi G. Takaoka
9f4d62cc42
Create com.android.inputmethod.keyboard.emoji package
...
Change-Id: Idd12c2fa4f5add7bb50bd7349ff9a74fffe82cfd
2014-05-14 19:32:00 +09:00