Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,951 Members 52,598 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][Xposed] HTC One Tweaker

Tip us?
 
Falseclock
Old
#421  
Falseclock's Avatar
Senior Member - OP
Thanks Meter 291
Posts: 495
Join Date: Jun 2012
Location: Almaty

 
DONATE TO ME
Quote:
Originally Posted by J_M_V_S View Post
Not exactly, I was talking about the whole line being in the same color but gradient with respect to the battery status. For example, at 100% the line would be all green, but at 0% (not like we are going to see this, but you get the point) the line would be all red. In the same example, at 50% will be all yelow.
It is currently like that. But color starts changing after 50% from green to red.

Code:
				float[] hsv = new float[3];
				if (level >= 50) {
					hsv[0] = 100;
					hsv[1] = 0.5F;
				} else {
					hsv[0] = level > 0 ? ((float) level * 2.0F) - 2.0F : 0.0F;
					hsv[1] = level > 0 ? (1.0F - ((float) level * 0.5F / (float) 50)) : 1.0F;
				}
				hsv[2] = 1.0F;
				int color = Color.HSVToColor(hsv);
May be to do it changable?


Quote:
Originally Posted by J_M_V_S View Post
Yes, like first versions. I won't argue with you that it looks more elegant but also doesn't quite fit the rest of the system. There's nothing in the status bar that is centered. All is aligned either to the left or to the right. Not that I mind that much, but would be nice to have the option to change alignment (it would also take care of the landscape/portrait problem where battery bar looses its center)
It is possible to implement alignment, but also need write additional methods to care animations. May be later.
Regading landscape/portrait. It is in TODO list to fix.

Quote:
Originally Posted by J_M_V_S View Post
Not quite. I was thinking more that the drop would start at a brighter color than the battery's current status (let's say that if you are at 50% the bar would be yellow and the drop a brighter yellow) but when it reaches the bar becomes bright white and then fades to bar color (in this case, from bright white to dull yellow)
aaah. got it. Are you want to represent some kind of small explosion?

Quote:
Originally Posted by J_M_V_S View Post
I see the problem. What if you start bouncing it to the sides? Another easier approach would be to change to battery color altogheter when charging. In XuiMod the bar turns blue when charging, that would be a simpler way to let the user know the phone is charging even if the animation is not noticeable or not animated anymore after 98%. Following this, you could also have the bar fade from green to bright green while charging after 98%.
may be we organize poll to decide how to implement in transition preiod? I mean may be in the nearest future I will make more choosable options, but now we have to fix is some how.
 
Falseclock
Old
#422  
Falseclock's Avatar
Senior Member - OP
Thanks Meter 291
Posts: 495
Join Date: Jun 2012
Location: Almaty

 
DONATE TO ME
Quote:
Originally Posted by luxda View Post
Hi,
I don't find how to center clock, and how to have the % of battery into the icon. Thanks.
this mod doesn't have such options.
 
haykweb
Old
#423  
haykweb's Avatar
Member
Thanks Meter 10
Posts: 53
Join Date: Sep 2012
Location: Yerevan
Please add function for disabling noise suppression on HTC one dual sim.
 
odm3xda
Old
#424  
odm3xda's Avatar
Senior Member
Thanks Meter 35
Posts: 405
Join Date: Apr 2009
Location: Kuwait
This mod contains a lot of great tweaks but please fix battery bar in landscape mode. The miui battery bar on top is miss aligned in landscape mode Htc one m7
HTC One. international
 
Falseclock
Old
#425  
Falseclock's Avatar
Senior Member - OP
Thanks Meter 291
Posts: 495
Join Date: Jun 2012
Location: Almaty

 
DONATE TO ME
Quote:
Originally Posted by haykweb View Post
Please add function for disabling noise suppression on HTC one dual sim.
next version
 
Falseclock
Old
#426  
Falseclock's Avatar
Senior Member - OP
Thanks Meter 291
Posts: 495
Join Date: Jun 2012
Location: Almaty

 
DONATE TO ME
Quote:
Originally Posted by odm3xda View Post
This mod contains a lot of great tweaks but please fix battery bar in landscape mode. The miui battery bar on top is miss aligned in landscape mode Htc one m7
will try with next version
 
Thomas !
Old
(Last edited by Thomas !; 15th August 2014 at 03:36 PM.)
#427  
Junior Member
Thanks Meter 1
Posts: 25
Join Date: Jul 2014
Hi,

Is there any conflict by using this mod and Sense 6 toolbox ?
 
bgcngm
Old
#428  
bgcngm's Avatar
Recognized Developer
Thanks Meter 3374
Posts: 3,357
Join Date: Apr 2007
Location: Lisbon

 
DONATE TO ME
There may be a conflict in some tweak that both modules can contain, but in such case you should apply in only one of the modules. I'm using both and never had any issue so far. Both complement each other.
Latest custom ROMs: ZTE V987 (MT6589) / ZTE V970 (MT6577)

If you like my work, please feel free to donate...

The Following User Says Thank You to bgcngm For This Useful Post: [ Click to Expand ]
 
Thomas !
Old
#429  
Junior Member
Thanks Meter 1
Posts: 25
Join Date: Jul 2014
Thanl you, and does xSense bring smth else if I already have thise one and Sense toolbox ?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes