Closed
Bug 898256
Opened 12 years ago
Closed 12 years ago
Use new 1.5x assets from UX for shared style
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(blocking-b2g:hd+, b2g-v1.1hd fixed)
People
(Reporter: yurenju, Assigned: yurenju)
References
Details
Attachments
(5 files)
UX provided new 1.5x assert for hd project. we need to update those images into GAIA_DIR/shared
Assignee | ||
Comment 2•12 years ago
|
||
Assignee | ||
Comment 3•12 years ago
|
||
Hi Ismael, could you help to review this? thanks!
There are only new assets from UX in this pull request without code change.
Attachment #782451 -
Flags: review?(igonzaleznicolas)
Comment 4•12 years ago
|
||
Comment on attachment 782451 [details] [review]
github PR: https://github.com/mozilla-b2g/gaia/pull/11218
I've added some comments in GH, 1&2 are the important ones. Take a look on to them and fix it plx.
Anyway i'll give you thr r+.
Thx!
Assignee | ||
Comment 5•12 years ago
|
||
Thank you Ismael!
Hi Amy, as Ismael said on github, There are some question need you provide additional images:
1. we have different color between 1.0x image and 1.5 image for shared/style/switches/images/radio/default@1.5x.png, please see this: https://github.com/mozilla-b2g/gaia/pull/11218/files#diff-25
2. looks we tweaked some icon design (like icon in below link), could you also update the icon for 1.0x? https://github.com/mozilla-b2g/gaia/pull/11218/files#diff-30
3. 1.5x images size should be [origin image size x 1.5], but we found some files doesn't match this rule, could you check it? below list is images I found:
https://gist.github.com/yurenju/6109731:
> ./resources/branding/official/initlogo.png 320x480
> origin image x 1.5 = 480x720
> ./resources/branding/official/initlogo@1.5x.png 405x720
>
> ./resources/branding/official/powered.png 320x480
> origin image x 1.5 = 480x720
> ./resources/branding/official/powered@1.5x.png 405x720
>
> ./resources/branding/official/about_logo.png 165x165
> origin image x 1.5 = 247x247
> ./resources/branding/official/about_logo@1.5x.png 248x267
>
> ./resources/branding/unofficial/initlogo.png 320x480
> origin image x 1.5 = 480x720
> ./resources/branding/unofficial/initlogo@1.5x.png 405x720
>
> ./resources/branding/unofficial/powered.png 320x480
> origin image x 1.5 = 480x720
> ./resources/branding/unofficial/powered@1.5x.png 405x720
>
> ./style/input_areas/images/icons/clear.png 17x16
> origin image x 1.5 = 25x24
> ./style/input_areas/images/icons/clear@1.5x.png 26x26
>
> ./style_unstable/scrolling/images/icons/search.png 10x10
> origin image x 1.5 = 15x15
> ./style_unstable/scrolling/images/icons/search@1.5x.png 30x30
Ismael please correct me if I'm wrong.
Flags: needinfo?(amylee.design)
Comment 6•12 years ago
|
||
Hi
Attached are the correct resized graphics and I have fixed the colouring on "default@1.5".
I noticed that there are 2 different colours being used for the clear.png buttons in these 2 sections. Can you attach a screenshot of where these 2 icons are being used? I think they should be the same colour. Also the style of the X was outdated so I have updated it.
shared/style/input_areas/images/icons/clear.png
shared/style/headers/images/icons/clear.png
Let me know if you need anything else
Flags: needinfo?(amylee.design)
Comment 7•12 years ago
|
||
Also in response:
2. looks we tweaked some icon design (like icon in below link), could you also update the icon for 1.0x? https://github.com/mozilla-b2g/gaia/pull/11218/files#diff-30
Please contact Eric Pang for any @1 graphics or updates to @1 scale. Thanks!
Assignee | ||
Comment 8•12 years ago
|
||
Hi Eric,
we found UX have tweaked handler of seekbars icon for 1.5x size, please see this link:
https://github.com/mozilla-b2g/gaia/pull/11218/files#diff-35
it would be great if you can provide the updated icon for 1x size to make this icon looks the same on devices with different DPI, thank you :-)
Flags: needinfo?(epang)
Assignee | ||
Comment 9•12 years ago
|
||
Hi Amy,
1. I checked the resolution of images again, here is the result:
https://gist.github.com/yurenju/6119971
> ./resources/branding/official/initlogo.png 320x480
> origin image x 1.5 = 480x720
> ./resources/branding/official/initlogo@1.5x.png 480x800
>
> ./resources/branding/official/powered.png 320x480
> origin image x 1.5 = 480x720
> ./resources/branding/official/powered@1.5x.png 480x800
>
> ./resources/branding/unofficial/initlogo.png 320x480
> origin image x 1.5 = 480x720
> ./resources/branding/unofficial/initlogo@1.5x.png 480x800
>
> ./resources/branding/unofficial/powered.png 320x480
> origin image x 1.5 = 480x720
> ./resources/branding/unofficial/powered@1.5x.png 480x800
>
> ./style/input_areas/images/icons/clear.png 17x16
> origin image x 1.5 = 25x24
> ./style/input_areas/images/icons/clear@1.5x.png 26x26
Should we need to use exactly pixels for 1.5x or is it okay for you?
2. looks you have tweaked initlogo & powered:
https://github.com/mozilla-b2g/gaia/pull/11218/files#diff-1
https://github.com/mozilla-b2g/gaia/pull/11218/files#diff-2
do we also need to tweak 1x images for consistent?
also needinfo? Ismael to get more feedback.
Flags: needinfo?(igonzaleznicolas)
Flags: needinfo?(amylee.design)
Comment 10•12 years ago
|
||
Hi Yuren,
I've attached the handler for the seekbar @1x. I believe it might be the same, could it be that the icon is just stretched in the git hub preview, making the colors look washed out (since the image is pretty small? Let me know if I've misunderstood the issue. :)
Flags: needinfo?(epang)
Comment 11•12 years ago
|
||
Hi,
I have attached @1 scale screens so they match the @1.5 versions. The dimensions of the original @1 scale graphics seemed incorrect as well. Can you please use these to replace initlogo & powered @1 scale. I think the 26x26 clear.png graphic should be okay as long as it looks right on the screen. Thanks
Flags: needinfo?(amylee.design)
Updated•12 years ago
|
Attachment #782451 -
Flags: review?(igonzaleznicolas) → review+
Comment 12•12 years ago
|
||
Everything looks fine now. Huge thx guys!
Flags: needinfo?(igonzaleznicolas)
Assignee | ||
Comment 13•12 years ago
|
||
status-b2g-v1.1hd:
--- → affected
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 15•12 years ago
|
||
Merged into v1.1.0hd:
https://github.com/mozilla-b2g/gaia/pull/11695
Comment 16•12 years ago
|
||
(In reply to GaryChen [:GaryChen] from comment #15)
> Merged into v1.1.0hd:
> https://github.com/mozilla-b2g/gaia/pull/11695
Thanks Gary, can you also update the status-b2g-v1.1hd:affected flag to fixed?
Flags: needinfo?(gchen)
Updated•12 years ago
|
Flags: needinfo?(gchen)
Comment 17•12 years ago
|
||
Thanks Ryan.
Updated•11 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
![]() |
||
Comment 19•11 years ago
|
||
[2013/10/21 Helix Testing]
Gaia: c829a2042594b6c3a4899ee27979799a0f301534
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/f7c657f6d019
BuildID 20131015042201
Version 18.0
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•