Home
last modified time | relevance | path

Searched refs:texWidth (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java219 int texWidth = getTextureWidth(); in uploadToCanvas() local
222 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas()
228 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas()
244 line = getBorderLine(false, config, texWidth); in uploadToCanvas()
249 if (mBorder + bWidth < texWidth) { in uploadToCanvas()
256 Bitmap line = getBorderLine(false, config, texWidth); in uploadToCanvas()
DGLES11Canvas.java424 int texWidth = texture.getTextureWidth(); in convertCoordinate() local
427 source.left /= texWidth; in convertCoordinate()
428 source.right /= texWidth; in convertCoordinate()
433 float xBound = (float) width / texWidth; in convertCoordinate()
DGLES20Canvas.java646 int texWidth = texture.getTextureWidth(); in convertCoordinate() local
649 source.left /= texWidth; in convertCoordinate()
650 source.right /= texWidth; in convertCoordinate()
655 float xBound = (float) width / texWidth; in convertCoordinate()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java144 int texWidth = getTextureWidth(); in uploadToCanvas() local
147 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas()
153 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas()
164 if (bWidth < texWidth) { in uploadToCanvas()
171 Bitmap line = getBorderLine(false, config, texWidth); in uploadToCanvas()
DGLES20Canvas.java380 int texWidth = texture.getTextureWidth(); in convertCoordinate() local
383 source.left /= texWidth; in convertCoordinate()
384 source.right /= texWidth; in convertCoordinate()
389 float xBound = (float) width / texWidth; in convertCoordinate()