| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2022 The Android Open Source Project |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | <!-- These resources are around just to allow their values to be customized |
| 19 | for TV products. Do not translate. --> |
| 20 | <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> |
| 21 | |
| 22 | <!-- The percentage of the screen width to use for the default width or height of |
| 23 | picture-in-picture windows. Regardless of the percent set here, calculated size will never |
| 24 | be smaller than @dimen/default_minimal_size_pip_resizable_task. --> |
| 25 | <item name="config_pictureInPictureDefaultSizePercent" format="float" type="dimen">0.2</item> |
| 26 | |
| 27 | <!-- Default insets [LEFT/RIGHTxTOP/BOTTOM] from the screen edge for picture-in-picture windows. |
| 28 | These values are in DPs and will be converted to pixel sizes internally. --> |
| 29 | <string translatable="false" name="config_defaultPictureInPictureScreenEdgeInsets"> |
| 30 | 24x24 |
| 31 | </string> |
| 32 | |
| 33 | <!-- The default gravity for the picture-in-picture window. |
| 34 | Currently, this maps to Gravity.BOTTOM | Gravity.RIGHT --> |
| 35 | <integer name="config_defaultPictureInPictureGravity">0x55</integer> |
| 36 | |
| 37 | <!-- Fraction of screen width/height restricted keep clear areas can move the PiP. --> |
| 38 | <fraction name="config_pipMaxRestrictedMoveDistance">15%</fraction> |
| 39 | |
| 40 | <!-- Duration (in milliseconds) the PiP stays stashed before automatically unstashing. --> |
| 41 | <integer name="config_pipStashDuration">5000</integer> |
| 42 | |
| 43 | <!-- Time (duration in milliseconds) that the shell waits for an app to close the PiP by itself |
| 44 | if a custom action is present before closing it. --> |
| 45 | <integer name="config_pipForceCloseDelay">5000</integer> |
| 46 | |
| 47 | <!-- Animation duration when exit starting window: fade out icon --> |
| 48 | <integer name="starting_window_app_reveal_icon_fade_out_duration">0</integer> |
| 49 | |
| 50 | <!-- Animation duration when exit starting window: reveal app --> |
| 51 | <integer name="starting_window_app_reveal_anim_delay">0</integer> |
| 52 | |
| 53 | <!-- Animation duration when exit starting window: reveal app --> |
| 54 | <integer name="starting_window_app_reveal_anim_duration">0</integer> |
| 55 | </resources> |