Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DSpriteController.h58 inline SpriteIcon() : hotSpotX(0), hotSpotY(0) { } in SpriteIcon()
59 inline SpriteIcon(const SkBitmap& bitmap, float hotSpotX, float hotSpotY) : in SpriteIcon()
60 bitmap(bitmap), hotSpotX(hotSpotX), hotSpotY(hotSpotY) { } in SpriteIcon()
64 float hotSpotY; member
72 return SpriteIcon(bitmapCopy, hotSpotX, hotSpotY); in copy()
78 hotSpotY = 0; in reset()
DSpriteController.cpp263 update.state.positionY - update.state.icon.hotSpotY); in doUpdateSprites()
393 || mLocked.state.icon.hotSpotY != icon.hotSpotY) { in setIcon()
395 mLocked.state.icon.hotSpotY = icon.hotSpotY; in setIcon()
/frameworks/base/core/java/android/view/
DPointerIcon.java289 public static PointerIcon create(@NonNull Bitmap bitmap, float hotSpotX, float hotSpotY) { in create() argument
293 validateHotSpot(bitmap, hotSpotX, hotSpotY); in create()
298 icon.mHotSpotY = hotSpotY; in create()
381 float hotSpotY = in.readFloat();
382 return PointerIcon.create(bitmap, hotSpotX, hotSpotY);
463 final float hotSpotY; in loadResource() local
471 hotSpotY = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0); in loadResource()
527 validateHotSpot(bitmap, hotSpotX, hotSpotY); in loadResource()
531 mHotSpotY = hotSpotY; in loadResource()
534 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.cpp170 outSpriteIcon->hotSpotY = outPointerIcon->hotSpotY; in loadSystemIconAsSpriteWithPointerIcon()
1255 *icon = SpriteIcon(pointerIcon.bitmap, pointerIcon.hotSpotX, pointerIcon.hotSpotY); in loadPointerIcon()
1296 pointerIcon.bitmap, pointerIcon.hotSpotX, pointerIcon.hotSpotY)); in loadAdditionalMouseResources()
1299 pointerIcon.bitmapFrames[i], pointerIcon.hotSpotX, pointerIcon.hotSpotY)); in loadAdditionalMouseResources()
1715 spriteIcon.hotSpotY = pointerIcon.hotSpotY; in nativeSetCustomPointerIcon()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...