'True' fullscreen in Rosie - Hero, G2 Touch Android Development

I have been wanting this for wuite some time. To specify, I want the wallpaper in Rosie to be real fullscreen 640x480, instead of only 455 in heigth. Similar behaviour can be seen in Launcher2. The reason for wanting this, is that it will be possible to have a transparent/opaque status bar like it's possible in Launcher2.
My problem now is that I'm stuck. I have been looking through all smali and xml files within Rosie. I cannot seem to find anything related to the physical size of the wallpaper. Any help is extremely welcome.

you could try wallpaper set and save from market
hope this helps
Sent from my aHero using the XDA mobile application powered by Tapatalk

I had a look and it seems to be using
getDesiredMinimumWidth
and
getDesiredMinimumHeight
from android/app/WallpaperManager (framework.jar).
EDIT: Made some changes. Actually, nevermind. It only gets the minimum size, not the maximum.
EDIT2: If you have a look at the resulting png (in /data/data/com.htc.launcher/files) you can see that the width and height actually is 640x480.

HomerSp said:
I had a look and it seems to be using
getDesiredMinimumWidth
and
getDesiredMinimumHeight
from android/app/WallpaperManager (framework.jar).
EDIT: Made some changes. Actually, nevermind. It only gets the minimum size, not the maximum.
EDIT2: If you have a look at the resulting png (in /data/data/com.htc.launcher/files) you can see that the width and height actually is 640x480.
Click to expand...
Click to collapse
I'm not sure it is in the framework, as Launcher2 is able to use wallpaper fullscreen. If you put a opaque statusbar in framework-res.apk, you will have wallpaper behind it in Launcher2. That's what I want to achieve in Rosie. I'm 99% it has to be found in the smali or xml's of Rosie.apk.
Edit: What I am trying to say is, that if Launcher2 can do it, then Rosie should do it to, if it is the framework that is controlling the wallpaper.

I don't think it has anything to do with the height of the background, more like the blending of the statusbar. Because the top pixels of the background are actually behind the statusbar. Could also be that it does some clipping before displaying the background.

I know it doesn't has to do with the blending. If I apply a transparent statusbar, it will just turn black when in Rosie, with no wallpaper behind. In Launcher2 the wallpaper will show.

Related

resolution for wallpaper on epic

I searched for this and only found information on other phones...
What is the exact wallpaper resolution size for the epic. I made a cross and scripture that I set to 480x800 originally which is pretty small. I made it to fit the bootscreen for the modification that Rodderik came up with. Now I wanted to try and make it my wallpaper but it forces me to crop it way too small. I would think the 480x800 would be small enough but it's not. I have no wiggle room so I need the exact resolution that it wants.
Thanks!
***sigh***
980 X 800 in case someone else looks this up.
960x800
10/char
Wallpaper
So I created a wallpaper at 980X800 which works, however when you flip the phone and get landscape it loses quite a bit of the picture. Is there a trick to this? It doesn't seem to be a problem with most wallpapers.
unless its in a "and I'm likely quoting this wrong" a .9.png fromat it WONT scale right on landscape.. and I'm thinking that a background wont anyway unless there is a mod to the framework.apk
Hmmm... I think you're right. I'll post back with my findings and try to thank you since I can't in the app.
png
So gimp (which people use who theme) does save in png format, but I cannot find the .9 business. I'll test png and see if it helps at all, but I'm sure the .9 format is necessary. You probably have to incorporate two different resolutions into the same file and reference it somehow.

[STOCK] Wallpaper Template +other stuff!

I was getting pretty frustrated with how our phones crop the wallpaper these days.
I was looking and looking for a wallpaper template, but couldn't find one. So I made one.
It's in Paint.net's PDN, Gimp's XCF, and Photoshop PSD
The wallpaper I made in the screenshot was using the PDN.
I only made the XCF and PSD for those of you who do not like using Paint.net, I assume they work just as well, but haven't tested them.
If they don't work properly, let me know and I'll try to fix them.
In the Templates.7z package you'll find the blank E4GT-Template.xxx which is 960x800 @ 206ppi
I had read that the stock wallpapers were 960x800, which seems to be the size of the cropping block when you set a wallpaper.
480x800 is the screen size, you'll notice there are (2) 240x800 black bars on the sides, these get truncated.
All you have to so is add whatever image you want as a layer behind the "Box" layer.
What you can see is what you'll get when you set the wallpaper on your phone.
I've attached a screenshot of my phone with a Borderlands 2 style wallpaper I made.
Just for you, I've included the template for it as well: BL2-Blank.pdn
You'll notice a solid red background on the this one, this is to check for gaps.
If there are no gaps, you won't see it when you flatten the image, or just delete it.
If you have more than 5 pages of stuff, you'll need to change the size of the top box for the page indication thing.
This is for people who are stock, or don't have scrolling wallpaper as an option.
Feedback is appreciated.
Enjoy!
If you're running stock, one of Samsung's updates actually disabled the scrolling wallpaper feature - originally, you would in fact make wallpapers 960x800. It's actually one of the reasons I went and rooted my phone - I loved that feature, and I thought it was lame that they took it out.
That being said, this is very useful, especially for those running a single screen setup, or running stock. I haven't made a wallpaper in such a long time - I'll edit one into this post for anyone interested. Maybe a Fallout inspired one?
IceCatraz said:
If you're running stock, one of Samsung's updates actually disabled the scrolling wallpaper feature - originally, you would in fact make wallpapers 960x800. It's actually one of the reasons I went and rooted my phone - I loved that feature, and I thought it was lame that they took it out.
That being said, this is very useful, especially for those running a single screen setup, or running stock. I haven't made a wallpaper in such a long time - I'll edit one into this post for anyone interested. Maybe a Fallout inspired one?
Click to expand...
Click to collapse
This reminds me that I forgot to mention a few things in the original post.
Something Fallout/Pip-boy inspired could be cool!
Best game ever!! Can't stop playing.
Sent from my SPH-D710 using xda app-developers app
The wallpapers are extremely annoying. I never uses scrolling before, but when they took it away it messed up everything.
Sent from my SPH-D710 using xda premium
I got the Nova Launcher from Play while it was on sale, made a background for it using the same template and made some folder backgrounds
The regular grey bar was ripped from the site same as the yellow one I used on the Maya background.
The regular box is made from it.
The Modified images I smoothed the coloring out, and made the orange a little darker, preserving the highlights.
I'm including the background if anyone wants it, and a screenshot of how I used it.
You need to make the dock margins Large.
-

[REQ] Resize PNG and maintain Transparency

Hey guys. I've used Irfanview to resize the attached PNGs (they are zoom buttons, to be placed in framework-res.apk) but I haven't been able to resize them without messing up the transparency. Technically, I'm upsampling them, which seems to be ok. My only problem is that I don't know how to change the settings such that I can keep the transparency base, but have the "-" and "+" opaque. It ends up being completely transparent and impossible to see on a bright background.
Could anyone upsample them for me? They are 64x64 and it'd be nice to have 128x128. Also, could you provide me some details on what settings you used to save them?
I got it done much more easily than I assumed, using pixlr. I attached the images in another post, if you care to use them in your own ROM. Just replace the identically named files in your framework-res.apk/res/drawable-xhdpi, clear the dalvik and general cache, and you should be good.

[Q] Lockscreen landscape bug in CM10 ROM

Hello guys!
I have a bug in CM10-based ROM on lockscreen, it's not nasty, but I'd like to fix it. As you can see in attached screenshot, time is cut on the right side. Seems like it has static width somewhere spelled out.
I think something needs to be changed in lockscreen layout in framework-res.apk, but I don't know what exactly.
Does it move over if you use 12 hour time format?
Sent from my LG-LS840
No, but if I set smaller font size in system settings - it fits but that font size is not suitable for me.

Height Of Status Bar

This question could probably be answered by someone who makes CM12/12.1 themes....
I'm making custom wallpapers with drop-shadows and I want to slice the top of the wallpaper, create an overlay and add a drop-shadow so it has a 3D-ish look when it sits under the WiFi icon, clock and notifications at the top of the screen...I just can't seem to get the right height though.
Would someone know the exact height?
broad_st_bully said:
This question could probably be answered by someone who makes CM12/12.1 themes....
I'm making custom wallpapers with drop-shadows and I want to slice the top of the wallpaper, create an overlay and add a drop-shadow so it has a 3D-ish look when it sits under the WiFi icon, clock and notifications at the top of the screen...I just can't seem to get the right height though.
Would someone know the exact height?
Click to expand...
Click to collapse
Extract SystemUI then look in res/values/dimens. The status bar height is there but it's in decimal value so it's not gonna be help much and it will not really give you much indication as to the exact res that your wallpaper needs to be. The wallpapers scale to fit so you will have to experiment untill you get it how you want it. That's all i can offer on this... I don't quite understand exactly what you're doing but i do have a lot of photoshop experience and that's what i use.
tx_dbs_tx said:
Extract SystemUI then look in res/values/dimens. The status bar height is there but it's in decimal value so it's not gonna be help much and it will not really give you much indication as to the exact res that your wallpaper needs to be. The wallpapers scale to fit so you will have to experiment untill you get it how you want it. That's all i can offer on this... I don't quite understand exactly what you're doing but i do have a lot of photoshop experience and that's what i use.
Click to expand...
Click to collapse
thanks.
I found that 98px was close enough for what I needed.:good:

Categories

Resources