Android Open Source - owncloud-gallery Debug Utils






From Project

Back to project page owncloud-gallery.

License

The source code is released under:

GNU General Public License

If you think the Android project owncloud-gallery listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package md.steuer.mobile.utils;
//from w w  w.jav  a2  s  . c  o m
import org.robovm.apple.uikit.UIView;

public class DebugUtils {
    public static void debugUI(UIView v, int depth) {
  System.out.println(String.format("%s: %s\t%s\t%s\t%s\t%s", depth, v
    .getClass().getSimpleName(), v.getBounds().getMinX(), v
    .getBounds().getMinY(), v.getBounds().getWidth(), v.getBounds()
    .getHeight()));
  depth++;
  for (UIView childView : v.getSubviews()) {
      debugUI(childView, depth);
  }
    }
}




Java Source Code List

library.OwncloudHelper.java
library.Properties.java
library.TrustModifier.java
library.VerifyHostnameCallable.java
library.VerifyHostnameResult.java
md.steuer.mobile.owncloudgallery.MainActivity.java
md.steuer.mobile.owncloudgallery.OwncloudGallery.java
md.steuer.mobile.owncloudgallery.viewcontroller.GalleryViewController.java
md.steuer.mobile.owncloudgallery.viewcontroller.HelpViewController.java
md.steuer.mobile.owncloudgallery.viewcontroller.LoginViewController.java
md.steuer.mobile.utils.DebugUtils.java
md.steuer.mobile.utils.TextFieldKeyboardDelegate.java