blob: 8d95cae520ca73f9be75553a395a723028969682 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2020, 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>
<!-- Time interval (in milliseconds) used to decide whether we should accelerate the controller
rotation for a rotate event. If the interval between the current rotate event and the previous
rotate event is smaller than this value, we'll treat the rotation event as 3 rotations. -->
<integer name="rotation_acceleration_3x_ms">20</integer>
<!-- Time interval (in milliseconds) used to decide whether we should accelerate the controller
rotation for a rotate event. If the interval between the current rotate event and the previous
rotate event is smaller than this value, we'll treat the rotation event as 2 rotations. -->
<integer name="rotation_acceleration_2x_ms">40</integer>
<!-- How many milliseconds to ignore TYPE_VIEW_CLICKED events after performing ACTION_CLICK or
injecting KEYCODE_DPAD_CENTER. -->
<integer name="ignore_view_clicked_ms">200</integer>
<!-- How many milliseconds to wait for TYPE_VIEW_SCROLLED events after scrolling. -->
<integer name="after_scroll_timeout_ms">200</integer>
<!-- How many milliseconds to wait for TYPE_VIEW_FOCUSED events after performing ACTION_FOCUS or
another actions which changes the focus. When rotating quickly, Android may take a while to send
these events so this needs to be fairly long.
-->
<integer name="after_focus_timeout_ms">60000</integer>
</resources>