Home
last modified time | relevance | path

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

/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java221 int texHeight = getTextureHeight(); in uploadToCanvas() local
223 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas()
229 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas()
241 Bitmap line = getBorderLine(true, config, texHeight); in uploadToCanvas()
251 Bitmap line = getBorderLine(true, config, texHeight); in uploadToCanvas()
256 if (mBorder + bHeight < texHeight) { in uploadToCanvas()
DGLES20Canvas.java645 int texHeight = texture.getTextureHeight(); in convertCoordinate() local
649 source.top /= texHeight; in convertCoordinate()
650 source.bottom /= texHeight; in convertCoordinate()
658 float yBound = (float) height / texHeight; in convertCoordinate()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java220 int texHeight = getTextureHeight(); in uploadToCanvas() local
222 Assert.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.java427 int texHeight = texture.getTextureHeight(); in convertCoordinate() local
431 source.top /= texHeight; in convertCoordinate()
432 source.bottom /= texHeight; in convertCoordinate()
441 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()