New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 629443 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Task



Sign in to add a comment

Investigate SVG drawables for Google Logos on NTP

Project Member Reported by bauerb@chromium.org, Jul 19 2016

Issue description

We should investigate the resource impact of using vector-based drawables for the Google Logo on the New Tab Page.
 
Looking at our logo, it seems it should work well in vector format. You were not considering the doodles, were you?

Comment 2 by bauerb@chromium.org, Jul 19 2016

No, the logo. Vector format is great for it, but there were concerns around the performance of the vector drawable compat library (see https://codereview.chromium.org/2068883003/#msg11).

Comment 3 by fi...@chromium.org, Jul 29 2016

Labels: -zine-pe zine-ntp-pe zine-triaged
Status: Available (was: Untriaged)
Project Member

Comment 4 by sheriffbot@chromium.org, Jul 31 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)
Project Member

Comment 7 by sheriffbot@chromium.org, Aug 20

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: twelling...@chromium.org
Labels: -Type-Bug Type-Task
Owner: hannahs@chromium.org
Status: Assigned (was: Untriaged)
Hannah, would you be able to generate an SVG for the Google Logo on the NTP? I can test whether it's smaller than the PNGs.
Cc: huayinz@chromium.org hannahs@chromium.org
Owner: ----
Status: Available (was: Assigned)
This definitely seems worth purusing -- we'd save 60k on install size.

Prototype is here: https://chromium-review.googlesource.com/c/chromium/src/+/1331728

The bitmap sizing needs some work (it shows up too small).

For an explanation of these metrics, see:
https://chromium.googlesource.com/chromium/src/+/master/docs/speed/binary_size/metrics.md#Metrics-for-Android

Specifics:
          +108 bytes main dex size
       -60,251 bytes normalized apk size
InstallSize:
       -60,359 bytes APK size
       -60,232 bytes Estimated installed size (Android Go)
       -59,923 bytes Estimated installed size
InstallBreakdown (-58,873 bytes):
        +1,374 bytes Non-compiled Android resources size
       -52,890 bytes PNG drawables size
          -360 bytes Package metadata size
          +339 bytes Java code size
        -7,336 bytes Compiled Android resources size
google_logo.xml
3.7 KB View Download

Sign in to add a comment