| Age | Commit message (Collapse) | Author | Files | Lines |
|
The symbols are now smaller for Shift, Space, Backspace, Delete and
some keys on the bottom row.
The previous rule was to make the text smaller for symbols made of
several characters.
This is changed to a flag approach.
|
|
Use the height of the row currently being rendered instead of the base
row size.
Concretely, the bottom row is slightly smaller and will get slightly
smaller text.
Also:
- Rewrite the label rendering code
- Render labels at the middle of the key (was slightly off)
|
|
Instead of a fixed size that don't work at all for bigger screens.
Other tweaks:
- Use the value-land dimens to vary 'extra_horizontal_margin'
- Move label size to Config, because it can change at runtime (rotation)
- Slightly decrease the size of "long" symbols
|
|
|
|
Make modulated keys repeat twice as slow by default and start repeating
twice as early.
|
|
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.
|
|
To use the new layout.
|
|
Change the formula: don't use an external constant, add a state.
It's now the ratio between where the finger is at the first repeat and
where it is now.
Keep the repeat going when swiping into an other key. Currently only for
arrows: It's now possible to go from an arrow to an other without
waiting again for the key repeat timeout.
The backspace and delete keys don't work well with this.
|
|
Separate the concerns and have a clearer interface between the two parts
of the code.
|
|
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.
|
|
|
|
|
|
Depending on the pixel density isn't ideal for a keyboard, which would
render differently depending on the "scaling" accessibility option.
Landscape mode needs a special values. At the same time, increase the
horizontal margin when landscape.
|
|
* Add Russian layout
Co-authored-by: Jules Aguillon <jules@j3s.fr>
|
|
These glyph were available in the custom font but not used yet.
|
|
1ff8526 added a bug for layouts that weren't 10 units wide.
|
|
Avoid divergences when the bottom row is modified.
|
|
|
|
|
|
Add a new boolean parameter "edgekeys" for defining keys that have the
additional (swipe) keys on the edges (top, right, left, bottom) instead
of at the corners (top left, top right, bottom left, bottom right).
|
|
Currently using the diamond symbol like the history meta key: https://en.wikipedia.org/wiki/Meta_key
However, this key is actually interpreted as the Super/Windows key but
Android calls it "meta" internally.
|
|
Two options: vertical and horizontal.
|
|
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.
|
|
|
|
Thanks Zdravko Iskrenov for the contribution.
|
|
Characters defined in layouts that aren't defined in KeyValue weren't
recognized as character keys. Not working with modifiers.
|
|
A customised Latvian specific QWERTY layout (QWERTY (Latvian)) was added
to access all Latvian diacritic characters with a swipe.
Additionally caron, cedille and macron accents were enabled for this
layout.
|
|
instead of immediately switching to the next input method.
|
|
|
|
`srcs/juloo.keyboard2/KeyValue.java` was updated to replace `Conf` with
`⛭` (`\u2699`) and `:)` with `☻` (`\u263B`).
|
|
New accents - caron and macron - were defined and QWERTY layout was
updated to add accents for Latvian specific characters.
|
|
|
|
* Add German metadata translation
* Add German keyboard
Co-authored-by: Jules Aguillon <jules@j3s.fr>
|
|
'keyVerticalInterval' was mistakenly used to compute the height of the
keyboard and the vertical position of keys.
While the code handling pointers did not use this value, the hit box of
the bottom row was shifted by several pixels.
Make sure 'keyVerticalInterval' is only used for rendering and not for
placing the keys.
|
|
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 'ß' character on the bottom-left corner of the 's' key, which is
hidden for other languages.
Co-authored-by: Moini <moini@noreply.invalid>
|
|
Add the "FLAGS_LANGS" set of flags, which will be used to hide
individual keys that are not accents.
|
|
To Fn+*
Was previously accent^+*, which was not available for most languages.
|
|
Now named "swiping distance". Changed to a dropdown.
|
|
|
|
Friendly to Amoled screens.
The background of keys is the same as the background of the whole
keyboard: pure black.
Colors are also slightly stronger.
|
|
Also, draw activated keys with a round border too.
|
|
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
|
|
Themes replace 'colors.xml' and soon will replace 'dimens.xml'.
|
|
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'.
|
|
|