Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java266 float textureBound = (float) source / textureSize; in stretch() local
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()
300 u[div.length + 1] = textureBound; in stretch()