Back to project page 24hAnalogWidget.
The source code is released under:
GNU General Public License
If you think the Android project 24hAnalogWidget listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package info.staticfree.android.twentyfourhour.overlay; //w ww. ja v a 2 s . c om import java.util.Calendar; import android.graphics.Canvas; /** * * An overlay for a clock dial. * * @author <a href="mailto:steve@staticfree.info">Steve Pomeroy</a> * */ public interface DialOverlay { /** * Subclasses should implement this to draw the overlay. * * @param canvas * the canvas onto which you must draw * @param cX * the x coordinate of the center * @param cY * the y coordinate of the center * @param w * the width of the canvas * @param h * the height of the canvas * @param calendar * the desired date/time */ public abstract void onDraw(Canvas canvas, int cX, int cY, int w, int h, Calendar calendar, boolean sizeChanged); }