Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java441 float yBound = (float) height / texHeight; in convertCoordinate() local
442 if (source.bottom > yBound) { in convertCoordinate()
444 (yBound - source.top) / source.height(); in convertCoordinate()
445 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()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java658 float yBound = (float) height / texHeight; in convertCoordinate() local
659 if (source.bottom > yBound) { in convertCoordinate()
660 target.bottom = target.top + target.height() * (yBound - source.top) / source.height(); in convertCoordinate()
661 source.bottom = yBound; in convertCoordinate()