Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java216 int bHeight = bitmap.getHeight(); in uploadToCanvas() local
218 int height = bHeight + mBorder * 2; in uploadToCanvas()
222 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas()
228 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas()
255 if (mBorder + bHeight < texHeight) { in uploadToCanvas()
257 canvas.texSubImage2D(this, 0, mBorder + bHeight, line, format, type); in uploadToCanvas()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java143 int bHeight = bitmap.getHeight(); in uploadToCanvas() local
147 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas()
153 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas()
170 if (bHeight < texHeight) { in uploadToCanvas()
172 canvas.texSubImage2D(this, 0, bHeight, line, format, type); in uploadToCanvas()