Searched refs:hotSpotY (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 161 public static PointerIcon createCustomIcon(Bitmap bitmap, float hotSpotX, float hotSpotY) { in createCustomIcon() argument 165 validateHotSpot(bitmap, hotSpotX, hotSpotY); in createCustomIcon() 170 icon.mHotSpotY = hotSpotY; in createCustomIcon() 325 float hotSpotY = in.readFloat(); 326 return PointerIcon.createCustomIcon(bitmap, hotSpotX, hotSpotY); 380 final float hotSpotY; in loadResource() local 388 hotSpotY = a.getFloat(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0); in loadResource() 409 mHotSpotY = hotSpotY; in loadResource() 412 private static void validateHotSpot(Bitmap bitmap, float hotSpotX, float hotSpotY) { in validateHotSpot() argument 416 if (hotSpotY < 0 || hotSpotY >= bitmap.getHeight()) { in validateHotSpot()
|
/frameworks/base/services/input/ |
D | SpriteController.h | 58 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 69 return SpriteIcon(bitmapCopy, hotSpotX, hotSpotY); in copy() 75 hotSpotY = 0; in reset()
|
D | SpriteController.cpp | 272 update.state.positionY - update.state.icon.hotSpotY); in doUpdateSprites() 408 || mLocked.state.icon.hotSpotY != icon.hotSpotY) { in setIcon() 410 mLocked.state.icon.hotSpotY = icon.hotSpotY; in setIcon()
|
/frameworks/base/core/jni/ |
D | android_view_PointerIcon.h | 50 float hotSpotY; member 60 hotSpotY = 0; in reset()
|
D | android_view_PointerIcon.cpp | 75 outPointerIcon->hotSpotY = env->GetFloatField(loadedPointerIconObj, in android_view_PointerIcon_load()
|
/frameworks/base/services/jni/ |
D | com_android_server_input_InputManagerService.cpp | 140 outSpriteIcon->hotSpotY = pointerIcon.hotSpotY; in loadSystemIconAsSprite() 481 pointerIcon.hotSpotX, pointerIcon.hotSpotY)); in obtainPointerController()
|