Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/view/
DPointerIconCompat.java114 Object create(Bitmap bitmap, float hotSpotX, float hotSpotY); in create() argument
125 public Object create(Bitmap bitmap, float hotSpotX, float hotSpotY) { in create() argument
142 public Object create(Bitmap bitmap, float hotSpotX, float hotSpotY) { in create() argument
143 return PointerIconCompatApi24.create(bitmap, hotSpotX, hotSpotY); in create()
188 public static PointerIconCompat create(Bitmap bitmap, float hotSpotX, float hotSpotY) { in create() argument
189 return new PointerIconCompat(IMPL.create(bitmap, hotSpotX, hotSpotY)); in create()
/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()
63 float hotSpotX; member
69 return SpriteIcon(bitmapCopy, hotSpotX, hotSpotY); in copy()
74 hotSpotX = 0; in reset()
DSpriteController.cpp275 update.state.positionX - update.state.icon.hotSpotX, in doUpdateSprites()
412 || mLocked.state.icon.hotSpotX != icon.hotSpotX in setIcon()
414 mLocked.state.icon.hotSpotX = icon.hotSpotX; in setIcon()
/frameworks/base/core/java/android/view/
DPointerIcon.java257 public static PointerIcon create(@NonNull Bitmap bitmap, float hotSpotX, float hotSpotY) { in create() argument
261 validateHotSpot(bitmap, hotSpotX, hotSpotY); in create()
265 icon.mHotSpotX = hotSpotX; in create()
347 float hotSpotX = in.readFloat();
349 return PointerIcon.create(bitmap, hotSpotX, hotSpotY);
402 final float hotSpotX; in loadResource() local
410 hotSpotX = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotX, 0); in loadResource()
466 mHotSpotX = hotSpotX; in loadResource()
470 private static void validateHotSpot(Bitmap bitmap, float hotSpotX, float hotSpotY) { in validateHotSpot() argument
471 if (hotSpotX < 0 || hotSpotX >= bitmap.getWidth()) { in validateHotSpot()
/frameworks/support/v4/api24/android/support/v4/view/
DPointerIconCompatApi24.java29 public static Object create(Bitmap bitmap, float hotSpotX, float hotSpotY) { in create() argument
30 return PointerIcon.create(bitmap, hotSpotX, hotSpotY); in create()
/frameworks/base/core/jni/
Dandroid_view_PointerIcon.h72 float hotSpotX; member
84 hotSpotX = 0; in reset()
Dandroid_view_PointerIcon.cpp82 outPointerIcon->hotSpotX = env->GetFloatField(pointerIconObj, gPointerIconClassInfo.mHotSpotX); in android_view_PointerIcon_getLoadedIcon()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp161 outSpriteIcon->hotSpotX = outPointerIcon->hotSpotX; in loadSystemIconAsSpriteWithPointerIcon()
1055 *icon = SpriteIcon(pointerIcon.bitmap, pointerIcon.hotSpotX, pointerIcon.hotSpotY); in loadPointerIcon()
1088 pointerIcon.bitmap, pointerIcon.hotSpotX, pointerIcon.hotSpotY)); in loadAdditionalMouseResources()
1091 pointerIcon.bitmapFrames[i], pointerIcon.hotSpotX, pointerIcon.hotSpotY)); in loadAdditionalMouseResources()
1469 spriteIcon.hotSpotX = pointerIcon.hotSpotX; in nativeSetCustomPointerIcon()
/frameworks/base/api/
Dcurrent.txt657 field public static final int hotSpotX = 16844055; // 0x1010517
Dsystem-current.txt764 field public static final int hotSpotX = 16844055; // 0x1010517
Dtest-current.txt657 field public static final int hotSpotX = 16844055; // 0x1010517