public class Util
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PUBLIC_LOG_TAG |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static boolean |
deviceSupportsTorch(android.content.Context context) |
static java.lang.String |
getNativeMemoryStats() |
static boolean |
hardwareSupported() |
static boolean |
hasConfigFlag(int config,
int configFlag) |
static void |
logNativeMemoryStats() |
static java.lang.String |
manifestHasConfigChange(android.content.pm.ResolveInfo resolveInfo,
java.lang.Class activityClass) |
static android.graphics.Rect |
rectGivenCenter(android.graphics.Point center,
int width,
int height) |
static void |
setupTextPaintStyle(android.graphics.Paint paint) |
public static final java.lang.String PUBLIC_LOG_TAG
public static boolean deviceSupportsTorch(android.content.Context context)
public static java.lang.String manifestHasConfigChange(android.content.pm.ResolveInfo resolveInfo, java.lang.Class activityClass)
public static boolean hasConfigFlag(int config, int configFlag)
public static boolean hardwareSupported()
public static java.lang.String getNativeMemoryStats()
public static void logNativeMemoryStats()
public static android.graphics.Rect rectGivenCenter(android.graphics.Point center, int width, int height)
public static void setupTextPaintStyle(android.graphics.Paint paint)
Copyright © 2012 PayPal, Inc. All Rights Reserved.