forked from PixelExperience/vendor_aosp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vendor: Import PixelDocumentsUIGoogleOverlay
Change-Id: Ia1a28e0d4b49b97dd8b9252cf28b00d56c6b4bf5
- Loading branch information
1 parent
26fef5a
commit eb12535
Showing
14 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
runtime_resource_overlay { | ||
name: "PixelDocumentsUIGoogleOverlay", | ||
certificate: "platform", | ||
sdk_version: "current", | ||
product_specific: true | ||
} |
4 changes: 4 additions & 0 deletions
4
rro_overlays/PixelDocumentsUIGoogleOverlay/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.google.android.documentsui.theme.pixel" platformBuildVersionCode="30" platformBuildVersionName="11"> | ||
<overlay android:isStatic="true" android:priority="0" android:targetName="DocumentsUICustomization" android:targetPackage="com.google.android.documentsui"/> | ||
<application android:label="PixelDocumentsUIGoogleOverlay" android:hasCode="false"/> | ||
</manifest> |
9 changes: 9 additions & 0 deletions
9
rro_overlays/PixelDocumentsUIGoogleOverlay/res/drawable-ldrtl/root_list_selector.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<inset android:insetLeft="10.0dip" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<shape android:shape="rectangle" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<corners android:topLeftRadius="48.0dip" android:topRightRadius="0.0dip" android:bottomLeftRadius="48.0dip" android:bottomRightRadius="0.0dip" /> | ||
<solid android:color="?android:colorSecondary" /> | ||
</shape> | ||
</inset> |
5 changes: 5 additions & 0 deletions
5
rro_overlays/PixelDocumentsUIGoogleOverlay/res/drawable/ic_eject.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<path android:fillColor="#ff5f6368" android:pathData="M5,17h14v2L5,19zM12,5L5.33,15h13.34L12,5zM12,8.6l2.93,4.4L9.07,13L12,8.6z" /> | ||
</vector> |
5 changes: 5 additions & 0 deletions
5
rro_overlays/PixelDocumentsUIGoogleOverlay/res/drawable/ic_root_download.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<path android:fillColor="#ff5f6368" android:pathData="M19,12v7L5,19v-7L3,12v7c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2v-7h-2zM13,12.67l2.59,-2.58L17,11.5l-5,5 -5,-5 1.41,-1.41L11,12.67L11,3h2v9.67z" /> | ||
</vector> |
5 changes: 5 additions & 0 deletions
5
rro_overlays/PixelDocumentsUIGoogleOverlay/res/drawable/ic_sd_storage.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<path android:fillColor="#ff5f6368" android:pathData="M18,2h-8L4,8v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,4c0,-1.1 -0.9,-2 -2,-2zM18,20L6,20L6,8.83L10.83,4L18,4v16zM9,7h2v4L9,11zM12,7h2v4h-2zM15,7h2v4h-2z" /> | ||
</vector> |
9 changes: 9 additions & 0 deletions
9
rro_overlays/PixelDocumentsUIGoogleOverlay/res/drawable/root_list_selector.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<inset android:insetRight="10.0dip" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<shape android:shape="rectangle" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<corners android:topLeftRadius="0.0dip" android:topRightRadius="48.0dip" android:bottomLeftRadius="0.0dip" android:bottomRightRadius="48.0dip" /> | ||
<solid android:color="?android:colorSecondary" /> | ||
</shape> | ||
</inset> |
20 changes: 20 additions & 0 deletions
20
rro_overlays/PixelDocumentsUIGoogleOverlay/res/values-night/styles.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="DocumentsTheme" parent="@android:style/Theme.DeviceDefault.DocumentsUI"> | ||
<item name="android:colorBackground">#ff202124</item> | ||
<item name="android:windowBackground">?android:colorBackground</item> | ||
<item name="android:windowNoTitle">true</item> | ||
<item name="android:windowSoftInputMode">adjustUnspecified|stateUnspecified</item> | ||
<item name="android:actionModeBackground">?android:colorBackground</item> | ||
<item name="android:actionBarSize">48.0dip</item> | ||
<item name="android:strokeColor">#ff5f6368</item> | ||
<item name="android:colorControlActivated">?android:colorPrimary</item> | ||
<item name="android:colorPrimary">#ff8ab4f8</item> | ||
<item name="android:colorAccent">#ff8ab4f8</item> | ||
<item name="android:statusBarColor">?android:colorBackground</item> | ||
<item name="android:windowLightStatusBar">false</item> | ||
<item name="android:colorBackgroundFloating">#ff3c4043</item> | ||
<item name="android:colorSecondary">#3d8ab4f8</item> | ||
<item name="android:windowLightNavigationBar">false</item> | ||
</style> | ||
</resources> |
7 changes: 7 additions & 0 deletions
7
rro_overlays/PixelDocumentsUIGoogleOverlay/res/values/bools.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<bool name="config_button_all_caps">false</bool> | ||
<bool name="handle_view_downloads_intent">false</bool> | ||
<bool name="is_launcher_enabled">false</bool> | ||
<bool name="show_search_bar">true</bool> | ||
</resources> |
4 changes: 4 additions & 0 deletions
4
rro_overlays/PixelDocumentsUIGoogleOverlay/res/values/colors.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="primary">#ff1a73e8</color> | ||
</resources> |
5 changes: 5 additions & 0 deletions
5
rro_overlays/PixelDocumentsUIGoogleOverlay/res/values/dimens.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<dimen name="grid_item_radius">8.0dip</dimen> | ||
<dimen name="search_chip_radius">8.0dip</dimen> | ||
</resources> |
7 changes: 7 additions & 0 deletions
7
rro_overlays/PixelDocumentsUIGoogleOverlay/res/values/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="config_fontFamily">google-sans</string> | ||
<string name="config_fontFamilyMedium">google-sans-medium</string> | ||
<string name="preferred_root_package">com.google.android</string> | ||
<string name="trusted_quick_viewer_package">com.google.android.apps.docs</string> | ||
</resources> |
22 changes: 22 additions & 0 deletions
22
rro_overlays/PixelDocumentsUIGoogleOverlay/res/values/styles.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="DocumentsTheme" parent="@android:style/Theme.DeviceDefault.DocumentsUI"> | ||
<item name="android:colorBackground">#ffffffff</item> | ||
<item name="android:windowBackground">?android:colorBackground</item> | ||
<item name="android:windowNoTitle">true</item> | ||
<item name="android:windowSoftInputMode">adjustUnspecified|stateUnspecified</item> | ||
<item name="android:actionModeBackground">?android:colorBackground</item> | ||
<item name="android:actionBarSize">48.0dip</item> | ||
<item name="android:strokeColor">#ffdadce0</item> | ||
<item name="android:colorControlActivated">#ff1967d2</item> | ||
<item name="android:colorPrimary">#ff1a73e8</item> | ||
<item name="android:colorAccent">#ff1a73e8</item> | ||
<item name="android:statusBarColor">?android:colorBackground</item> | ||
<item name="android:navigationBarColor">?android:colorBackground</item> | ||
<item name="android:windowLightStatusBar">true</item> | ||
<item name="android:colorBackgroundFloating">#ffffffff</item> | ||
<item name="android:colorSecondary">#ffe8f0fe</item> | ||
<item name="android:windowLightNavigationBar">true</item> | ||
<item name="android:navigationBarDividerColor">?android:strokeColor</item> | ||
</style> | ||
</resources> |