OSDN Git Service

Move default bounds to top right of the screen for QuickStep.
authorTracy Zhou <tracyzhou@google.com>
Tue, 13 Feb 2018 23:15:43 +0000 (15:15 -0800)
committerTracy Zhou <tracyzhou@google.com>
Wed, 14 Feb 2018 17:11:30 +0000 (17:11 +0000)
Bug: 73299590
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests

Change-Id: Icb261bda15c373f8ec5fc126a0f6f9fba4eb77cd

core/res/res/values/config.xml

index cf7925b..0218750 100644 (file)
     <item name="config_pictureInPictureAspectRatioLimitForMinSize" format="float" type="dimen">1.777778</item>
 
     <!-- The default gravity for the picture-in-picture window.
-         Currently, this maps to Gravity.BOTTOM | Gravity.RIGHT -->
-    <integer name="config_defaultPictureInPictureGravity">0x55</integer>
+         Currently, this maps to Gravity.TOP | Gravity.RIGHT -->
+    <integer name="config_defaultPictureInPictureGravity">0x35</integer>
 
     <!-- The minimum aspect ratio (width/height) that is supported for picture-in-picture.  Any
          ratio smaller than this is considered too tall and thin to be usable. Currently, this