Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java389 float xBound = (float) width / texWidth; in convertCoordinate() local
390 if (source.right > xBound) { in convertCoordinate()
391 target.right = target.left + target.width() * (xBound - source.left) / source.width(); in convertCoordinate()
392 source.right = xBound; in convertCoordinate()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java433 float xBound = (float) width / texWidth; in convertCoordinate() local
434 if (source.right > xBound) { in convertCoordinate()
436 (xBound - source.left) / source.width(); in convertCoordinate()
437 source.right = xBound; in convertCoordinate()
DGLES20Canvas.java655 float xBound = (float) width / texWidth; in convertCoordinate() local
656 if (source.right > xBound) { in convertCoordinate()
657 target.right = target.left + target.width() * (xBound - source.left) / source.width(); in convertCoordinate()
658 source.right = xBound; in convertCoordinate()