/**@class android.graphics.RecordingCanvas @extends android.view.DisplayListCanvas A Canvas implementation that records view system drawing operations for deferred rendering. This is used in combination with RenderNode. This class keeps a list of all the Paint and Bitmap objects that it draws, preventing the backing memory of Bitmaps from being released while the RecordingCanvas is still holding a native reference to the memory. This is obtained by calling {@link android.graphics.RenderNode#beginRecording()} and is valid until the matching {@link android.graphics.RenderNode#endRecording()} is called. It must not be retained beyond that as it is internally reused. */ var RecordingCanvas = { /**@hide */ MAX_BITMAP_SIZE : "104857600", /** TODO: Temporarily exposed for RenderNodeAnimator(Set) @hide */ mNode : "null", /** @hide */ isRecordingFor : function( ) {}, /** */ setDensity : function( ) {}, /** */ isHardwareAccelerated : function( ) {}, /** */ setBitmap : function( ) {}, /** */ isOpaque : function( ) {}, /** */ getWidth : function( ) {}, /** */ getHeight : function( ) {}, /** */ getMaximumBitmapWidth : function( ) {}, /** */ getMaximumBitmapHeight : function( ) {}, /** */ enableZ : function( ) {}, /** */ disableZ : function( ) {}, /**Records the functor specified with the drawGLFunction function pointer. This is functionality used by webview for calling into their renderer from our display lists. @param {Number} drawGLFunction A native function pointer @hide @deprecated Use {@link #drawWebViewFunctor(int)} */ callDrawGLFunction2 : function( ) {}, /**Records the functor specified with the drawGLFunction function pointer. This is functionality used by webview for calling into their renderer from our display lists. @param {Number} drawGLFunctor A native function pointer @param {Object {Runnable}} releasedCallback Called when the display list is destroyed, and thus the functor is no longer referenced by this canvas's display list. NOTE: The callback does *not* necessarily mean that there are no longer any references to the functor, just that the reference from this specific canvas's display list has been released. @hide @deprecated Use {@link #drawWebViewFunctor(int)} */ drawGLFunctor2 : function( ) {}, /**Calls the provided functor that was created via WebViewFunctor_create() @hide */ drawWebViewFunctor : function( ) {}, /**Draws the specified display list onto this canvas. @param {Object {RenderNode}} renderNode The RenderNode to draw. */ drawRenderNode : function( ) {}, /**Draws the specified layer onto this canvas. @param {Object {TextureLayer}} layer The layer to composite on this canvas @hide */ drawTextureLayer : function( ) {}, /**Draws a circle @param {Object {android.graphics.CanvasProperty}} cx @param {Object {android.graphics.CanvasProperty}} cy @param {Object {android.graphics.CanvasProperty}} radius @param {Object {android.graphics.CanvasProperty}} paint @hide */ drawCircle : function( ) {}, /**Draws a round rect @param {Object {android.graphics.CanvasProperty}} left @param {Object {android.graphics.CanvasProperty}} top @param {Object {android.graphics.CanvasProperty}} right @param {Object {android.graphics.CanvasProperty}} bottom @param {Object {android.graphics.CanvasProperty}} rx @param {Object {android.graphics.CanvasProperty}} ry @param {Object {android.graphics.CanvasProperty}} paint @hide */ drawRoundRect : function( ) {}, };