Home
last modified time | relevance | path

Searched refs:hotSpotY (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/input/
DSpriteIcon.h29 inline SpriteIcon() : style(0), hotSpotX(0), hotSpotY(0) {} in SpriteIcon()
30 inline SpriteIcon(const graphics::Bitmap& bitmap, int32_t style, float hotSpotX, float hotSpotY) in SpriteIcon()
31 : bitmap(bitmap), style(style), hotSpotX(hotSpotX), hotSpotY(hotSpotY) {} in SpriteIcon()
36 float hotSpotY; member
39 return SpriteIcon(bitmap.copy(ANDROID_BITMAP_FORMAT_RGBA_8888), style, hotSpotX, hotSpotY); in copy()
46 hotSpotY = 0; in reset()
DSpriteController.cpp226 update.state.positionY - update.state.icon.hotSpotY); in doUpdateSprites()
246 p.writeFloat(update.state.icon.hotSpotY); in doUpdateSprites()
366 || mLocked.state.icon.hotSpotY != icon.hotSpotY) { in setIcon()
368 mLocked.state.icon.hotSpotY = icon.hotSpotY; in setIcon()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp127 icon->hotSpotY = hotSpot.second; in loadPointerIconForType()
202 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F()
219 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F()
229 float hotSpotY = 20; in TEST_F() local
234 icon.hotSpotY = hotSpotY; in TEST_F()
242 Field(&SpriteIcon::hotSpotY, hotSpotY)))); in TEST_F()
/frameworks/base/core/java/android/view/
DPointerIcon.java290 public static PointerIcon create(@NonNull Bitmap bitmap, float hotSpotX, float hotSpotY) { in create() argument
294 validateHotSpot(bitmap, hotSpotX, hotSpotY); in create()
299 icon.mHotSpotY = hotSpotY; in create()
382 float hotSpotY = in.readFloat();
383 return PointerIcon.create(bitmap, hotSpotX, hotSpotY);
464 final float hotSpotY; in loadResource() local
472 hotSpotY = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0); in loadResource()
528 validateHotSpot(bitmap, hotSpotX, hotSpotY); in loadResource()
532 mHotSpotY = hotSpotY; in loadResource()
535 private static void validateHotSpot(Bitmap bitmap, float hotSpotX, float hotSpotY) { in validateHotSpot() argument
[all …]
/frameworks/base/core/jni/
Dandroid_view_PointerIcon.h73 float hotSpotY; member
85 hotSpotY = 0; in reset()
Dandroid_view_PointerIcon.cpp86 outPointerIcon->hotSpotY = env->GetFloatField(pointerIconObj, gPointerIconClassInfo.mHotSpotY); in android_view_PointerIcon_getLoadedIcon()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp230 outSpriteIcon->hotSpotY = outPointerIcon->hotSpotY; in loadSystemIconAsSpriteWithPointerIcon()
1420 pointerIcon.bitmap, pointerIcon.style, pointerIcon.hotSpotX, pointerIcon.hotSpotY); in loadPointerIcon()
1462 pointerIcon.hotSpotX, pointerIcon.hotSpotY)); in loadAdditionalMouseResources()
1466 pointerIcon.hotSpotX, pointerIcon.hotSpotY)); in loadAdditionalMouseResources()
2151 pointerIcon.style, pointerIcon.hotSpotX, pointerIcon.hotSpotY); in nativeSetCustomPointerIcon()
/frameworks/base/core/api/
Dcurrent.txt773 field public static final int hotSpotY = 16844056; // 0x1010518
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt79239 Lcom/android/internal/R$attr;->hotSpotY:I