Home
last modified time | relevance | path

Searched refs:GLCanvas (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAbstractSlotRenderer.java24 import com.android.gallery3d.glrenderer.GLCanvas;
46 protected void drawContent(GLCanvas canvas, in drawContent()
48 canvas.save(GLCanvas.SAVE_FLAG_MATRIX); in drawContent()
69 protected void drawVideoOverlay(GLCanvas canvas, int width, int height) { in drawVideoOverlay()
82 protected void drawPanoramaIcon(GLCanvas canvas, int width, int height) { in drawPanoramaIcon()
99 protected void drawPressedUpFrame(GLCanvas canvas, int width, int height) { in drawPressedUpFrame()
106 protected void drawPressedFrame(GLCanvas canvas, int width, int height) { in drawPressedFrame()
110 protected void drawSelectedFrame(GLCanvas canvas, int width, int height) { in drawSelectedFrame()
114 protected static void drawFrame(GLCanvas canvas, Rect padding, Texture frame, in drawFrame()
DSlideshowView.java25 import com.android.gallery3d.glrenderer.GLCanvas;
93 protected void render(GLCanvas canvas) { in render()
100 canvas.save(GLCanvas.SAVE_FLAG_ALPHA | GLCanvas.SAVE_FLAG_MATRIX); in render()
110 canvas.save(GLCanvas.SAVE_FLAG_ALPHA | GLCanvas.SAVE_FLAG_MATRIX); in render()
138 public void apply(GLCanvas canvas) { in apply()
155 return GLCanvas.SAVE_FLAG_MATRIX; in getCanvasSaveFlags()
DSurfaceTextureScreenNail.java25 import com.android.gallery3d.glrenderer.GLCanvas;
45 public void acquireSurfaceTexture(GLCanvas canvas) { in acquireSurfaceTexture()
108 public void draw(GLCanvas canvas, int x, int y, int width, int height) { in draw()
115 canvas.save(GLCanvas.SAVE_FLAG_MATRIX); in draw()
128 public void draw(GLCanvas canvas, RectF source, RectF dest) { in draw()
DAlbumSetSlotRenderer.java26 import com.android.gallery3d.glrenderer.GLCanvas;
131 public int renderSlot(GLCanvas canvas, int index, int pass, int width, int height) { in renderSlot()
141 GLCanvas canvas, int index, AlbumSetEntry entry, int width, int height) { in renderOverlay()
169 GLCanvas canvas, AlbumSetEntry entry, int width, int height) { in renderContent()
191 GLCanvas canvas, AlbumSetEntry entry, int width, int height) { in renderLabel()
DPhotoFallbackEffect.java26 import com.android.gallery3d.glrenderer.GLCanvas;
80 public boolean draw(GLCanvas canvas) { in draw()
91 private void drawEntry(GLCanvas canvas, Entry entry) { in drawEntry()
119 canvas.save(GLCanvas.SAVE_FLAG_ALPHA); in drawEntry()
139 canvas.save(GLCanvas.SAVE_FLAG_ALPHA); in drawEntry()
DSlotView.java28 import com.android.gallery3d.glrenderer.GLCanvas;
60 public int renderSlot(GLCanvas canvas, int index, int pass, int width, int height); in renderSlot()
239 protected void render(GLCanvas canvas) { in render()
314 GLCanvas canvas, int index, int pass, boolean paperActive) { in renderItem()
315 canvas.save(GLCanvas.SAVE_FLAG_ALPHA | GLCanvas.SAVE_FLAG_MATRIX); in renderItem()
344 abstract public void apply(GLCanvas canvas, int slotIndex, Rect target); in apply()
351 public void apply(GLCanvas canvas, int slotIndex, Rect target) { in apply()
365 public void apply(GLCanvas canvas, int slotIndex, Rect target) { in apply()
DScreenNail.java20 import com.android.gallery3d.glrenderer.GLCanvas;
25 public void draw(GLCanvas canvas, int x, int y, int width, int height); in draw()
34 public void draw(GLCanvas canvas, RectF source, RectF dest); in draw()
DManageCacheDrawer.java26 import com.android.gallery3d.glrenderer.GLCanvas;
65 public int renderSlot(GLCanvas canvas, int index, int pass, int width, int height) { in renderSlot()
78 canvas.save(GLCanvas.SAVE_FLAG_ALPHA); in renderSlot()
93 private void drawCachingPin(GLCanvas canvas, Path path, int dataSourceType, in drawCachingPin()
DPhotoView.java37 import com.android.gallery3d.glrenderer.GLCanvas;
583 void draw(GLCanvas canvas, Rect r); in draw()
643 public void draw(GLCanvas canvas, Rect r) { in draw()
675 private void drawTileView(GLCanvas canvas, Rect r) { in drawTileView()
683 canvas.save(GLCanvas.SAVE_FLAG_MATRIX | GLCanvas.SAVE_FLAG_ALPHA); in drawTileView()
804 public void draw(GLCanvas canvas, Rect r) { in draw()
829 canvas.save(GLCanvas.SAVE_FLAG_MATRIX | GLCanvas.SAVE_FLAG_ALPHA); in draw()
914 private void drawPlaceHolder(GLCanvas canvas, Rect r) { in drawPlaceHolder()
919 private void drawVideoPlayIcon(GLCanvas canvas, int side) { in drawVideoPlayIcon()
926 private void drawLoadingFailMessage(GLCanvas canvas) { in drawLoadingFailMessage()
[all …]
DBitmapScreenNail.java23 import com.android.gallery3d.glrenderer.GLCanvas;
43 public void draw(GLCanvas canvas, int x, int y, int width, int height) { in draw()
58 public void draw(GLCanvas canvas, RectF source, RectF dest) { in draw()
DProgressSpinner.java22 import com.android.gallery3d.glrenderer.GLCanvas;
59 public void draw(GLCanvas canvas, int x, int y) { in draw()
71 canvas.save(GLCanvas.SAVE_FLAG_MATRIX); in draw()
DEdgeView.java22 import com.android.gallery3d.glrenderer.GLCanvas;
87 protected void render(GLCanvas canvas) { in render()
91 canvas.save(GLCanvas.SAVE_FLAG_MATRIX); in render()
DEdgeEffect.java26 import com.android.gallery3d.glrenderer.GLCanvas;
308 public boolean draw(GLCanvas canvas) { in draw()
435 public void draw(GLCanvas canvas) { in draw()
436 canvas.save(GLCanvas.SAVE_FLAG_ALPHA); in draw()
DTileImageView.java32 import com.android.gallery3d.glrenderer.GLCanvas;
407 protected void render(GLCanvas canvas) { in render()
414 if (rotation != 0) flags |= GLCanvas.SAVE_FLAG_MATRIX; in render()
466 private void uploadBackgroundTiles(GLCanvas canvas) { in uploadBackgroundTiles()
563 public boolean onGLIdle(GLCanvas canvas, boolean renderRequested) { in onGLIdle()
589 public void drawTile(GLCanvas canvas, in drawTile()
624 Tile tile, GLCanvas canvas, RectF source, RectF target) { in drawTile()
DTiledScreenNail.java24 import com.android.gallery3d.glrenderer.GLCanvas;
155 public void draw(GLCanvas canvas, int x, int y, int width, int height) { in draw()
179 public void draw(GLCanvas canvas, RectF source, RectF dest) { in draw()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DBasicTexture.java49 protected GLCanvas mCanvasRef = null;
54 protected BasicTexture(GLCanvas canvas, int id, int state) { in BasicTexture()
67 protected void setAssociatedCanvas(GLCanvas canvas) { in setAssociatedCanvas()
111 public void draw(GLCanvas canvas, int x, int y) { in draw()
116 public void draw(GLCanvas canvas, int x, int y, int w, int h) { in draw()
122 abstract protected boolean onBind(GLCanvas canvas); in onBind()
144 GLCanvas canvas = mCanvasRef; in freeResource()
DUploadedTexture.java125 public void updateContent(GLCanvas canvas) { in updateContent()
138 private void uploadToCanvas(GLCanvas canvas) { in uploadToCanvas()
189 protected boolean onBind(GLCanvas canvas) { in onBind()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DBasicTexture.java52 protected GLCanvas mCanvasRef = null;
57 protected BasicTexture(GLCanvas canvas, int id, int state) { in BasicTexture()
70 protected void setAssociatedCanvas(GLCanvas canvas) { in setAssociatedCanvas()
137 public void draw(GLCanvas canvas, int x, int y) { in draw()
142 public void draw(GLCanvas canvas, int x, int y, int w, int h) { in draw()
148 abstract protected boolean onBind(GLCanvas canvas); in onBind()
173 GLCanvas canvas = mCanvasRef; in freeResource()
DNinePatchTexture.java140 private NinePatchInstance findInstance(GLCanvas canvas, int w, int h) { in findInstance()
157 public void draw(GLCanvas canvas, int x, int y, int w, int h) { in draw()
170 GLCanvas canvas = mCanvasRef; in recycle()
398 private void prepareBuffers(GLCanvas canvas) { in prepareBuffers()
409 public void draw(GLCanvas canvas, NinePatchTexture tex, int x, int y) { in draw()
416 public void recycle(GLCanvas canvas) { in recycle()
DExtTexture.java25 public ExtTexture(GLCanvas canvas, int target) { in ExtTexture()
31 private void uploadToCanvas(GLCanvas canvas) { in uploadToCanvas()
38 protected boolean onBind(GLCanvas canvas) { in onBind()
DTiledTexture.java91 public boolean onGLIdle(GLCanvas canvas, boolean renderRequested) { in onGLIdle()
180 private boolean uploadNextTile(GLCanvas canvas) { in uploadNextTile()
276 public void drawMixed(GLCanvas canvas, int color, float ratio, in drawMixed()
296 public void draw(GLCanvas canvas, int x, int y, int width, int height) { in draw()
314 public void draw(GLCanvas canvas, RectF source, RectF target) { in draw()
348 public void draw(GLCanvas canvas, int x, int y) { in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DStateTransitionAnimation.java23 import com.android.gallery3d.glrenderer.GLCanvas;
146 …private void applyOldTexture(GLView view, GLCanvas canvas, float alpha, float scale, boolean clear… in applyOldTexture()
160 public void applyBackground(GLView view, GLCanvas canvas) { in applyBackground()
166 public void applyContentTransform(GLView view, GLCanvas canvas) { in applyContentTransform()
175 public void applyOverlay(GLView view, GLCanvas canvas) { in applyOverlay()
DAlphaAnimation.java20 import com.android.gallery3d.glrenderer.GLCanvas;
34 public void apply(GLCanvas canvas) { in apply()
40 return GLCanvas.SAVE_FLAG_ALPHA; in getCanvasSaveFlags()
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java33 import com.android.gallery3d.glrenderer.GLCanvas;
413 public boolean draw(GLCanvas canvas) { in draw()
424 flags |= GLCanvas.SAVE_FLAG_MATRIX; in draw()
470 private void uploadBackgroundTiles(GLCanvas canvas) { in uploadBackgroundTiles()
570 private void uploadTiles(GLCanvas canvas) { in uploadTiles()
596 private void drawTile(GLCanvas canvas, in drawTile()
633 Tile tile, GLCanvas canvas, RectF source, RectF target) { in drawTile()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java33 import com.android.gallery3d.glrenderer.GLCanvas;
413 public boolean draw(GLCanvas canvas) { in draw()
424 flags |= GLCanvas.SAVE_FLAG_MATRIX; in draw()
470 private void uploadBackgroundTiles(GLCanvas canvas) { in uploadBackgroundTiles()
570 private void uploadTiles(GLCanvas canvas) { in uploadTiles()
596 private void drawTile(GLCanvas canvas, in drawTile()
633 Tile tile, GLCanvas canvas, RectF source, RectF target) { in drawTile()

123