Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_PointerIcon.cpp61 PointerIcon* outPointerIcon) { in android_view_PointerIcon_load() argument
62 outPointerIcon->reset(); in android_view_PointerIcon_load()
76 return android_view_PointerIcon_getLoadedIcon(env, loadedPointerIconObj.get(), outPointerIcon); in android_view_PointerIcon_load()
80 PointerIcon* outPointerIcon) { in android_view_PointerIcon_getLoadedIcon() argument
84 outPointerIcon->style = env->GetIntField(pointerIconObj, gPointerIconClassInfo.mType); in android_view_PointerIcon_getLoadedIcon()
85 outPointerIcon->hotSpotX = env->GetFloatField(pointerIconObj, gPointerIconClassInfo.mHotSpotX); in android_view_PointerIcon_getLoadedIcon()
86 outPointerIcon->hotSpotY = env->GetFloatField(pointerIconObj, gPointerIconClassInfo.mHotSpotY); in android_view_PointerIcon_getLoadedIcon()
91 GraphicsJNI::getSkBitmap(env, bitmapObj.get(), &(outPointerIcon->bitmap)); in android_view_PointerIcon_getLoadedIcon()
97 outPointerIcon->durationPerFrame = env->GetIntField( in android_view_PointerIcon_getLoadedIcon()
100 outPointerIcon->bitmapFrames.resize(size); in android_view_PointerIcon_getLoadedIcon()
[all …]
Dandroid_view_PointerIcon.h98 jobject pointerIconObj, jobject contextObj, PointerIcon* outPointerIcon);
102 PointerIcon* outPointerIcon);
108 jobject contextObj, int32_t style, PointerIcon* outPointerIcon);
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp159 PointerIcon* outPointerIcon, SpriteIcon* outSpriteIcon) { in loadSystemIconAsSpriteWithPointerIcon() argument
161 contextObj, style, outPointerIcon); in loadSystemIconAsSpriteWithPointerIcon()
164 SkImageInfo bitmapCopyInfo = outPointerIcon->bitmap.info().makeColorType(kN32_SkColorType); in loadSystemIconAsSpriteWithPointerIcon()
166 outPointerIcon->bitmap.readPixels(bitmapCopy->info(), bitmapCopy->getPixels(), in loadSystemIconAsSpriteWithPointerIcon()
169 outSpriteIcon->hotSpotX = outPointerIcon->hotSpotX; in loadSystemIconAsSpriteWithPointerIcon()
170 outSpriteIcon->hotSpotY = outPointerIcon->hotSpotY; in loadSystemIconAsSpriteWithPointerIcon()