Home | History | Annotate | Download | only in articles

Lines Matching full:code

31 href="../../../reference/android/view/SurfaceView.html"><code>SurfaceView</code></a> or <a
32 href="../../../reference/android/graphics/Canvas.html"><code>Canvas</code></a>.
34 href="../samples/CubeLiveWallpaper/index.html">CubeLiveWallpaper sample code</a>.</p>
39 href="../../../reference/android/service/wallpaper/WallpaperService.html#onCreateEngine()">{@code
42 <code>WallpaperService.Engine</code></a>. The engine is responsible for
44 on which you can draw, just like you would with a <code>SurfaceView</code></a>.
45 Drawing a wallpaper can be very expensive so you should optimize your code
54 along when the user swipes from one home screen to another, you can use <a href="../../../reference/android/service/wallpaper/WallpaperService.Engine.html#onOffsetsChanged%28float,%20float,%20float,%20float,%20int,%20int%29"><code>onOffsetsChanged()</code></a>.
55 To react to touch events, simply implement <a href="../../../reference/android/service/wallpaper/WallpaperService.Engine.html#onTouchEvent%28android.view.MotionEvent%29"><code>onTouchEvent(MotionEvent)</code></a>.
58 href="../../../reference/android/service/wallpaper/WallpaperService.Engine.html#onCommand%28java.lang.String,%20int,%20int,%20int,%20android.os.Bundle,%20boolean%29"><code>onCommand()</code></a>
62 <li><code>android.wallpaper.tap</code>: When the user taps an empty space
67 <li><code>android.home.drop</code>: When the user drops an icon or a widget
79 <li><code>&lt;uses-sdk android:minSdkVersion="7" /&gt;</code>, which indicates
83 <a href="../../../guide/topics/manifest/uses-sdk-element.html"><code>&lt;uses-sdk&gt;</code></a>
85 <li><code>&lt;uses-feature android:name="android.software.live_wallpaper" /&gt;</code>,
92 <a href="../../../guide/topics/manifest/uses-feature-element.html"><code>&lt;uses-feature&gt;</code></a>