1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2012, 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        <!-- The default touch position data (See com.android.inputmethod.keyboard.ProximityInfo)
44             correctionX = 0.0f
45             correctionY = 0.0f
46             correctionR = DEFAULT_TOUCH_POSITION_CORRECTION_RADIUS
47        -->
48    </string-array>
49</resources>
50