Lines Matching defs:surfaceHolder
41 import android.view.SurfaceHolder;
190 public void onCreate(SurfaceHolder surfaceHolder) {
195 super.onCreate(surfaceHolder);
203 updateSurfaceSize(surfaceHolder);
217 void updateSurfaceSize(SurfaceHolder surfaceHolder) {
237 final Rect frame = surfaceHolder.getSurfaceFrame();
250 surfaceHolder.setFixedSize(surfaceWidth, surfaceHeight);
252 surfaceHolder.setSizeFromLayout();
298 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) {
309 public void onSurfaceDestroyed(SurfaceHolder holder) {
315 public void onSurfaceCreated(SurfaceHolder holder) {
321 public void onSurfaceRedrawNeeded(SurfaceHolder holder) {
350 SurfaceHolder sh = getSurfaceHolder();
479 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) {
507 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) {
676 private boolean initGL(SurfaceHolder surfaceHolder) {
711 Rect frame = surfaceHolder.getSurfaceFrame();
726 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null);