| Age | Commit message (Collapse) | Author | Files | Lines |
|
Ensure the switching key is shown when there's several subtypes enabled,
even if Android says not to show it.
|
|
Useful when debugging why the keyboard doesn't work as expected with a
specific app.
|
|
Using flags for removing keys like € and ß need too many flags and won't
scale to more localized keys.
|
|
The keyboard was updated before the action key is.
|
|
Before sending a key event while modifiers are active, send events for
the modifier keys.
Some applications don't look at the "metaState" flags but instead keep
track of the up and down events for the modifiers.
For example, the basic text views that are in every applications
correctly handle the "metaState" flags except for one binding:
Selecting text with the arrows while pressing shift.
|
|
Show these characters only for users that have the corresponding locale
installed (a supported eu language for €, en-GB for £).
Add these characters to most layouts.
|
|
Avoid divergences when the bottom row is modified.
|
|
Automatically choose between the Dark and Light themes.
|
|
There were two problems:
- The Action key was swapped when it shouldn't be. The flag
'IME_FLAG_NO_ENTER_ACTION' wasn't interpreted correctly for inputs
that specified both an action and this flag.
- The value 'IME_ACTION_UNSPECIFIED' should remove the Action key.
|
|
instead of immediately switching to the next input method.
|
|
|
|
|
|
* Add German metadata translation
* Add German keyboard
Co-authored-by: Jules Aguillon <jules@j3s.fr>
|
|
When IME_FLAG_NO_ENTER_ACTION is set.
|
|
It is placed on the top-right of the enter key on every layouts.
It sends a special event (performEditorAction) instead of writing a
newline.
The "actionId" is passed through the EditorInfo object in an obfuscated
way so it's not clear whether it's using the right one.
|
|
Add the "FLAGS_LANGS" set of flags, which will be used to hide
individual keys that are not accents.
|
|
Add a "Theme" option to choose between a dark and light theme.
The light theme uses the colors of the dark theme with the luminance
inversed.
The reloading after a configuration change is changed slightly:
- Special handling is needed when the Theme is changed (recreate the views)
- The default implementation of 'onConfigurationChanged' is used
Which triggers more refresh (but don't recreate the views)
- 'onCreateInputView' is no longer needed
|
|
Remove the last cast of the context.
|
|
As with the previous commit, remove casts of the context.
The "handler" object is referenced in the "config" object for now.
|
|
The goal is to remove a cast of the 'context' into 'Keyboard2'.
|
|
Use xmllint.
Re-indent Java files using spaces.
|
|
The 'repeat' field of generated key events was incorrectly set to '1'.
|
|
Seems like subtypes might not match what is declared. Must protect
against that.
|
|
API level 12 is required for "subtype" code introduced in 1.7.
This adds a fallback for older version, "subtype" features are not
available but the keyboard is usable.
Changet he minimal version to 4 to be able to query the API level.
Using integer constant for versions because that's how it's presented in
the documentation. Build.VERSION_CODES is WTF.
|
|
This replaces the "disable accent keys" checkbox.
The default should work for anyone: Accents will be hidden unless the
user has the french language installed.
The value "show every accents" is useful for versions of android that
don't have subtypes.
|
|
Reset the layout on onStartInputView.
|
|
This may cause key repeat continuing for a bit after the keyboard
closes.
|
|
Some versions of android don't allow to configure several languages.
|
|
Improve Paint code.
|
|
Broken recently. Restore previous code
|
|
KeyValue defines an ADT and some of its values, it now contains public
final fields and no internal logic.
KeyModifier handles modifiers and accents and creates new instances of
KeyValue when needed.
This operation is now properly cached.
|
|
Android has a new way of switching between input methods and this key
need to be hidden in most cases.
|
|
This removes the "layout" setting. Every layouts that the user could use
will appear in the global settings.
|
|
It was a pain to use. It was also a pain to write this though.
|
|
Remove the use of [getIdentifier] because it requires the current
package name to be passed, which can't be found reliably since the
change in build system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|