Searched refs:GLCanvas (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DTexture.java20 // Texture is a rectangular image which can be drawn on GLCanvas.
41 public void draw(GLCanvas canvas, int x, int y);
42 public void draw(GLCanvas canvas, int x, int y, int w, int h);
H A DBasicTexture.java52 protected GLCanvas mCanvasRef = null;
57 protected BasicTexture(GLCanvas canvas, int id, int state) {
70 protected void setAssociatedCanvas(GLCanvas canvas) {
137 public void draw(GLCanvas canvas, int x, int y) {
142 public void draw(GLCanvas canvas, int x, int y, int w, int h) {
146 // onBind is called before GLCanvas binds this texture.
148 abstract protected boolean onBind(GLCanvas canvas);
173 GLCanvas canvas = mCanvasRef;
H A DRawTexture.java48 protected void prepare(GLCanvas canvas) {
58 protected boolean onBind(GLCanvas canvas) {
H A DUploadedTexture.java186 public void updateContent(GLCanvas canvas) {
210 private void uploadToCanvas(GLCanvas canvas) {
274 protected boolean onBind(GLCanvas canvas) {
H A DGLCanvas.java24 // GLCanvas gives a convenient interface to draw using OpenGL.
29 public interface GLCanvas { interface
33 // Tells GLCanvas the size of the underlying GL surface. This should be
36 // who only want to draw on the GLCanvas. Both width and height must be
199 * configuration to the one expected by GLCanvas.
H A DGLES20Canvas.java35 public class GLES20Canvas implements GLCanvas {
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java33 import com.android.gallery3d.glrenderer.GLCanvas;
413 public boolean draw(GLCanvas canvas) {
424 flags |= GLCanvas.SAVE_FLAG_MATRIX;
470 private void uploadBackgroundTiles(GLCanvas canvas) {
570 private void uploadTiles(GLCanvas canvas) {
596 private void drawTile(GLCanvas canvas,
633 Tile tile, GLCanvas canvas, RectF source, RectF target) {

Completed in 73 milliseconds