summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-09-01 17:01:00 -0700
committerJeff Brown <jeffbrown@google.com>2010-09-08 11:50:55 -0700
commit85a3176704b5bfbeece9bd928369fbb76eec7dc6 (patch)
tree1a84f21c037b514c5b6717b106f5a9a2c4fd6c99 /api
parentc0b4f6d30d962d75125628317b5f5ea622531dfe (diff)
downloadframeworks_base-85a3176704b5bfbeece9bd928369fbb76eec7dc6.zip
frameworks_base-85a3176704b5bfbeece9bd928369fbb76eec7dc6.tar.gz
frameworks_base-85a3176704b5bfbeece9bd928369fbb76eec7dc6.tar.bz2
Add support for secure views.
Added the MotionEvent.FLAG_WINDOW_IS_OBSCURED flag which is set by the input manager whenever another visible window is partly or wholly obscured the target of a touch event so that applications can filter touches accordingly. Added a "filterTouchesWhenObscured" attribute to View which can be used to enable filtering of touches when the view's window is obscured. Change-Id: I936d9c85013fd2d77fb296a600528d30a29027d2
Diffstat (limited to 'api')
-rw-r--r--api/current.xml105
1 files changed, 94 insertions, 11 deletions
diff --git a/api/current.xml b/api/current.xml
index e95c26f..1eb46c7 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -5861,17 +5861,6 @@
visibility="public"
>
</field>
-<field name="kraken_resource_pad61"
- type="int"
- transient="false"
- volatile="false"
- value="16843460"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
<field name="kraken_resource_pad7"
type="int"
transient="false"
@@ -8248,6 +8237,17 @@
visibility="public"
>
</field>
+<field name="securityMode"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="16843460"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="seekBarStyle"
type="int"
transient="false"
@@ -181685,6 +181685,17 @@
visibility="public"
>
</method>
+<method name="getFlags"
+ return="int"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
<method name="getHistoricalEventTime"
return="long"
abstract="false"
@@ -182322,6 +182333,8 @@
</parameter>
<parameter name="source" type="int">
</parameter>
+<parameter name="flags" type="int">
+</parameter>
</method>
<method name="obtain"
return="android.view.MotionEvent"
@@ -182778,6 +182791,17 @@
visibility="public"
>
</field>
+<field name="FLAG_WINDOW_MAY_BE_OBSCURED"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="1"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
</class>
<class name="MotionEvent.PointerCoords"
extends="java.lang.Object"
@@ -185958,6 +185982,17 @@
visibility="public"
>
</method>
+<method name="getSecurityMode"
+ return="int"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
<method name="getSolidColor"
return="int"
abstract="false"
@@ -186788,6 +186823,19 @@
<parameter name="canvas" type="android.graphics.Canvas">
</parameter>
</method>
+<method name="onFilterTouchEventForSecurity"
+ return="boolean"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="event" type="android.view.MotionEvent">
+</parameter>
+</method>
<method name="onFinishInflate"
return="void"
abstract="false"
@@ -188079,6 +188127,19 @@
<parameter name="fadeScrollbars" type="boolean">
</parameter>
</method>
+<method name="setSecurityMode"
+ return="void"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="securityMode" type="int">
+</parameter>
+</method>
<method name="setSelected"
return="void"
abstract="false"
@@ -188859,6 +188920,28 @@
visibility="public"
>
</field>
+<field name="SECURITY_MODE_FILTER_TOUCHES_WHEN_OBSCURED"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="1"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="SECURITY_MODE_NORMAL"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="0"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="SELECTED_STATE_SET"
type="int[]"
transient="false"