aboutsummaryrefslogtreecommitdiff
path: root/shared/foldable/overlay/frameworks/base/core/res/res/values/config.xml
blob: 8186c97d5aefb0b0d722a4e2ffd3bae379451793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2021, 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
  <!-- WindowsManager JetPack display features -->
  <string name="config_display_features" translatable="false">fold-[884,0,884,2208]</string>
  <!-- Map of System DeviceState supplied by DeviceStateManager to WM Jetpack posture. -->
  <string-array name="config_device_state_postures" translatable="false">
      <item>0:1</item> <!-- CLOSED : STATE_FLAT -->
      <item>1:2</item> <!-- HALF_OPENED : STATE_HALF_OPENED -->
      <item>2:3</item> <!-- OPENED : STATE_FLIPPED -->
      <item>3:1</item> <!-- REAR_DISPLAY: STATE_FLAT -->
  </string-array>
  <!-- The device states (supplied by DeviceStateManager) that should be treated as folded by the
       display fold controller. -->
  <integer-array name="config_foldedDeviceStates" translatable="false">
    <item>0</item> <!-- CLOSED -->
  </integer-array>
  <!-- Indicates whether to enable an animation when unfolding a device or not -->
  <bool name="config_unfoldTransitionEnabled">true</bool>
  <!-- Indicates whether to enable hinge angle sensor when using unfold animation -->
  <bool name="config_unfoldTransitionHingeAngle">true</bool>
  <bool name="config_supportsConcurrentInternalDisplays">false</bool>
  <!-- Controls whether the device support multi window modes like split-screen. -->
  <bool name="config_supportsMultiWindow">true</bool>
  <!-- Controls whether device supports split-screen mode. -->
  <bool name="config_supportsSplitScreenMultiWindow">true</bool>
  <!-- Radius of the software rounded corners. -->
  <dimen name="rounded_corner_radius">34px</dimen>

  <!-- List of the labels of requestable device state config values -->
  <string-array name="config_deviceStatesAvailableForAppRequests">
    <item>config_deviceStateRearDisplay</item>
  </string-array>

  <!-- Device state that corresponds to rear display mode, feature provided
         through Jetpack WindowManager -->
  <integer name="config_deviceStateRearDisplay">3</integer>
</resources>