Back to project page wannabe.
The source code is released under:
MIT License
If you think the Android project wannabe listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
// Copyright 2013 Patrick Forhan. package wannabe.util; public class UIs { public static int pxToCells(int lengthPx, int cellSizePx) { return lengthPx / cellSizePx; } }