No description
  • Kotlin 91%
  • Java 8.8%
  • Makefile 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Simão Gomes Viana 0c5bfc11ac
font: describe included fonts as font packages
The comments in FontRepository described the default font family as
a build-time default and the display-name map as going from font
family identifiers to PostScript names.

The comments now describe both fields in terms of preinstalled font
packages.

This commit updates two comments in FontRepository.kt. The KDoc on
defaultFamily shows the value as the font family of the default font
package, with the body font family as a fallback. The comment on
displayNames shows the map as going from the font family names of
font packages to the labels of those packages.

FontManagerService changed its API to return only the font families
of preinstalled font packages. The comments in the font picker still
described the old behavior.

A reader of the font picker code sees that the included section
lists font packages and knows what the framework provides.

Test: guacamole userdebug build with all six font commits, flashed \
      and booted
Category: customization-core
2026-11-16 16:15:28 +01:00
res ThemePicker: keep the colorfulness of Grey and Blue Grey 2026-11-07 21:55:38 +01:00
res_override Create preview icon for Icons entry point (2/3) 2025-04-18 16:15:34 +00:00
src/com/android font: describe included fonts as font packages 2026-11-16 16:15:28 +01:00
src_override/com/android Set up alternating color picker previews (2/3) 2026-03-11 15:38:35 +00:00
tests ThemePicker: add Style page with colors, font and dark theme 2026-11-06 02:06:20 +01:00
themes ThemePicker: switch Brown to the CONTENT color style 2026-11-13 15:44:01 +01:00
.gitignore git-ignore transient files created by aidegen 2023-06-06 17:24:47 +00:00
Android.bp ThemePicker: add Style page with colors, font and dark theme 2026-11-06 02:06:20 +01:00
android.software.theme_picker.xml ThemePicker: Replace SystemUI restart with system reboot dialog 2026-11-05 12:16:39 +01:00
AndroidManifest-empty.xml Fix ThemePicker for use_resource_processor: true 2024-01-09 13:26:00 -08:00
AndroidManifest.xml ThemePicker: use the library theme for the customization picker 2026-11-12 05:48:02 +01:00
CleanSpec.mk Move the app to /system_ext 2019-11-25 15:26:56 +09:00
OWNERS Add OWNERS for ThemePicker 2023-08-22 17:01:02 -07:00
PREUPLOAD.cfg Remove flag_check.py, we now have flag directive check in gerrit presubmit. 2025-01-28 16:00:49 -08:00
TEST_MAPPING Keep WallpaperPickerGoogleTests in internal cf. 2023-09-25 22:38:57 +00:00