Searched refs:texWidth (Results 1 – 5 of 5) sorted by relevance
219 int texWidth = getTextureWidth(); in uploadToCanvas() local222 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()
424 int texWidth = texture.getTextureWidth(); in convertCoordinate() local427 source.left /= texWidth; in convertCoordinate()428 source.right /= texWidth; in convertCoordinate()433 float xBound = (float) width / texWidth; in convertCoordinate()
646 int texWidth = texture.getTextureWidth(); in convertCoordinate() local649 source.left /= texWidth; in convertCoordinate()650 source.right /= texWidth; in convertCoordinate()655 float xBound = (float) width / texWidth; in convertCoordinate()
144 int texWidth = getTextureWidth(); in uploadToCanvas() local147 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()
380 int texWidth = texture.getTextureWidth(); in convertCoordinate() local383 source.left /= texWidth; in convertCoordinate()384 source.right /= texWidth; in convertCoordinate()389 float xBound = (float) width / texWidth; in convertCoordinate()