Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java265 int textureSize = Utils.nextPowerOf2(source); in stretch() local
266 float textureBound = (float) source / textureSize; in stretch()
285 u[i + 1] = Math.min((div[i] + 0.5f) / textureSize, textureBound); in stretch()
296 u[i + 2] = Math.min((lastU - 0.5f)/ textureSize, textureBound); in stretch()