Commit Graph

42109 Commits

Author SHA1 Message Date
Aleksandras Kostarevas
7e31ade8fe Add crash reporting file to CI 2023-08-31 22:48:35 +03:00
Aleksandras Kostarevas
08296ec484 Add crash reporting using ACRA 2023-08-31 22:45:11 +03:00
Aleksandras Kostarevas
d180b5646f Automatically add space for voice input action 2023-08-31 20:55:46 +03:00
Aleksandras Kostarevas
8f53297eea Make full action window clickable 2023-08-31 19:33:24 +03:00
Aleksandras Kostarevas
9f6941eff0 Move certain tensors to static companion 2023-08-31 19:27:46 +03:00
Aleksandras Kostarevas
3acb8b5e44 Create SoundPlayer for persistent state 2023-08-31 19:15:50 +03:00
Aleksandras Kostarevas
731fbf1254 Greatly refactor Voice Input module 2023-08-31 00:20:23 +03:00
Aleksandras Kostarevas
4e3b4e5a46 Initial voice input implementation 2023-08-27 19:08:44 +03:00
Aleksandras Kostarevas
1b0dd25244 Separate actions into its own files 2023-08-26 21:31:31 +03:00
Aleksandras Kostarevas
8278de9484 Inflate inline suggestions only once 2023-08-26 20:39:55 +03:00
Aleksandras Kostarevas
d72838e659 Update dynamic themes when colors change 2023-08-26 20:26:26 +03:00
Aleksandras Kostarevas
bd0368d89f Add initial inline suggestions support 2023-08-26 20:04:56 +03:00
Aleksandras Kostarevas
9d4ea1f7c1 Move certain things into separate files 2023-08-22 23:19:57 +03:00
Aleksandras Kostarevas
05fce3bd09 Disable top suggestion icon 2023-08-22 20:40:12 +03:00
Aleksandras Kostarevas
d11025192e Move themes to separate files, save theme choice 2023-08-22 20:37:51 +03:00
Aleksandras Kostarevas
106de18b3b Recreate keyboard whenever action window is exited 2023-08-22 16:47:53 +03:00
Aleksandras Kostarevas
226fea5d46 Fix scrollability in theme switcher 2023-08-22 15:52:49 +03:00
Aleksandras Kostarevas
f91a626955 Implement Actions, create a theme switcher action window 2023-08-22 15:36:40 +03:00
Aleksandras Kostarevas
ad151d7f11 Update theme to use dynamic color scheme 2023-08-19 15:06:18 +03:00
Aleksandras Kostarevas
cccc18a1de Only suggest typed word when it's valid 2023-08-19 14:21:09 +03:00
Aleksandras Kostarevas
996f09eb9d Style text color and replace certain icons 2023-08-19 13:55:02 +03:00
Aleksandras Kostarevas
0b3af718b8 Fix key feedback 2023-08-18 16:29:49 +03:00
Aleksandras Kostarevas
5a4f42cafe Create certain drawables during runtime for theming 2023-08-18 15:55:09 +03:00
Aleksandras Kostarevas
039f9145c3 Fix broken key preview on landscape 2023-08-18 15:52:52 +03:00
Aleksandras Kostarevas
6f4a801d14 Update ActionBar 2023-08-18 11:18:24 +03:00
abb128
138d3a7886 Replace SuggestionStripView with ActionBar 2023-08-15 19:48:27 +03:00
abb128
69f6c29860 Add license 2023-08-15 19:44:22 +03:00
Aleksandras Kostarevas
62ff4f47e4 Fix theme update bug 2023-08-14 17:44:08 +03:00
Aleksandras Kostarevas
d81d79ea67 Fix inset setting code 2023-08-14 16:53:33 +03:00
Aleksandras Kostarevas
948ba3c6f0 Wrap legacy input view in AndroidView and return ComposeView from onCreateInputView 2023-08-14 13:22:00 +03:00
Aleksandras Kostarevas
bd7dbd7cf8 Rename LatinIME to LatinIMELegacy and wrap it in a new Compose class 2023-08-14 12:48:12 +03:00
Aleksandras Kostarevas
9b3ed09a88 Remove InputMethodServiceCompatUtils which serves no use anymore 2023-08-14 11:11:02 +03:00
Aleksandras Kostarevas
8431e57eab Fix some light resources 2023-08-14 10:57:18 +03:00
Aleksandras Kostarevas
7285bc2506 Remove ICS and Holo themes. Remove most png keyboard resources, replacing with xml shapes and colors 2023-08-14 10:57:05 +03:00
abb128
5ddbcc3eea Fix CI 2023-08-11 23:32:09 +03:00
abb128
b7fd15bffc Add debug statement to CI 2023-08-11 23:20:16 +03:00
abb128
6b42077940 Add build CI 2023-08-11 23:03:20 +03:00
abb128
9e935b05a2 Add README 2023-08-11 22:55:05 +03:00
abb128
434f8b6b27 Initial working build of fork 2023-07-06 21:57:49 +03:00
Treehugger Robot
d847619a2b Merge "Remove unused variables" am: fe0c000f40 am: 752ef94cfc
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2445925

Change-Id: I2bae39a9a7e659300a47203f1b4c99a94c386513
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 08:50:49 +00:00
Treehugger Robot
752ef94cfc Merge "Remove unused variables" am: fe0c000f40
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2445925

Change-Id: I996fc354112500e41977b93521e9050bdccce81b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 08:13:57 +00:00
Treehugger Robot
fe0c000f40 Merge "Remove unused variables" 2023-03-20 07:44:15 +00:00
Jing Mike
03eef94a8d Remove unused variables
Since some variables with module LatinIME are defined but not used,
when compiled with build combination "sdk_pc_x86_64-userdebug" and
build command "mmm packages/inputmethods/LatinIME", the following
code lines will be reported that "variable 'XXX' set but not used".
(should be similar for all the other build combinations)

Repeated 10 times for each:
terminal_position_lookup_table.cpp:74:9 removedEntryCount
terminal_position_lookup_table.cpp:85:9 removedEntryCount
proximity_info_state_utils.cpp:493:9 tempTime
trie_map.cpp:56:9 unusedRegionSize
suggestion_results.cpp💯9 index

Repeated 80+ times:
proximity_info_utils.h:75:25 proximityChar

With this patch we are removing some of the unused variables and
putting the C++ 17 attribute [[maybe_unused]] to the others which
are used for logging. Then all the related build warnings have been
eliminated.

Test: mmm packages/inputmethods/LatinIME, presubmit check.

Change-Id: Ia66766322d6ae8a010b1cb55cc22993fbc6d012c
Signed-off-by: Jing Mike <jingyangliu@eswincomputing.com>
2023-03-19 10:00:01 +00:00
Treehugger Robot
ce22ebc557 Merge "Fix errorprone warnings that should be errors" am: 6d585ed76c am: 78a43f6c9c
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2256807

Change-Id: Ie8d7a908adb83e2556d7b2d27beecc0e29978173
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-17 20:51:27 +00:00
Treehugger Robot
78a43f6c9c Merge "Fix errorprone warnings that should be errors" am: 6d585ed76c
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2256807

Change-Id: I7d8662bdc880e331cf2d912dae7cc18b70743975
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-17 20:23:33 +00:00
Treehugger Robot
6d585ed76c Merge "Fix errorprone warnings that should be errors" 2022-10-17 19:46:29 +00:00
Cole Faust
91cb9a6acf Fix errorprone warnings that should be errors
This commit is part of a large scale change to fix errorprone
errors that have been downgraded to warnings in the android
source tree, so that they can be promoted to errors again.
The full list of changes include the following, but not all
will be present in any one individual commit:

BadAnnotationImplementation
BadShiftAmount
BanJNDI
BoxedPrimitiveEquality
ComparableType
ComplexBooleanConstant
CollectionToArraySafeParameter
ConditionalExpressionNumericPromotion
DangerousLiteralNull
DoubleBraceInitialization
DurationFrom
DurationTemporalUnit
EmptyTopLevelDeclaration
EqualsNull
EqualsReference
FormatString
FromTemporalAccessor
GetClassOnAnnotation
GetClassOnClass
HashtableContains
IdentityBinaryExpression
IdentityHashMapBoxing
InstantTemporalUnit
InvalidTimeZoneID
InvalidZoneId
IsInstanceIncompatibleType
JUnitParameterMethodNotFound
LockOnBoxedPrimitive
MathRoundIntLong
MislabeledAndroidString
MisusedDayOfYear
MissingSuperCall
MisusedWeekYear
ModifyingCollectionWithItself
NoCanIgnoreReturnValueOnClasses
NonRuntimeAnnotation
NullableOnContainingClass
NullTernary
OverridesJavaxInjectableMethod
ParcelableCreator
PeriodFrom
PreconditionsInvalidPlaceholder
ProtoBuilderReturnValueIgnored
ProtoFieldNullComparison
RandomModInteger
RectIntersectReturnValueIgnored
ReturnValueIgnored
SelfAssignment
SelfComparison
SelfEquals
SizeGreaterThanOrEqualsZero
StringBuilderInitWithChar
TreeToString
TryFailThrowable
UnnecessaryCheckNotNull
UnusedCollectionModifiedInPlace
XorPower

See https://errorprone.info/bugpatterns for more
information on the checks.

Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I454a105ae82484a2d19aff1808e8d9dd55ba64f4
2022-10-17 11:01:42 -07:00
Treehugger Robot
2549e988db Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b am: e546038cdf am: 51466cffd6
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186538

Change-Id: Ib3878ed212ae13dddd9761aefda2960cb7defbb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 04:12:11 +00:00
Treehugger Robot
51466cffd6 Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b am: e546038cdf
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186538

Change-Id: I609ca003a48f3eb2a323ed456fc54d5754bd694f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 03:43:13 +00:00
Treehugger Robot
e546038cdf Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186538

Change-Id: Ic25b4e765f6612409aa840c7e4dc392d99fb254a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 01:42:59 +00:00