public abstract class

Gles2WatchFaceService

extends WatchFaceService

Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.app.Service
         ↳ android.service.wallpaper.WallpaperService
           ↳ android.support.wearable.watchface.WatchFaceService
             ↳ android.support.wearable.watchface.Gles2WatchFaceService

Class Overview

Base class for watch faces that draw using OpenGL ES 2.0. Provides an invalidate mechanism similar to invalidate(). Sets the viewport to cover the entire screen area, including insets.

Note: It's only safe to call GL APIs in methods documented as such.

Summary

Nested Classes
class Gles2WatchFaceService.Engine The actual implementation of a watch face that draws using OpenGL ES 2.0. 
[Expand]
Inherited Constants
From class android.support.wearable.watchface.WatchFaceService
From class android.service.wallpaper.WallpaperService
From class android.app.Service
From class android.content.Context
From interface android.content.ComponentCallbacks2
Public Constructors
Gles2WatchFaceService()
Public Methods
Gles2WatchFaceService.Engine onCreateEngine()
[Expand]
Inherited Methods
From class android.support.wearable.watchface.WatchFaceService
From class android.service.wallpaper.WallpaperService
From class android.app.Service
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks2
From interface android.content.ComponentCallbacks

Public Constructors

public Gles2WatchFaceService ()

Public Methods

public Gles2WatchFaceService.Engine onCreateEngine ()