Searched refs:bitmapCopy (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/input/ |
D | SpriteController.h | 67 SkBitmap bitmapCopy; in copy() local 68 if (bitmapCopy.tryAllocPixels(bitmap.info().makeColorType(kN32_SkColorType))) { in copy() 69 bitmap.readPixels(bitmapCopy.info(), bitmapCopy.getPixels(), bitmapCopy.rowBytes(), in copy() 72 return SpriteIcon(bitmapCopy, hotSpotX, hotSpotY); in copy()
|
D | SpriteController.cpp | 380 SkBitmap* bitmapCopy = &mLocked.state.icon.bitmap; in setIcon() local 381 if (bitmapCopy->tryAllocPixels(icon.bitmap.info().makeColorType(kN32_SkColorType))) { in setIcon() 382 icon.bitmap.readPixels(bitmapCopy->info(), bitmapCopy->getPixels(), in setIcon() 383 bitmapCopy->rowBytes(), 0, 0); in setIcon()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 168 SkBitmap* bitmapCopy = &outSpriteIcon->bitmap; in loadSystemIconAsSpriteWithPointerIcon() local 170 if (bitmapCopy->tryAllocPixels(bitmapCopyInfo)) { in loadSystemIconAsSpriteWithPointerIcon() 171 outPointerIcon->bitmap.readPixels(bitmapCopy->info(), bitmapCopy->getPixels(), in loadSystemIconAsSpriteWithPointerIcon() 172 bitmapCopy->rowBytes(), 0, 0); in loadSystemIconAsSpriteWithPointerIcon()
|