Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java394 float yBound = (float) height / texHeight; in convertCoordinate() local
395 if (source.bottom > yBound) { in convertCoordinate()
396 target.bottom = target.top + target.height() * (yBound - source.top) / source.height(); in convertCoordinate()
397 source.bottom = yBound; in convertCoordinate()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java439 float yBound = (float) height / texHeight; in convertCoordinate() local
440 if (source.bottom > yBound) { in convertCoordinate()
442 (yBound - source.top) / source.height(); in convertCoordinate()
443 source.bottom = yBound; in convertCoordinate()
DGLES20Canvas.java660 float yBound = (float) height / texHeight; in convertCoordinate() local
661 if (source.bottom > yBound) { in convertCoordinate()
662 target.bottom = target.top + target.height() * (yBound - source.top) / source.height(); in convertCoordinate()
663 source.bottom = yBound; in convertCoordinate()