1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2013, 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
21<resources>
22    <!-- The array of auto correction threshold values. -->
23    <string-array name="auto_correction_threshold_values" translatable="false">
24        <!-- Off, When auto correction setting is Off, this value is not used. -->
25        <item>floatMaxValue</item>
26        <!-- Modest : Suggestion whose normalized score is greater than this value
27             will be subject to auto-correction. -->
28        <item>0.185</item>
29        <!-- Aggressive -->
30        <item>0.067</item>
31        <!-- Very Aggressive : Suggestion whose normalized score is greater than this value
32             will be subject to auto-correction. "floatNegativeInfinity" is a special marker
33             string for Float.NEGATIVE_INFINITY -->
34        <item>floatNegativeInfinity</item>
35    </string-array>
36
37    <!-- The index of the auto correction threshold values array. -->
38    <string name="auto_correction_threshold_mode_index_off" translatable="false">0</string>
39    <string name="auto_correction_threshold_mode_index_modest" translatable="false">1</string>
40    <string name="auto_correction_threshold_mode_index_aggressive" translatable="false">2</string>
41    <string name="auto_correction_threshold_mode_index_very_aggressive" translatable="false">3</string>
42
43    <!-- The array of the auto correction threshold settings values. -->
44    <string-array name="auto_correction_threshold_mode_indexes" translatable="false">
45      <item>@string/auto_correction_threshold_mode_index_off</item>
46      <item>@string/auto_correction_threshold_mode_index_modest</item>
47      <item>@string/auto_correction_threshold_mode_index_aggressive</item>
48      <item>@string/auto_correction_threshold_mode_index_very_aggressive</item>
49    </string-array>
50    <!-- The array of the human readable auto correction threshold settings entries. -->
51    <string-array name="auto_correction_threshold_modes" translatable="false">
52      <item>@string/auto_correction_threshold_mode_off</item>
53      <item>@string/auto_correction_threshold_mode_modest</item>
54      <item>@string/auto_correction_threshold_mode_aggressive</item>
55      <item>@string/auto_correction_threshold_mode_very_aggressive</item>
56    </string-array>
57</resources>
58