Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DSpriteIcon.h32 float hotSpotY, bool drawNativeDropShadow) in SpriteIcon()
36 hotSpotY(hotSpotY), in SpriteIcon()
42 float hotSpotY{};
DSpriteController.cpp227 update.state.positionY - update.state.icon.hotSpotY); in doUpdateSprites()
248 p.writeFloat(update.state.icon.hotSpotY); in doUpdateSprites()
408 mLocked.state.icon.hotSpotY != icon.hotSpotY || in setIcon()
411 mLocked.state.icon.hotSpotY = icon.hotSpotY; in setIcon()
/frameworks/base/core/jni/
Dandroid_view_PointerIcon.h39 float hotSpotY; member
50 hotSpotY = 0; in reset()
Dandroid_view_PointerIcon.cpp54 icon.hotSpotY = env->GetFloatField(pointerIconObj, gPointerIconClassInfo.mHotSpotY); in android_view_PointerIcon_toNative()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp141 icon->hotSpotY = hotSpot.second; in loadPointerIconForType()
243 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F()
258 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F()
285 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F()
295 float hotSpotY = 20; in TEST_F() local
300 icon.hotSpotY = hotSpotY; in TEST_F()
307 Field(&SpriteIcon::hotSpotY, hotSpotY)))); in TEST_F()
/frameworks/base/core/java/android/view/
DPointerIcon.java324 float hotSpotY) { in create() argument
328 validateHotSpot(bitmap, hotSpotX, hotSpotY, false /* isScaled */); in create()
333 icon.mHotSpotY = hotSpotY; in create()
489 final float hotSpotY; in loadResource() local
498 hotSpotY = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0) in loadResource()
568 validateHotSpot(bitmap, hotSpotX, hotSpotY, true /* isScaled */); in loadResource()
572 mHotSpotY = hotSpotY; in loadResource()
582 private static void validateHotSpot(Bitmap bitmap, float hotSpotX, float hotSpotY, in validateHotSpot() argument
590 if (hotSpotY < 0 || (isScaled ? (int) hotSpotY > bitmap.getHeight() in validateHotSpot()
591 : hotSpotY >= bitmap.getHeight())) { in validateHotSpot()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp240 pointerIcon.hotSpotY, pointerIcon.drawNativeDropShadow); in toSpriteIcon()
1670 pointerIcon.hotSpotX, pointerIcon.hotSpotY, in loadAdditionalMouseResources()
1675 pointerIcon.hotSpotY, in loadAdditionalMouseResources()
2489 pointerIcon.hotSpotY, pointerIcon.drawNativeDropShadow); in nativeSetPointerIcon()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt950 field public static final int hotSpotY = 16844056; // 0x1010518
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75273 Lcom/android/internal/R$attr;->hotSpotY:I