Searched refs:bWidth (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | UploadedTexture.java | 215 int bWidth = bitmap.getWidth(); in uploadToCanvas() local 217 int width = bWidth + mBorder * 2; in uploadToCanvas() 222 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas() 228 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas() 249 if (mBorder + bWidth < texWidth) { in uploadToCanvas() 251 canvas.texSubImage2D(this, mBorder + bWidth, 0, line, format, type); in uploadToCanvas()
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
D | UploadedTexture.java | 142 int bWidth = bitmap.getWidth(); in uploadToCanvas() local 147 Utils.assertTrue(bWidth <= texWidth && bHeight <= texHeight); in uploadToCanvas() 153 if (bWidth == texWidth && bHeight == texHeight) { in uploadToCanvas() 164 if (bWidth < texWidth) { in uploadToCanvas() 166 canvas.texSubImage2D(this, bWidth, 0, line, format, type); in uploadToCanvas()
|