Home
last modified time | relevance | path

Searched refs:SurfaceHolder (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/graphics/java/android/renderscript/
DRSSurfaceView.java29 import android.view.SurfaceHolder;
43 public class RSSurfaceView extends SurfaceView implements SurfaceHolder.Callback {
44 private SurfaceHolder mSurfaceHolder;
74 SurfaceHolder holder = getHolder(); in init()
83 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated()
92 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
106 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterSurfaceView.java22 import android.view.SurfaceHolder;
28 public class FilterSurfaceView extends SurfaceView implements SurfaceHolder.Callback {
35 private SurfaceHolder.Callback mListener;
52 public synchronized void bindToListener(SurfaceHolder.Callback listener, GLEnvironment glEnv) { in bindToListener()
100 public synchronized void surfaceCreated(SurfaceHolder holder) { in surfaceCreated()
115 public synchronized void surfaceChanged(SurfaceHolder holder, in surfaceChanged()
132 public synchronized void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
/frameworks/base/core/java/android/view/
DSurfaceHolder.java33 public interface SurfaceHolder { interface
79 public void surfaceCreated(SurfaceHolder holder); in surfaceCreated()
92 public void surfaceChanged(SurfaceHolder holder, int format, int width, in surfaceChanged()
104 public void surfaceDestroyed(SurfaceHolder holder); in surfaceDestroyed()
121 public void surfaceRedrawNeeded(SurfaceHolder holder); in surfaceRedrawNeeded()
DSurfaceView.java90 final ArrayList<SurfaceHolder.Callback> mCallbacks
91 = new ArrayList<SurfaceHolder.Callback>();
206 public SurfaceHolder getHolder() { in getHolder()
546 SurfaceHolder.Callback callbacks[] = null; in updateWindow()
555 for (SurfaceHolder.Callback c : callbacks) { in updateWindow()
571 for (SurfaceHolder.Callback c : callbacks) { in updateWindow()
582 for (SurfaceHolder.Callback c : callbacks) { in updateWindow()
591 for (SurfaceHolder.Callback c : callbacks) { in updateWindow()
592 if (c instanceof SurfaceHolder.Callback2) { in updateWindow()
593 ((SurfaceHolder.Callback2)c).surfaceRedrawNeeded( in updateWindow()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DSurfaceHolderTarget.java26 import android.view.SurfaceHolder;
41 private SurfaceHolder mSurfaceHolder = null;
46 private SurfaceHolder.Callback mSurfaceHolderListener = new SurfaceHolder.Callback() {
48 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
54 public void surfaceCreated (SurfaceHolder holder) {
59 public void surfaceDestroyed (SurfaceHolder holder) {
71 SurfaceHolder holder = ((SurfaceView)view).getHolder(); in onBindToView()
82 public void setSurfaceHolder(SurfaceHolder holder) { in setSurfaceHolder()
189 private synchronized void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DNativeMedia.java25 import android.view.SurfaceHolder;
51 SurfaceHolder mSurfaceHolder1;
56 SurfaceHolder mSurfaceHolder2;
84 mSurfaceHolder1.addCallback(new SurfaceHolder.Callback() { in onCreate()
86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreate()
91 public void surfaceCreated(SurfaceHolder holder) { in onCreate()
96 public void surfaceDestroyed(SurfaceHolder holder) { in onCreate()
106 mSurfaceHolder2.addCallback(new SurfaceHolder.Callback() { in onCreate()
108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreate()
113 public void surfaceCreated(SurfaceHolder holder) { in onCreate()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java33 import android.view.SurfaceHolder;
52 public class MediaFrameworkTest extends Activity implements SurfaceHolder.Callback {
67 private SurfaceHolder mSurfaceHolder = null;
83 mSurfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in onCreate()
107 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
113 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
118 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated()
/frameworks/base/core/java/com/android/internal/view/
DBaseSurfaceHolder.java25 import android.view.SurfaceHolder;
30 public abstract class BaseSurfaceHolder implements SurfaceHolder {
34 public final ArrayList<SurfaceHolder.Callback> mCallbacks
35 = new ArrayList<SurfaceHolder.Callback>();
36 SurfaceHolder.Callback[] mGottenCallbacks;
90 public SurfaceHolder.Callback[] getCallbacks() { in getCallbacks()
99 mGottenCallbacks = new SurfaceHolder.Callback[N]; in getCallbacks()
DRootViewSurfaceTaker.java4 import android.view.SurfaceHolder;
8 SurfaceHolder.Callback2 willYouTakeTheSurface(); in willYouTakeTheSurface()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DDisplaySinkService.java30 import android.view.SurfaceHolder;
35 public class DisplaySinkService extends Service implements SurfaceHolder.Callback {
69 final SurfaceHolder holder = oldSurfaceView.getHolder(); in setSurfaceView()
80 final SurfaceHolder holder = surfaceView.getHolder(); in setSurfaceView()
106 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated()
111 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged()
116 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
120 private void updateSurfaceFromUi(SurfaceHolder holder) { in updateSurfaceFromUi()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DSurfaceAndTextureViews.java25 import android.view.SurfaceHolder;
118 static private class SimpleSurfaceView extends SurfaceView implements SurfaceHolder.Callback {
123 SurfaceHolder mHolder = null;
127 SurfaceHolder holder = getHolder(); in SimpleSurfaceView()
133 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated()
138 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged()
146 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.java29 } else if (win instanceof SurfaceHolder) { in eglCreateWindowSurface()
30 SurfaceHolder holder = (SurfaceHolder)win; in eglCreateWindowSurface()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DSurfaceView.java48 public SurfaceHolder getHolder() { in getHolder()
52 private SurfaceHolder mSurfaceHolder = new SurfaceHolder() {
/frameworks/base/core/java/android/app/
DNativeActivity.java32 import android.view.SurfaceHolder;
57 public class NativeActivity extends Activity implements SurfaceHolder.Callback2,
82 private SurfaceHolder mCurSurfaceHolder;
264 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated()
271 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged()
278 public void surfaceRedrawNeeded(SurfaceHolder holder) { in surfaceRedrawNeeded()
285 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
DSurfaceRenderFilter.java38 import android.view.SurfaceHolder;
48 public class SurfaceRenderFilter extends Filter implements SurfaceHolder.Callback {
217 public synchronized void surfaceCreated(SurfaceHolder holder) { in surfaceCreated()
222 public synchronized void surfaceChanged(SurfaceHolder holder, in surfaceChanged()
237 public synchronized void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java50 import android.view.SurfaceHolder;
322 public SurfaceHolder getSurfaceHolder() { in getSurfaceHolder()
406 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate()
479 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged()
486 public void onSurfaceRedrawNeeded(SurfaceHolder holder) { in onSurfaceRedrawNeeded()
493 public void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated()
500 public void onSurfaceDestroyed(SurfaceHolder holder) { in onSurfaceDestroyed()
668 SurfaceHolder.Callback callbacks[] = mSurfaceHolder.getCallbacks(); in updateSurface()
670 for (SurfaceHolder.Callback c : callbacks) { in updateSurface()
695 SurfaceHolder.Callback callbacks[] = mSurfaceHolder.getCallbacks(); in updateSurface()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraFunctionalTest.java42 import android.view.SurfaceHolder;
133 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraExposureCompensation()
169 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFlashModes()
200 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraFocusModes()
231 SurfaceHolder surfaceHolder = MediaFrameworkTest.mSurfaceView.getHolder(); in testFunctionalCameraWhiteBalance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java41 import android.view.SurfaceHolder;
190 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate()
216 void updateSurfaceSize(SurfaceHolder surfaceHolder) { in updateSurfaceSize()
297 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged()
308 public void onSurfaceDestroyed(SurfaceHolder holder) { in onSurfaceDestroyed()
314 public void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated()
320 public void onSurfaceRedrawNeeded(SurfaceHolder holder) { in onSurfaceRedrawNeeded()
349 SurfaceHolder sh = getSurfaceHolder(); in drawFrame()
478 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) { in drawWallpaperWithCanvas()
506 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { in drawWallpaperWithOpenGL()
[all …]
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesView.java24 import android.view.SurfaceHolder;
53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DSimpleAppView.java27 import android.view.SurfaceHolder;
39 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java24 import android.view.SurfaceHolder;
83 } else if (native_window instanceof SurfaceHolder) { in eglCreateWindowSurface()
84 SurfaceHolder holder = (SurfaceHolder)native_window; in eglCreateWindowSurface()
/frameworks/base/opengl/java/android/opengl/
DEGL14.java24 import android.view.SurfaceHolder;
247 } else if (win instanceof SurfaceHolder) { in eglCreateWindowSurface()
248 SurfaceHolder holder = (SurfaceHolder)win; in eglCreateWindowSurface()
/frameworks/base/media/java/android/media/videoeditor/
DVideoEditor.java28 import android.view.SurfaceHolder;
720 public long renderPreviewFrame(SurfaceHolder surfaceHolder, long timeMs, in renderPreviewFrame()
754 public void startPreview(SurfaceHolder surfaceHolder, long fromMs, long toMs, in startPreview()
773 public void clearSurface(SurfaceHolder surfaceHolder); in clearSurface()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSceneGraphView.java37 import android.view.SurfaceHolder;
53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
DFountainFboView.java23 import android.view.SurfaceHolder;
35 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()

1234