| Age | Commit message (Collapse) | Author | Files | Lines |
|
This removes the need for a layout definition and adds a title before
the prefs.
It's a prerequise for the custom keys preference.
|
|
The current approach is hard to maintain, for example the last key
"autofill" was not displayed.
This implements a PreferenceGroup that contains the check boxes for
every extra keys without involving listing the preferences in
settings.xml.
A custom layout is used to remove the 'title' text view.
The list of extra keys is moved into the new class.
'ExtraKeyCheckBoxPreference' becomes a nested class.
|
|
|
|
The function has been added in API 9.
|
|
|
|
These symbols have special meaning when in `res/xml` and are escaped in
standard layouts.
The backslash is not stripped when parsed from the custom layout option.
Treat these backslashed keys specifically to allow standard layouts to
be passed back to the custom layout option.
|
|
|
|
`KeyCharacterMap.getDeadChar` may not be aware of the same dead keys in
older version of Android.
Hardcoded charmaps are more predictable.
|
|
This function is no longer an hardcoded list of layout ids. It's
replaced by a linear scan of the previously generated array and a new
corresponding array of resource ids.
|
|
The names are comprised of: script, layout name, country code.
Co-authored-by: grim <verdastelo9604@hotmail.com>
|
|
Added Romanian characters to the keyboard layout and changed the positioning
corner for the secondary characters that were conflicting with the
newly-introduced romanian characters
Added Romanian translations
|
|
* Add Bengali Provat Layout
I added bengali_provat layout and renamed old bengali to actual layout name.
|
|
Allows to define a locale's script in 'method.xml' and use that to add
the extra keys for a locale to layouts of the same script only.
A locale of an undefined script will add its extra keys to every
layouts. A layout of an undefined script will have the extra keys of all
the enabled locales.
|
|
Add the `script` attribute, which will be used to implement
script-specific extra keys.
|
|
On API level < 12 or on some rare cases, `refreshSubtypeLayout` was not
called, making `_localeTextLayout` uninitialized.
This might also happen if `getExtraValueOf` returns an invalid layout name.
eg. `method.xml` contains an invalid layout name.
|
|
|
|
Add Kurdish Keyboard Layout Qwerty Based Without Shift.
|
|
`KeyCharacterMap.getDeadChar` seems to not give the expected result on
Android 4.0. This might affect many more dead key combinations that are
not fixed by this commit.
|
|
The script `check_layout.py` checks some properties about layouts.
No check is an error.
The result of running this script on every layouts is stored in the file
`check_layout.output`, which is useful to track changes.
Add make rules to run this script as well as `sync_translations`.
|
|
The conversion into px was done twice, leading to wrong values.
|
|
The `KeyEventHandler` class is intended to handle every keys and to call
into the main class through a limited API.
However, this is not true for `Event` keys, which in practice had each a
corresponding API call.
|
|
Implemented similarly to the IM switching key.
|
|
The new key switches to any installed "voice" input method.
If several input methods matches, no effort is made to choose.
Might misbehave with some input methods other than Google's on API < 28.
It is placed on the middle of the arrows on the bottom bar. It is
enabled by default and can be removed in the "Extra keys" option.
The key is not removed from the keyboard if no voice input method
exists.
|
|
The newer haptic feedback API that is used instead of the vibrator
service since ef03dfe doesn't work for everyone.
The new vibration option allow to choose both the newer API ("system")
and the older API ("strong", "medium", "light").
|
|
|
|
Specify the behavior of shift for a layout. This is intended for locales
that use the same alphabet but have different capital letters (eg.
Bengali).
The modmap is defined like this:
<keyboard>
<modmap>
<shift a="a" b="A"/>
</modmap>
</keyboard>
|
|
Set keyboard bottom gravity and adjust inputArea height so it doesn't appear on top in fullscreen.
|
|
* Add persian layout
* Change layoutId_of_string to layout_of_string
* Add translation for Persian
|
|
|
|
This unconditionally removes all pointers (touches) pressing modifiers
which are not already locked, avoiding that the (currently) latched
modifier will be locked aventually.
This can be verfified while sliding the space bar to move the cursor
left or right.
Closes #319.
|
|
For trying the keyboard without having to mess with an other app.
|
|
|
|
This activity points to the system settings page for enabling input
methods. This is purely a shortcut but is expected by many users.
It could be made more useful in the future or hidden whenever the
keyboard is enabled.
|
|
The previous algorithm did not cut the circle into 16 equal parts.
The division by 2pi yielded numbers smaller than 16, which no longer
made sense after the cast to int.
|
|
* add arabic keyboard
* use unicode values for special characters
* add alternate layout
* use arabic numbers
|
|
* New Hindi layout
* Update default layout for Marathi, Nepali
* Consistent naming for Devanagari layouts
|
|
The Corner class is removed. The "localized" flag for all the corners is
held in a bitfield.
|
|
|
|
'Keyboard.Key' now contains an array of size 9, giving each keyvalue an
index. The algorithm for finding the nearest key during a swipe now
needs 16 segments, which are now calculated as an angle.
The algorithm does one more interation instead of 2 more, slightly
reducing the sensitivity of corner values. The 'getAtDirection' function
is moved into the Pointers class to clearly separate the two systems.
The 'edgekey' attribute is now obsolete but is kept for compatibility.
The flag is removed internally, key index are simply translated.
Similarly, the 'slider' attribute now act on keys at index 5 and 6
instead of 2 and 3.
|
|
Auto-capitalisation triggers when the backspace key is used. Make sure
to not remove a locked shift pointer.
|
|
This removes keys like '.' and '-' from their usual place, which is
pretty annoying.
The feature is retained for the number row.
|
|
The 'keysHeight' field needs to be updated. As this class is not
intended to be mutable, copy the list of rows and call the constructor.
Also remove an unecessary component of the keyboard height calculation.
|
|
* Add alternative black theme
|
|
A new option changes the "change_method" into the new
"change_method_prev". It switch to the previously used input method.
A long press on "change_method_prev" sends "change_method".
A new section is added in the settings and existing options are moved.
|
|
|
|
|
|
Added missing accent (horn, hook, dot below)
Added layout
Added accent font svg (by modified existing accent)
|
|
The special handling of arrow keys have been removed in 854eff2. Key
repeat was not starting when the key0 was empty.
|
|
* Add theme 'ePaper'
|
|
|