summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2009-11-20 11:31:18 -0500
committerMike Lockwood <lockwood@android.com>2009-11-23 15:16:55 -0500
commitfb73f79340375013225618a5d87f46b958f698ef (patch)
treeaeeee397d3485533d7cf5c8d9cca6f22313fd4f8 /api
parent132dab8f91f5e87581660069753f238ea9914732 (diff)
downloadframeworks_base-fb73f79340375013225618a5d87f46b958f698ef.zip
frameworks_base-fb73f79340375013225618a5d87f46b958f698ef.tar.gz
frameworks_base-fb73f79340375013225618a5d87f46b958f698ef.tar.bz2
Add window manager support for overriding button and keyboard backlight values.
The new backlightBrightness field works similarly as the existing WindowManager.LayoutParams.screenBrightness field Needed for bugs: b/2233655 (under low ambient light the touch keys remain illuminated during video playback and never timeout) b/2221079 (Backlight for home/search/back/etc buttons should turn off when in dock in night mode) Change-Id: I60dfecdc7bb653b0db38094464de651220b3d438
Diffstat (limited to 'api')
-rw-r--r--api/current.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index fed1e45..12c2eee 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -167061,6 +167061,39 @@
visibility="public"
>
</field>
+<field name="BRIGHTNESS_OVERRIDE_FULL"
+ type="float"
+ transient="false"
+ volatile="false"
+ value="1.0f"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="BRIGHTNESS_OVERRIDE_NONE"
+ type="float"
+ transient="false"
+ volatile="false"
+ value="-1.0f"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="BRIGHTNESS_OVERRIDE_OFF"
+ type="float"
+ transient="false"
+ volatile="false"
+ value="0.0f"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="CREATOR"
type="android.os.Parcelable.Creator"
transient="false"
@@ -167917,6 +167950,16 @@
visibility="public"
>
</field>
+<field name="buttonBrightness"
+ type="float"
+ transient="false"
+ volatile="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="dimAmount"
type="float"
transient="false"