Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java220 int texHeight = getTextureHeight(); in uploadToCanvas() local
222 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas()
228 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas()
240 Bitmap line = getBorderLine(true, config, texHeight); in uploadToCanvas()
250 Bitmap line = getBorderLine(true, config, texHeight); in uploadToCanvas()
255 if (mBorder + bHeight < texHeight) { in uploadToCanvas()
DGLES11Canvas.java425 int texHeight = texture.getTextureHeight(); in convertCoordinate() local
429 source.top /= texHeight; in convertCoordinate()
430 source.bottom /= texHeight; in convertCoordinate()
439 float yBound = (float) height / texHeight; in convertCoordinate()
DGLES20Canvas.java647 int texHeight = texture.getTextureHeight(); in convertCoordinate() local
651 source.top /= texHeight; in convertCoordinate()
652 source.bottom /= texHeight; in convertCoordinate()
660 float yBound = (float) height / texHeight; in convertCoordinate()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java145 int texHeight = getTextureHeight(); in uploadToCanvas() local
147 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas()
153 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas()
165 Bitmap line = getBorderLine(true, config, texHeight); in uploadToCanvas()
170 if (bHeight < texHeight) { in uploadToCanvas()
DGLES20Canvas.java381 int texHeight = texture.getTextureHeight(); in convertCoordinate() local
385 source.top /= texHeight; in convertCoordinate()
386 source.bottom /= texHeight; in convertCoordinate()
394 float yBound = (float) height / texHeight; in convertCoordinate()