Xml文件  |  98行  |  4.31 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2015 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>
    <integer name="ripple_anim_duration">200</integer>

    <!-- TvActivity -->
    <integer name="tvactivity_background_anim_duration">100</integer>

    <!-- TV view -->
    <integer name="tvview_anim_duration">250</integer>
    <integer name="tvview_fade_out_duration">@integer/tvview_anim_duration</integer>
    <integer name="tvview_fade_in_duration">500</integer>
    <integer name="tvview_block_icon_anim_duration">250</integer>

    <!-- Main menu -->
    <integer name="menu_show_duration">7000</integer>
    <integer name="menu_enter_duration">250</integer>
    <integer name="menu_exit_duration">150</integer>
    <integer name="menu_focus_anim_duration">100</integer>
    <integer name="menu_row_selection_anim_duration">250</integer>
    <integer name="menu_previous_contents_fade_out_duration">50</integer>
    <integer name="menu_current_contents_fade_in_duration">200</integer>

    <!-- Option item -->
    <integer name="option_item_description_max_lines">3</integer>

    <!-- Side panel -->
    <integer name="side_panel_show_duration">60000</integer>
    <integer name="side_panel_anim_duration">250</integer>
    <integer name="side_panel_anim_short_duration">150</integer>
    <integer name="side_panel_ripple_anim_duration">@integer/ripple_anim_duration</integer>

    <!-- Program guide -->
    <integer name="program_guide_anim_duration">250</integer>
    <integer name="program_guide_table_fade_anim_duration">150</integer>
    <integer name="program_guide_table_detail_fade_anim_duration">150</integer>
    <integer name="program_guide_table_detail_toggle_anim_duration">100</integer>
    <integer name="program_guide_show_duration">60000</integer>
    <integer name="program_guide_ripple_anim_duration">@integer/ripple_anim_duration</integer>
    <integer name="program_guide_selection_row">2</integer>

    <!-- Channel banner -->
    <integer name="channel_banner_show_duration">8000</integer>
    <integer name="channel_banner_anim_duration">250</integer>
    <integer name="channel_banner_fast_anim_duration">75</integer>

    <!-- Keypad channel switch -->
    <integer name="keypad_channel_switch_show_duration">2000</integer>
    <integer name="keypad_channel_switch_ripple_anim_duration">@integer/ripple_anim_duration</integer>
    <integer name="keypad_channel_switch_anim_duration">150</integer>

    <!-- Select input -->
    <integer name="select_input_show_duration">4000</integer>
    <integer name="select_input_ripple_anim_duration">@integer/ripple_anim_duration</integer>

    <!-- Recommendation cards in LeanbackLauncher -->
    <integer name="notif_card_ch_logo_alpha">153</integer>

    <!-- Pin dialog -->
    <integer name="pin_dialog_anim_duration">250</integer>
    <integer name="pin_dialog_enter_offset_y">32</integer>
    <integer name="pin_dialog_exit_offset_y">32</integer>
    <integer name="pin_number_scroll_duration">250</integer>

    <!-- Trickplay Setting -->
    <integer name="trickplay_description_max_lines">5</integer>

    <!-- Max recycle view pool size -->
    <integer name="max_recycled_view_pool_epg_table_item">50</integer>
    <integer name="max_recycled_view_pool_epg_table_row">15</integer>
    <integer name="max_recycled_view_pool_epg_header_row_item">7</integer>
    <integer name="max_recycled_view_pool_epg_side_panel_row">12</integer>

    <!-- Half sized Dialog -->
    <integer name="half_sized_dialog_anim_duration">250</integer>
    <integer name="half_sized_dialog_enter_offset_y">32</integer>
    <integer name="half_sized_dialog_exit_offset_y">32</integer>

    <!-- DVR library -->
    <integer name="dvr_details_full_text_animation_duration">500</integer>
    <integer name="dvr_card_title_max_lines_folded">1</integer>
</resources>