Lines Matching defs:hotSpotY
154 * @param hotspotY The Y offset of the pointer icon hotspot in the bitmap.
161 public static PointerIcon createCustomIcon(Bitmap bitmap, float hotSpotX, float hotSpotY) {
165 validateHotSpot(bitmap, hotSpotX, hotSpotY);
170 icon.mHotSpotY = hotSpotY;
183 * android:hotSpotY="24" />
325 float hotSpotY = in.readFloat();
326 return PointerIcon.createCustomIcon(bitmap, hotSpotX, hotSpotY);
380 final float hotSpotY;
388 hotSpotY = a.getFloat(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0);
409 mHotSpotY = hotSpotY;
412 private static void validateHotSpot(Bitmap bitmap, float hotSpotX, float hotSpotY) {
416 if (hotSpotY < 0 || hotSpotY >= bitmap.getHeight()) {