Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DSpriteController.h67 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()
DSpriteController.cpp380 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/
Dcom_android_server_input_InputManagerService.cpp168 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()