Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DSpriteIcon.h29 inline SpriteIcon() : style(0), hotSpotX(0), hotSpotY(0) { } in SpriteIcon()
30 inline SpriteIcon(const SkBitmap& bitmap, int32_t style, float hotSpotX, float hotSpotY) : in SpriteIcon()
31 bitmap(bitmap), style(style), hotSpotX(hotSpotX), hotSpotY(hotSpotY) { } in SpriteIcon()
35 float hotSpotX; member
44 return SpriteIcon(bitmapCopy, style, hotSpotX, hotSpotY); in copy()
50 hotSpotX = 0; in reset()
DSpriteController.cpp225 update.state.positionX - update.state.icon.hotSpotX, in doUpdateSprites()
245 p.writeFloat(update.state.icon.hotSpotX); in doUpdateSprites()
370 || mLocked.state.icon.hotSpotX != icon.hotSpotX in setIcon()
372 mLocked.state.icon.hotSpotX = icon.hotSpotX; in setIcon()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp126 icon->hotSpotX = hotSpot.first; in loadPointerIconForType()
204 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F()
220 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F()
230 float hotSpotX = 15; in TEST_F() local
235 icon.hotSpotX = hotSpotX; in TEST_F()
243 Field(&SpriteIcon::hotSpotX, hotSpotX), in TEST_F()
/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()
297 icon.mHotSpotX = hotSpotX; in create()
380 float hotSpotX = in.readFloat();
382 return PointerIcon.create(bitmap, hotSpotX, hotSpotY);
462 final float hotSpotX; in loadResource() local
470 hotSpotX = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotX, 0); in loadResource()
527 validateHotSpot(bitmap, hotSpotX, hotSpotY); in loadResource()
530 mHotSpotX = hotSpotX; in loadResource()
534 private static void validateHotSpot(Bitmap bitmap, float hotSpotX, float hotSpotY) { in validateHotSpot() argument
[all …]
/frameworks/base/core/jni/
Dandroid_view_PointerIcon.h72 float hotSpotX; member
84 hotSpotX = 0; in reset()
Dandroid_view_PointerIcon.cpp85 outPointerIcon->hotSpotX = env->GetFloatField(pointerIconObj, gPointerIconClassInfo.mHotSpotX); in android_view_PointerIcon_getLoadedIcon()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp170 outSpriteIcon->hotSpotX = outPointerIcon->hotSpotX; in loadSystemIconAsSpriteWithPointerIcon()
1230 pointerIcon.bitmap, pointerIcon.style, pointerIcon.hotSpotX, pointerIcon.hotSpotY); in loadPointerIcon()
1272 pointerIcon.hotSpotX, pointerIcon.hotSpotY)); in loadAdditionalMouseResources()
1276 pointerIcon.hotSpotX, pointerIcon.hotSpotY)); in loadAdditionalMouseResources()
1717 spriteIcon.hotSpotX = pointerIcon.hotSpotX; in nativeSetCustomPointerIcon()
/frameworks/base/non-updatable-api/
Dcurrent.txt724 field public static final int hotSpotX = 16844055; // 0x1010517
/frameworks/base/api/
Dcurrent.txt724 field public static final int hotSpotX = 16844055; // 0x1010517
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90344 Lcom/android/internal/R$attr;->hotSpotX:I