Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUploadedTexture.java226 int texWidth = getTextureWidth(); in uploadToCanvas() local
229 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas()
254 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas()
262 texWidth, texHeight, 0, format, type, null); in uploadToCanvas()
273 line = getBorderLine(false, config, texWidth); in uploadToCanvas()
279 if (mBorder + bWidth < texWidth) { in uploadToCanvas()
287 Bitmap line = getBorderLine(false, config, texWidth); in uploadToCanvas()
DGLCanvasImpl.java407 int texWidth = texture.getTextureWidth(); in convertCoordinate() local
410 source.left /= texWidth; in convertCoordinate()
411 source.right /= texWidth; in convertCoordinate()
416 float xBound = (float) width / texWidth; in convertCoordinate()