Closed
Bug 920603
Opened 12 years ago
Closed 12 years ago
Add a qHD skin to the emulator
Categories
(Firefox OS Graveyard :: Emulator, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gsvelto, Assigned: gsvelto)
References
Details
Attachments
(2 files)
70.26 KB,
patch
|
mwu
:
review+
|
Details | Diff | Splinter Review |
391 bytes,
text/html
|
Details |
The wasabi device uses a qHD resolution which is currently not supported out-of-the-box by our emulator. Adding a skin for it would greatly simplify testing UI patches for those who do not have the device at hand or need to use the emulator for any other reason.
Assignee | ||
Comment 1•12 years ago
|
||
This patch adds a qHD skin based on the WVGA800 with all dimensions and DPI ratio adjusted for the qHD resolution (540x960) and new portrait/landscape backgrounds that properly fit the device screen.
Assignee | ||
Comment 2•12 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Updated•12 years ago
|
Attachment #809979 -
Attachment description: Pointer to Github pull request: https://github.com/mozilla-b2g/android-development/pull/3 → [PULL REQUEST] Add a qHD skin for the emulator
Comment 3•12 years ago
|
||
Hm, this only adds support for the ICS emulator. Any idea if the JB emulator comes with a qHD skin? We don't need it there at the moment, but it would be nice to have.
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #3)
> Hm, this only adds support for the ICS emulator. Any idea if the JB emulator
> comes with a qHD skin? We don't need it there at the moment, but it would be
> nice to have.
I had checked the master branch in Google's repository and it doesn't have qHD skin yet so I assume the JB emulator doesn't either:
https://github.com/android/platform_development/tree/master/tools/emulator/skins
I can prepare a pull-request for the JB emulator using this patch as it shouldn't require any modification.
Assignee | ||
Comment 5•12 years ago
|
||
I've checked the exact version used by the JB emulator and it doesn't have a qHD skin either:
https://android.googlesource.com/platform/development/+/android-4.3_r2.1/tools/emulator/skins/
Looking at our manifest it seems to me that we're pulling it directly from the Android repos. Is that the plan? In that case do you want me to try and push this upstream too?
Comment 6•12 years ago
|
||
Upstream would be great if they take it. Lemme know if you try that - I would probably need to add you to the corporate contributor list.
Comment 7•12 years ago
|
||
Comment on attachment 809976 [details] [diff] [review]
[PATCH] Add a qHD skin for the emulator
I'm just gonna assume this was tested. :)
(also, if you have a PR, asking for review on that is usually enough)
Attachment #809976 -
Flags: review?(mwu) → review+
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #7)
> Comment on attachment 809976 [details] [diff] [review]
> [PATCH] Add a qHD skin for the emulator
>
> I'm just gonna assume this was tested. :)
Yep, I've been using it to reproduce a UI layout problem that happens only on the wasabi which I don't have :)
> (also, if you have a PR, asking for review on that is usually enough)
I know but I've been attaching patches besides PRs lately in Gaia (and other components) so that when people look up the bug they can find the patch that landed and the review comments on the bug instead of having to go and look them up on GitHub.
Assignee | ||
Comment 9•12 years ago
|
||
Merged to emu-fix 4e236e65a5d652a66ac32590f69f2123d17cb4ad
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•