summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-08-08 20:40:27 -0700
committerDianne Hackborn <hackbod@google.com>2009-08-08 22:13:46 -0700
commit4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 (patch)
tree4bda953a3a1e32695c3c22006dc320b6a0cbcb1b /api
parent542040c51c49874c92d01381de1b1986cb53b4dd (diff)
downloadframeworks_base-4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3.zip
frameworks_base-4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3.tar.gz
frameworks_base-4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3.tar.bz2
Very primitive wallpapers in a surface.
This is all of the basic pieces: - The WallpaperService now creates a surface with the window manager for its contents. - There is a simple service that displays a bitmap. - The wallpaper manager takes care of starting and stopping the service. - The window manager knows about wallpaper windows and how to layer them with the windows that want to be shown on top of wallpaper. Lots and lots of issues remain, but at this point you can actually write a wallpaper service, select it in the UI, and see it behind an activity.
Diffstat (limited to 'api')
-rw-r--r--api/current.xml125
1 files changed, 69 insertions, 56 deletions
diff --git a/api/current.xml b/api/current.xml
index c2960a0..853ac9f 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -177,6 +177,17 @@
visibility="public"
>
</field>
+<field name="BIND_WALLPAPER"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;android.permission.BIND_WALLPAPER&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="BLUETOOTH"
type="java.lang.String"
transient="false"
@@ -26763,8 +26774,8 @@
<exception name="IOException" type="java.io.IOException">
</exception>
</method>
-<method name="get"
- return="android.graphics.drawable.Drawable"
+<method name="getDesiredMinimumHeight"
+ return="int"
abstract="false"
native="false"
synchronized="false"
@@ -26774,7 +26785,7 @@
visibility="public"
>
</method>
-<method name="getDesiredMinimumHeight"
+<method name="getDesiredMinimumWidth"
return="int"
abstract="false"
native="false"
@@ -26785,8 +26796,8 @@
visibility="public"
>
</method>
-<method name="getDesiredMinimumWidth"
- return="int"
+<method name="getDrawable"
+ return="android.graphics.drawable.Drawable"
abstract="false"
native="false"
synchronized="false"
@@ -26796,7 +26807,20 @@
visibility="public"
>
</method>
-<method name="peek"
+<method name="getInstance"
+ return="android.app.WallpaperManager"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="context" type="android.content.Context">
+</parameter>
+</method>
+<method name="peekDrawable"
return="android.graphics.drawable.Drawable"
abstract="false"
native="false"
@@ -26807,7 +26831,7 @@
visibility="public"
>
</method>
-<method name="set"
+<method name="setBitmap"
return="void"
abstract="false"
native="false"
@@ -26817,12 +26841,12 @@
deprecated="not deprecated"
visibility="public"
>
-<parameter name="resid" type="int">
+<parameter name="bitmap" type="android.graphics.Bitmap">
</parameter>
<exception name="IOException" type="java.io.IOException">
</exception>
</method>
-<method name="set"
+<method name="setResource"
return="void"
abstract="false"
native="false"
@@ -26832,12 +26856,12 @@
deprecated="not deprecated"
visibility="public"
>
-<parameter name="bitmap" type="android.graphics.Bitmap">
+<parameter name="resid" type="int">
</parameter>
<exception name="IOException" type="java.io.IOException">
</exception>
</method>
-<method name="set"
+<method name="setStream"
return="void"
abstract="false"
native="false"
@@ -26852,7 +26876,7 @@
<exception name="IOException" type="java.io.IOException">
</exception>
</method>
-<method name="setDimensionHints"
+<method name="suggestDesiredDimensions"
return="void"
abstract="false"
native="false"
@@ -115993,50 +116017,6 @@
</implements>
</interface>
</package>
-<package name="android.service.wallpaper"
->
-<class name="WallpaperService"
- extends="android.app.Service"
- abstract="true"
- static="false"
- final="false"
- deprecated="not deprecated"
- visibility="public"
->
-<constructor name="WallpaperService"
- type="android.service.wallpaper.WallpaperService"
- static="false"
- final="false"
- deprecated="not deprecated"
- visibility="public"
->
-</constructor>
-<method name="onBind"
- return="android.os.IBinder"
- abstract="false"
- native="false"
- synchronized="false"
- static="false"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-<parameter name="intent" type="android.content.Intent">
-</parameter>
-</method>
-<field name="SERVICE_INTERFACE"
- type="java.lang.String"
- transient="false"
- volatile="false"
- value="&quot;android.service.wallpaper.WallpaperService&quot;"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-</class>
-</package>
<package name="android.speech"
>
<class name="RecognizerIntent"
@@ -157363,6 +157343,28 @@
visibility="public"
>
</field>
+<field name="FLAG_SHOW_WALLPAPER"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="1048576"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="FLAG_SHOW_WHEN_LOCKED"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="524288"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="FLAG_TOUCHABLE_WHEN_WAKING"
type="int"
transient="false"
@@ -157913,6 +157915,17 @@
visibility="public"
>
</field>
+<field name="TYPE_WALLPAPER"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="2013"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="alpha"
type="float"
transient="false"