IT. Expert System.

Android Reference

HardwareCanvas


android.view

Class HardwareCanvas



  • public abstract class HardwareCanvas
    extends Canvas
    Hardware accelerated canvas.
    • Constructor Detail

      • HardwareCanvas

        public HardwareCanvas()
    • Method Detail

      • isHardwareAccelerated

        public boolean isHardwareAccelerated()
        Description copied from class: Canvas
        Indicates whether this Canvas uses hardware acceleration. Note that this method does not define what type of hardware acceleration may or may not be used.
        Overrides:
        isHardwareAccelerated in class Canvas
        Returns:
        True if drawing operations are hardware accelerated, false otherwise.
      • setBitmap

        public void setBitmap(Bitmap bitmap)
        Description copied from class: Canvas
        Specify a bitmap for the canvas to draw into. As a side-effect, also updates the canvas's target density to match that of the bitmap.
        Overrides:
        setBitmap in class Canvas
        Parameters:
        bitmap - Specifies a mutable bitmap for the canvas to draw into.
        See Also:
        Canvas.setDensity(int), Canvas.getDensity()
      • onPreDraw

        public abstract int onPreDraw(Rect dirty)
        Invoked before any drawing operation is performed in this canvas.
        Parameters:
        dirty - The dirty rectangle to update, can be null.
        Returns:
        DisplayList.STATUS_DREW if anything was drawn (such as a call to clear the canvas).
      • onPostDraw

        public abstract void onPostDraw()
        Invoked after all drawing operation have been performed.
      • callDrawGLFunction

        public int callDrawGLFunction(int drawGLFunction)
        Calls the function specified with the drawGLFunction function pointer. This is functionality used by webkit for calling into their renderer from our display lists. This function may return true if an invalidation is needed after the call.
        Parameters:
        drawGLFunction - A native function pointer
        Returns:
        One of DisplayList.STATUS_DONE, DisplayList.STATUS_DRAW or DisplayList.STATUS_INVOKE


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: 559 / 159267450. Delta: 0.03946 с