Lines Matching defs:bitmap
114 Object create(Bitmap bitmap, float hotSpotX, float hotSpotY);
125 public Object create(Bitmap bitmap, float hotSpotX, float hotSpotY) {
142 public Object create(Bitmap bitmap, float hotSpotX, float hotSpotY) {
143 return PointerIconCompatApi24.create(bitmap, hotSpotX, hotSpotY);
176 * Creates a custom pointer from the given bitmap and hotspot information.
178 * @param bitmap The bitmap for the icon.
179 * @param hotSpotX The X offset of the pointer icon hotspot in the bitmap.
180 * Must be within the [0, bitmap.getWidth()) range.
181 * @param hotSpotY The Y offset of the pointer icon hotspot in the bitmap.
182 * Must be within the [0, bitmap.getHeight()) range.
183 * @return A pointer icon for this bitmap.
185 * @throws IllegalArgumentException if bitmap is null, or if the x/y hotspot
188 public static PointerIconCompat create(Bitmap bitmap, float hotSpotX, float hotSpotY) {
189 return new PointerIconCompat(IMPL.create(bitmap, hotSpotX, hotSpotY));
199 * android:bitmap="@drawable/my_pointer_bitmap"