Class Overview
Collection of utility functions used in this package.
Summary
Public Methods |
static
void
|
Assert(boolean cond)
|
static
void
|
closeSilently(Closeable c)
|
static
void
|
closeSilently(ParcelFileDescriptor c)
|
static
Intent
|
createSetAsIntent(Uri uri, String mimeType)
|
static
boolean
|
equals(String a, String b)
|
static
Bitmap
|
extractMiniThumb(Bitmap source, int width, int height, boolean recycle)
|
static
Bitmap
|
extractMiniThumb(Bitmap source, int width, int height)
Creates a centered bitmap of the desired size.
|
static
<T>
int
|
indexOf(T[] array, T s)
|
static
void
|
openMaps(Context context, double latitude, double longitude)
|
static
Bitmap
|
rotate(Bitmap b, int degrees)
|
static
void
|
startBackgroundJob(MonitoredActivity activity, String title, String message, Runnable job, Handler handler)
|
static
Bitmap
|
transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, boolean scaleUp)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Methods
public
static
void
Assert
(boolean cond)
public
static
void
closeSilently
(Closeable c)
public
static
Bitmap
extractMiniThumb
(Bitmap source, int width, int height, boolean recycle)
public
static
Bitmap
extractMiniThumb
(Bitmap source, int width, int height)
Creates a centered bitmap of the desired size. Recycles the input.
public
static
int
indexOf
(T[] array, T s)
public
static
void
openMaps
(Context context, double latitude, double longitude)
public
static
Bitmap
transform
(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, boolean scaleUp)