1 2<h3>Drawable</h3> 3<dl> 4 <dt><a href="ShapeDrawable1.html">ShapeDrawable</a></dt> 5 <dd>Demonstrates creating Drawables in XML.</dd> 6</dl> 7 8<h3>OpenGL|ES</h3> 9<dl> 10 <dt><a href="CameraPreview.html">CameraPreview</a></dt> 11 <dd>Demonstrates capturing the image stream from the camera, drawing to a surface (extending SurfaceView) on a separate thread (extending Thread).</dd> 12 13 <dt><a href="GLSurfaceViewActivity.html">GL SurfaceView</a></dt> 14 <dd>Demonstrates how to perform OpenGL rendering in to a SurfaceView. 15 <dl> 16 <dt>Code: 17 <dd><a href="GLSurfaceViewActivity.html">GLSurfaceViewActivity.java</a> 18 <dt>Layout: 19 <dd><a href="../../../../../../res/layout/hello_world.html">hello_world.xml</a> 20 </dl> 21 </dd> 22 23 <dt><a href="PolyToPoly.html">PolyToPoly</a></dt> 24 <dd>Demonstrates calling the {@link android.graphics.Matrix.html#setPolyToPoly(float[],int,float[],int,int)} method to translate coordinates on a canvas to a new perspective (used to simulate perspective). </dd> 25 26 <dt><a href="DrawPoints.html">DrawPoints</a></dt> 27 <dd>Demonstrates using the {@link android.graphics.Paint} and {@link android.graphics.Canvas} objects to draw random points on the screen, with different colors and strokes. </dd> 28 29 <dt><a href="PathEffects.html">PathEffects</a></dt> 30 <dd>Demonstrates the use of {@link android.graphics.Path} and various {@link android.graphics.PathEffect} subclasses. </dd> 31 32 <dt><a href="SurfaceViewOverlay.html">SurfaceView Overlay</a></dt> 33 <dd>Shows how you can place overlays on top of a SurfaceView. 34 <dl> 35 <dt>Code: 36 <dd> <a href="SurfaceViewOverlay.html">SurfaceViewOverlay.java</a> 37 <dt>Layout: 38 <dd><a href="../../../../../../res/layout/surface_view_overlay.html">surface_view_overlay.xml</a> 39 </dl> 40 </dd> 41 42 <dt><a href="TouchPaint.html">TouchPaint</a></dt> 43 <dd>Demonstrates the handling of touch screen events to implement a simple painting app. </dd> 44</dl> 45