Searched refs:hotSpotX (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/input/ |
D | SpriteIcon.h | 31 explicit SpriteIcon(const graphics::Bitmap& bitmap, PointerIconStyle style, float hotSpotX, in SpriteIcon() 35 hotSpotX(hotSpotX), in SpriteIcon() 41 float hotSpotX{};
|
D | SpriteController.cpp | 226 update.state.positionX - update.state.icon.hotSpotX, in doUpdateSprites() 247 p.writeFloat(update.state.icon.hotSpotX); in doUpdateSprites() 407 if (!mLocked.state.icon.isValid() || mLocked.state.icon.hotSpotX != icon.hotSpotX || in setIcon() 410 mLocked.state.icon.hotSpotX = icon.hotSpotX; in setIcon()
|
/frameworks/base/libs/input/tests/ |
D | PointerController_test.cpp | 140 icon->hotSpotX = hotSpot.first; in loadPointerIconForType() 242 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F() 257 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F() 284 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F() 294 float hotSpotX = 15; in TEST_F() local 299 icon.hotSpotX = hotSpotX; in TEST_F() 306 Field(&SpriteIcon::hotSpotX, hotSpotX), in TEST_F()
|
/frameworks/base/core/jni/ |
D | android_view_PointerIcon.h | 38 float hotSpotX; member 49 hotSpotX = 0; in reset()
|
D | android_view_PointerIcon.cpp | 53 icon.hotSpotX = env->GetFloatField(pointerIconObj, gPointerIconClassInfo.mHotSpotX); in android_view_PointerIcon_toNative()
|
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 323 public static @NonNull PointerIcon create(@NonNull Bitmap bitmap, float hotSpotX, in create() argument 328 validateHotSpot(bitmap, hotSpotX, hotSpotY, false /* isScaled */); in create() 332 icon.mHotSpotX = hotSpotX; in create() 488 final float hotSpotX; in loadResource() local 496 hotSpotX = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotX, 0) in loadResource() 568 validateHotSpot(bitmap, hotSpotX, hotSpotY, true /* isScaled */); in loadResource() 571 mHotSpotX = hotSpotX; in loadResource() 582 private static void validateHotSpot(Bitmap bitmap, float hotSpotX, float hotSpotY, in validateHotSpot() argument 586 if (hotSpotX < 0 || (isScaled ? (int) hotSpotX > bitmap.getWidth() in validateHotSpot() 587 : hotSpotX >= bitmap.getWidth())) { in validateHotSpot()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 239 return SpriteIcon(pointerIcon.bitmap, pointerIcon.style, pointerIcon.hotSpotX, in toSpriteIcon() 1670 pointerIcon.hotSpotX, pointerIcon.hotSpotY, in loadAdditionalMouseResources() 1674 pointerIcon.style, pointerIcon.hotSpotX, in loadAdditionalMouseResources() 2488 pointerIcon.style, pointerIcon.hotSpotX, in nativeSetPointerIcon()
|
/frameworks/base/core/api/ |
D | current.txt | 949 field public static final int hotSpotX = 16844055; // 0x1010517
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 75272 Lcom/android/internal/R$attr;->hotSpotX:I
|