/frameworks/base/rs/java/android/renderscript/ |
D | RSSurfaceView.java | 21 import android.view.SurfaceHolder; 35 public class RSSurfaceView extends SurfaceView implements SurfaceHolder.Callback { 36 private SurfaceHolder mSurfaceHolder; 66 SurfaceHolder holder = getHolder(); in init() 75 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 84 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() 98 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | SurfaceCallbackHelper.java | 21 import android.view.SurfaceHolder; 46 …public void dispatchSurfaceRedrawNeededAsync(SurfaceHolder holder, SurfaceHolder.Callback callback… in dispatchSurfaceRedrawNeededAsync() 57 for (SurfaceHolder.Callback c : callbacks) { in dispatchSurfaceRedrawNeededAsync() 58 if (c instanceof SurfaceHolder.Callback2) { in dispatchSurfaceRedrawNeededAsync() 59 ((SurfaceHolder.Callback2) c).surfaceRedrawNeededAsync( in dispatchSurfaceRedrawNeededAsync()
|
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()
|
/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() 125 void surfaceRedrawNeeded(SurfaceHolder holder); in surfaceRedrawNeeded() 143 default void surfaceRedrawNeededAsync(SurfaceHolder holder, Runnable drawingFinished) { in surfaceRedrawNeededAsync()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterSurfaceView.java | 22 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | SurfaceHolderTarget.java | 26 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/support/leanback/src/main/java/androidx/leanback/app/ |
D | VideoFragment.java | 21 import android.view.SurfaceHolder; 39 SurfaceHolder.Callback mMediaPlaybackCallback; 50 mVideoSurface.getHolder().addCallback(new SurfaceHolder.Callback() { in onCreateView() 53 public void surfaceCreated(SurfaceHolder holder) { in onCreateView() 61 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreateView() 68 public void surfaceDestroyed(SurfaceHolder holder) { in onCreateView() 82 public void setSurfaceHolderCallback(SurfaceHolder.Callback callback) { in setSurfaceHolderCallback()
|
D | VideoSupportFragment.java | 18 import android.view.SurfaceHolder; 34 SurfaceHolder.Callback mMediaPlaybackCallback; 45 mVideoSurface.getHolder().addCallback(new SurfaceHolder.Callback() { in onCreateView() 48 public void surfaceCreated(SurfaceHolder holder) { in onCreateView() 56 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreateView() 63 public void surfaceDestroyed(SurfaceHolder holder) { in onCreateView() 77 public void setSurfaceHolderCallback(SurfaceHolder.Callback callback) { in setSurfaceHolderCallback()
|
/frameworks/support/media/src/androidTest/java/androidx/media/ |
D | MediaStubActivity.java | 21 import android.view.SurfaceHolder; 28 private SurfaceHolder mHolder; 29 private SurfaceHolder mHolder2; 54 public SurfaceHolder getSurfaceHolder() { in getSurfaceHolder() 58 public SurfaceHolder getSurfaceHolder2() { in getSurfaceHolder2()
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | NativeMedia.java | 25 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/ |
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() 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()
|
D | Camera2SurfaceViewActivity.java | 24 import android.view.SurfaceHolder; 32 public class Camera2SurfaceViewActivity extends Activity implements SurfaceHolder.Callback { 98 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 102 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 112 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | VideoFragmentTest.java | 34 import android.view.SurfaceHolder; 57 setSurfaceHolderCallback(new SurfaceHolder.Callback() { in onCreateView() 59 public void surfaceCreated(SurfaceHolder holder) { in onCreateView() 64 public void surfaceChanged(SurfaceHolder holder, int format, int width, in onCreateView() 69 public void surfaceDestroyed(SurfaceHolder holder) { in onCreateView() 114 fragment.setSurfaceHolderCallback(new SurfaceHolder.Callback() { in setSurfaceViewCallbackAfterCreate() 116 public void surfaceCreated(SurfaceHolder holder) { in setSurfaceViewCallbackAfterCreate() 121 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in setSurfaceViewCallbackAfterCreate() 125 public void surfaceDestroyed(SurfaceHolder holder) { in setSurfaceViewCallbackAfterCreate()
|
D | VideoSupportFragmentTest.java | 31 import android.view.SurfaceHolder; 54 setSurfaceHolderCallback(new SurfaceHolder.Callback() { in onCreateView() 56 public void surfaceCreated(SurfaceHolder holder) { in onCreateView() 61 public void surfaceChanged(SurfaceHolder holder, int format, int width, in onCreateView() 66 public void surfaceDestroyed(SurfaceHolder holder) { in onCreateView() 111 fragment.setSurfaceHolderCallback(new SurfaceHolder.Callback() { in setSurfaceViewCallbackAfterCreate() 113 public void surfaceCreated(SurfaceHolder holder) { in setSurfaceViewCallbackAfterCreate() 118 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in setSurfaceViewCallbackAfterCreate() 122 public void surfaceDestroyed(SurfaceHolder holder) { in setSurfaceViewCallbackAfterCreate()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | HardwareCanvasSurfaceViewActivity.java | 28 import android.view.SurfaceHolder; 29 import android.view.SurfaceHolder.Callback; 90 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 96 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 101 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() 106 private final SurfaceHolder mSurface; 110 public RenderingThread(SurfaceHolder surface) { in RenderingThread()
|
D | MovingSurfaceViewActivity.java | 26 import android.view.SurfaceHolder; 27 import android.view.SurfaceHolder.Callback; 103 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 107 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 114 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|
D | GetBitmapSurfaceViewActivity.java | 27 import android.view.SurfaceHolder; 37 public class GetBitmapSurfaceViewActivity extends Activity implements SurfaceHolder.Callback { 82 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 128 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 132 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | DisplaySinkService.java | 30 import android.view.SurfaceHolder; 36 public class DisplaySinkService extends Service implements SurfaceHolder.Callback { 70 final SurfaceHolder holder = oldSurfaceView.getHolder(); in setSurfaceView() 81 final SurfaceHolder holder = surfaceView.getHolder(); in setSurfaceView() 107 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 112 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 117 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() 121 private void updateSurfaceFromUi(SurfaceHolder holder) { in updateSurfaceFromUi()
|
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/ |
D | VideoSurfaceViewWithMp1.java | 25 import android.view.SurfaceHolder; 34 implements VideoViewInterfaceWithMp1, SurfaceHolder.Callback { 37 private SurfaceHolder mSurfaceHolder = null; 106 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 122 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 129 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | SurfaceAndTextureViews.java | 25 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/av/packages/MediaComponents/src/com/android/widget/ |
D | VideoSurfaceView.java | 25 import android.view.SurfaceHolder; 31 class VideoSurfaceView extends SurfaceView implements VideoViewInterface, SurfaceHolder.Callback { 34 private SurfaceHolder mSurfaceHolder = null; 117 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 133 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 140 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/ |
D | LocalPlayer.java | 33 import android.view.SurfaceHolder; 68 private SurfaceHolder mSurfaceHolder; 306 protected void setSurface(SurfaceHolder surfaceHolder) { in setSurface() 312 protected void removeSurface(SurfaceHolder surfaceHolder) { in removeSurface() 314 setSurface((SurfaceHolder)null); in removeSurface() 388 SurfaceHolder.Callback { 402 SurfaceHolder holder = mSurfaceView.getHolder(); in SurfaceViewPlayer() 421 SurfaceHolder holder = mSurfaceView.getHolder(); in release() 462 public void surfaceChanged(SurfaceHolder holder, int format, in surfaceChanged() 471 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() [all …]
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 40 import android.view.SurfaceHolder; 209 final SurfaceHolder.Callback mSurfaceHolderCallback = new SurfaceHolder.Callback() { 217 public void surfaceCreated(SurfaceHolder holder) { 225 public void surfaceDestroyed(SurfaceHolder holder) { 232 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 264 info.getOutputSizes(SurfaceHolder.class), width, height); 268 SurfaceHolder surfaceHolder = mSurfaceView.getHolder(); 347 SurfaceHolder holder = mSurfaceView.getHolder();
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateWindowSurface.java | 29 } else if (win instanceof SurfaceHolder) { in eglCreateWindowSurface() 30 SurfaceHolder holder = (SurfaceHolder)win; in eglCreateWindowSurface()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | CustomSurfaceView.java | 24 import android.view.SurfaceHolder; 35 public class CustomSurfaceView extends SurfaceView implements SurfaceHolder.Callback { 212 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 219 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 236 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|