google_pixel: Initial Android 10 import

lineage-17.1
Nolen Johnson 4 years ago
commit f703b49aba
  1. 1
      BoardConfigExtra.mk
  2. 149
      apps/Android.mk
  3. 92
      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/MarkupGoogle.apk
  8. BIN
      apps/apks/NexusLauncherRelease.apk
  9. BIN
      apps/apks/NexusWallpapersStubPrebuilt.apk
  10. BIN
      apps/apks/NexusWallpapersStubPrebuilt2017.apk
  11. BIN
      apps/apks/NexusWallpapersStubPrebuilt2018.apk
  12. BIN
      apps/apks/PixelSetupWizard.apk
  13. BIN
      apps/apks/PlayAutoInstallConfig.apk
  14. BIN
      apps/apks/SettingsIntelligenceGooglePrebuilt.apk
  15. BIN
      apps/apks/WallpaperPickerGooglePrebuilt.apk
  16. BIN
      apps/jars/com.google.android.camera.experimental2016.jar
  17. BIN
      apps/jars/com.google.android.camera.experimental2017.jar
  18. BIN
      apps/lib/arm64/libsketchology_native.so
  19. 1
      apps/permissions/com.google.android.camera.experimental2016.xml
  20. 1
      apps/permissions/com.google.android.camera.experimental2017.xml
  21. 107
      apps/permissions/privapp-permissions-pixel.xml
  22. 24
      apps/sysconfig/google_build.xml
  23. 26
      apps/sysconfig/google_vr_build.xml
  24. 58
      apps/sysconfig/nexus.xml
  25. 7
      apps/sysconfig/pixel_2017_exclusive.xml
  26. 7
      apps/sysconfig/pixel_2018_exclusive.xml
  27. 7
      apps/sysconfig/pixel_2019_midyear_exclusive.xml
  28. 11
      apps/sysconfig/pixel_experience_2017.xml
  29. 16
      apps/sysconfig/pixel_experience_2018.xml
  30. 7
      apps/sysconfig/pixel_experience_2019_midyear.xml
  31. 47
      codenames.mk
  32. 41
      google-fonts/google-fonts.xml
  33. 62
      overlays/overlay-gms/frameworks/base/core/res/res/values/config.xml
  34. 7
      overlays/overlay-gms/frameworks/base/packages/SystemUI/res/values/config.xml
  35. 7
      overlays/overlay-gms/frameworks/base/packages/SystemUI/res/values/strings.xml
  36. 37
      overlays/overlay-google/frameworks/base/packages/SystemUI/res/layout/home.xml
  37. 11
      overlays/overlay-google/frameworks/base/packages/SystemUI/res/values/config.xml
  38. 5
      overlays/overlay-google/packages/apps/Settings/res/values/config.xml
  39. 18
      overlays/overlay-lineage/packages/apps/LineageParts/res/values/arrays.xml
  40. 12
      overlays/overlay-theme/frameworks/base/core/res/res/values/config.xml
  41. 6
      overlays/overlay-theme/frameworks/base/core/res/res/values/dimens.xml
  42. 4
      overlays/overlay-theme/frameworks/base/core/res/res/values/donottranslate_material.xml
  43. 5
      overlays/overlay-theme/frameworks/base/packages/SystemUI/res/values/dimens.xml
  44. 5
      overlays/overlay-theme/packages/apps/DocumentsUI/res/mipmap-anydpi/ic_launcher.xml
  45. BIN
      overlays/overlay-theme/packages/apps/DocumentsUI/res/mipmap-hdpi/ic_foreground.png
  46. BIN
      overlays/overlay-theme/packages/apps/DocumentsUI/res/mipmap-mdpi/ic_foreground.png
  47. BIN
      overlays/overlay-theme/packages/apps/DocumentsUI/res/mipmap-xhdpi/ic_foreground.png
  48. BIN
      overlays/overlay-theme/packages/apps/DocumentsUI/res/mipmap-xxhdpi/ic_foreground.png
  49. BIN
      overlays/overlay-theme/packages/apps/DocumentsUI/res/mipmap-xxxhdpi/ic_foreground.png
  50. 5
      overlays/overlay-theme/packages/apps/Settings/res/mipmap-anydpi/ic_launcher.xml
  51. BIN
      overlays/overlay-theme/packages/apps/Settings/res/mipmap-hdpi/ic_foreground.png
  52. BIN
      overlays/overlay-theme/packages/apps/Settings/res/mipmap-mdpi/ic_foreground.png
  53. BIN
      overlays/overlay-theme/packages/apps/Settings/res/mipmap-xhdpi/ic_foreground.png
  54. BIN
      overlays/overlay-theme/packages/apps/Settings/res/mipmap-xxhdpi/ic_foreground.png
  55. BIN
      overlays/overlay-theme/packages/apps/Settings/res/mipmap-xxxhdpi/ic_foreground.png
  56. 23
      overlays/overlay-theme/packages/apps/Settings/res/values/styles.xml
  57. 5
      overlays/overlay-turbo/frameworks/base/core/res/res/values/config.xml
  58. 10
      pixel-quickstep/Android.mk
  59. 21
      pixel-quickstep/AndroidManifest.xml
  60. 19
      pixel-quickstep/res/values/styles.xml
  61. 56
      pixel-theme/Android.mk
  62. 17
      pixel-theme/AndroidManifest.xml
  63. BIN
      pixel-theme/fonts/GoogleSans-Bold.ttf
  64. BIN
      pixel-theme/fonts/GoogleSans-BoldItalic.ttf
  65. BIN
      pixel-theme/fonts/GoogleSans-Italic.ttf
  66. BIN
      pixel-theme/fonts/GoogleSans-Medium.ttf
  67. BIN
      pixel-theme/fonts/GoogleSans-MediumItalic.ttf
  68. BIN
      pixel-theme/fonts/GoogleSans-Regular.ttf
  69. 26
      pixel-theme/res/values/colors.xml
  70. 26
      pixel-theme/res/values/public.xml
  71. 47
      product.mk
  72. 11
      sounds/Android.mk
  73. 76
      sounds/GoogleAudio.mk
  74. BIN
      sounds/SoundPickerPrebuilt.apk
  75. BIN
      sounds/material/alarms/A_real_hoot.ogg
  76. BIN
      sounds/material/alarms/Bright_morning.ogg
  77. BIN
      sounds/material/alarms/Cuckoo_clock.ogg
  78. BIN
      sounds/material/alarms/Early_twilight.ogg
  79. BIN
      sounds/material/alarms/Full_of_wonder.ogg
  80. BIN
      sounds/material/alarms/Gentle_breeze.ogg
  81. BIN
      sounds/material/alarms/Icicles.ogg
  82. BIN
      sounds/material/alarms/Jump_start.ogg
  83. BIN
      sounds/material/alarms/Loose_change.ogg
  84. BIN
      sounds/material/alarms/Rolling_fog.ogg
  85. BIN
      sounds/material/alarms/Spokes.ogg
  86. BIN
      sounds/material/alarms/Sunshower.ogg
  87. BIN
      sounds/material/notifications/Beginning.ogg
  88. BIN
      sounds/material/notifications/Coconuts.ogg
  89. BIN
      sounds/material/notifications/Duet.ogg
  90. BIN
      sounds/material/notifications/End_note.ogg
  91. BIN
      sounds/material/notifications/Gentle_gong.ogg
  92. BIN
      sounds/material/notifications/Mallet.ogg
  93. BIN
      sounds/material/notifications/Orders_up.ogg
  94. BIN
      sounds/material/notifications/Ping.ogg
  95. BIN
      sounds/material/notifications/Pipes.ogg
  96. BIN
      sounds/material/notifications/Popcorn.ogg
  97. BIN
      sounds/material/notifications/Shopkeeper.ogg
  98. BIN
      sounds/material/notifications/Sticks_and_stones.ogg
  99. BIN
      sounds/material/notifications/Tuneup.ogg
  100. BIN
      sounds/material/notifications/Tweeter.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,149 @@
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
LOCAL_PRODUCT_MODULE := true
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
LOCAL_PRODUCT_MODULE := true
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
LOCAL_PRODUCT_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := NexusLauncherRelease
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
LOCAL_PRODUCT_MODULE := true
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
LOCAL_PRODUCT_MODULE := true
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
LOCAL_PRODUCT_MODULE := true
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
LOCAL_PRODUCT_MODULE := true
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 := PixelSetupWizard
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_MODULE_TARGET_ARCH := $(my_src_arch)
LOCAL_PRODUCT_MODULE := true
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
LOCAL_PRODUCT_MODULE := true
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
LOCAL_PRODUCT_MODULE := true
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_OVERRIDES_PACKAGES := Backgrounds
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
LOCAL_PRODUCT_MODULE := true
include $(BUILD_PREBUILT)

@ -0,0 +1,92 @@
# 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 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/google_vr_build.xml:system/etc/sysconfig/google_vr_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
# Privledged App Permissions
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/permissions/privapp-permissions-pixel.xml:system/etc/permissions/privapp-permissions-pixel.xml
PRODUCT_COPY_FILES += \
vendor/google_pixel/apps/permissions/privapp-permissions-pixel.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-pixel.xml
# Only build Google Camera on Pixels
ifneq ($(filter $(PIXEL_CODENAMES),$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += \
AndroidMigratePrebuilt \
GoogleCamera \
PixelSetupWizard
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
# Core Google packages
PRODUCT_PACKAGES += \
NexusLauncherRelease \
PlayAutoInstallConfig
ifneq ($(WITH_GMS_MINIMAL),true)
# More Google packages
PRODUCT_PACKAGES += \
ActionServices \
MarkupGoogle \
WallpaperPickerGooglePrebuilt
endif
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.

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2018 The Android Open Source ProjectLicensed 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 athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.--><permissions><library name="com.google.android.camera.experimental2016" file="/system/framework/com.google.android.camera.experimental2016.jar"/></permissions>

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2018 The Android Open Source ProjectLicensed 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 athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.--><permissions><library name="com.google.android.camera.experimental2017" file="/system/framework/com.google.android.camera.experimental2017.jar"/></permissions>

@ -0,0 +1,107 @@
<?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.apps.wallpaper">
<permission name="android.permission.BIND_WALLPAPER"/>
<permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
<permission name="android.permission.READ_WALLPAPER_INTERNAL"/>
<permission name="android.permission.SET_WALLPAPER_COMPONENT"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.as">
<permission name="android.permission.CAPTURE_AUDIO_HOTWORD"/>
<permission name="android.permission.CAPTURE_AUDIO_OUTPUT"/>
<permission name="android.permission.CAPTURE_MEDIA_OUTPUT"/>
<permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
<permission name="android.permission.LOCATION_HARDWARE"/>
<permission name="android.permission.MANAGE_SOUND_TRIGGER"/>
<permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
<permission name="android.permission.READ_OEM_UNLOCK_STATE"/>
<permission name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.UPDATE_DEVICE_STATS"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</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.pixel.setupwizard">
<permission name="android.permission.CHANGE_CONFIGURATION"/>
<permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.STATUS_BAR"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.apps.wellbeing">
<permission name="android.permission.ACCESS_INSTANT_APPS"/>
<permission name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS"/>
<permission name="android.permission.CONTROL_DISPLAY_SATURATION"/>
<permission name="android.permission.INTERACT_ACROSS_PROFILES"/>
<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.START_ACTIVITIES_FROM_BACKGROUND"/>
<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_USB"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
<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"/>
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
<permission name="android.permission.WRITE_DEVICE_CONFIG"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="android.permission.WRITE_SETTINGS_HOMEPAGE_DATA"/>
</privapp-permissions>
</permissions>

@ -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,26 @@
<?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.
-->
<!-- These are configurations that must exist on Google's Nexus and GPe devices supporting VR. -->
<config>
<!-- These are the packages that are enabled by default as VR mode listeners -->
<default-enabled-vr-app package="com.google.vr.vrcore"
class="com.google.vr.vrcore.common.VrCoreListenerService" />
</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" />
<!-- Whitelist so headless app JobService can work. b/135126855 -->
<allow-in-power-save-except-idle package="com.google.android.apps.carrier.carrierwifi" />
<!-- 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" />
<!-- 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,7 @@
<?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" />
</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,11 @@
<?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" />
<!-- Allow Better Bug to take bug report. -->
<bugreport-whitelisted package="com.google.android.apps.betterbug" />
<bugreport-whitelisted package="com.google.android.apps.internal.betterbug" />
</config>

@ -0,0 +1,16 @@
<?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" />
<!-- Allow PixelLogger LoggingService to run in background -->
<allow-in-power-save package="com.android.pixellogger" />
<!-- 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,47 @@
PIXEL2016_CODENAMES += \
%marlin \
%sailfish
PIXEL2017_CODENAMES += \
%muskie \
%taimen \
%wahoo \
%walleye
PIXEL2018_CODENAMES += \
%blueline \
%crosshatch
PIXEL2019_MIDYEAR_CODENAMES += \
%bonito \
%sargo
PIXEL2019_CODENAMES += \
%coral \
%flame
PIXEL_CODENAMES += \
$(PIXEL2016_CODENAMES) \
$(PIXEL2017_CODENAMES) \
$(PIXEL2018_CODENAMES) \
$(PIXEL2019_MIDYEAR_CODENAMES) \
$(PIXEL2019_CODENAMES)
PIXEL_AMBIENT_CODENAMES += \
$(PIXEL2017_CODENAMES) \
$(PIXEL2018_CODENAMES) \
$(PIXEL2019_MIDYEAR_CODENAMES) \
PIXEL_DREAMLINER_CODENAMES += \
$(PIXEL2018_CODENAMES) \
$(PIXEL2019_CODENAMES)
PIXEL_ELMYRA_CODENAMES += \
$(PIXEL2017_CODENAMES) \
$(PIXEL2018_CODENAMES) \
$(PIXEL2019_MIDYEAR_CODENAMES) \
$(PIXEL2019_CODENAMES)
# Not all devices work with Turbo, just Pixels and Android One devices
TURBO_CODENAMES += \
$(PIXEL_CODENAMES)

@ -0,0 +1,41 @@
<fonts-modification version="1">
<family customizationType="new-named-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" />
<family customizationType="new-named-family" name="arbutus-slab">
<font weight="400" style="normal">ArbutusSlab-Regular.ttf</font>
</family>
<family customizationType="new-named-family" name="lato">
<font weight="400" style="normal">Lato-Regular.ttf</font>
<font weight="400" style="italic">Lato-Italic.ttf</font>
<font weight="700" style="normal">Lato-Bold.ttf</font>
<font weight="700" style="italic">Lato-BoldItalic.ttf</font>
</family>
<alias name="lato-bold" to="lato" weight="700" />
<family customizationType="new-named-family" name="rubik">
<font weight="400" style="normal">Rubik-Regular.ttf</font>
<font weight="400" style="italic">Rubik-Italic.ttf</font>
<font weight="500" style="normal">Rubik-Medium.ttf</font>
<font weight="500" style="italic">Rubik-MediumItalic.ttf</font>
<font weight="700" style="normal">Rubik-Bold.ttf</font>
<font weight="700" style="italic">Rubik-BoldItalic.ttf</font>
</family>
<alias name="rubik-medium" to="rubik" weight="500" />
<family customizationType="new-named-family" name="zilla-slab-medium">
<font weight="500" style="normal">ZillaSlab-Medium.ttf</font>
<font weight="500" style="italic">ZillaSlab-MediumItalic.ttf</font>
<font weight="600" style="normal">ZillaSlab-SemiBold.ttf</font>
<font weight="600" style="italic">ZillaSlab-SemiBoldItalic.ttf</font>
</family>
<alias name="zilla-slab-semi-bold" to="zilla-slab-medium" weight="600" />
</fonts-modification>

@ -0,0 +1,62 @@
<?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:com.google.android.as</string>
<!-- The package name for the system's app prediction service.
This service must be trusted, as it can be activated without explicit consent of the user.
Example: "com.android.intelligence/.AppPredictionService"
-->
<string name="config_defaultAppPredictionService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService</string>
<!-- The package name for the system's content suggestions service.
Provides suggestions for text and image selection regions in snapshots of apps and should
be able to classify the type of entities in those selections.
This service must be trusted, as it can be activated without explicit consent of the user.
If no service with the specified name exists on the device, content suggestions wil be
disabled.
Example: "com.android.contentsuggestions/.ContentSuggestionsService"
-->
<string name="config_defaultContentSuggestionsService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiContentSuggestionsService</string>
<!-- The component name for the system-wide captions manager service.
This service must be trusted, as the system binds to it and keeps it running.
Example: "com.android.captions/.SystemCaptionsManagerService"
-->
<string name="config_defaultSystemCaptionsManagerService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.captions.SystemCaptionsManagerService</string>
<!-- The component name for the system-wide captions service.
This service must be trusted, as it controls part of the UI of the volume bar.
Example: "com.android.captions/.SystemCaptionsService"
-->
<string name="config_defaultSystemCaptionsService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.captions.CaptionsService</string>
<!-- The package name for the system's augmented autofill service.
This service must be trusted, as it can be activated without explicit consent of the user.
If no service with the specified name exists on the device, augmented autofill wil be
disabled.
Example: "com.android.augmentedautofill/.AugmentedAutofillService"
-->
<string name="config_defaultAugmentedAutofillService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiAugmentedAutofillService</string>
<!-- The component name for the default system attention service.
This service must be trusted, as it can be activated without explicit consent of the user.
See android.attention.AttentionManagerService.
-->
<string name="config_defaultAttentionService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.attention.service.AiAiAttentionService</string>
<!-- The package name for the default system textclassifier service.
This service must be trusted, as it can be activated without explicit consent of the user.
Example: "com.android.textclassifier"
If no textclassifier service with the specified name exists on the device (or if this is
set to empty string), a default textclassifier will be loaded in the calling app's process.
See android.view.textclassifier.TextClassificationManager.
-->
<string name="config_defaultTextClassifierPackage" translatable="false">com.google.android.as</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,10 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_RRO_THEME := PixelQuickstep
LOCAL_PRODUCT_MODULE := true
LOCAL_CERTIFICATE := platform
LOCAL_SDK_VERSION := current
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_PACKAGE_NAME := PixelQuickstep
include $(BUILD_RRO_PACKAGE)

@ -0,0 +1,21 @@
<!--
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="com.google.pixelquickstep"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android" android:priority="0" android:isStatic="true" />
</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,56 @@
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_PRODUCT)/fonts
LOCAL_PRODUCT_MODULE := true
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,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,47 @@
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
# LineageOS already defines font_customization.xml, and there's no way to override it.
# Therefore, on LineageOS run `repopick -f 289513` prior to every build.
ifndef LINEAGE_BUILD
PRODUCT_COPY_FILES += \
vendor/google_pixel/google-fonts/google-fonts.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/fonts_customization.xml
endif
PRODUCT_PACKAGES += \
GoogleFonts
## 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/ui/audio_end.ogg:system/media/audio/ui/audio_end.ogg \
$(LOCAL_PATH)/material/ui/audio_initiate.ogg:system/media/audio/ui/audio_initiate.ogg \
$(LOCAL_PATH)/material/ui/camera_click.ogg:system/media/audio/ui/camera_click.ogg \
$(LOCAL_PATH)/material/ui/camera_focus.ogg:system/media/audio/ui/camera_focus.ogg \
$(LOCAL_PATH)/material/ui/ChargingStarted.ogg:system/media/audio/ui/ChargingStarted.ogg \
$(LOCAL_PATH)/material/ui/Dock.ogg:system/media/audio/ui/Dock.ogg \
$(LOCAL_PATH)/material/ui/Effect_Tick.ogg:system/media/audio/ui/Effect_Tick.ogg \
$(LOCAL_PATH)/material/ui/InCallNotification.ogg:system/media/audio/ui/InCallNotification.ogg \
$(LOCAL_PATH)/material/ui/KeypressDelete.ogg:system/media/audio/ui/KeypressDelete.ogg \
$(LOCAL_PATH)/material/ui/KeypressInvalid.ogg:system/media/audio/ui/KeypressInvalid.ogg \
$(LOCAL_PATH)/material/ui/KeypressReturn.ogg:system/media/audio/ui/KeypressReturn.ogg \
$(LOCAL_PATH)/material/ui/KeypressSpacebar.ogg:system/media/audio/ui/KeypressSpacebar.ogg \
$(LOCAL_PATH)/material/ui/KeypressStandard.ogg:system/media/audio/ui/KeypressStandard.ogg \
$(LOCAL_PATH)/material/ui/Lock.ogg:system/media/audio/ui/Lock.ogg \
$(LOCAL_PATH)/material/ui/LowBattery.ogg:system/media/audio/ui/LowBattery.ogg \
$(LOCAL_PATH)/material/ui/NFCFailure.ogg:system/media/audio/ui/NFCFailure.ogg \
$(LOCAL_PATH)/material/ui/NFCInitiated.ogg:system/media/audio/ui/NFCInitiated.ogg \
$(LOCAL_PATH)/material/ui/NFCSuccess.ogg:system/media/audio/ui/NFCSuccess.ogg \
$(LOCAL_PATH)/material/ui/NFCTransferComplete.ogg:system/media/audio/ui/NFCTransferComplete.ogg \
$(LOCAL_PATH)/material/ui/NFCTransferInitiated.ogg:system/media/audio/ui/NFCTransferInitiated.ogg \
$(LOCAL_PATH)/material/ui/Trusted.ogg:system/media/audio/ui/Trusted.ogg \
$(LOCAL_PATH)/material/ui/Undock.ogg:system/media/audio/ui/Undock.ogg \
$(LOCAL_PATH)/material/ui/Unlock.ogg:system/media/audio/ui/Unlock.ogg \
$(LOCAL_PATH)/material/ui/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg \
$(LOCAL_PATH)/material/ui/VideoStop.ogg:system/media/audio/ui/VideoStop.ogg \
$(LOCAL_PATH)/material/ui/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.

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

Loading…
Cancel
Save