/frameworks/base/graphics/java/android/renderscript/ |
D | RSSurfaceView.java | 29 import android.view.SurfaceHolder; 35 public class RSSurfaceView extends SurfaceView implements SurfaceHolder.Callback { 36 private SurfaceHolder mSurfaceHolder; 64 SurfaceHolder holder = getHolder(); in init() 72 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 80 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() 91 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceHolder.java | 33 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()
|
D | SurfaceView.java | 87 final ArrayList<SurfaceHolder.Callback> mCallbacks 88 = new ArrayList<SurfaceHolder.Callback>(); 202 public SurfaceHolder getHolder() { in getHolder() 553 SurfaceHolder.Callback callbacks[]; in updateWindow() 555 callbacks = new SurfaceHolder.Callback[mCallbacks.size()]; in updateWindow() 561 for (SurfaceHolder.Callback c : callbacks) { in updateWindow() 567 for (SurfaceHolder.Callback c : callbacks) { in updateWindow() 572 for (SurfaceHolder.Callback c : callbacks) { in updateWindow() 573 if (c instanceof SurfaceHolder.Callback2) { in updateWindow() 574 ((SurfaceHolder.Callback2)c).surfaceRedrawNeeded( in updateWindow() [all …]
|
D | HardwareRenderer.java | 144 abstract boolean initialize(SurfaceHolder holder) throws Surface.OutOfResourcesException; in initialize() 151 abstract void updateSurface(SurfaceHolder holder) throws Surface.OutOfResourcesException; in updateSurface() 166 abstract void invalidate(SurfaceHolder holder); in invalidate() 288 SurfaceHolder holder) throws Surface.OutOfResourcesException { in initializeIfNeeded() 460 boolean initialize(SurfaceHolder holder) throws Surface.OutOfResourcesException { in initialize() 489 void updateSurface(SurfaceHolder holder) throws Surface.OutOfResourcesException { in updateSurface() 603 GL createEglSurface(SurfaceHolder holder) throws Surface.OutOfResourcesException { in createEglSurface() 689 void invalidate(SurfaceHolder holder) { in invalidate() 710 private boolean createSurface(SurfaceHolder holder) { in createSurface()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaFrameworkTest.java | 33 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() 105 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() 111 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() 116 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseSurfaceHolder.java | 25 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()
|
D | RootViewSurfaceTaker.java | 4 import android.view.SurfaceHolder; 8 SurfaceHolder.Callback2 willYouTakeTheSurface(); in willYouTakeTheSurface()
|
/frameworks/base/core/java/android/webkit/ |
D | HTML5VideoFullScreen.java | 10 import android.view.SurfaceHolder; 64 private SurfaceHolder mSurfaceHolder = null; 82 SurfaceHolder.Callback mSHCallback = new SurfaceHolder.Callback() 84 public void surfaceChanged(SurfaceHolder holder, int format, 97 public void surfaceCreated(SurfaceHolder holder) 105 public void surfaceDestroyed(SurfaceHolder holder) 246 mVideoSurfaceView.getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in enterFullScreenVideoState()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | SurfaceView.java | 48 public SurfaceHolder getHolder() { in getHolder() 52 private SurfaceHolder mSurfaceHolder = new SurfaceHolder() {
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 51 import android.view.SurfaceHolder; 307 public SurfaceHolder getSurfaceHolder() { in getSurfaceHolder() 367 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() 440 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged() 447 public void onSurfaceRedrawNeeded(SurfaceHolder holder) { in onSurfaceRedrawNeeded() 454 public void onSurfaceCreated(SurfaceHolder holder) { in onSurfaceCreated() 461 public void onSurfaceDestroyed(SurfaceHolder holder) { in onSurfaceDestroyed() 621 SurfaceHolder.Callback callbacks[] = mSurfaceHolder.getCallbacks(); in updateSurface() 623 for (SurfaceHolder.Callback c : callbacks) { in updateSurface() 648 SurfaceHolder.Callback callbacks[] = mSurfaceHolder.getCallbacks(); in updateSurface() [all …]
|
/frameworks/base/core/java/android/app/ |
D | NativeActivity.java | 22 import android.view.SurfaceHolder; 48 public class NativeActivity extends Activity implements SurfaceHolder.Callback2, 74 private SurfaceHolder mCurSurfaceHolder; 288 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 295 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 302 public void surfaceRedrawNeeded(SurfaceHolder holder) { in surfaceRedrawNeeded() 309 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 34 import android.view.SurfaceHolder; 74 private SurfaceHolder mSurfaceHolder = null; 160 getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in initVideoView() 445 SurfaceHolder.Callback mSHCallback = new SurfaceHolder.Callback() 447 public void surfaceChanged(SurfaceHolder holder, int format, 462 public void surfaceCreated(SurfaceHolder holder) 468 public void surfaceDestroyed(SurfaceHolder holder)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 35 import android.view.SurfaceHolder; 159 public void onCreate(SurfaceHolder surfaceHolder) { in onCreate() 186 SurfaceHolder surfaceHolder = getSurfaceHolder(); in onDesiredSizeChanged() 192 void updateSurfaceSize(SurfaceHolder surfaceHolder) { in updateSurfaceSize() 249 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onSurfaceChanged() 283 SurfaceHolder sh = getSurfaceHolder(); in drawFrameLocked() 357 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int x, int y) { 381 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { 554 private boolean initGL(SurfaceHolder surfaceHolder) {
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | EGLImpl.java | 24 import android.view.SurfaceHolder; 78 } else if (native_window instanceof SurfaceHolder) { in eglCreateWindowSurface() 79 SurfaceHolder holder = (SurfaceHolder)native_window; in eglCreateWindowSurface()
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | VideoEditor.java | 28 import android.view.SurfaceHolder; 709 public long renderPreviewFrame(SurfaceHolder surfaceHolder, long timeMs, in renderPreviewFrame() 743 public void startPreview(SurfaceHolder surfaceHolder, long fromMs, long toMs, in startPreview() 762 public void clearSurface(SurfaceHolder surfaceHolder); in clearSurface()
|
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ |
D | ImageProcessingActivity.java | 31 import android.view.SurfaceHolder; 40 implements SurfaceHolder.Callback, 207 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 213 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 216 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SceneGraphView.java | 37 import android.view.SurfaceHolder; 53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CameraTest.java | 33 import android.view.SurfaceHolder; 189 SurfaceHolder mSurfaceHolder; in checkTakePicture() 205 SurfaceHolder mSurfaceHolder; in checkPreviewCallback()
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | RSTestView.java | 37 import android.view.SurfaceHolder; 55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | RsBenchView.java | 38 import android.view.SurfaceHolder; 53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
D | ShadersTestView.java | 24 import android.view.SurfaceHolder; 59 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
D | FBOTestView.java | 24 import android.view.SurfaceHolder; 61 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
|
D | FBOSyncView.java | 24 import android.view.SurfaceHolder; 61 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 37 import android.view.SurfaceHolder; 146 SurfaceHolder mSurfaceHolder; in testStressCamera() 184 SurfaceHolder mSurfaceHolder; in testStressRecorder() 235 SurfaceHolder mSurfaceHolder; in testStressCameraSwitchRecorder() 329 SurfaceHolder mSurfaceHolder; in testStressRecordVideoAndPlayback()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
D | VideoEditorPreviewTest.java | 48 import android.view.SurfaceHolder; 159 final SurfaceHolder surfaceHolder = in validatePreviewProgress() 474 final SurfaceHolder surfaceHolder = in testPreviewWithTransition() 713 final SurfaceHolder surfaceHolder = in testPreviewDuringExport() 765 final SurfaceHolder surfaceHolder = in testPreviewWithDurationGreaterThanMediaDuration() 832 final SurfaceHolder surfaceHolder = in testPreviewWithRenderPreviewFrame() 994 final SurfaceHolder surfaceHolder = in testRenderPreviewFrame() 1013 final SurfaceHolder surfaceHolder = in testStartPreviewWithoutMediaItems() 1080 final SurfaceHolder surfaceHolder = in testStartPreviewAddRemoveMediaItems() 1119 final SurfaceHolder surfaceHolder = in testPreviewWithRenderPreviewFrameWithoutGenerate()
|