/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | FadeInTexture.java | 20 // FadeInTexture is a texture which begins with a color, then gradually animates 21 // into a given texture. 29 public FadeInTexture(int color, TiledTexture texture) { argument 30 super(texture.getWidth(), texture.getHeight(), texture.isOpaque()); 32 mTexture = texture;
|
H A D | FadeOutTexture.java | 20 // FadeOutTexture is a texture which begins with a given texture, then gradually animates 28 public FadeOutTexture(BasicTexture texture) { argument 29 super(texture.getWidth(), texture.getHeight(), texture.isOpaque()); 30 mTexture = texture;
|
H A D | GLCanvas.java | 94 // Draws a texture to the specified rectangle. 96 BasicTexture texture, int x, int y, int width, int height); 101 // Draws the source rectangle part of the texture to the target rectangle. 102 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target); argument 104 // Draw a texture with a specified texture transform. 105 public abstract void drawTexture(BasicTexture texture, float[] mTextureTransform, argument 108 // Draw two textures to the specified rectangle. The actual texture used is 114 // Draw a region of a texture and a specified color to the specified 116 // The region of the texture i 95 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument 125 unloadTexture(BasicTexture texture) argument 137 beginRenderTarget(RawTexture texture) argument 149 setTextureParameters(BasicTexture texture) argument 158 initializeTextureSize(BasicTexture texture, int format, int type) argument 166 initializeTexture(BasicTexture texture, Bitmap bitmap) argument 179 texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, int format, int type) argument [all...] |
H A D | GLES11Canvas.java | 118 // Enable the texture coordinate array for Texture 1 290 // Reset the texture matrix. We will set our own texture coordinates 340 BasicTexture texture, int x, int y, int width, int height) { 344 if (texture.hasBorder()) { 346 1.0f / texture.getTextureWidth(), 347 1.0f / texture.getTextureHeight(), 348 (texture.getWidth() - 1.0f) / texture.getTextureWidth(), 349 (texture 339 drawBoundTexture( BasicTexture texture, int x, int y, int width, int height) argument 372 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument 377 drawTexture(BasicTexture texture, int x, int y, int width, int height, float alpha) argument 389 drawTexture(BasicTexture texture, RectF source, RectF target) argument 408 drawTexture(BasicTexture texture, float[] mTextureTransform, int x, int y, int w, int h) argument 421 convertCoordinate(RectF source, RectF target, BasicTexture texture) argument 455 bindTexture(BasicTexture texture) argument 842 setRenderTarget(RawTexture texture) argument 880 beginRenderTarget(RawTexture texture) argument 918 setTextureParameters(BasicTexture texture) argument 940 initializeTextureSize(BasicTexture texture, int format, int type) argument 949 initializeTexture(BasicTexture texture, Bitmap bitmap) argument 956 texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, int format, int type) argument [all...] |
H A D | GLES20Canvas.java | 153 // Screen size for when we aren't bound to a texture 173 // Handle indices -- texture 253 // texture. 582 public void drawTexture(BasicTexture texture, int x, int y, int width, int height) { argument 586 copyTextureCoordinates(texture, mTempSourceRect); 588 convertCoordinate(mTempSourceRect, mTempTargetRect, texture); 589 drawTextureRect(texture, mTempSourceRect, mTempTargetRect); 592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { argument 595 int right = texture.getWidth(); 596 int bottom = texture 607 drawTexture(BasicTexture texture, RectF source, RectF target) argument 619 drawTexture(BasicTexture texture, float[] textureTransform, int x, int y, int w, int h) argument 628 drawTextureRect(BasicTexture texture, RectF source, RectF target) argument 643 convertCoordinate(RectF source, RectF target, BasicTexture texture) argument 667 drawTextureRect(BasicTexture texture, float[] textureMatrix, RectF target) argument 686 prepareTexture(BasicTexture texture) argument 700 prepareTexture(BasicTexture texture, int program, ShaderParameter[] params) argument 716 drawMesh(BasicTexture texture, int x, int y, int xyBuffer, int uvBuffer, int indexBuffer, int indexCount) argument 758 drawMixed(BasicTexture texture, int toColor, float ratio, int x, int y, int w, int h) argument 765 drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) argument 786 unloadTexture(BasicTexture texture) argument 840 beginRenderTarget(RawTexture texture) argument 851 setRenderTarget(BasicTexture oldTexture, RawTexture texture) argument 904 setTextureParameters(BasicTexture texture) argument 915 initializeTextureSize(BasicTexture texture, int format, int type) argument 925 initializeTexture(BasicTexture texture, Bitmap bitmap) argument 933 texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, int format, int type) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PhotoFallbackEffect.java | 42 public RawTexture texture; field in class:PhotoFallbackEffect.Entry 44 public Entry(Path path, Rect source, RawTexture texture) { argument 47 this.texture = texture; 68 public void addEntry(Path path, Rect rect, RawTexture texture) { argument 69 mList.add(new Entry(path, rect, texture)); 92 if (!entry.texture.isLoaded()) return; 94 int w = entry.texture.getWidth(); 95 int h = entry.texture.getHeight(); 117 canvas.drawTexture(entry.texture, mSourc [all...] |
H A D | AlbumSlotRenderer.java | 96 private static Texture checkTexture(Texture texture) { argument 97 return (texture instanceof TiledTexture) 98 && !((TiledTexture) texture).isReady() 100 : texture;
|
H A D | AlbumSetSlotRenderer.java | 116 private static Texture checkLabelTexture(Texture texture) { argument 117 return ((texture instanceof UploadedTexture) 118 && ((UploadedTexture) texture).isUploading()) 120 : texture; 123 private static Texture checkContentTexture(Texture texture) { argument 124 return ((texture instanceof TiledTexture) 125 && !((TiledTexture) texture).isReady()) 127 : texture;
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 92 // Draws a texture to the specified rectangle. 94 BasicTexture texture, int x, int y, int width, int height); 99 // Draws the source rectangle part of the texture to the target rectangle. 100 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target); argument 102 // Draw a texture with a specified texture transform. 103 public abstract void drawTexture(BasicTexture texture, float[] mTextureTransform, argument 106 // Draw two textures to the specified rectangle. The actual texture used is 112 // Draw a region of a texture and a specified color to the specified 114 // The region of the texture i 93 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument 123 unloadTexture(BasicTexture texture) argument 135 beginRenderTarget(RawTexture texture) argument 147 setTextureParameters(BasicTexture texture) argument 156 initializeTextureSize(BasicTexture texture, int format, int type) argument 164 initializeTexture(BasicTexture texture, Bitmap bitmap) argument 177 texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, int format, int type) argument [all...] |
H A D | GLES20Canvas.java | 153 // Screen size for when we aren't bound to a texture 173 // Handle indices -- texture 253 // texture. 582 public void drawTexture(BasicTexture texture, int x, int y, int width, int height) { argument 586 copyTextureCoordinates(texture, mTempSourceRect); 588 convertCoordinate(mTempSourceRect, mTempTargetRect, texture); 589 drawTextureRect(texture, mTempSourceRect, mTempTargetRect); 592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { argument 595 int right = texture.getWidth(); 596 int bottom = texture 607 drawTexture(BasicTexture texture, RectF source, RectF target) argument 619 drawTexture(BasicTexture texture, float[] textureTransform, int x, int y, int w, int h) argument 628 drawTextureRect(BasicTexture texture, RectF source, RectF target) argument 643 convertCoordinate(RectF source, RectF target, BasicTexture texture) argument 667 drawTextureRect(BasicTexture texture, float[] textureMatrix, RectF target) argument 686 prepareTexture(BasicTexture texture) argument 700 prepareTexture(BasicTexture texture, int program, ShaderParameter[] params) argument 716 drawMesh(BasicTexture texture, int x, int y, int xyBuffer, int uvBuffer, int indexBuffer, int indexCount) argument 758 drawMixed(BasicTexture texture, int toColor, float ratio, int x, int y, int w, int h) argument 765 drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) argument 786 unloadTexture(BasicTexture texture) argument 840 beginRenderTarget(RawTexture texture) argument 851 setRenderTarget(BasicTexture oldTexture, RawTexture texture) argument 904 setTextureParameters(BasicTexture texture) argument 915 initializeTextureSize(BasicTexture texture, int format, int type) argument 925 initializeTexture(BasicTexture texture, Bitmap bitmap) argument 933 texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, int format, int type) argument [all...] |