JavaScript is disabled on your browser.
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
C
D
E
F
G
H
I
L
M
P
Q
S
T
V
A
ActivityUtils
- Class in
com.percolate.caffeine
Utility methods for common Activity code
ActivityUtils()
- Constructor for class com.percolate.caffeine.
ActivityUtils
appendText(TextView, String)
- Static method in class com.percolate.caffeine.
ViewUtils
Append given text String to the provided view (one of TextView or EditText).
C
closeDialogListener()
- Static method in class com.percolate.caffeine.
DialogUtils
Simple listener event that closes the current dialog event when fired.
closeKeyboard(Context, View)
- Static method in class com.percolate.caffeine.
ViewUtils
Go away keyboard, nobody likes you.
com.percolate.caffeine
- package com.percolate.caffeine
CountUtil
- Class in
com.percolate.caffeine
Utility methods for formatting counts
CountUtil()
- Constructor for class com.percolate.caffeine.
CountUtil
D
DialogUtils
- Class in
com.percolate.caffeine
Utility methods used to show a quick pop-up dialog.
DialogUtils()
- Constructor for class com.percolate.caffeine.
DialogUtils
dpToPx(Context, int)
- Static method in class com.percolate.caffeine.
MiscUtils
dip to px conversion.
E
enableStrictModeForDevRelease()
- Static method in class com.percolate.caffeine.
StrictModeUtils
Turn on Strict Mode options.
F
findViewById(Activity, int)
- Static method in class com.percolate.caffeine.
ViewUtils
Utility method to make getting a View via findViewById() more safe & simple.
findViewById(View, int)
- Static method in class com.percolate.caffeine.
ViewUtils
Utility method to make getting a View via findViewById() more safe & simple.
G
getApplicationName(Context)
- Static method in class com.percolate.caffeine.
MiscUtils
Get application name from Manifest file.
getExtraObject(Activity, String)
- Static method in class com.percolate.caffeine.
ActivityUtils
Used to get the parameter values passed into Activity via a Bundle.
getExtraString(Activity, String)
- Static method in class com.percolate.caffeine.
ActivityUtils
Used to get the parameter values passed into Activity via a Bundle.
getFormattedCount(int)
- Static method in class com.percolate.caffeine.
CountUtil
getFormattedCount(String)
- Static method in class com.percolate.caffeine.
CountUtil
getFormattedCount(Long)
- Static method in class com.percolate.caffeine.
CountUtil
Used to format a given number into a short representation.
getText(TextView)
- Static method in class com.percolate.caffeine.
ViewUtils
Get text as String from EditView.
getText(Activity, int)
- Static method in class com.percolate.caffeine.
ViewUtils
Get text as String from EditView.
getVersionCode(Context)
- Static method in class com.percolate.caffeine.
MiscUtils
Get the "android:versionCode" value from the Manifest file.
getVersionName(Context)
- Static method in class com.percolate.caffeine.
MiscUtils
Get the "android:versionName" value from the Manifest file.
H
hideView(Activity, int)
- Static method in class com.percolate.caffeine.
ViewUtils
Sets visibility of the given view to
View.GONE
.
I
isConnectedMobile(Context)
- Static method in class com.percolate.caffeine.
PhoneUtils
Check if there is any connectivity to a mobile network
Can be used in combination with
PhoneUtils.isConnectedWifi(android.content.Context)
to provide different features if the device is on a wifi network or a cell network.
isConnectedWifi(Context)
- Static method in class com.percolate.caffeine.
PhoneUtils
Check if there is any connectivity to a Wifi network.
isNetworkAvailable(Context)
- Static method in class com.percolate.caffeine.
PhoneUtils
Checks to see if the device is connected to a network (cell, wifi, etc).
isRotationEnabled(Context)
- Static method in class com.percolate.caffeine.
PhoneUtils
Checks to see if the user has rotation enabled/disabled in their phone settings.
isValidEmail(String)
- Static method in class com.percolate.caffeine.
MiscUtils
Uses androids android.util.Patterns.EMAIL_ADDRESS to check if an email address is valid.
isValidPhoneNumber(String)
- Static method in class com.percolate.caffeine.
MiscUtils
Uses androids android.telephony.PhoneNumberUtils to check if an phone number is valid.
isValidURL(String)
- Static method in class com.percolate.caffeine.
MiscUtils
Uses androids android.util.Patterns.WEB_URL to check if an url is valid.
L
launchActivity(Activity, Class<? extends Activity>, boolean, Map<String, String>)
- Static method in class com.percolate.caffeine.
ActivityUtils
Launch an Activity.
launchActivity(Activity, Class<? extends Activity>, boolean)
- Static method in class com.percolate.caffeine.
ActivityUtils
M
MiscUtils
- Class in
com.percolate.caffeine
A class for toys that do not have a home.
MiscUtils()
- Constructor for class com.percolate.caffeine.
MiscUtils
P
PhoneUtils
- Class in
com.percolate.caffeine
Common phone utility methods
PhoneUtils()
- Constructor for class com.percolate.caffeine.
PhoneUtils
Q
quickDialog(Activity, String)
- Static method in class com.percolate.caffeine.
DialogUtils
Show a model dialog box.
quickToast(Context, String)
- Static method in class com.percolate.caffeine.
ToastUtils
Display a toast with the given message (Length will be Toast.LENGTH_SHORT -- approx 2 sec).
quickToast(Context, String, boolean)
- Static method in class com.percolate.caffeine.
ToastUtils
Display a toast with the given message.
S
setText(Activity, int, String)
- Static method in class com.percolate.caffeine.
ViewUtils
Method used to set text for a TextView
setText(View, int, String)
- Static method in class com.percolate.caffeine.
ViewUtils
Method used to set text for a TextView
showKeyboard(Context, View)
- Static method in class com.percolate.caffeine.
ViewUtils
Show the pop-up keyboard
showView(Activity, int)
- Static method in class com.percolate.caffeine.
ViewUtils
Sets visibility of the given view to
View.VISIBLE
.
StrictModeUtils
- Class in
com.percolate.caffeine
Used to turn on strict mode for Dev builds
StrictModeUtils()
- Constructor for class com.percolate.caffeine.
StrictModeUtils
T
ToastUtils
- Class in
com.percolate.caffeine
Toast message utilities.
ToastUtils()
- Constructor for class com.percolate.caffeine.
ToastUtils
turnScreenOn(Activity)
- Static method in class com.percolate.caffeine.
ActivityUtils
Force screen to turn on if the phone is asleep.
V
viewToImage(Context, WebView)
- Static method in class com.percolate.caffeine.
ViewUtils
Convert view to an image.
ViewUtils
- Class in
com.percolate.caffeine
Utility methods that make working with views easier, less error prone, and more concise.
ViewUtils()
- Constructor for class com.percolate.caffeine.
ViewUtils
A
C
D
E
F
G
H
I
L
M
P
Q
S
T
V
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes