[Q] Change start-point of analog clock & calculate [ar] - Zooper Widget General

Hello,
I want to create a analog clock, but 12 o`clock shouldn`t begin on the top, it should start with 12 o`clock at the point of 2 o`clock
(sorry, my english is awful)
So, the starting point should be at 20 degrees, because the background is distorted.
Now I have
[r] $(360/60*#dm#)$ [/r]
$#dm#>360?((360/60*#dm#+20)-360)360/60*#dm#+20)$
What is wrong? Doesn`t work
And is there a possibility to calculate the value of [ar] ---> my rectangle (clock hand) is 34 high ...
Thx an d Greets

+1

bvt-1 said:
Hello,
I want to create a analog clock, but 12 o`clock shouldn`t begin on the top, it should start with 12 o`clock at the point of 2 o`clock
(sorry, my english is awful)
So, the starting point should be at 20 degrees, because the background is distorted.
Now I have
[r] $(360/60*#dm#)$ [/r]
$#dm#>360?((360/60*#dm#+20)-360)360/60*#dm#+20)$
What is wrong? Doesn`t work
And is there a possibility to calculate the value of [ar] ---> my rectangle (clock hand) is 34 high ...
Thx an d Greets
Click to expand...
Click to collapse
But.......2 o'clock is 60 degrees.....
Try this
[r] $(60+(360/60*#dm#))$ [/r]
Inviato dal mio GT-N7000 con Tapatalk 2

Great, works :thumbup::thumbup:
Many many thanks :thumbup:
And did you know,,how to calculate [ar] ?
... oOo ...

bvt-1 said:
Great, works :thumbup::thumbup:
Many many thanks :thumbup:
And did you know,,how to calculate [ar] ?
... oOo ...
Click to expand...
Click to collapse
Mmm...... [ar] work with [as], for [as] you can use the same formula, and for [ar] use simply, for example, 5, 10, 15 or -5, -10, -15 or other valute ( without $ ), try different.
Inviato dal mio GT-N7000 con Tapatalk 2

Related

Display Problem Kaiser Android !

I got Kaiser ( TYTN II )
I dont knw which Panel i have
im using the custom_kernal of kallt_kaffe
edited
used 320 height
as specified edited in that nbh
now flashed sucessfully
downloading KaiserDroid and installed as specified everything went completly
now
The Display scrren Sucks
its like 16bit images
i dont know what to do
Please Help me
also tell me how to fine what Panel we are using
mr521427 said:
I got Kaiser ( TYTN II )
I dont knw which Panel i have
im using the custom_kernal of kallt_kaffe
edited
used 320 height
as specified edited in that nbh
now flashed sucessfully
downloading KaiserDroid and installed as specified everything went completly
now
The Display scrren Sucks
its like 16bit images
i dont know what to do
Please Help me
also tell me how to fine what Panel we are using
Click to expand...
Click to collapse
Just try changing the panel (1, 2 or 3) until it works OK. There is no other way right now.
thanks for quick answer
well if i want o change kernels then i should change OS too ?
thanks for your help <3
learnt now on Android
same problem
Hello I have the same problem ...
I tried changing 1 2 3 panel types form default txt and using the NBH Editor
the image still looks like it's 16bit
I have a tytn II
Thank you!
same
Hi,
is there a solution? I have the same problem...
Thanks
Hy ! I have the same problem.No one solved this ?
socoliuc said:
hy ! I have the same problem.no one solved this ?
Click to expand...
Click to collapse
change your panel type!
Could you send a screenshot? If it was truly 16 bit graphics then they wouldn't look bad at all, sure you don't mean 8 or 4 bit or something of that nature?
Could it be a 4th panel type? LOL
lllgrklll said:
Hello I have the same problem ...
I tried changing 1 2 3 panel types form default txt and using the NBH Editor
the image still looks like it's 16bit
I have a tytn II
Thank you!
Click to expand...
Click to collapse
are you using NAND or SD??
I had the same problem. I changed to panel 1 and now it works fine .
DooMFeaR said:
I had the same problem. I changed to panel 1 and now it works fine .
Click to expand...
Click to collapse
We need to set prizes for thread diggers...

Battery

Has made here such battery! First sdkcertsnew2015, then cab!
And so skin analog clock for MOD! 16 Shcut 2 clock!
To unpack in windows with replacement of a file!
Nice job, thanks for this one. Was waiting for this, one that doesn't alter the pin code keyboard.
gabbana-music said:
Has made here such battery! First sdkcertsnew2015, then cab!
And so skin analog clock for MOD! 16 Shcut 2 clock!
To unpack in windows with replacement of a file!
Click to expand...
Click to collapse
battery can show 1%、2%、...14%....35%.....89%....99% ?
MR.liang said:
battery can show 1%、2%、...14%....35%.....89%....99% ?
Click to expand...
Click to collapse
No! Only 10 %..... 40 %..... 50 %.....
Hey gabbana-music.. Thanks a lot man.. You are the MAN dude.. You Rocked onces again with this very very useful and very awaiting application for me.. Thanks man..
Works like a Charm on my HD Mini..
thanks gabbana for mini taskbar ,working fine my mini .
gabbana-music said:
Has made here such battery! First sdkcertsnew2015, then cab!
And so skin analog clock for MOD! 16 Shcut 2 clock!
To unpack in windows with replacement of a file!
Click to expand...
Click to collapse
It work perfectly except, it is possible to change the 'H,3G,E,G' icon back to original. That will be perfect!
yeeees, super!

[MODS] Build.prop [UI FPS, DEBUG NFC/SE, QTAGUID, PWRMODE, HWACCEL]

I was developing on another T3 device and come across some things that might come in handy for the one x specifically build.prop.
Within build.prop I found this:
debug.nfc.fw_download : Currently set to false but can be enabled by setting to true
debug.nfc.se: Set to false, debugging, to do with tegra3 built in security engine (se)
media.tegra.max.out.channels: ?
mediea.tegra.out.channel.map: ?
net.qtaguid_enabled = 1/0, self explanatory
persist.sys.NV_FPSLIMIT = 35 (change to 60, for 60fps ui?)
persist.sys.NV_POWERMODE = 1
persist.sys.NV_PROFVER = 15
persist.sys.NV_STEREOCTRL = 0
persist.sys.NV_STEREOSEPCHG = 0
persist.sys.NV_STEREOSEP = 20
persist.sys.ui.hw = true (hw accelerated UI(Should already be set to true on ICS))
persist.tegra.NV_FPSLIMIT = 0 ? (unsure why there's 2 of them)
persist.tegra.nvmmlite = 1 (Unsure)
power.saving.mode = 0
ro.bootmode [unknown]
ro.factorytest = 0
ro.bootloader [unknown]
Persist.sys.fw.camera.status = 1
Persist.dmesg.mode = split
Persist.dmesg.rotate = 1
Drm.service.enabled = 1/0
Enjoy
shaky156 said:
persist.tegra.nvmmlite = 1 (Unsure)
Click to expand...
Click to collapse
Just so you know, changing this to 0 breaks the camera. No idea what it actually does though
I added everything else in your first post to my build.prop and all that seemed to change was that my quadrant score dropped by about 700 (4900 or so, to 4200). Actual phone speed didn't seem to drop, but I'll have a play around with them some more and see what happens
Improvements ?
Hi,
Thanks for the information.
Could you please let us know what are the improvements we can expect after this.??
Regards,
mahesh_9j said:
Hi,
Thanks for the information.
Could you please let us know what are the improvements we can expect after this.??
Regards,
Click to expand...
Click to collapse
I havent tested modifying those, i cant test them lol, but changing fps limit should change ui fps, afaik its currently set to 35fps
Changing nvpowermode to 0 might stop the lower freq clks when batterys lower
Sent from my Desire HD
shaky156 said:
I havent tested modifying those, i cant test them lol, but changing fps limit should change ui fps, afaik its currently set to 35fps
Changing nvpowermode to 0 might stop the lower freq clks when batterys lower
Sent from my Desire HD
Click to expand...
Click to collapse
The "persist.says.NV_FPSLIMIT" works nicely! Set it to 10 or so to make the UI almost unusable! Only works for the phone UI though, doesn't alter application fps.
Not sure how to measure how fast it can go though.
Sent from my HTC One X using xda premium
Meltus said:
The "persist.says.NV_FPSLIMIT" works nicely! Set it to 10 or so to make the UI almost unusable! Only works for the phone UI though, doesn't alter application fps.
Not sure how to measure how fast it can go though.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Best to set it to 60
Sent from my Desire HD
shaky156 said:
Best to set it to 60
Sent from my Desire HD
Click to expand...
Click to collapse
Is it already in HOX's build.prop or should we just add the lines that we want?
mach0boi said:
Is it already in HOX's build.prop or should we just add the lines that we want?
Click to expand...
Click to collapse
It's already in build.prop, just search and edit the value to 60.
double_ofour said:
It's already in build.prop, just search and edit the value to 60.
Click to expand...
Click to collapse
Naduduling na ko.
Tried and tried still can't find it. There's only a few lines in here that starts with "persist.". BTW, i'm on insertcoin.
mach0boi said:
Naduduling na ko.
Tried and tried still can't find it. There's only a few lines in here that starts with "persist.". BTW, i'm on insertcoin.
Click to expand...
Click to collapse
If its not there
Add it in, im sure all chefs will add it in when updating their roms
Sent from my Desire HD
shaky156 said:
If its not there
Add it in, im sure all chefs will add it in when updating their roms
Sent from my Desire HD
Click to expand...
Click to collapse
Already did. IDK if it's a placebo or have a real effect on the UI. Well i guess having it in here won't hurt
mach0boi said:
Already did. IDK if it's a placebo or have a real effect on the UI. Well i guess having it in here won't hurt
Click to expand...
Click to collapse
Few post above youra, Meltus tested the nvfpslimit, it works
Sent from my Desire HD
mach0boi said:
Already did. IDK if it's a placebo or have a real effect on the UI. Well i guess having it in here won't hurt
Click to expand...
Click to collapse
Have you tried lowering the value down? lets say like 10 if it slows down the UI? if not then maybe that line has no effect at all..
s-off ka pre? ineedit mo directly sa /system/? hehe.. or paflash2 ng script sa recovery?
shaky156 said:
Few post above youra, Meltus tested the nvfpslimit, it works
Sent from my Desire HD
Click to expand...
Click to collapse
well.. that answers our question.
double_ofour said:
Have you tried lowering the value down? lets say like 10 if it slows down the UI? if not then maybe that line has no effect at all..
s-off ka pre? ineedit mo directly sa /system/? hehe.. or paflash2 ng script sa recovery?
Click to expand...
Click to collapse
PM
10 chars
Ill update this soon
Sent from my Desire HD
mach0boi said:
Naduduling na ko.
Tried and tried still can't find it. There's only a few lines in here that starts with "persist.". BTW, i'm on insertcoin.
Click to expand...
Click to collapse
to search use terminal app... then type the command
getprop | grep "thing to search"
or if you're sure of the exact key and just want to check the value use
getprop "exact.key"
double_ofour said:
It's already in build.prop, just search and edit the value to 60.
Click to expand...
Click to collapse
Consider the fact that upping UI FPS from 30 to 60 doubles the GPU workload and results in battery hit.
this value definitely works in controlling the launcher FPS
persist.sys.NV_FPSLIMIT = 60
however the line is not there by default, so it might be already 60fps default
placing the file with low value will cap the FPS
Shaky any idea how to force Tegra full quad performance mode?
hamdir said:
this value definitely works in controlling the launcher FPS
persist.sys.NV_FPSLIMIT = 60
however the line is not there by default, so it might be already 60fps default
placing the file with low value will cap the FPS
Shaky any idea how to force Tegra full quad performance mode?
Click to expand...
Click to collapse
Might have an idea, ill let you know once im abit more free
Sent from my HTC Desire HD

[Q] Colours for temperatures

I saw someone else had asked a similar question, but I tried that answer's template, and then also the website, and neither is working, sooo....
I'm using text (not rich text, does this matter?) to tell me the current conditions and the temperature. I tried using the conditional code in the "edit text manually" section, and then, in the "advanced parameters" section. So far, I have #WCCOND#, #WCTEMPN#$<=32?[c]#00ffff[/c]$, to change the temperature to a light blue when it's 32 or below. This was also trial and error: the other two attempts based off the examples I tried, the temperature entirely disappeared: now, at least, it's still visible, but it's not turning blue even though it's 19 outside. Am I writing this code wrong?
If you want to change the color of the temperature only, use [c]$#WCTEMPN#<=32?#ff00ffff:#ff000000$[/c] in advanced parameters and #WCTEMPN# as text.
Sent from GT-I9505 via Tapatalk
CopKiller76 said:
If you want to change the color of the temperature only, use [c]$#WCTEMPN#<=32?#ff00ffff:#ff000000$[/c] in advanced parameters and #WCTEMPN# as text.
Sent from GT-I9505 via Tapatalk
Click to expand...
Click to collapse
Does it matter if it's text, or rich text?
....also, I'm using six number colour codes, does that make a difference?
Nevermind, I think I've got it. I'm just a little annoyed that between your example, the website's example, and someone else, the code doesn't seem to match
Doesnt matter richtext only has a few more options.
Sent from GT-I9505 via Tapatalk
CopKiller76 said:
Doesnt matter richtext only has a few more options.
Sent from GT-I9505 via Tapatalk
Click to expand...
Click to collapse
Okay, so then, if I use the Advanced Parameters, is it going to affect everything within the module? I'm trying to apply this idea to my battery stats, using #BSTAT#, #BLEV#, and #BLEFT#. All three are present in the module, but in Advanced Parameters, I'm only trying to apply a change in colour (like the website example) to #BLEV#. However, it changes all three instead of just one.
The change in advanced is for the complete module. In this case you have to use rich text and try doing this with bb-code.
Sent from GT-I9505 via Tapatalk
---------- Post added at 08:20 PM ---------- Previous post was at 08:12 PM ----------
Try this #BSTAT# $#BLEVN#<=30?[c=#ffff0000]#BLEV#[/c]:[c=#ff00ff00]#BLEV#[/c]$ #BLEFT#
Sent from GT-I9505 via Tapatalk
CopKiller76 said:
The change in advanced is for the complete module. In this case you have to use rich text and try doing this with bb-code.
Sent from GT-I9505 via Tapatalk
Click to expand...
Click to collapse
But can BBC code change the colour dynamically as well?
Example added.
Sent from GT-I9505 via Tapatalk
Nope. Maybe I'll just try small separate widgets then.
Sokudoningyou said:
Nope. Maybe I'll just try small separate widgets then.
Click to expand...
Click to collapse
Not working for you?
Sent from GT-I9505 via Tapatalk
CopKiller76 said:
Not working for you?
Sent from GT-I9505 via Tapatalk
Click to expand...
Click to collapse
No, didn't work.
As i look over my other widgets i see there is a change in the newest zooper(themer zooper?). If you write the # in a color tag there is sometimes an error. Try this:
#BSTAT# $#BLEVN#<=30?[c=ffff0000]#BLEV#[/c]:[c=ff00ff00]#BLEV#[/c]$ #BLEFT#
On Android you have to use 8 digit colorcode cause the first 2 digits are for the alpha value. use 00 to ff for 0-100% alpha.
Edit: This is not for Advanced Parameters, its for the Edit Text input field!
CopKiller76 said:
As i look over my other widgets i see there is a change in the newest zooper(themer zooper?). If you write the # in a color tag there is sometimes an error. Try this:
#BSTAT# $#BLEVN#<=30?[c=ffff0000]#BLEV#[/c]:[c=ff00ff00]#BLEV#[/c]$ #BLEFT#
On Android you have to use 8 digit colorcode cause the first 2 digits are for the alpha value. use 00 to ff for 0-100% alpha.
Edit: This is not for Advanced Parameters, its for the Edit Text input field!
Click to expand...
Click to collapse
I actually got it to work finally, but I'm just using the battery level as a separate piece within the widget. Much less stress. But thanks!
Sokudoningyou said:
I actually got it to work finally, but I'm just using the battery level as a separate piece within the widget. Much less stress. But thanks!
Click to expand...
Click to collapse
In case this might help either of you down the road, here's a paste from an app I built where this works.
Code:
[c]$ #BLEVN# > 30 ? #FFA0A0A0 $$ #BLEVN# <= 30 && #BLEVN# > 15 ? #FFE2892B $ $ #BLEVN# <= 15 ? #FFFF3F3F $ [/c]

#AISDAY# bug

When #AISDAY# is used with "Override Widget Locality", it would report the correct value before midnight local time.
Once the local time reaches 00:00hrs, #AISDAY# would invariably return a "0" regardless of which locality/timezone it is set to.
Clueless said:
When #AISDAY# is used with "Override Widget Locality", it would report the correct value before midnight local time.
Once the local time reaches 00:00hrs, #AISDAY# would invariably return a "0" regardless of which locality/timezone it is set to.
Click to expand...
Click to collapse
Report 1 from sunrise to sunset, and 0 from sunset to sunrise.
I have no problem.
Inviato dal mio GT-N7000 con Tapatalk 2
My local time zone is currently 12 hours ahead of New York.
If I set #AISDAY# widget locality to New York, it would report "1" when the sun rises there, but change to "0" when it's still noon over there and midnight where I am.
Sent from my SM-N9005 using Tapatalk
Clueless said:
My local time zone is currently 12 hours ahead of New York.
If I set #AISDAY# widget locality to New York, it would report "1" when the sun rises there, but change to "0" when it's still noon over there and midnight where I am.
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
You're right.
I tried from Italy to set New York, override aisday module and when in NY there is sunrise the value remain 0.
Inviato dal mio GT-N7000 con Tapatalk 2
I'm seeing this as well. Does anyone have any solution for this?

Categories

Resources