/frameworks/base/rs/java/android/renderscript/ |
D | RSSurfaceView.java | 22 import android.view.SurfaceHolder; 36 public class RSSurfaceView extends SurfaceView implements SurfaceHolder.Callback { 37 private SurfaceHolder mSurfaceHolder; 69 SurfaceHolder holder = getHolder(); in init() 78 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 87 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() 101 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/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | CustomRenderer.java | 28 import android.view.SurfaceHolder; 101 private SurfaceHolder.Callback2 mSurfaceCallbacks = new SurfaceHolder.Callback2() { 104 public void surfaceRedrawNeeded(SurfaceHolder holder) { 108 public void surfaceCreated(SurfaceHolder holder) { 112 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 124 public void surfaceDestroyed(SurfaceHolder holder) {
|
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()
|
D | PictureCaptureDemo.java | 26 import android.view.SurfaceHolder; 95 mySurfaceView.getHolder().addCallback(new SurfaceHolder.Callback() { in onCreate() 99 public void surfaceCreated(SurfaceHolder holder) { in onCreate() 121 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in onCreate() 126 public void surfaceDestroyed(SurfaceHolder holder) { in onCreate()
|
/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/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/base/core/tests/coretests/src/android/view/ |
D | ViewRootSurfaceCallbackTest.java | 39 public class ViewRootSurfaceCallbackTest implements SurfaceHolder.Callback2 { 85 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 90 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed() 99 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 103 public void surfaceRedrawNeeded(SurfaceHolder holder) { in surfaceRedrawNeeded()
|
/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/base/tests/GamePerformance/src/android/gameperformance/ |
D | CustomSurfaceView.java | 29 import android.view.SurfaceHolder; 35 public class CustomSurfaceView extends SurfaceView implements SurfaceHolder.Callback { 169 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 173 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 183 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|
/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/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()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | LocalRenderer.java | 36 import android.view.SurfaceHolder; 196 private SurfaceHolder mHolder; 197 private SurfaceHolder.Callback mHolderCB; 391 public void setContent(Bundle request, SurfaceHolder holder) { in setContent() 653 private boolean isHolderReady(final SurfaceHolder holder, final MediaPlayer player) { in isHolderReady() 663 SurfaceHolder.Callback cb = new SurfaceHolder.Callback() { in isHolderReady() 665 public void surfaceDestroyed(SurfaceHolder arg0) { in isHolderReady() 669 public void surfaceCreated(SurfaceHolder arg0) { in isHolderReady() 677 public void surfaceChanged(SurfaceHolder arg0, int arg1, int arg2, int arg3) { in isHolderReady() 702 SurfaceHolder.Callback cb = mHolderCB; in cleanUpPlayer() [all …]
|
/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/packages/SystemUI/tests/src/com/android/systemui/glwallpaper/ |
D | EglHelperTest.java | 25 import android.view.SurfaceHolder; 45 private SurfaceHolder mSurfaceHolder; 50 mSurfaceHolder = mock(SurfaceHolder.class, RETURNS_DEFAULTS); in setUp()
|
/frameworks/base/core/java/android/app/ |
D | NativeActivity.java | 33 import android.view.SurfaceHolder; 52 public class NativeActivity extends Activity implements SurfaceHolder.Callback2, 78 private SurfaceHolder mCurSurfaceHolder; 259 public void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 266 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() 273 public void surfaceRedrawNeeded(SurfaceHolder holder) { in surfaceRedrawNeeded() 280 public void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
D | SurfaceRenderFilter.java | 33 import android.view.SurfaceHolder; 40 public class SurfaceRenderFilter extends Filter implements SurfaceHolder.Callback { 209 public synchronized void surfaceCreated(SurfaceHolder holder) { in surfaceCreated() 214 public synchronized void surfaceChanged(SurfaceHolder holder, in surfaceChanged() 229 public synchronized void surfaceDestroyed(SurfaceHolder holder) { in surfaceDestroyed()
|