Closed Bug 983075 Opened 10 years ago Closed 10 years ago

[MADAI][Clock] @2.25x assets update for Clock

Categories

(Firefox OS Graveyard :: Gaia::Clock, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
1.4 S4 (28mar)

People

(Reporter: HHuang, Assigned: mcav)

References

Details

(Whiteboard: [p=1])

Attachments

(2 files)

Attached file Clock@2.25x.zip
      No description provided.
Blocks: 983069
Hi Marcus,
We would like to update 2.25x assets for Madai, could someone help with it?
Flags: needinfo?(m)
I'll take this. James, flagging you only because you're the UI wizard. From what I can tell, we can just drop these in without any code changes...?
Assignee: nobody → m
Status: NEW → ASSIGNED
Attachment #8397108 - Flags: review?(jrburke)
Flags: needinfo?(m)
Target Milestone: --- → 1.4 S4 (28mar)
Comment on attachment 8397108 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/17653

Yes, you can just drop them in, the build system allows for specifying I believe GAIA_DEV_PIXELS_PER_PX to set the type of icons that will be built in to the app zip files for deployment.

For these sorts of pull requests, I mostly just confirm the names are correct since I do not have a hidpi device to test.

On the naming thing, this pull request seems to have a "checked" image but I do not see any existing "checked" image in the clock's images directory, so you may want to look into that. Otherwise, looks fine to me.
Attachment #8397108 - Flags: review?(jrburke) → review+
Hm, yes, you were right, checked needed to go in a different directory. Good catch.

master: https://github.com/mozilla-b2g/gaia/commit/24f53ad7eb48c6e773413687fa76c81983f926f3
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Just a heads up on this bug. The new PNG assets that were committed here have not been properly re-compressed before commit; doing so will yield significant savings in terms of storage (~10x) so please do so in a follow up bug. You can recompress the assets using the png_recompress.sh script available in gaia. From gaia's root directory this command should do the job:

./tools/png_recompress.sh -v ./apps/clock/style/images/onring@2.25x.png \
                             ./apps/clock/style/images/alarm_off@2.25x.png \
                             ./apps/clock/style/images/attention_button_container@2.25x.png \
                             ./apps/clock/style/images/attention_overlay_icon@2.25x.png \
                             ./apps/clock/style/images/add_alarm@2.25x.png \
                             ./apps/clock/style/images/alarm_on@2.25x.png \
                             ./apps/clock/style/images/attention_background@2.25x.png \
                             ./apps/clock/style/picker/images/icons/checked@2.25x.png

To run the re-compression script you'll need the advancecomp and optipng 0.7.x packages installed. If you need further help feel free to ping/needinfo me.
See Also: → 988869
Whiteboard: [p=1]
Status: RESOLVED → VERIFIED
No longer depends on: MTBF-Marionette
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: