Signed-off-by: hmz007 <hmz007@gmail.com>master
parent
4d29678011
commit
68fbef44b9
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M3,9v6h4l5,5L12,4L7,9L3,9zM10,8.83v6.34L7.83,13L5,13v-2h2.83L10,8.83zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02zM14,3.23v2.06c2.89,0.86 5,3.54 5,6.71s-2.11,5.85 -5,6.71v2.06c4.01,-0.91 7,-4.49 7,-8.77 0,-4.28 -2.99,-7.86 -7,-8.77z"/>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<group android:translateX="-2">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M16,7.97v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02 0,-1.77 -1.02,-3.29 -2.5,-4.03zM5,9v6h4l5,5L14,4L9,9L5,9zM12,8.83v6.34L9.83,13L7,13v-2h2.83L12,8.83z"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<group android:translateX="-4">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M14,8.83v6.34L11.83,13H9v-2h2.83L14,8.83M16,4l-5,5H7v6h4l5,5V4z"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportHeight="24"
|
||||||
|
android:viewportWidth="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M4.34,2.93L2.93,4.34 7.29,8.7 7,9L3,9v6h4l5,5v-6.59l4.18,4.18c-0.65,0.49 -1.38,0.88 -2.18,1.11v2.06c1.34,-0.3 2.57,-0.92 3.61,-1.75l2.05,2.05 1.41,-1.41L4.34,2.93zM10,15.17L7.83,13L5,13v-2h2.83l0.88,-0.88L10,11.41v3.76zM19,12c0,0.82 -0.15,1.61 -0.41,2.34l1.53,1.53c0.56,-1.17 0.88,-2.48 0.88,-3.87 0,-4.28 -2.99,-7.86 -7,-8.77v2.06c2.89,0.86 5,3.54 5,6.71zM12,4l-1.88,1.88L12,7.76zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v1.79l2.48,2.48c0.01,-0.08 0.02,-0.16 0.02,-0.24z"/>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,92 @@
|
|||||||
|
<!--
|
||||||
|
~ Copyright (C) 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
|
||||||
|
-->
|
||||||
|
<FrameLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:sysui="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:id="@+id/volume_dialog_container"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:theme="@style/volume_dialog_theme">
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/volume_dialog"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:padding="@dimen/volume_dialog_panel_transparent_padding"
|
||||||
|
android:clipToPadding="false">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/volume_dialog_rows_container"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:translationZ="@dimen/volume_dialog_elevation"
|
||||||
|
android:clipChildren="false"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:background="@android:color/transparent">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/volume_dialog_rows"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:background="@drawable/tv_volume_dialog_background">
|
||||||
|
<!-- volume rows added and removed here! :-) -->
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/odi_captions"
|
||||||
|
android:layout_width="@dimen/volume_dialog_caption_size"
|
||||||
|
android:layout_height="@dimen/volume_dialog_caption_size"
|
||||||
|
android:layout_marginRight="68dp"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:translationZ="@dimen/volume_dialog_elevation"
|
||||||
|
android:background="@drawable/rounded_bg_full">
|
||||||
|
|
||||||
|
<com.android.systemui.volume.CaptionsToggleImageButton
|
||||||
|
android:id="@+id/odi_captions_icon"
|
||||||
|
android:src="@drawable/ic_volume_odi_captions_disabled"
|
||||||
|
style="@style/VolumeButtons"
|
||||||
|
android:background="@drawable/rounded_ripple"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:tint="@color/caption_tint_color_selector"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:soundEffectsEnabled="false"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
<ViewStub
|
||||||
|
android:id="@+id/odi_captions_tooltip_stub"
|
||||||
|
android:inflatedId="@+id/odi_captions_tooltip_view"
|
||||||
|
android:layout="@layout/volume_tool_tip_view"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginRight="@dimen/volume_tool_tip_right_margin"
|
||||||
|
android:layout_marginTop="@dimen/volume_tool_tip_top_margin"
|
||||||
|
android:layout_gravity="right"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
@ -0,0 +1,84 @@
|
|||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
|
<FrameLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:tag="row"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="@dimen/volume_dialog_panel_height"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:clipChildren="false"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:theme="@style/volume_dialog_theme">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:padding="@dimen/tv_volume_dialog_row_padding"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:gravity="center"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:orientation="vertical" >
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/volume_number"
|
||||||
|
android:layout_width="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:layout_height="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:maxLength="3"
|
||||||
|
android:gravity="center"
|
||||||
|
android:fontFeatureSettings="tnum"
|
||||||
|
android:background="@drawable/tv_volume_dialog_circle"
|
||||||
|
android:textSize="@dimen/tv_volume_number_text_size"
|
||||||
|
android:textColor="@color/tv_volume_dialog_accent"/>
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/volume_row_header"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:maxLength="10"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:visibility="gone"
|
||||||
|
android:textColor="?android:attr/colorControlNormal"
|
||||||
|
android:textAppearance="@style/TextAppearance.Volume.Header" />
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/volume_row_slider_frame"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="@dimen/volume_dialog_panel_height">
|
||||||
|
<SeekBar
|
||||||
|
android:id="@+id/volume_row_slider"
|
||||||
|
android:clickable="false"
|
||||||
|
android:layout_width="@dimen/volume_dialog_panel_height"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layoutDirection="ltr"
|
||||||
|
android:maxHeight="@dimen/volume_dialog_slider_width"
|
||||||
|
android:minHeight="@dimen/volume_dialog_slider_width"
|
||||||
|
android:progressDrawable="@drawable/volume_row_seekbar"
|
||||||
|
android:thumb="@drawable/tv_volume_row_seek_thumb"
|
||||||
|
android:splitTrack="false"
|
||||||
|
android:rotation="270" />
|
||||||
|
</FrameLayout>
|
||||||
|
<com.android.keyguard.AlphaOptimizedImageButton
|
||||||
|
android:id="@+id/volume_row_icon"
|
||||||
|
style="@style/VolumeButtons"
|
||||||
|
android:layout_width="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:layout_height="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:background="@drawable/tv_volume_dialog_circle"
|
||||||
|
android:tint="@color/accent_tint_color_selector"
|
||||||
|
android:soundEffectsEnabled="false" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<include layout="@layout/volume_dnd_icon"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
@ -0,0 +1,33 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2016 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>
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown with settings. -->
|
||||||
|
<string translatable="false" name="pip_settings_bounds">"362 54 842 324"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown in center. -->
|
||||||
|
<string translatable="false" name="pip_menu_bounds">"296 80 1024 490"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP is shown in Recents without focus. -->
|
||||||
|
<string translatable="false" name="pip_recents_bounds">"500 54 820 234"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP is shown in Recents with focus. -->
|
||||||
|
<string translatable="false" name="pip_recents_focused_bounds">"475 54 845 262"</string>
|
||||||
|
</resources>
|
||||||
@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2019 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>
|
||||||
|
<!-- Height of volume bar -->
|
||||||
|
<dimen name="volume_dialog_panel_height">190dp</dimen>
|
||||||
|
<dimen name="volume_dialog_panel_width">48dp</dimen>
|
||||||
|
<dimen name="volume_dialog_panel_width_half">24dp</dimen>
|
||||||
|
<dimen name="volume_dialog_panel_transparent_padding">24dp</dimen>
|
||||||
|
<dimen name="volume_dialog_slider_width">4dp</dimen>
|
||||||
|
<dimen name="volume_dialog_slider_corner_radius">@dimen/volume_dialog_slider_width</dimen>
|
||||||
|
<dimen name="volume_dialog_background_blur_radius">31dp</dimen>
|
||||||
|
<dimen name="volume_dialog_caption_size">56dp</dimen>
|
||||||
|
<dimen name="volume_dialog_elevation">9dp</dimen>
|
||||||
|
<dimen name="volume_tool_tip_right_margin">136dp</dimen>
|
||||||
|
<dimen name="volume_tool_tip_top_margin">12dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="tv_volume_dialog_bubble_size">36dp</dimen>
|
||||||
|
<dimen name="tv_volume_dialog_row_padding">6dp</dimen>
|
||||||
|
<dimen name="tv_volume_number_text_size">16sp</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_diameter">24dp</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_focus_ring_width">8dp</dimen>
|
||||||
|
<dimen name="tv_volume_icons_size">20dp</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_shadow_radius">4.0</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_shadow_dy">4.0</dimen>
|
||||||
|
</resources>
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2016 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>
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown with settings. -->
|
||||||
|
<string translatable="false" name="pip_settings_bounds">"662 756 1142 1026"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown in center. -->
|
||||||
|
<string translatable="false" name="pip_menu_bounds">"596 280 1324 690"</string>
|
||||||
|
</resources>
|
||||||
@ -1,43 +1,31 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
||||||
/*
|
|
||||||
** Copyright 2016, 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.
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
You may obtain a copy of the License at
|
||||||
** 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
|
||||||
**
|
|
||||||
** 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,
|
||||||
** Unless required by applicable law or agreed to in writing, software
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
See the License for the specific language governing permissions and
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
limitations under the License.
|
||||||
** See the License for the specific language governing permissions and
|
|
||||||
** limitations under the License.
|
|
||||||
*/
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- These resources are around just to allow their values to be customized
|
|
||||||
for different hardware and product builds. -->
|
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<!-- The default tiles to display in QuickSettings -->
|
<!-- Empty stub status/navigation bar -->
|
||||||
<string name="quick_settings_tiles_default" translatable="false">
|
<string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.tv.TvStatusBar</string>
|
||||||
wifi,dnd,rotation,cell,airplane,dark
|
|
||||||
</string>
|
|
||||||
|
|
||||||
<!-- Whether to enable dimming navigation buttons when wallpaper is not visible, should be
|
|
||||||
enabled for OLED devices to reduce/prevent burn in on the navigation bar (because of the
|
|
||||||
black background and static button placements) and disabled for all other devices to
|
|
||||||
prevent wasting cpu cycles on the dimming animation -->
|
|
||||||
<bool name="config_navigation_bar_enable_auto_dim_no_visible_wallpaper">false</bool>
|
|
||||||
|
|
||||||
<!-- If true, enable the advance anti-falsing classifier on the lockscreen. On
|
<!-- Disable KeyguardSerivce -->
|
||||||
some devices it does not work well, particularly with noisy touchscreens. Note
|
<bool name="config_enableKeyguardService">false</bool>
|
||||||
that disabling it may increase the rate of unintentional unlocks. -->
|
|
||||||
<bool name="config_lockscreenAntiFalsingClassifierEnabled">false</bool>
|
|
||||||
|
|
||||||
<!-- Respect drawable/rounded.xml intrinsic size for multiple radius corner path customization -->
|
<!-- Package names to be blacklisted in Recents -->
|
||||||
<bool name="config_roundedCornerMultipleRadius">true</bool>
|
<string-array name="recents_tv_blacklist_array">
|
||||||
|
<item>com.google.android.tv.remote.service</item>
|
||||||
|
<item>com.google.android.apps.mediashell</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M3,9v6h4l5,5L12,4L7,9L3,9zM10,8.83v6.34L7.83,13L5,13v-2h2.83L10,8.83zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02zM14,3.23v2.06c2.89,0.86 5,3.54 5,6.71s-2.11,5.85 -5,6.71v2.06c4.01,-0.91 7,-4.49 7,-8.77 0,-4.28 -2.99,-7.86 -7,-8.77z"/>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<group android:translateX="-2">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M16,7.97v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02 0,-1.77 -1.02,-3.29 -2.5,-4.03zM5,9v6h4l5,5L14,4L9,9L5,9zM12,8.83v6.34L9.83,13L7,13v-2h2.83L12,8.83z"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<group android:translateX="-4">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M14,8.83v6.34L11.83,13H9v-2h2.83L14,8.83M16,4l-5,5H7v6h4l5,5V4z"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportHeight="24"
|
||||||
|
android:viewportWidth="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M4.34,2.93L2.93,4.34 7.29,8.7 7,9L3,9v6h4l5,5v-6.59l4.18,4.18c-0.65,0.49 -1.38,0.88 -2.18,1.11v2.06c1.34,-0.3 2.57,-0.92 3.61,-1.75l2.05,2.05 1.41,-1.41L4.34,2.93zM10,15.17L7.83,13L5,13v-2h2.83l0.88,-0.88L10,11.41v3.76zM19,12c0,0.82 -0.15,1.61 -0.41,2.34l1.53,1.53c0.56,-1.17 0.88,-2.48 0.88,-3.87 0,-4.28 -2.99,-7.86 -7,-8.77v2.06c2.89,0.86 5,3.54 5,6.71zM12,4l-1.88,1.88L12,7.76zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v1.79l2.48,2.48c0.01,-0.08 0.02,-0.16 0.02,-0.24z"/>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,92 @@
|
|||||||
|
<!--
|
||||||
|
~ Copyright (C) 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
|
||||||
|
-->
|
||||||
|
<FrameLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:sysui="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:id="@+id/volume_dialog_container"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:theme="@style/volume_dialog_theme">
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/volume_dialog"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:padding="@dimen/volume_dialog_panel_transparent_padding"
|
||||||
|
android:clipToPadding="false">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/volume_dialog_rows_container"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:translationZ="@dimen/volume_dialog_elevation"
|
||||||
|
android:clipChildren="false"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:background="@android:color/transparent">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/volume_dialog_rows"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:background="@drawable/tv_volume_dialog_background">
|
||||||
|
<!-- volume rows added and removed here! :-) -->
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/odi_captions"
|
||||||
|
android:layout_width="@dimen/volume_dialog_caption_size"
|
||||||
|
android:layout_height="@dimen/volume_dialog_caption_size"
|
||||||
|
android:layout_marginRight="68dp"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:translationZ="@dimen/volume_dialog_elevation"
|
||||||
|
android:background="@drawable/rounded_bg_full">
|
||||||
|
|
||||||
|
<com.android.systemui.volume.CaptionsToggleImageButton
|
||||||
|
android:id="@+id/odi_captions_icon"
|
||||||
|
android:src="@drawable/ic_volume_odi_captions_disabled"
|
||||||
|
style="@style/VolumeButtons"
|
||||||
|
android:background="@drawable/rounded_ripple"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:tint="@color/caption_tint_color_selector"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:soundEffectsEnabled="false"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
<ViewStub
|
||||||
|
android:id="@+id/odi_captions_tooltip_stub"
|
||||||
|
android:inflatedId="@+id/odi_captions_tooltip_view"
|
||||||
|
android:layout="@layout/volume_tool_tip_view"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginRight="@dimen/volume_tool_tip_right_margin"
|
||||||
|
android:layout_marginTop="@dimen/volume_tool_tip_top_margin"
|
||||||
|
android:layout_gravity="right"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
@ -0,0 +1,84 @@
|
|||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
|
<FrameLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:tag="row"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="@dimen/volume_dialog_panel_height"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:clipChildren="false"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:theme="@style/volume_dialog_theme">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:padding="@dimen/tv_volume_dialog_row_padding"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:gravity="center"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:orientation="vertical" >
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/volume_number"
|
||||||
|
android:layout_width="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:layout_height="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:maxLength="3"
|
||||||
|
android:gravity="center"
|
||||||
|
android:fontFeatureSettings="tnum"
|
||||||
|
android:background="@drawable/tv_volume_dialog_circle"
|
||||||
|
android:textSize="@dimen/tv_volume_number_text_size"
|
||||||
|
android:textColor="@color/tv_volume_dialog_accent"/>
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/volume_row_header"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:maxLength="10"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:visibility="gone"
|
||||||
|
android:textColor="?android:attr/colorControlNormal"
|
||||||
|
android:textAppearance="@style/TextAppearance.Volume.Header" />
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/volume_row_slider_frame"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="@dimen/volume_dialog_panel_height">
|
||||||
|
<SeekBar
|
||||||
|
android:id="@+id/volume_row_slider"
|
||||||
|
android:clickable="false"
|
||||||
|
android:layout_width="@dimen/volume_dialog_panel_height"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layoutDirection="ltr"
|
||||||
|
android:maxHeight="@dimen/volume_dialog_slider_width"
|
||||||
|
android:minHeight="@dimen/volume_dialog_slider_width"
|
||||||
|
android:progressDrawable="@drawable/volume_row_seekbar"
|
||||||
|
android:thumb="@drawable/tv_volume_row_seek_thumb"
|
||||||
|
android:splitTrack="false"
|
||||||
|
android:rotation="270" />
|
||||||
|
</FrameLayout>
|
||||||
|
<com.android.keyguard.AlphaOptimizedImageButton
|
||||||
|
android:id="@+id/volume_row_icon"
|
||||||
|
style="@style/VolumeButtons"
|
||||||
|
android:layout_width="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:layout_height="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:background="@drawable/tv_volume_dialog_circle"
|
||||||
|
android:tint="@color/accent_tint_color_selector"
|
||||||
|
android:soundEffectsEnabled="false" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<include layout="@layout/volume_dnd_icon"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
@ -0,0 +1,33 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2016 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>
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown with settings. -->
|
||||||
|
<string translatable="false" name="pip_settings_bounds">"362 54 842 324"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown in center. -->
|
||||||
|
<string translatable="false" name="pip_menu_bounds">"296 80 1024 490"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP is shown in Recents without focus. -->
|
||||||
|
<string translatable="false" name="pip_recents_bounds">"500 54 820 234"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP is shown in Recents with focus. -->
|
||||||
|
<string translatable="false" name="pip_recents_focused_bounds">"475 54 845 262"</string>
|
||||||
|
</resources>
|
||||||
@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2019 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>
|
||||||
|
<!-- Height of volume bar -->
|
||||||
|
<dimen name="volume_dialog_panel_height">190dp</dimen>
|
||||||
|
<dimen name="volume_dialog_panel_width">48dp</dimen>
|
||||||
|
<dimen name="volume_dialog_panel_width_half">24dp</dimen>
|
||||||
|
<dimen name="volume_dialog_panel_transparent_padding">24dp</dimen>
|
||||||
|
<dimen name="volume_dialog_slider_width">4dp</dimen>
|
||||||
|
<dimen name="volume_dialog_slider_corner_radius">@dimen/volume_dialog_slider_width</dimen>
|
||||||
|
<dimen name="volume_dialog_background_blur_radius">31dp</dimen>
|
||||||
|
<dimen name="volume_dialog_caption_size">56dp</dimen>
|
||||||
|
<dimen name="volume_dialog_elevation">9dp</dimen>
|
||||||
|
<dimen name="volume_tool_tip_right_margin">136dp</dimen>
|
||||||
|
<dimen name="volume_tool_tip_top_margin">12dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="tv_volume_dialog_bubble_size">36dp</dimen>
|
||||||
|
<dimen name="tv_volume_dialog_row_padding">6dp</dimen>
|
||||||
|
<dimen name="tv_volume_number_text_size">16sp</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_diameter">24dp</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_focus_ring_width">8dp</dimen>
|
||||||
|
<dimen name="tv_volume_icons_size">20dp</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_shadow_radius">4.0</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_shadow_dy">4.0</dimen>
|
||||||
|
</resources>
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2016 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>
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown with settings. -->
|
||||||
|
<string translatable="false" name="pip_settings_bounds">"662 756 1142 1026"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown in center. -->
|
||||||
|
<string translatable="false" name="pip_menu_bounds">"596 280 1324 690"</string>
|
||||||
|
</resources>
|
||||||
@ -1,43 +1,31 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
||||||
/*
|
|
||||||
** Copyright 2016, 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.
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
You may obtain a copy of the License at
|
||||||
** 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
|
||||||
**
|
|
||||||
** 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,
|
||||||
** Unless required by applicable law or agreed to in writing, software
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
See the License for the specific language governing permissions and
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
limitations under the License.
|
||||||
** See the License for the specific language governing permissions and
|
|
||||||
** limitations under the License.
|
|
||||||
*/
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- These resources are around just to allow their values to be customized
|
|
||||||
for different hardware and product builds. -->
|
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<!-- The default tiles to display in QuickSettings -->
|
<!-- Empty stub status/navigation bar -->
|
||||||
<string name="quick_settings_tiles_default" translatable="false">
|
<string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.tv.TvStatusBar</string>
|
||||||
wifi,dnd,rotation,cell,airplane,dark
|
|
||||||
</string>
|
|
||||||
|
|
||||||
<!-- Whether to enable dimming navigation buttons when wallpaper is not visible, should be
|
|
||||||
enabled for OLED devices to reduce/prevent burn in on the navigation bar (because of the
|
|
||||||
black background and static button placements) and disabled for all other devices to
|
|
||||||
prevent wasting cpu cycles on the dimming animation -->
|
|
||||||
<bool name="config_navigation_bar_enable_auto_dim_no_visible_wallpaper">false</bool>
|
|
||||||
|
|
||||||
<!-- If true, enable the advance anti-falsing classifier on the lockscreen. On
|
<!-- Disable KeyguardSerivce -->
|
||||||
some devices it does not work well, particularly with noisy touchscreens. Note
|
<bool name="config_enableKeyguardService">false</bool>
|
||||||
that disabling it may increase the rate of unintentional unlocks. -->
|
|
||||||
<bool name="config_lockscreenAntiFalsingClassifierEnabled">false</bool>
|
|
||||||
|
|
||||||
<!-- Respect drawable/rounded.xml intrinsic size for multiple radius corner path customization -->
|
<!-- Package names to be blacklisted in Recents -->
|
||||||
<bool name="config_roundedCornerMultipleRadius">true</bool>
|
<string-array name="recents_tv_blacklist_array">
|
||||||
|
<item>com.google.android.tv.remote.service</item>
|
||||||
|
<item>com.google.android.apps.mediashell</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M3,9v6h4l5,5L12,4L7,9L3,9zM10,8.83v6.34L7.83,13L5,13v-2h2.83L10,8.83zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02zM14,3.23v2.06c2.89,0.86 5,3.54 5,6.71s-2.11,5.85 -5,6.71v2.06c4.01,-0.91 7,-4.49 7,-8.77 0,-4.28 -2.99,-7.86 -7,-8.77z"/>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<group android:translateX="-2">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M16,7.97v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02 0,-1.77 -1.02,-3.29 -2.5,-4.03zM5,9v6h4l5,5L14,4L9,9L5,9zM12,8.83v6.34L9.83,13L7,13v-2h2.83L12,8.83z"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<group android:translateX="-4">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M14,8.83v6.34L11.83,13H9v-2h2.83L14,8.83M16,4l-5,5H7v6h4l5,5V4z"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 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
|
||||||
|
-->
|
||||||
|
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="@dimen/tv_volume_icons_size"
|
||||||
|
android:height="@dimen/tv_volume_icons_size"
|
||||||
|
android:viewportHeight="24"
|
||||||
|
android:viewportWidth="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/tv_volume_dialog_accent"
|
||||||
|
android:pathData="M4.34,2.93L2.93,4.34 7.29,8.7 7,9L3,9v6h4l5,5v-6.59l4.18,4.18c-0.65,0.49 -1.38,0.88 -2.18,1.11v2.06c1.34,-0.3 2.57,-0.92 3.61,-1.75l2.05,2.05 1.41,-1.41L4.34,2.93zM10,15.17L7.83,13L5,13v-2h2.83l0.88,-0.88L10,11.41v3.76zM19,12c0,0.82 -0.15,1.61 -0.41,2.34l1.53,1.53c0.56,-1.17 0.88,-2.48 0.88,-3.87 0,-4.28 -2.99,-7.86 -7,-8.77v2.06c2.89,0.86 5,3.54 5,6.71zM12,4l-1.88,1.88L12,7.76zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v1.79l2.48,2.48c0.01,-0.08 0.02,-0.16 0.02,-0.24z"/>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,92 @@
|
|||||||
|
<!--
|
||||||
|
~ Copyright (C) 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
|
||||||
|
-->
|
||||||
|
<FrameLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:sysui="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:id="@+id/volume_dialog_container"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:theme="@style/volume_dialog_theme">
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/volume_dialog"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:padding="@dimen/volume_dialog_panel_transparent_padding"
|
||||||
|
android:clipToPadding="false">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/volume_dialog_rows_container"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:translationZ="@dimen/volume_dialog_elevation"
|
||||||
|
android:clipChildren="false"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:background="@android:color/transparent">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/volume_dialog_rows"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:background="@drawable/tv_volume_dialog_background">
|
||||||
|
<!-- volume rows added and removed here! :-) -->
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/odi_captions"
|
||||||
|
android:layout_width="@dimen/volume_dialog_caption_size"
|
||||||
|
android:layout_height="@dimen/volume_dialog_caption_size"
|
||||||
|
android:layout_marginRight="68dp"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:translationZ="@dimen/volume_dialog_elevation"
|
||||||
|
android:background="@drawable/rounded_bg_full">
|
||||||
|
|
||||||
|
<com.android.systemui.volume.CaptionsToggleImageButton
|
||||||
|
android:id="@+id/odi_captions_icon"
|
||||||
|
android:src="@drawable/ic_volume_odi_captions_disabled"
|
||||||
|
style="@style/VolumeButtons"
|
||||||
|
android:background="@drawable/rounded_ripple"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:tint="@color/caption_tint_color_selector"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:soundEffectsEnabled="false"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
<ViewStub
|
||||||
|
android:id="@+id/odi_captions_tooltip_stub"
|
||||||
|
android:inflatedId="@+id/odi_captions_tooltip_view"
|
||||||
|
android:layout="@layout/volume_tool_tip_view"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginRight="@dimen/volume_tool_tip_right_margin"
|
||||||
|
android:layout_marginTop="@dimen/volume_tool_tip_top_margin"
|
||||||
|
android:layout_gravity="right"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
@ -0,0 +1,84 @@
|
|||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
|
<FrameLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:tag="row"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="@dimen/volume_dialog_panel_height"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:clipChildren="false"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:theme="@style/volume_dialog_theme">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:padding="@dimen/tv_volume_dialog_row_padding"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:gravity="center"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:orientation="vertical" >
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/volume_number"
|
||||||
|
android:layout_width="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:layout_height="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:maxLength="3"
|
||||||
|
android:gravity="center"
|
||||||
|
android:fontFeatureSettings="tnum"
|
||||||
|
android:background="@drawable/tv_volume_dialog_circle"
|
||||||
|
android:textSize="@dimen/tv_volume_number_text_size"
|
||||||
|
android:textColor="@color/tv_volume_dialog_accent"/>
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/volume_row_header"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:maxLength="10"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:visibility="gone"
|
||||||
|
android:textColor="?android:attr/colorControlNormal"
|
||||||
|
android:textAppearance="@style/TextAppearance.Volume.Header" />
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/volume_row_slider_frame"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="@dimen/volume_dialog_panel_height">
|
||||||
|
<SeekBar
|
||||||
|
android:id="@+id/volume_row_slider"
|
||||||
|
android:clickable="false"
|
||||||
|
android:layout_width="@dimen/volume_dialog_panel_height"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layoutDirection="ltr"
|
||||||
|
android:maxHeight="@dimen/volume_dialog_slider_width"
|
||||||
|
android:minHeight="@dimen/volume_dialog_slider_width"
|
||||||
|
android:progressDrawable="@drawable/volume_row_seekbar"
|
||||||
|
android:thumb="@drawable/tv_volume_row_seek_thumb"
|
||||||
|
android:splitTrack="false"
|
||||||
|
android:rotation="270" />
|
||||||
|
</FrameLayout>
|
||||||
|
<com.android.keyguard.AlphaOptimizedImageButton
|
||||||
|
android:id="@+id/volume_row_icon"
|
||||||
|
style="@style/VolumeButtons"
|
||||||
|
android:layout_width="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:layout_height="@dimen/tv_volume_dialog_bubble_size"
|
||||||
|
android:background="@drawable/tv_volume_dialog_circle"
|
||||||
|
android:tint="@color/accent_tint_color_selector"
|
||||||
|
android:soundEffectsEnabled="false" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<include layout="@layout/volume_dnd_icon"/>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
@ -0,0 +1,33 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2016 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>
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown with settings. -->
|
||||||
|
<string translatable="false" name="pip_settings_bounds">"362 54 842 324"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown in center. -->
|
||||||
|
<string translatable="false" name="pip_menu_bounds">"296 80 1024 490"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP is shown in Recents without focus. -->
|
||||||
|
<string translatable="false" name="pip_recents_bounds">"500 54 820 234"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP is shown in Recents with focus. -->
|
||||||
|
<string translatable="false" name="pip_recents_focused_bounds">"475 54 845 262"</string>
|
||||||
|
</resources>
|
||||||
@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2019 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>
|
||||||
|
<!-- Height of volume bar -->
|
||||||
|
<dimen name="volume_dialog_panel_height">190dp</dimen>
|
||||||
|
<dimen name="volume_dialog_panel_width">48dp</dimen>
|
||||||
|
<dimen name="volume_dialog_panel_width_half">24dp</dimen>
|
||||||
|
<dimen name="volume_dialog_panel_transparent_padding">24dp</dimen>
|
||||||
|
<dimen name="volume_dialog_slider_width">4dp</dimen>
|
||||||
|
<dimen name="volume_dialog_slider_corner_radius">@dimen/volume_dialog_slider_width</dimen>
|
||||||
|
<dimen name="volume_dialog_background_blur_radius">31dp</dimen>
|
||||||
|
<dimen name="volume_dialog_caption_size">56dp</dimen>
|
||||||
|
<dimen name="volume_dialog_elevation">9dp</dimen>
|
||||||
|
<dimen name="volume_tool_tip_right_margin">136dp</dimen>
|
||||||
|
<dimen name="volume_tool_tip_top_margin">12dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="tv_volume_dialog_bubble_size">36dp</dimen>
|
||||||
|
<dimen name="tv_volume_dialog_row_padding">6dp</dimen>
|
||||||
|
<dimen name="tv_volume_number_text_size">16sp</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_diameter">24dp</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_focus_ring_width">8dp</dimen>
|
||||||
|
<dimen name="tv_volume_icons_size">20dp</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_shadow_radius">4.0</dimen>
|
||||||
|
<dimen name="tv_volume_seek_bar_thumb_shadow_dy">4.0</dimen>
|
||||||
|
</resources>
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2016 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>
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown with settings. -->
|
||||||
|
<string translatable="false" name="pip_settings_bounds">"662 756 1142 1026"</string>
|
||||||
|
|
||||||
|
<!-- Bounds [left top right bottom] on screen for picture-in-picture (PIP) windows,
|
||||||
|
when the PIP menu is shown in center. -->
|
||||||
|
<string translatable="false" name="pip_menu_bounds">"596 280 1324 690"</string>
|
||||||
|
</resources>
|
||||||
@ -1,43 +1,31 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
||||||
/*
|
|
||||||
** Copyright 2016, 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.
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
You may obtain a copy of the License at
|
||||||
** 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
|
||||||
**
|
|
||||||
** 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,
|
||||||
** Unless required by applicable law or agreed to in writing, software
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
See the License for the specific language governing permissions and
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
limitations under the License.
|
||||||
** See the License for the specific language governing permissions and
|
|
||||||
** limitations under the License.
|
|
||||||
*/
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- These resources are around just to allow their values to be customized
|
|
||||||
for different hardware and product builds. -->
|
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<!-- The default tiles to display in QuickSettings -->
|
<!-- Empty stub status/navigation bar -->
|
||||||
<string name="quick_settings_tiles_default" translatable="false">
|
<string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.tv.TvStatusBar</string>
|
||||||
wifi,dnd,rotation,cell,airplane,dark
|
|
||||||
</string>
|
|
||||||
|
|
||||||
<!-- Whether to enable dimming navigation buttons when wallpaper is not visible, should be
|
|
||||||
enabled for OLED devices to reduce/prevent burn in on the navigation bar (because of the
|
|
||||||
black background and static button placements) and disabled for all other devices to
|
|
||||||
prevent wasting cpu cycles on the dimming animation -->
|
|
||||||
<bool name="config_navigation_bar_enable_auto_dim_no_visible_wallpaper">false</bool>
|
|
||||||
|
|
||||||
<!-- If true, enable the advance anti-falsing classifier on the lockscreen. On
|
<!-- Disable KeyguardSerivce -->
|
||||||
some devices it does not work well, particularly with noisy touchscreens. Note
|
<bool name="config_enableKeyguardService">false</bool>
|
||||||
that disabling it may increase the rate of unintentional unlocks. -->
|
|
||||||
<bool name="config_lockscreenAntiFalsingClassifierEnabled">false</bool>
|
|
||||||
|
|
||||||
<!-- Respect drawable/rounded.xml intrinsic size for multiple radius corner path customization -->
|
<!-- Package names to be blacklisted in Recents -->
|
||||||
<bool name="config_roundedCornerMultipleRadius">true</bool>
|
<string-array name="recents_tv_blacklist_array">
|
||||||
|
<item>com.google.android.tv.remote.service</item>
|
||||||
|
<item>com.google.android.apps.mediashell</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Loading…
Reference in new issue