mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
adaaf9ffb8
Bug: 10415342 Change-Id: I692b157953f77c610482b494cbaeed4430bcb629
61 lines
2.2 KiB
XML
61 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
**
|
|
** Copyright 2012, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
<!-- Note that correctionX is obsolete (See com.android.inputmethod.keyboard.internal.TouchPositionCorrection)
|
|
An entry of the touch_position_correction word should be:
|
|
1. correctionX: (touch_center_x - hitbox_center_x) / hitbox_width
|
|
2. correctionY: (touch_center_y - hitbox_center_y) / hitbox_height
|
|
3. correctionR: sweet_spot_radius / sqrt(hitbox_width^2 + hitbox_height^2)
|
|
-->
|
|
|
|
<string-array
|
|
name="touch_position_correction_data_default"
|
|
translatable="false"
|
|
>
|
|
<!-- The default touch position data (See com.android.inputmethod.keyboard.ProximityInfo)
|
|
correctionX = 0.0f
|
|
correctionY = 0.0f
|
|
correctionR = DEFAULT_TOUCH_POSITION_CORRECTION_RADIUS
|
|
-->
|
|
</string-array>
|
|
|
|
<string-array
|
|
name="touch_position_correction_data_gb"
|
|
translatable="false"
|
|
>
|
|
<!-- The default touch position data (See com.android.inputmethod.keyboard.ProximityInfo)
|
|
correctionX = 0.0f
|
|
correctionY = 0.0f
|
|
correctionR = DEFAULT_TOUCH_POSITION_CORRECTION_RADIUS
|
|
-->
|
|
</string-array>
|
|
|
|
<string-array
|
|
name="touch_position_correction_data_ics"
|
|
translatable="false"
|
|
>
|
|
<!-- The default touch position data (See com.android.inputmethod.keyboard.ProximityInfo)
|
|
correctionX = 0.0f
|
|
correctionY = 0.0f
|
|
correctionR = DEFAULT_TOUCH_POSITION_CORRECTION_RADIUS
|
|
-->
|
|
</string-array>
|
|
</resources>
|