IT. Expert System.

Android Reference

SurfaceHolder.Callback


android.view

Interface SurfaceHolder.Callback

    • Method Summary

      Methods
      Modifier and Type Method and Description
      void surfaceChanged(SurfaceHolder holder, int format, int width, int height)
      This is called immediately after any structural changes (format or size) have been made to the surface.
      void surfaceCreated(SurfaceHolder holder)
      This is called immediately after the surface is first created.
      void surfaceDestroyed(SurfaceHolder holder)
      This is called immediately before a surface is being destroyed.
    • Method Detail

      • surfaceCreated

        void surfaceCreated(SurfaceHolder holder)
        This is called immediately after the surface is first created. Implementations of this should start up whatever rendering code they desire. Note that only one thread can ever draw into a Surface, so you should not draw into the Surface here if your normal rendering will be in another thread.
        Parameters:
        holder - The SurfaceHolder whose surface is being created.
      • surfaceChanged

        void surfaceChanged(SurfaceHolder holder,
                          int format,
                          int width,
                          int height)
        This is called immediately after any structural changes (format or size) have been made to the surface. You should at this point update the imagery in the surface. This method is always called at least once, after surfaceCreated(android.view.SurfaceHolder).
        Parameters:
        holder - The SurfaceHolder whose surface has changed.
        format - The new PixelFormat of the surface.
        width - The new width of the surface.
        height - The new height of the surface.
      • surfaceDestroyed

        void surfaceDestroyed(SurfaceHolder holder)
        This is called immediately before a surface is being destroyed. After returning from this call, you should no longer try to access this surface. If you have a rendering thread that directly accesses the surface, you must ensure that thread is no longer touching the Surface before returning from this function.
        Parameters:
        holder - The SurfaceHolder whose surface is being destroyed.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 160 / 158855494. Delta: 0.05165 с