Home
last modified time | relevance | path

Searched refs:mSurfaceHolder (Results 1 – 5 of 5) sorted by relevance

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java205 private SurfaceHolder mSurfaceHolder; field in LunarView.LunarThread
219 mSurfaceHolder = surfaceHolder; in LunarThread()
269 synchronized (mSurfaceHolder) { in doStart()
317 synchronized (mSurfaceHolder) { in pause()
330 synchronized (mSurfaceHolder) { in restoreState()
358 c = mSurfaceHolder.lockCanvas(null); in run()
359 synchronized (mSurfaceHolder) { in run()
374 mSurfaceHolder.unlockCanvasAndPost(c); in run()
387 synchronized (mSurfaceHolder) { in saveState()
415 synchronized (mSurfaceHolder) { in setDifficulty()
[all …]
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
DNativeMedia.java353 private final SurfaceHolder mSurfaceHolder; field in NativeMedia.SurfaceHolderVideoSink
356 mSurfaceHolder = surfaceHolder; in SurfaceHolderVideoSink()
360 mSurfaceHolder.setFixedSize(width, height); in setFixedSize()
367 Surface s = mSurfaceHolder.getSurface(); in useAsSinkForJava()
373 Surface s = mSurfaceHolder.getSurface(); in useAsSinkForNative()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java70 private SurfaceHolder mSurfaceHolder; field in LocalPlayer
296 mSurfaceHolder = null; in setSurface()
302 mSurfaceHolder = surfaceHolder; in setSurface()
307 if (surfaceHolder == mSurfaceHolder) { in removeSurface()
325 } else if (mSurfaceHolder != null) { in updateSurface()
326 mMediaPlayer.setDisplay(mSurfaceHolder); in updateSurface()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java68 private SurfaceHolder mSurfaceHolder; field in LocalPlayer
299 mSurfaceHolder = null; in setSurface()
305 mSurfaceHolder = surfaceHolder; in setSurface()
310 if (surfaceHolder == mSurfaceHolder) { in removeSurface()
328 } else if (mSurfaceHolder != null) { in updateSurface()
329 mMediaPlayer.setDisplay(mSurfaceHolder); in updateSurface()
/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoyView.java219 private SurfaceHolder mSurfaceHolder; field in JetBoyView.JetBoyThread
288 mSurfaceHolder = surfaceHolder; in JetBoyThread()
663 c = mSurfaceHolder.lockCanvas(null); in run()
672 mSurfaceHolder.unlockCanvasAndPost(c); in run()
1051 synchronized (mSurfaceHolder) { in getGameState()
1065 synchronized (mSurfaceHolder) { in setGameState()
1079 synchronized (mSurfaceHolder) { in setGameState()
1138 synchronized (mSurfaceHolder) { in setSurfaceSize()
1157 synchronized (mSurfaceHolder) { in pause()