Searched defs:texture (Results 1 - 14 of 14) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
H A DPhoto.java22 * Photo that holds a GL texture and all its methods must be only accessed from the GL thread.
26 private int texture; field in class:Photo
31 * Factory method to ensure every Photo instance holds a valid texture.
42 private Photo(int texture, int width, int height) { argument
43 this.texture = texture;
48 public int texture() { method in class:Photo
49 return texture;
59 RendererUtils.clearTexture(texture);
60 texture
[all...]
H A DRendererUtils.java78 int texture = createTexture();
80 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texture);
92 return texture;
95 public static Bitmap saveTexture(int texture, int width, int height) { argument
102 GLES20.GL_TEXTURE_2D, texture, 0);
118 public static void clearTexture(int texture) { argument
120 textures[0] = texture;
251 RenderContext context, int texture, int viewWidth, int viewHeight) {
272 // Set the input texture
275 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texture);
250 renderTexture( RenderContext context, int texture, int viewWidth, int viewHeight) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DFadeInTexture.java19 // FadeInTexture is a texture which begins with a color, then gradually animates
20 // into a given texture.
27 public FadeInTexture(int color, BasicTexture texture) { argument
28 super(texture);
H A DFadeOutTexture.java19 // FadeOutTexture is a texture which begins with a given texture, then gradually animates
25 public FadeOutTexture(BasicTexture texture) { argument
26 super(texture);
H A DFadeTexture.java21 // FadeTexture is a texture which fades the given texture along the time.
36 public FadeTexture(BasicTexture texture) { argument
37 mTexture = texture;
H A DPhotoFallbackEffect.java40 public RawTexture texture; field in class:PhotoFallbackEffect.Entry
42 public Entry(Path path, Rect source, RawTexture texture) { argument
45 this.texture = texture;
66 public void addEntry(Path path, Rect rect, RawTexture texture) { argument
67 mList.add(new Entry(path, rect, texture));
90 if (!entry.texture.isLoaded()) return;
92 int w = entry.texture.getWidth();
93 int h = entry.texture.getHeight();
115 canvas.drawTexture(entry.texture, mSourc
[all...]
H A DAlbumSetSlotRenderer.java102 private static Texture checkTexture(Texture texture) { argument
103 return ((texture instanceof UploadedTexture)
104 && ((UploadedTexture) texture).isUploading())
106 : texture;
H A DAlbumSlotRenderer.java92 private static Texture checkTexture(Texture texture) { argument
93 return (texture instanceof UploadedTexture)
94 && ((UploadedTexture) texture).isUploading()
96 : texture;
H A DGLCanvas.java82 // Draws a texture to the specified rectangle.
84 BasicTexture texture, int x, int y, int width, int height);
88 // Draws the source rectangle part of the texture to the target rectangle.
89 public void drawTexture(BasicTexture texture, RectF source, RectF target); argument
91 // Draw a texture with a specified texture transform.
92 public void drawTexture(BasicTexture texture, float[] mTextureTransform, argument
95 // Draw two textures to the specified rectangle. The actual texture used is
105 // Unloads the specified texture from the canvas. The resource allocated
106 // to draw the texture wil
83 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
109 unloadTexture(BasicTexture texture) argument
121 beginRenderTarget(RawTexture texture) argument
[all...]
H A DGLCanvasImpl.java160 // Enable the texture coordinate array for Texture 1
274 // Reset the texture matrix. We will set our own texture coordinates
324 BasicTexture texture, int x, int y, int width, int height) {
328 if (texture.hasBorder()) {
330 1.0f / texture.getTextureWidth(),
331 1.0f / texture.getTextureHeight(),
332 (texture.getWidth() - 1.0f) / texture.getTextureWidth(),
333 (texture
323 drawBoundTexture( BasicTexture texture, int x, int y, int width, int height) argument
355 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
360 drawTexture(BasicTexture texture, int x, int y, int width, int height, float alpha) argument
371 drawTexture(BasicTexture texture, RectF source, RectF target) argument
389 drawTexture(BasicTexture texture, float[] mTextureTransform, int x, int y, int w, int h) argument
402 convertCoordinate(RectF source, RectF target, BasicTexture texture) argument
435 bindTexture(BasicTexture texture) argument
770 setRenderTarget(RawTexture texture) argument
808 beginRenderTarget(RawTexture texture) argument
[all...]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DGLCanvasMock.java58 BasicTexture texture, int x, int y, int width, int height) {
57 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
H A DGLCanvasStub.java54 BasicTexture texture, int x, int y, int width, int height) {}
57 public void drawTexture(BasicTexture texture, argument
59 public void drawTexture(BasicTexture texture, RectF source, RectF target) {} argument
60 public void drawTexture(BasicTexture texture, float[] mTextureTransform, argument
74 public boolean unloadTexture(BasicTexture texture) { argument
83 public void beginRenderTarget(RawTexture texture) {} argument
53 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
H A DGLMock.java145 public void glBindTexture(int target, int texture) { argument
147 mGLBindTextureId = texture;
179 public void glActiveTexture(int texture) { argument
180 mGLActiveTexture = texture;
H A DGLStub.java30 int texture
45 int texture
84 int texture
1031 int texture
1322 int texture,
1318 glFramebufferTexture2DOES( int target, int attachment, int textarget, int texture, int level ) argument

Completed in 83 milliseconds