summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorGalia Peycheva <galinap@google.com>2020-08-05 15:52:35 +0200
committerGalia Peycheva <galinap@google.com>2020-08-10 15:52:27 +0200
commitf538f0dd78bd5bd0ef87829b86156501ade6fbec (patch)
tree65222d8713d13ad87f555b4eeca2010d1b316d68 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent296a49c94482e4b07b4a4cf60c239ecc5531c0fd (diff)
Add volume dialog icons specific for tv
We add 3 new volume icons - when tv is muted, when the volume is low and when it is high. The threshold between low and high is 12 (i.e. maxVolume / 2). We introduce a new config - config_show_low_media_volume_icon. By default this is disabled. Only for tv it is enabled. The low volume icon for non-tv devices is the same as the normal media volume icon (ic_volume_media). Therefore, if the config is enabled on a non-tv device, there would be no visible change. Test: m && flash && check new icons are in place Change-Id: I07ffc24312a5aa59dc491f967042d4cb3685e101
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions