Lines Matching defs:bitmap
1312 SkBitmap bitmap;
1313 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap);
1315 bitmap.lockPixels();
1316 const void* ptr = bitmap.getPixels();
1319 ptr, bitmap.getSize(), usage);
1320 bitmap.unlockPixels();
1328 SkBitmap bitmap;
1329 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap);
1331 bitmap.lockPixels();
1332 const void* ptr = bitmap.getPixels();
1336 bitmap.unlockPixels();
1344 SkBitmap bitmap;
1345 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap);
1347 bitmap.lockPixels();
1348 const void* ptr = bitmap.getPixels();
1351 ptr, bitmap.getSize(), usage);
1352 bitmap.unlockPixels();
1359 SkBitmap bitmap;
1360 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap);
1361 int w = bitmap.width();
1362 int h = bitmap.height();
1364 bitmap.lockPixels();
1365 const void* ptr = bitmap.getPixels();
1368 w, h, ptr, bitmap.getSize(), 0);
1369 bitmap.unlockPixels();
1375 SkBitmap bitmap;
1376 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap);
1378 bitmap.lockPixels();
1379 void* ptr = bitmap.getPixels();
1380 rsAllocationCopyToBitmap((RsContext)con, (RsAllocation)alloc, ptr, bitmap.getSize());
1381 bitmap.unlockPixels();
1382 bitmap.notifyPixelsChanged();
2859 {"rsnAllocationCreateFromBitmap", "(JJILandroid/graphics/Bitmap;I)J", (void*)nAllocationCreateFromBitmap },
2860 {"rsnAllocationCreateBitmapBackedAllocation", "(JJILandroid/graphics/Bitmap;I)J", (void*)nAllocationCreateBitmapBackedAllocation },
2861 {"rsnAllocationCubeCreateFromBitmap","(JJILandroid/graphics/Bitmap;I)J", (void*)nAllocationCubeCreateFromBitmap },
2863 {"rsnAllocationCopyFromBitmap", "(JJLandroid/graphics/Bitmap;)V", (void*)nAllocationCopyFromBitmap },
2864 {"rsnAllocationCopyToBitmap", "(JJLandroid/graphics/Bitmap;)V", (void*)nAllocationCopyToBitmap },