1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2011, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
21    <!-- Note that correctionX is obsolete (See com.android.inputmethod.keyboard.internal.TouchPositionCorrection)
22        An entry of the touch_position_correction word should be:
23        1. correctionX: (touch_center_x - hitbox_center_x) / hitbox_width
24        2. correctionY: (touch_center_y - hitbox_center_y) / hitbox_height
25        3. correctionR: sweet_spot_radius / sqrt(hitbox_width^2 + hitbox_height^2)
26    -->
27
28    <string-array
29        name="touch_position_correction_data_default"
30        translatable="false"
31    >
32        <!-- The default touch position data (See com.android.inputmethod.keyboard.ProximityInfo)
33             correctionX = 0.0f
34             correctionY = 0.0f
35             correctionR = DEFAULT_TOUCH_POSITION_CORRECTION_RADIUS
36        -->
37    </string-array>
38
39    <string-array
40        name="touch_position_correction_data_holo"
41        translatable="false"
42    >
43        <!-- First row -->
44        <item>0.0038756</item>
45        <item>-0.0005677</item>
46        <item>0.1577026</item>
47
48        <!-- Second row -->
49        <item>-0.0236678</item>
50        <item>0.0381731</item>
51        <item>0.1529972</item>
52
53        <!-- Third row -->
54        <item>-0.0086827</item>
55        <item>0.0880847</item>
56        <item>0.1522819</item>
57    </string-array>
58</resources>
59