Home | History | Annotate | Download | only in views

Lines Matching refs:pin

15     private Bitmap pin;
34 pin = BitmapFactory.decodeResource(this.getResources(), drawable.pushpin_blue);
35 float w = (density/420f) * pin.getWidth();
36 float h = (density/420f) * pin.getHeight();
37 pin = Bitmap.createScaledBitmap(pin, (int)w, (int)h, true);
44 // Don't draw pin before image is ready so it doesn't move around during setup.
51 if (sPin != null && pin != null) {
53 float vX = vPin.x - (pin.getWidth()/2);
54 float vY = vPin.y - pin.getHeight();
55 canvas.drawBitmap(pin, vX, vY, paint);