extra: Initial Android 9 import

lineage-16.0
Nolen Johnson 4 years ago
commit df4270afa4
  1. 1
      BoardConfigExtra.mk
  2. 158
      apps/Android.mk
  3. 97
      apps/GoogleApps.mk
  4. BIN
      apps/apks/ActionServices.apk
  5. BIN
      apps/apks/AndroidMigratePrebuilt.apk
  6. BIN
      apps/apks/GoogleCamera.apk
  7. BIN
      apps/apks/GoogleVrCore.apk
  8. BIN
      apps/apks/HangoutsStub.apk
  9. BIN
      apps/apks/MarkupGoogle.apk
  10. BIN
      apps/apks/NexusWallpapersStubPrebuilt.apk
  11. BIN
      apps/apks/NexusWallpapersStubPrebuilt2017.apk
  12. BIN
      apps/apks/NexusWallpapersStubPrebuilt2018.apk
  13. BIN
      apps/apks/PixelLauncher.apk
  14. BIN
      apps/apks/PlayAutoInstallConfig.apk
  15. BIN
      apps/apks/SettingsIntelligenceGooglePrebuilt.apk
  16. BIN
      apps/apks/SetupWizardPixel.apk
  17. BIN
      apps/apks/WallpaperPickerGooglePrebuilt.apk
  18. BIN
      apps/jars/com.google.android.camera.experimental2017.jar
  19. BIN
      apps/jars/com.google.android.camera.experimental2018.jar
  20. BIN
      apps/lib/arm/libbarhopper.so
  21. BIN
      apps/lib/arm64/libbarhopper.so
  22. BIN
      apps/lib/arm64/libsketchology_native.so
  23. BIN
      apps/lib/x86/libbarhopper.so
  24. BIN
      apps/lib/x86_64/libbarhopper.so
  25. 20
      apps/permissions/com.google.android.camera.experimental2015.xml
  26. 20
      apps/permissions/com.google.android.camera.experimental2016.xml
  27. 20
      apps/permissions/com.google.android.camera.experimental2017.xml
  28. 20
      apps/permissions/com.google.android.camera.experimental2018.xml
  29. 67
      apps/permissions/privapp-permissions-pixel.xml
  30. 8
      apps/sysconfig/dialer_experience.xml
  31. 24
      apps/sysconfig/google_build.xml
  32. 58
      apps/sysconfig/nexus.xml
  33. 7
      apps/sysconfig/pixel_2017_exclusive.xml
  34. 10
      apps/sysconfig/pixel_2018_exclusive.xml
  35. 7
      apps/sysconfig/pixel_2019_midyear_exclusive.xml
  36. 7
      apps/sysconfig/pixel_experience_2017.xml
  37. 13
      apps/sysconfig/pixel_experience_2018.xml
  38. 7
      apps/sysconfig/pixel_experience_2019_midyear.xml
  39. 40
      codenames.mk
  40. 10
      overlay-gms/frameworks/base/core/res/res/values/config.xml
  41. 7
      overlay-gms/frameworks/base/packages/SystemUI/res/values/config.xml
  42. 7
      overlay-gms/frameworks/base/packages/SystemUI/res/values/strings.xml
  43. 37
      overlay-google/frameworks/base/packages/SystemUI/res/layout/home.xml
  44. 11
      overlay-google/frameworks/base/packages/SystemUI/res/values/config.xml
  45. 5
      overlay-google/packages/apps/Settings/res/values/config.xml
  46. 18
      overlay-lineage/packages/apps/LineageParts/res/values/arrays.xml
  47. 12
      overlay-theme/frameworks/base/core/res/res/values/config.xml
  48. 6
      overlay-theme/frameworks/base/core/res/res/values/dimens.xml
  49. 4
      overlay-theme/frameworks/base/core/res/res/values/donottranslate_material.xml
  50. 5
      overlay-theme/frameworks/base/packages/SystemUI/res/values/dimens.xml
  51. 5
      overlay-theme/packages/apps/DocumentsUI/res/mipmap-anydpi/ic_launcher.xml
  52. BIN
      overlay-theme/packages/apps/DocumentsUI/res/mipmap-hdpi/ic_foreground.png
  53. BIN
      overlay-theme/packages/apps/DocumentsUI/res/mipmap-mdpi/ic_foreground.png
  54. BIN
      overlay-theme/packages/apps/DocumentsUI/res/mipmap-xhdpi/ic_foreground.png
  55. BIN
      overlay-theme/packages/apps/DocumentsUI/res/mipmap-xxhdpi/ic_foreground.png
  56. BIN
      overlay-theme/packages/apps/DocumentsUI/res/mipmap-xxxhdpi/ic_foreground.png
  57. 5
      overlay-theme/packages/apps/Settings/res/mipmap-anydpi/ic_launcher.xml
  58. BIN
      overlay-theme/packages/apps/Settings/res/mipmap-hdpi/ic_foreground.png
  59. BIN
      overlay-theme/packages/apps/Settings/res/mipmap-mdpi/ic_foreground.png
  60. BIN
      overlay-theme/packages/apps/Settings/res/mipmap-xhdpi/ic_foreground.png
  61. BIN
      overlay-theme/packages/apps/Settings/res/mipmap-xxhdpi/ic_foreground.png
  62. BIN
      overlay-theme/packages/apps/Settings/res/mipmap-xxxhdpi/ic_foreground.png
  63. 23
      overlay-theme/packages/apps/Settings/res/values/styles.xml
  64. 5
      overlay-turbo/frameworks/base/core/res/res/values/config.xml
  65. 11
      pixel-quickstep/Android.mk
  66. 26
      pixel-quickstep/AndroidManifest.xml
  67. 19
      pixel-quickstep/res/values/styles.xml
  68. 55
      pixel-theme/Android.mk
  69. 17
      pixel-theme/AndroidManifest.xml
  70. BIN
      pixel-theme/fonts/GoogleSans-Bold.ttf
  71. BIN
      pixel-theme/fonts/GoogleSans-BoldItalic.ttf
  72. BIN
      pixel-theme/fonts/GoogleSans-Italic.ttf
  73. BIN
      pixel-theme/fonts/GoogleSans-Medium.ttf
  74. BIN
      pixel-theme/fonts/GoogleSans-MediumItalic.ttf
  75. BIN
      pixel-theme/fonts/GoogleSans-Regular.ttf
  76. 11
      pixel-theme/google-fonts.xml
  77. 26
      pixel-theme/res/values/colors.xml
  78. 26
      pixel-theme/res/values/public.xml
  79. 42
      product.mk
  80. 11
      sounds/Android.mk
  81. 76
      sounds/GoogleAudio.mk
  82. BIN
      sounds/SoundPickerPrebuilt.apk
  83. BIN
      sounds/material/alarms/A_real_hoot.ogg
  84. BIN
      sounds/material/alarms/Bright_morning.ogg
  85. BIN
      sounds/material/alarms/Cuckoo_clock.ogg
  86. BIN
      sounds/material/alarms/Early_twilight.ogg
  87. BIN
      sounds/material/alarms/Full_of_wonder.ogg
  88. BIN
      sounds/material/alarms/Gentle_breeze.ogg
  89. BIN
      sounds/material/alarms/Icicles.ogg
  90. BIN
      sounds/material/alarms/Jump_start.ogg
  91. BIN
      sounds/material/alarms/Loose_change.ogg
  92. BIN
      sounds/material/alarms/Rolling_fog.ogg
  93. BIN
      sounds/material/alarms/Spokes.ogg
  94. BIN
      sounds/material/alarms/Sunshower.ogg
  95. BIN
      sounds/material/effects/ChargingStarted.ogg
  96. BIN
      sounds/material/effects/Dock.ogg
  97. BIN
      sounds/material/effects/Effect_Tick.ogg
  98. BIN
      sounds/material/effects/InCallNotification.ogg
  99. BIN
      sounds/material/effects/KeypressDelete.ogg
  100. BIN
      sounds/material/effects/KeypressInvalid.ogg
  101. Some files were not shown because too many files have changed in this diff Show More

@ -0,0 +1 @@
include vendor/google_pixel/codenames.mk

@ -0,0 +1,158 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := ActionServices
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_PRIVILEGED_MODULE := true
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := AndroidMigratePrebuilt
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_PRIVILEGED_MODULE := true
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
LOCAL_OVERRIDES_PACKAGES := GoogleRestore
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := GoogleCamera
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
LOCAL_OVERRIDES_PACKAGES := Camera Camera2 MotCamera Snap
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := GoogleVrCore
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := HangoutsStub
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := MarkupGoogle
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_PRIVILEGED_MODULE := true
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
LOCAL_PREBUILT_JNI_LIBS := lib/arm64/libsketchology_native.so
LOCAL_MODULE_TARGET_ARCH := arm64
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := NexusWallpapersStubPrebuilt
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := NexusWallpapersStubPrebuilt2017
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := NexusWallpapersStubPrebuilt2018
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := PixelLauncher
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_PRIVILEGED_MODULE := true
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
LOCAL_OVERRIDES_PACKAGES := SearchLauncherQuickStep TrebuchetQuickStep Trebuchet
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := PlayAutoInstallConfig
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := SettingsIntelligenceGooglePrebuilt
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_PRIVILEGED_MODULE := true
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
LOCAL_OVERRIDES_PACKAGES := SettingsIntelligence
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
my_archs := arm arm64 x86 x86_64
my_src_arch := $(call get-prebuilt-src-arch, $(my_archs))
LOCAL_MODULE := SetupWizardPixel
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_PRIVILEGED_MODULE := true
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
LOCAL_OVERRIDES_PACKAGES := SetupWizard
LOCAL_PREBUILT_JNI_LIBS := lib/$(my_src_arch)/libbarhopper.so
LOCAL_MODULE_TARGET_ARCH := $(my_src_arch)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := WallpaperPickerGooglePrebuilt
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
include $(BUILD_PREBUILT)

@ -0,0 +1,97 @@
# Build experimental2016 camera on Pixel 2016 devices
ifneq ($(filter $(PIXEL2016_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/permissions/com.google.android.camera.experimental2016.xml:system/etc/permissions/com.google.android.camera.experimental2016.xml \
vendor/google_pixel/apps/jars/com.google.android.camera.experimental2016.jar:system/framework/com.google.android.camera.experimental2016.jar
endif
# Build experimental2017 camera on Pixel 2017 devices
ifneq ($(filter $(PIXEL2017_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/permissions/com.google.android.camera.experimental2017.xml:system/etc/permissions/com.google.android.camera.experimental2017.xml \
vendor/google_pixel/apps/jars/com.google.android.camera.experimental2017.jar:system/framework/com.google.android.camera.experimental2017.jar
endif
# Build experimental2018 camera on Pixel 2018 and 2019 Midyear devices
ifneq ($(filter $(PIXEL2018_CODENAMES) $(PIXEL2019_MIDYEAR_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/permissions/com.google.android.camera.experimental2018.xml:system/etc/permissions/com.google.android.camera.experimental2018.xml \
vendor/google_pixel/apps/jars/com.google.android.camera.experimental2018.jar:system/framework/com.google.android.camera.experimental2018.jar
endif
# Build google_build.xml and nexus.xml on Pixel devices
ifneq ($(filter $(PIXEL_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/sysconfig/google_build.xml:system/etc/sysconfig/google_build.xml \
vendor/google_pixel/apps/sysconfig/nexus.xml:system/etc/sysconfig/nexus.xml
endif
# Copy pixel_experience_2017.xml on 2017 and later Pixels
ifneq ($(filter $(PIXEL2017_CODENAMES) $(PIXEL2018_CODENAMES) $(PIXEL2019_MIDYEAR_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/sysconfig/pixel_experience_2017.xml:system/etc/sysconfig/pixel_experience_2017.xml
endif
# Copy pixel_experience_2018.xml on 2018 and later Pixels
ifneq ($(filter $(PIXEL2018_CODENAMES) $(PIXEL2019_MIDYEAR_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/sysconfig/pixel_experience_2018.xml:system/etc/sysconfig/pixel_experience_2018.xml
endif
# Only copy pixel_2018_exclusive on 2018 Pixels
ifneq ($(filter $(PIXEL2018_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/sysconfig/pixel_2018_exclusive.xml:system/etc/sysconfig/pixel_2018_exclusive.xml
endif
# Only copy pixel_2019_midyear_exclusive on 2019 Midyear Pixels
ifneq ($(filter $(PIXEL2019_MIDYEAR_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/sysconfig/pixel_2019_midyear_exclusive.xml:system/etc/sysconfig/pixel_2019_midyear_exclusive.xml
endif
# This is included as part of GoogleDialer build, for devices that have the
# GoogleDialer
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/sysconfig/dialer_experience.xml:system/etc/sysconfig/dialer_experience.xml
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/permissions/privapp-permissions-pixel.xml:system/etc/permissions/privapp-permissions-pixel.xml
# Only build Google Camera on Pixels
ifneq ($(filter $(PIXEL_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += \
AndroidMigratePrebuilt \
GoogleCamera \
SetupWizardPixel
endif
# Build appropriate year wallpaper package on Pixels
ifneq ($(filter $(PIXEL2016_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += \
NexusWallpapersStubPrebuilt
endif
ifneq ($(filter $(PIXEL2017_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += \
NexusWallpapersStubPrebuilt2017
endif
ifneq ($(filter $(PIXEL2018_CODENAMES) $(PIXEL2019_MIDYEAR_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += \
NexusWallpapersStubPrebuilt2018
endif
# More Google packages
PRODUCT_PACKAGES += \
ActionServices \
GoogleVrCore \
HangoutsStub \
MarkupGoogle \
PixelLauncher \
PlayAutoInstallConfig \
WallpaperPickerGooglePrebuilt \
Wellbeing
PRODUCT_PACKAGE_OVERLAYS += vendor/google_pixel/overlay-gms
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/google_pixel/overlay-gms

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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.
-->
<permissions>
<library name="com.google.android.camera.experimental2015"
file="/system/framework/com.google.android.camera.experimental2015.jar" />
</permissions>

@ -0,0 +1,20 @@
<?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.
-->
<permissions>
<library name="com.google.android.camera.experimental2016"
file="/system/framework/com.google.android.camera.experimental2016.jar" />
</permissions>

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 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.
-->
<permissions>
<library name="com.google.android.camera.experimental2017"
file="/system/framework/com.google.android.camera.experimental2017.jar" />
</permissions>

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 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.
-->
<permissions>
<library name="com.google.android.camera.experimental2018"
file="/system/framework/com.google.android.camera.experimental2018.jar" />
</permissions>

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2017 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
-->
<!--
This XML file declares which signature|privileged permissions should be granted to privileged
applications on GMS or Google-branded devices.
It allows additional grants on top of privapp-permissions-platform.xml
-->
<permissions>
<privapp-permissions package="com.google.android.as">
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.apps.nexuslauncher">
<permission name="android.permission.BIND_APPWIDGET"/>
<permission name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"/>
<permission name="android.permission.MANAGE_ACTIVITY_STACKS"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
<permission name="android.permission.STATUS_BAR"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.apps.pixelclauncher">
<permission name="android.permission.BIND_APPWIDGET"/>
<permission name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.apps.wellbeing">
<permission name="android.permission.CONTROL_DISPLAY_SATURATION"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.OBSERVE_APP_USAGE"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.SUSPEND_APPS"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.apps.pixelmigrate">
<permission name="android.permission.BACKUP"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.MANAGE_USB"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.settings.intelligence">
<permission name="android.permission.MANAGE_FINGERPRINT"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.READ_SEARCH_INDEXABLES"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
</permissions>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on devices suppoted by Google Dialer. -->
<config>
<!-- This is for preloaded Google Dialer to get play store update. -->
<feature name="com.google.android.apps.dialer.SUPPORTED" />
</config>

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 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.
-->
<!-- These are configurations that should exist on Google's own Nexus and GPe devices. -->
<config>
<feature name="com.google.android.feature.GOOGLE_BUILD" />
<!-- This should be added to all Nexus and GPe devices -->
<feature name="com.google.android.feature.GOOGLE_EXPERIENCE" />
<!-- This should declare the version of Exchange that ships -->
<feature name="com.google.android.feature.EXCHANGE_6_2" />
</config>

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2016 and newer Nexus devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2016 and newer Nexus devices. -->
<feature name="com.google.android.feature.PIXEL_EXPERIENCE" />
<!-- The feature identifying devices which are able to use the Turbo app -->
<feature name="com.google.android.feature.TURBO_PRELOAD" />
<!-- The feature identifying devices which are able to use the Android Wellbeing app. -->
<feature name="com.google.android.feature.WELLBEING" />
<!-- Enable Zero Touch Provisioning support for 2016 and newer Nexus devices. -->
<feature name="com.google.android.feature.ZERO_TOUCH" />
<!-- Allow WfcActivation app scheduled jobs to run when app in background. -->
<allow-in-power-save-except-idle package="com.google.android.wfcactivation" />
<!-- Allow ssr detector service in background -->
<allow-in-power-save package="com.google.SSRestartDetector" />
<!-- Allow connectivitymonitor service in background -->
<allow-in-power-save package="com.google.android.connectivitymonitor" />
<!-- Allow ramdump uploader service in background -->
<allow-in-power-save package="com.android.ramdump" />
<!-- Whitelist log pkg so JobIntentService can work. b/71630894 -->
<allow-in-power-save-except-idle package="com.google.android.apps.carrier.log" />
<!-- Whitelist so headless app JobIntentService can work. b/73250911 -->
<allow-in-power-save-except-idle package="com.google.android.carrier" />
<!-- These are telephony components that need to run in the background -->
<allow-in-power-save package="com.qualcomm.atfwd" />
<allow-in-power-save package="com.qualcomm.embms" />
<allow-in-power-save package="com.qualcomm.qti.telephonyservice" />
<allow-in-power-save package="com.qulacomm.qcrilmsgtunnel" />
<allow-in-power-save package="com.qualcomm.qti.ims" />
<allow-in-power-save package="com.qualcomm.qti.radioconfiginterface" />
<!-- Pre-installed carrier apps which should be disabled until a matching SIM is inserted. -->
<disabled-until-used-preinstalled-carrier-app package="com.google.android.apps.tycho" />
<!-- Verizon MVS app: pre-installed and should be disabled until Verizon SIM inserted. -->
<disabled-until-used-preinstalled-carrier-app package="com.verizon.mips.services" />
<!-- Whitelist so the app can run JobIntentService in background. b/77932342 -->
<allow-in-power-save-except-idle package="com.google.android.tetheringentitlement" />
<!-- Tethering entitlement check app should have Internet access while in data saving mode,
even if they're in background. -->
<allow-in-data-usage-save package="com.google.android.tetheringentitlement" />
<!-- Allow eMBMS middleware services to run in the background -->
<allow-in-power-save package="com.qualcomm.ltebc_vzw" />
<allow-in-power-save package="com.qualcomm.ltebc" />
</config>

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2017 devices (and not newer/older) -->
<config>
<!-- This defines the Photos preload feature for specifically the 2017 Pixel devices. -->
<feature name="com.google.android.apps.photos.PIXEL_2017_PRELOAD" />
</config>

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2018 devices (and not newer/older) -->
<config>
<!-- This defines the Photos preload feature for specifically the 2018 Pixel devices. -->
<feature name="com.google.android.apps.photos.PIXEL_2018_PRELOAD" />
<!-- This feature is meant to be the feature identifying a device supports wireless charger -->
<feature name="com.google.android.feature.DREAMLINER" />
</config>

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2019 mid year devices (and not newer/older) -->
<config>
<!-- This defines the Photos preload feature for specifically the 2019 Pixel mid year devices. -->
<feature name="com.google.android.apps.photos.PIXEL_2019_MIDYEAR_PRELOAD" />
</config>

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2017 and newer Nexus devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2017 and newer Nexus devices. -->
<feature name="com.google.android.feature.PIXEL_2017_EXPERIENCE" />
</config>

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2018 and newer Pixel devices. -->
<config>
<!-- Allow Pixel modem service in background -->
<allow-in-power-save package="com.google.modemservice" />
<!-- Allow SCONE JobIntentService & Services to run in background -->
<allow-in-power-save package="com.google.android.apps.scone" />
<!-- This is meant to be the canonical feature identifying 2018 and newer Pixel devices. -->
<feature name="com.google.android.feature.PIXEL_2018_EXPERIENCE" />
</config>

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on Google's 2019 mid year and newer devices. -->
<config>
<!-- This is meant to be the canonical feature identifying 2019 mid year and newer devices. -->
<feature name="com.google.android.feature.PIXEL_2019_MIDYEAR_EXPERIENCE" />
</config>

@ -0,0 +1,40 @@
PIXEL2016_CODENAMES += \
%marlin \
%sailfish \
PIXEL2017_CODENAMES += \
%muskie \
%taimen \
%wahoo \
%walleye
PIXEL2018_CODENAMES += \
%blueline \
%crosshatch
PIXEL2019_MIDYEAR_CODENAMES += \
%bonito \
%sargo
PIXEL_CODENAMES += \
$(PIXEL2016_CODENAMES) \
$(PIXEL2017_CODENAMES) \
$(PIXEL2018_CODENAMES) \
$(PIXEL2019_MIDYEAR_CODENAMES)
PIXEL_AMBIENT_CODENAMES += \
$(PIXEL2017_CODENAMES) \
$(PIXEL2018_CODENAMES) \
$(PIXEL2019_MIDYEAR_CODENAMES)
PIXEL_DREAMLINER_CODENAMES += \
$(PIXEL2018_CODENAMES)
PIXEL_ELMYRA_CODENAMES += \
$(PIXEL2017_CODENAMES) \
$(PIXEL2018_CODENAMES) \
$(PIXEL2019_MIDYEAR_CODENAMES)
# Not all devices work with Turbo, just Pixels and Android One devices
TURBO_CODENAMES += \
$(PIXEL_CODENAMES)

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Component name for the activity that will be presenting the Recents UI, which will receive special permissions for API related
to fetching and presenting recent tasks. The default configuration uses Launcher3QuickStep as default launcher and points to
the corresponding recents component. -->
<string name="config_recentsComponentName">com.google.android.apps.nexuslauncher/com.android.quickstep.RecentsActivity</string>
<!-- Colon separated list of package names that should be granted Notification Listener access -->
<string name="config_defaultListenerAccessPackages" translatable="false">com.google.android.apps.nexuslauncher:com.android.launcher3:com.google.android.setupwizard:com.google.android.apps.restore</string>
</resources>

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Screenshot editing default activity. Must handle ACTION_EDIT image/png intents.
Blank sends the user to the Chooser first.
This name is in the ComponentName flattened format (package/class) -->
<string name="config_screenshotEditor">com.google.android.markup/com.google.android.markup.AnnotateActivity</string>
</resources>

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- List of packages for which we don't want to show recents onboarding, add into overlay as needed. -->
<string-array name="recents_onboarding_blacklisted_packages" translatable="false">
<item>com.google.android.setupwizard</item>
</string-array>
</resources>

@ -0,0 +1,37 @@
<?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.
-->
<com.google.android.systemui.OpaLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res-auto"
android:id="@+id/home"
android:clipChildren="false"
android:clipToPadding="false"
android:layout_width="@dimen/navigation_key_width"
android:layout_height="fill_parent"
android:layout_weight="0.0"
android:paddingStart="@dimen/navigation_key_padding"
android:paddingEnd="@dimen/navigation_key_padding" >
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:id="@+id/red" android:src="@drawable/ic_sysbar_opa_red" android:importantForAccessibility="no" style="@style/DotStyle" />
<ImageView android:id="@+id/blue" android:src="@drawable/ic_sysbar_opa_blue" android:importantForAccessibility="no" style="@style/DotStyle" />
<ImageView android:id="@+id/green" android:src="@drawable/ic_sysbar_opa_green" android:importantForAccessibility="no" style="@style/DotStyle" />
<ImageView android:id="@+id/yellow" android:src="@drawable/ic_sysbar_opa_yellow" android:importantForAccessibility="no" style="@style/DotStyle" />
</RelativeLayout>
<ImageView android:layout_gravity="center" android:id="@+id/halo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no"/>
<ImageView android:layout_gravity="center" android:id="@+id/white_cutout" android:layout_width="@dimen/halo_diameter" android:layout_height="@dimen/halo_diameter" android:scaleType="center" android:importantForAccessibility="no"/>
<ImageView android:layout_gravity="center" android:id="@+id/white" android:layout_width="@dimen/halo_diameter" android:layout_height="@dimen/halo_diameter" android:scaleType="center" android:importantForAccessibility="no"/>
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="center" android:id="@+id/home_button" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:scaleType="center" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" />
</com.google.android.systemui.OpaLayout>

@ -0,0 +1,11 @@
<resources>
<!-- SystemUI vender service, used in config_systemUIServiceComponents. -->
<string name="config_systemUIVendorServiceComponent" translatable="false">com.google.android.systemui.GoogleServices</string>
<!-- SystemUIFactory component -->
<string name="config_systemUIFactoryComponent">com.google.android.systemui.SystemUIGoogleFactory</string>
<!-- Component to be used as the status bar service. Must implement the IStatusBar
interface. This name is in the ComponentName flattened format (package/class) -->
<string name="config_statusBarComponent">com.google.android.systemui.statusbar.phone.StatusBarGoogle</string>
</resources>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Fully-qualified class name for the implementation of the FeatureFactory to be instantiated. -->
<string name="config_featureFactory">com.google.android.settings.overlay.FeatureFactoryImpl</string>
</resources>

@ -0,0 +1,18 @@
<resources>
<!-- Supported accent packages -->
<string-array name="accent_packages" translatable="false">
<item>org.lineageos.overlay.accent.red</item>
<item>org.lineageos.overlay.accent.pink</item>
<item>org.lineageos.overlay.accent.purple</item>
<item>org.lineageos.overlay.accent.blue</item>
<item>org.lineageos.overlay.accent.cyan</item>
<item>org.lineageos.overlay.accent.green</item>
<item>org.lineageos.overlay.accent.orange</item>
<item>org.lineageos.overlay.accent.yellow</item>
<item>org.lineageos.overlay.accent.brown</item>
<item>org.lineageos.overlay.accent.black</item>
<item>com.google.android.theme.pixel</item>
</string-array>
</resources>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Use round icons -->
<bool name="config_useRoundIcon">true</bool>
<string name="config_icon_mask">M50 0C77.6 0 100 22.4 100 50C100 77.6 77.6 100 50 100C22.4 100 0 77.6 0 50C0 22.4 22.4 0 50 0Z</string>
<!-- Google Sans font configuration -->
<string name="config_headlineFontFamily">google-sans</string>
<string name="config_headlineFontFamilyLight">google-sans</string>
<string name="config_headlineFontFeatureSettings">ss03</string>
<bool name="config_buttonTextAllCaps">false</bool>
</resources>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="config_dialogCornerRadius">8.0dip</dimen>
<dimen name="config_buttonCornerRadius">4.0dip</dimen>
<dimen name="config_progressBarCornerRadius">1000.0dip</dimen>
</resources>

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="font_family_button_material">google-sans-medium</string>
</resources>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="fingerprint_dialog_corner_size">8dp</dimen>
<dimen name="multi_user_switch_keyguard_margin">7dp</dimen>
</resources>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@*android:color/accent_device_default_light"/>
<foreground android:drawable="@mipmap/ic_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@*android:color/accent_device_default_light"/>
<foreground android:drawable="@mipmap/ic_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2006 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>
<style name="TextAppearance.SearchBar" parent="@*android:style/TextAppearance.Material.Widget.Toolbar.Subtitle">
<item name="android:textSize">16dp</item>
<item name="android:layout_gravity">center</item>
<item name="android:fontFamily">google-sans</item>
</style>
</resources>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Flag indicating whether we should enable smart battery. -->
<bool name="config_smart_battery_available">true</bool>
</resources>

@ -0,0 +1,11 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_RRO_THEME := PixelQuickstep
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_PACKAGE_NAME := PixelQuickstep
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_RRO_SYSTEM_PACKAGE)

@ -0,0 +1,26 @@
<!--
Copyright (c) 2018, The LineageOS 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.overlay.pixelquickstep"
android:versionCode="1"
android:versionName="1.0">
<overlay
android:targetPackage="android"
android:priority="1" />
<application android:hasCode="false" />
</manifest>

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2018, The LineageOS 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>
<string name="config_recentsComponentName">com.google.android.apps.nexuslauncher/com.android.quickstep.RecentsActivity</string>
</resources>

@ -0,0 +1,55 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := PixelTheme
LOCAL_SDK_VERSION := current
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := false
#LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
#LOCAL_STATIC_JAVA_LIBRARIES := \
# android-support-v7-recyclerview \
# android-support-v7-preference \
# android-support-v7-appcompat \
# android-support-v14-preference \
# android-support-v17-leanback \
# android-support-v7-palette \
# android-support-v4 \
# SystemUI-proto \
# SystemUI-tags \
# uicommon
include $(BUILD_PACKAGE)
GOOGLE_FONTS := \
GoogleSans-Bold.ttf \
GoogleSans-BoldItalic.ttf \
GoogleSans-Italic.ttf \
GoogleSans-Medium.ttf \
GoogleSans-MediumItalic.ttf \
GoogleSans-Regular.ttf
define define-google-font
include $$(CLEAR_VARS)
LOCAL_MODULE := $1
LOCAL_MODULE_OWNER := google
LOCAL_SRC_FILES := fonts/$1
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
include $$(BUILD_PREBUILT)
endef
$(foreach font,$(GOOGLE_FONTS),\
$(eval $(call define-google-font,$(font))))
include $(CLEAR_VARS)
LOCAL_MODULE := GoogleFonts
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_REQUIRED_MODULES := $(GOOGLE_FONTS)
include $(BUILD_PHONY_PACKAGE)

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.theme.pixel"
android:versionCode="1"
android:versionName="1.0">
<overlay android:label="Pixel" android:priority="1" android:targetPackage="android" />
<application android:hasCode="false"
android:label="Pixel" >
<meta-data android:name="lineage_berry_accent_preview"
android:value="#4285f4" />
</application>
</manifest>

@ -0,0 +1,11 @@
<family name="google-sans">
<font weight="400" style="normal">GoogleSans-Regular.ttf</font>
<font weight="400" style="italic">GoogleSans-Italic.ttf</font>
<font weight="500" style="normal">GoogleSans-Medium.ttf</font>
<font weight="500" style="italic">GoogleSans-MediumItalic.ttf</font>
<font weight="700" style="normal">GoogleSans-Bold.ttf</font>
<font weight="700" style="italic">GoogleSans-BoldItalic.ttf</font>
</family>
<alias name="google-sans-medium" to="google-sans" weight="500" />

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="user_icon_1">#ff5e97f6</color>
<color name="user_icon_2">#ff5c6bc0</color>
<color name="user_icon_3">#ff26a69a</color>
<color name="user_icon_4">#ffec407a</color>
<color name="user_icon_5">#ff33ac71</color>
<color name="user_icon_6">#ff8bc34a</color>
<color name="user_icon_7">#ffff9800</color>
<color name="user_icon_8">#ffff7043</color>
<color name="system_error">#ffea4335</color>
<color name="background_device_default_light">#ffffffff</color>
<color name="primary_device_default_dark">#ff2d2d2d</color>
<color name="primary_device_default_settings">#ff2d2d2d</color>
<color name="primary_device_default_settings_light">#fff8f9fa</color>
<color name="primary_dark_device_default_dark">#ff242424</color>
<color name="primary_dark_device_default_settings">#ff242424</color>
<color name="primary_dark_device_default_settings_light">#ffe8eaed</color>
<color name="secondary_device_default_settings">#ff3a3a3a</color>
<color name="tertiary_device_default_settings">#ff616161</color>
<color name="quaternary_device_default_settings">#ff9e9e9e</color>
<color name="accent_device_default_light">#ff1a73e8</color>
<color name="accent_device_default_dark">#ff2581df</color>
<color name="error_color_device_default_dark">#ffe25142</color>
<color name="error_color_device_default_light">#ffd93025</color>
</resources>

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="color" name="user_icon_1" id="0x7f020000" />
<public type="color" name="user_icon_2" id="0x7f020001" />
<public type="color" name="user_icon_3" id="0x7f020002" />
<public type="color" name="user_icon_4" id="0x7f020003" />
<public type="color" name="user_icon_5" id="0x7f020004" />
<public type="color" name="user_icon_6" id="0x7f020005" />
<public type="color" name="user_icon_7" id="0x7f020006" />
<public type="color" name="user_icon_8" id="0x7f020007" />
<public type="color" name="system_error" id="0x7f020008" />
<public type="color" name="background_device_default_light" id="0x7f020009" />
<public type="color" name="primary_device_default_dark" id="0x7f02000a" />
<public type="color" name="primary_device_default_settings" id="0x7f02000b" />
<public type="color" name="primary_device_default_settings_light" id="0x7f02000c" />
<public type="color" name="primary_dark_device_default_dark" id="0x7f02000d" />
<public type="color" name="primary_dark_device_default_settings" id="0x7f02000e" />
<public type="color" name="primary_dark_device_default_settings_light" id="0x7f02000f" />
<public type="color" name="secondary_device_default_settings" id="0x7f020010" />
<public type="color" name="tertiary_device_default_settings" id="0x7f020011" />
<public type="color" name="quaternary_device_default_settings" id="0x7f020012" />
<public type="color" name="accent_device_default_light" id="0x7f020013" />
<public type="color" name="accent_device_default_dark" id="0x7f020014" />
<public type="color" name="error_color_device_default_dark" id="0x7f020015" />
<public type="color" name="error_color_device_default_light" id="0x7f020016" />
</resources>

@ -0,0 +1,42 @@
include vendor/google_pixel/codenames.mk
## Exclude us from RRO enforcement, as it is broken at the moment
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/google_pixel
## Google Fonts
PRODUCT_PACKAGES += \
GoogleFonts
ADDITIONAL_FONTS_FILE += vendor/google_pixel/pixel-theme/google-fonts.xml
## Pixel Apps
include vendor/google_pixel/apps/GoogleApps.mk
## Pixel Sounds
# Don't build on devices with limited partition sizes
ifneq ($(WITH_GMS_MINIMAL),true)
include vendor/google_pixel/sounds/GoogleAudio.mk
endif
## Pixel Theme
PRODUCT_PACKAGES += \
PixelTheme \
PixelQuickstep
ifndef LINEAGE_BUILD
PRODUCT_PACKAGE_OVERLAYS += vendor/google_pixel/overlays/overlay-lineage
endif
PRODUCT_PACKAGE_OVERLAYS += vendor/google_pixel/overlays/overlay-theme
PRODUCT_PRODUCT_PROPERTIES += ro.atrace.core.services=com.google.android.gms,com.google.android.gms.ui,com.google.android.gms.persistent
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.boot.vendor.overlay.theme=com.google.android.theme.pixel;com.android.internal.systemui.navbar.gestural;com.android.theme.icon.circle \
ro.com.google.ime.bs_theme=true \
ro.com.google.ime.theme_id=5 \
ro.opa.eligible_device=true
## Turbo
# Only include on Pixels
ifneq ($(filter $(TURBO_CODENAMES),$(TARGET_PRODUCT)),)
$(call inherit-product-if-exists, vendor/partner_gms/products/turbo.mk)
PRODUCT_PACKAGE_OVERLAYS += vendor/google_pixel/overlays/overlay-turbo
endif

@ -0,0 +1,11 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := SoundPickerPrebuilt
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
include $(BUILD_PREBUILT)

@ -0,0 +1,76 @@
PRODUCT_PACKAGES += \
SoundPickerPrebuilt
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.config.alarm_alert=Bright_morning.ogg \
ro.config.notification_sound=Popcorn.ogg \
ro.config.ringtone=The_big_adventure.ogg
LOCAL_PATH := vendor/google_pixel/sounds
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/material/alarms/A_real_hoot.ogg:system/media/audio/alarms/A_real_hoot.ogg \
$(LOCAL_PATH)/material/alarms/Bright_morning.ogg:system/media/audio/alarms/Bright_morning.ogg \
$(LOCAL_PATH)/material/alarms/Cuckoo_clock.ogg:system/media/audio/alarms/Cuckoo_clock.ogg \
$(LOCAL_PATH)/material/alarms/Early_twilight.ogg:system/media/audio/alarms/Early_twilight.ogg \
$(LOCAL_PATH)/material/alarms/Full_of_wonder.ogg:system/media/audio/alarms/Full_of_wonder.ogg \
$(LOCAL_PATH)/material/alarms/Gentle_breeze.ogg:system/media/audio/alarms/Gentle_breeze.ogg \
$(LOCAL_PATH)/material/alarms/Icicles.ogg:system/media/audio/alarms/Icicles.ogg \
$(LOCAL_PATH)/material/alarms/Jump_start.ogg:system/media/audio/alarms/Jump_start.ogg \
$(LOCAL_PATH)/material/alarms/Loose_change.ogg:system/media/audio/alarms/Loose_change.ogg \
$(LOCAL_PATH)/material/alarms/Rolling_fog.ogg:system/media/audio/alarms/Rolling_fog.ogg \
$(LOCAL_PATH)/material/alarms/Spokes.ogg:system/media/audio/alarms/Spokes.ogg \
$(LOCAL_PATH)/material/alarms/Sunshower.ogg:system/media/audio/alarms/Sunshower.ogg \
$(LOCAL_PATH)/material/effects/audio_end.ogg:system/media/audio/ui/audio_end.ogg \
$(LOCAL_PATH)/material/effects/audio_initiate.ogg:system/media/audio/ui/audio_initiate.ogg \
$(LOCAL_PATH)/material/effects/camera_click.ogg:system/media/audio/ui/camera_click.ogg \
$(LOCAL_PATH)/material/effects/camera_focus.ogg:system/media/audio/ui/camera_focus.ogg \
$(LOCAL_PATH)/material/effects/ChargingStarted.ogg:system/media/audio/ui/ChargingStarted.ogg \
$(LOCAL_PATH)/material/effects/Dock.ogg:system/media/audio/ui/Dock.ogg \
$(LOCAL_PATH)/material/effects/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg \
$(LOCAL_PATH)/material/effects/InCallNotification.ogg:system/media/audio/ui/InCallNotification.ogg \
$(LOCAL_PATH)/material/effects/KeypressDelete.ogg:system/media/audio/ui/KeypressDelete.ogg \
$(LOCAL_PATH)/material/effects/KeypressInvalid.ogg:system/media/audio/ui/KeypressInvalid.ogg \
$(LOCAL_PATH)/material/effects/KeypressReturn.ogg:system/media/audio/ui/KeypressReturn.ogg \
$(LOCAL_PATH)/material/effects/KeypressSpacebar.ogg:system/media/audio/ui/KeypressSpacebar.ogg \
$(LOCAL_PATH)/material/effects/KeypressStandard.ogg:system/media/audio/ui/KeypressStandard.ogg \
$(LOCAL_PATH)/material/effects/Lock.ogg:system/media/audio/ui/Lock.ogg \
$(LOCAL_PATH)/material/effects/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg \
$(LOCAL_PATH)/material/effects/NFCFailure.ogg:system/media/audio/ui/NFCFailure.ogg \
$(LOCAL_PATH)/material/effects/NFCInitiated.ogg:system/media/audio/ui/NFCInitiated.ogg \
$(LOCAL_PATH)/material/effects/NFCSuccess.ogg:system/media/audio/ui/NFCSuccess.ogg \
$(LOCAL_PATH)/material/effects/NFCTransferComplete.ogg:system/media/audio/ui/NFCTransferComplete.ogg \
$(LOCAL_PATH)/material/effects/NFCTransferInitiated.ogg:system/media/audio/ui/NFCTransferInitiated.ogg \
$(LOCAL_PATH)/material/effects/Trusted.ogg:system/media/audio/ui/Trusted.ogg \
$(LOCAL_PATH)/material/effects/Undock.ogg:system/media/audio/ui/Undock.ogg \
$(LOCAL_PATH)/material/effects/Unlock.ogg:system/media/audio/ui/Unlock.ogg \
$(LOCAL_PATH)/material/effects/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg \
$(LOCAL_PATH)/material/effects/VideoStop.ogg:system/media/audio/ui/VideoStop.ogg \
$(LOCAL_PATH)/material/effects/WirelessChargingStarted.ogg:system/media/audio/ui/WirelessChargingStarted.ogg \
$(LOCAL_PATH)/material/notifications/Beginning.ogg:system/media/audio/notifications/Beginning.ogg \
$(LOCAL_PATH)/material/notifications/Coconuts.ogg:system/media/audio/notifications/Coconuts.ogg \
$(LOCAL_PATH)/material/notifications/Duet.ogg:system/media/audio/notifications/Duet.ogg \
$(LOCAL_PATH)/material/notifications/End_note.ogg:system/media/audio/notifications/End_note.ogg \
$(LOCAL_PATH)/material/notifications/Gentle_gong.ogg:system/media/audio/notifications/Gentle_gong.ogg \
$(LOCAL_PATH)/material/notifications/Mallet.ogg:system/media/audio/notifications/Mallet.ogg \
$(LOCAL_PATH)/material/notifications/Orders_up.ogg:system/media/audio/notifications/Orders_up.ogg \
$(LOCAL_PATH)/material/notifications/Ping.ogg:system/media/audio/notifications/Ping.ogg \
$(LOCAL_PATH)/material/notifications/Pipes.ogg:system/media/audio/notifications/Pipes.ogg \
$(LOCAL_PATH)/material/notifications/Popcorn.ogg:system/media/audio/notifications/Popcorn.ogg \
$(LOCAL_PATH)/material/notifications/Shopkeeper.ogg:system/media/audio/notifications/Shopkeeper.ogg \
$(LOCAL_PATH)/material/notifications/Sticks_and_stones.ogg:system/media/audio/notifications/Sticks_and_stones.ogg \
$(LOCAL_PATH)/material/notifications/Tuneup.ogg:system/media/audio/notifications/Tuneup.ogg \
$(LOCAL_PATH)/material/notifications/Tweeter.ogg:system/media/audio/notifications/Tweeter.ogg \
$(LOCAL_PATH)/material/notifications/Twinkle.ogg:system/media/audio/notifications/Twinkle.ogg \
$(LOCAL_PATH)/material/ringtones/Copycat.ogg:system/media/audio/ringtones/Copycat.ogg \
$(LOCAL_PATH)/material/ringtones/Crackle.ogg:system/media/audio/ringtones/Crackle.ogg \
$(LOCAL_PATH)/material/ringtones/Flutterby.ogg:system/media/audio/ringtones/Flutterby.ogg \
$(LOCAL_PATH)/material/ringtones/Hotline.ogg:system/media/audio/ringtones/Hotline.ogg \
$(LOCAL_PATH)/material/ringtones/Leaps_and_bounds.ogg:system/media/audio/ringtones/Leaps_and_bounds.ogg \
$(LOCAL_PATH)/material/ringtones/Lollipop.ogg:system/media/audio/ringtones/Lollipop.ogg \
$(LOCAL_PATH)/material/ringtones/Lost_and_found.ogg:system/media/audio/ringtones/Lost_and_found.ogg \
$(LOCAL_PATH)/material/ringtones/Mash_up.ogg:system/media/audio/ringtones/Mash_up.ogg \
$(LOCAL_PATH)/material/ringtones/Monkey_around.ogg:system/media/audio/ringtones/Monkey_around.ogg \
$(LOCAL_PATH)/material/ringtones/Schools_out.ogg:system/media/audio/ringtones/Schools_out.ogg \
$(LOCAL_PATH)/material/ringtones/The_big_adventure.ogg:system/media/audio/ringtones/The_big_adventure.ogg \
$(LOCAL_PATH)/material/ringtones/Zen_too.ogg:system/media/audio/ringtones/Zen_too.ogg

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save