summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2011-03-28 16:16:46 -0700
committerChristopher Tate <ctate@google.com>2011-03-29 15:27:58 -0700
commit3d4bf17f49b82355b3b82d8bdaec4d65c4293bc9 (patch)
treeba8ea535eb338edbd43fd22909008d009a0f6f46 /api
parent5c8eff3308c79f25bfe07d00c214f665581e5d7e (diff)
downloadframeworks_base-3d4bf17f49b82355b3b82d8bdaec4d65c4293bc9.zip
frameworks_base-3d4bf17f49b82355b3b82d8bdaec4d65c4293bc9.tar.gz
frameworks_base-3d4bf17f49b82355b3b82d8bdaec4d65c4293bc9.tar.bz2
Add view/drawable states for drag-accepting / drag-hovered
Added new drag_can_accept and drag_hovered XML attributes and the View logic to support them. Drawable states are now refreshed automatically when a drag starts/ends and when a drag crosses the boundary of a participating view. Change-Id: I25f8ee02c83b3fa4f27201997d7eabf4be653fd8
Diffstat (limited to 'api')
-rw-r--r--api/current.xml24
1 files changed, 23 insertions, 1 deletions
diff --git a/api/current.xml b/api/current.xml
index 555f804..ded1d1b 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -9013,6 +9013,28 @@
visibility="public"
>
</field>
+<field name="state_drag_can_accept"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="16843621"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="state_drag_hovered"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="16843622"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="state_empty"
type="int"
transient="false"
@@ -267668,7 +267690,7 @@
deprecated="not deprecated"
visibility="public"
>
-<parameter name="t" type="T">
+<parameter name="arg0" type="T">
</parameter>
</method>
</interface>