Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
technogecko6
Old
#1  
Member - OP
Thanks Meter 0
Posts: 54
Join Date: Jan 2010
Unhappy Wallpaper size... something weird going on here?

Hi guys,

So I was hunting around to figure out what the wallpaper size is for the Nexus One... most people seem to state it is 960x800, or 2 times wider than the standard 480 resolution.

I did a test to see how it would look on the device by creating a 960x800 image with red vertical lines every 192 pixels (which will divide it horizontally 5 times to match with the 5 home screens on the N1). Much to my dismay, it actually renders it differently (showing almost 3 of the 192px blocks on the center screen).

When swiping back and forth, it seems like there is some sort of parallax scrolling going on. You can see a full screen of apps/widgets (480px wide) scroll to the side, but you will see the background move some other amount of pixels. It's almost as though the background is scaled in some fashion horizontally. I was assuming it would somehow work like the home screens on the N900, where each screen has 1 block of 800x480 wallpaper space...

Anyone have some insight into what is going on here?
 
TaFFeR
Old
#2  
Member
Thanks Meter 15
Posts: 60
Join Date: Oct 2006
Quote:
Originally Posted by technogecko6 View Post
Hi guys,

So I was hunting around to figure out what the wallpaper size is for the Nexus One... most people seem to state it is 960x800, or 2 times wider than the standard 480 resolution.

I did a test to see how it would look on the device by creating a 960x800 image with red vertical lines every 192 pixels (which will divide it horizontally 5 times to match with the 5 home screens on the N1). Much to my dismay, it actually renders it differently (showing almost 3 of the 192px blocks on the center screen).

When swiping back and forth, it seems like there is some sort of parallax scrolling going on. You can see a full screen of apps/widgets (480px wide) scroll to the side, but you will see the background move some other amount of pixels. It's almost as though the background is scaled in some fashion horizontally. I was assuming it would somehow work like the home screens on the N900, where each screen has 1 block of 800x480 wallpaper space...

Anyone have some insight into what is going on here?
I'm not exactly sure what resolution the backgrounds are, but the "parallax scrolling" has been used in Android since the G1.

If you pick an off-sized background, the OS will tell you to crop it, and the height width ratio is almost square. Anyway, each panel of the home screen will share a bit of the background with the adjacent home screens.
diversificationied Old
#3  
Guest
Thanks Meter
Posts: n/a
Yup, each homscreens background overlaps with the ones on either side of it.
 
jacksonj51
Old
#4  
jacksonj51's Avatar
Senior Member
Thanks Meter 71
Posts: 167
Join Date: Oct 2008
Location: So-Cal
I believe the correct resolution for the N1 is 960x854
 
sinbonders
Old
#5  
Junior Member
Thanks Meter 1
Posts: 20
Join Date: Jan 2010
The resolution should be 960x800, because the Nexus is not the droid, it's 800 pixels not 854.

And for there to be 5 home screens on 960 wide, it's only going to scroll 1/5th of the image on each home screen. The parallax scrolling is a cool feature.

Of course it's going to show almost 3 of the 192px blocks on the center screen, because the center screen is 480px wide.
 
Mi|enko
Old
#6  
Mi|enko's Avatar
Senior Member
Thanks Meter 28
Posts: 1,217
Join Date: Jul 2006
Location: Seattle
960x800 is correct. Additionally, you could've sorted this quickly by pulling the Launcher2.apk from /system/app, then extracting it and checking the size of the default wallpapers.
 
technogecko6
Old
#7  
Member - OP
Thanks Meter 0
Posts: 54
Join Date: Jan 2010
So here is another question. Does anyone think its possible to change the scrolling of the background (and size) such that it would be 1 480x800 size block PER home screen?
 
jmotyka
Old
#8  
jmotyka's Avatar
Senior Member
Thanks Meter 40
Posts: 401
Join Date: May 2009
Location: Right behind U!
Quote:
Originally Posted by technogecko6 View Post
So here is another question. Does anyone think its possible to change the scrolling of the background (and size) such that it would be 1 480x800 size block PER home screen?
When I had my g1 the Photoshop app would set wallpapers without asking for cropping even 480x800 so I would use iPhone wallpapers cause we allow know most Mac useres are have some skill in graphics design. Anywho when I tried to use this work around on my nexus it did not work, I'm looking further into this!


Stole this from papa smurf, because i feel if some of us users
use this signature more and more people will see the rules and
understand them. Maybe its a longshot, but its worth the try.
 
RayKinStL
Old
#9  
Senior Member
Thanks Meter 2
Posts: 130
Join Date: Mar 2009
Location: Saint Louis, MO
Quote:
Originally Posted by jmotyka View Post
When I had my g1 the Photoshop app would set wallpapers without asking for cropping even 480x800 so I would use iPhone wallpapers cause we allow know most Mac useres are have some skill in graphics design. Anywho when I tried to use this work around on my nexus it did not work, I'm looking further into this!
Came across this. I want to disable scrolling on the background wallpaper too and have a static image. Any updates?
 
djmcnz
Old
#10  
djmcnz's Avatar
Recognized Developer
Thanks Meter 1448
Posts: 5,440
Join Date: Oct 2009
Location: Amsterdam, NL
Wallpaper Set & Save is a basic free app from the market that works wonders with hi-res and off-sized images...
[Nexus One], [Optimus 2x > /dev/null], [Galaxy Nexus], [Transformer Prime]

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more