Skip navigation links
$ A B C D E F G H I J L M N O P Q R S T U V W X Y 

$

$(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$$(int, Class<T>) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that are instances of the given class.
$$(ViewGroup, Class<T>) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that are instances of the given class.
$$(int, Class<? extends View>...) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that are instances of one of the given classes.
$$(ViewGroup, Class<? extends View>...) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that are instances of one of the given classes.
$$(int, Object) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that use the given tag.
$$(ViewGroup, Object) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that use the given tag.
$A() - Method in class stanford.androidlib.SimpleFragment
Returns the activity that contains this fragment as a SimpleActivity.
$B(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$B(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$CB(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$CB(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$CV(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$CV(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$DP(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$DP(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$ET(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$ET(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$F(int) - Method in class stanford.androidlib.SimpleActivity
Returns a fragment with the given ID found inside this activity.
$GV(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$GV(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$IB(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$IB(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$IV(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$IV(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$LV(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$LV(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$PB(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$PB(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$RB(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$RB(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$RBar(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$RBar(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$RG(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$RG(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SB(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SB(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SCV(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SCV(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SEV(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SEV(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SP(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SP(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$Space(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$Space(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SV(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SV(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SW(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$SW(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$TB(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$TB(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$TBar(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$TBar(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$TP(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$TP(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$TV(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$TV(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$VG(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$VG(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$ZB(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
$ZB(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.

A

add(GObject) - Method in class stanford.androidlib.graphics.GCanvas
Adds the given GObject to this canvas.
add(GObject, float, float) - Method in class stanford.androidlib.graphics.GCanvas
Adds the given GObject to this canvas at the given x/y location.
add(GObject, GPoint) - Method in class stanford.androidlib.graphics.GCanvas
Adds the given GObject to this canvas at the given x/y location.
add(GObject) - Method in class stanford.androidlib.graphics.GCompound
Adds a new graphical object to this GCompound.
add(GObject, float, float) - Method in class stanford.androidlib.graphics.GCompound
Adds the graphical object to this canvas and sets its location to the point (xy).
add(GObject, GPoint) - Method in class stanford.androidlib.graphics.GCompound
Adds the graphical object to this canvas and sets its location to the specified point.
add(GRectangle) - Method in class stanford.androidlib.graphics.GRectangle
Adjusts the bounds of the current GRectangle so that it contains the rectangle represented by the argument.
add(float, float) - Method in class stanford.androidlib.graphics.GRectangle
Adds the specified point to the rectangle.
addAction(int, CharSequence, PendingIntent) - Method in class stanford.androidlib.SimpleNotification
 
addAction(int, int, PendingIntent) - Method in class stanford.androidlib.SimpleNotification
 
addAction(int, CharSequence, Class<? extends Activity>, Object...) - Method in class stanford.androidlib.SimpleNotification
 
addAction(int, CharSequence, Class<? extends Activity>, int, Object...) - Method in class stanford.androidlib.SimpleNotification
 
addAction(int, int, Class<? extends Activity>, Object...) - Method in class stanford.androidlib.SimpleNotification
 
addAction(int, int, Class<? extends Activity>, int, Object...) - Method in class stanford.androidlib.SimpleNotification
 
addAction(Notification.Action) - Method in class stanford.androidlib.SimpleNotification
 
addAction(NotificationCompat.Action) - Method in class stanford.androidlib.SimpleNotification
 
addArc(float, float, float, float) - Method in class stanford.androidlib.graphics.GPolygon
Adds a series of edges to the polygon that simulates the arc specified by the parameters.
addEdge(float, float) - Method in class stanford.androidlib.graphics.GPolygon
Adds an edge to the polygon whose components are given by the displacements dx and dy from the last vertex.
addExtras(Bundle) - Method in class stanford.androidlib.SimpleNotification
 
addFragment(int, Class<? extends Fragment>) - Method in class stanford.androidlib.SimpleActivity
Creates a fragment object from the given class and adds it to this activity in the view container with the given ID.
addFragment(int, Fragment) - Method in class stanford.androidlib.SimpleActivity
Adds the given fragment to this activity in the view container with the given ID.
addPerson(String) - Method in class stanford.androidlib.SimpleNotification
 
addPolarEdge(float, float) - Method in class stanford.androidlib.graphics.GPolygon
Adds an edge to the polygon specified in polar coordinates.
addTo(GCanvas) - Method in class stanford.androidlib.graphics.GObject
Adds this GObject to the given graphical canvas.
addTo(GCanvas, float, float) - Method in class stanford.androidlib.graphics.GObject
Adds this GObject to the given graphical canvas.
addTo(GCanvas, GPoint) - Method in class stanford.androidlib.graphics.GObject
Adds this GObject to the given graphical canvas.
addTo(GCanvas) - Method in class stanford.androidlib.graphics.GSprite
Adds this sprite to the given graphical canvas.
addTo(GCanvas, float, float) - Method in class stanford.androidlib.graphics.GSprite
Adds this sprite to the given graphical canvas.
addTo(GCanvas, GPoint) - Method in class stanford.androidlib.graphics.GSprite
Adds this GObject to the given graphical canvas.
addVertex(float, float) - Method in class stanford.androidlib.graphics.GPolygon
Adds a vertex at (x, y) relative to the polygon origin.
allowNetworkingOnMainThread() - Method in class stanford.androidlib.SimpleActivity
Instructs Android to allow your app to perform networking operations on the main thread.
AMP - Static variable in class stanford.androidlib.xml.XML
The ampersand character.
angle(float, float) - Static method in class stanford.androidlib.graphics.GMath
Returns the angle in degrees from the origin to the point (xy).
angle(float, float, float, float) - Static method in class stanford.androidlib.graphics.GMath
Computes the angle in degrees formed by a line segment from the point (x0y0) and (x1y1).
animate(int) - Method in class stanford.androidlib.SimpleCanvas
Begins animating this canvas with the given number of frames per second.
AnimationLoop - Class in stanford.androidlib
This class is a helper to wrap up some of the icky code needed to initiate an animation thread that repaints a view at regular intervals.
AnimationLoop(View, int) - Constructor for class stanford.androidlib.AnimationLoop
Constructs a new drawing thread to update the given view the given number of times per second.
animationPause() - Method in class stanford.androidlib.SimpleCanvas
Halts animation until animationResume or animate is called.
animationResume() - Method in class stanford.androidlib.SimpleCanvas
Continues animation that was previously started and paused.
animationStop() - Method in class stanford.androidlib.SimpleCanvas
Halts animation.
APOS - Static variable in class stanford.androidlib.xml.XML
The Character '''.
asJSON() - Method in class stanford.androidlib.data.SimpleRow
Returns this row's contents as a JSON object with the column names as the keys and the column values as the associated values for each key.
asList() - Method in class stanford.androidlib.data.SimpleRow
Returns this row's contents as a List with the column values as its values.
asMap() - Method in class stanford.androidlib.data.SimpleRow
Returns this row's contents as a Map with the column names as the keys and the column values as the associated values for each key.
asMap(Bundle) - Static method in class stanford.androidlib.util.CollectionUtils
Returns the key/value pairs from the given bundle as a Map.
asMap(Intent) - Static method in class stanford.androidlib.util.CollectionUtils
Returns the key/value pairs from the given intent's parameters as a Map.
audioOutExists() - Method in class stanford.androidlib.SimpleActivity
Returns true if the device has an audio output.
AutoSaveFields - Annotation Type in stanford.androidlib
This annotation can be placed at the top of a SimpleActivity class to make its fields auto-save themselves when that activity loads and unloads from memory.

B

BANG - Static variable in class stanford.androidlib.xml.XML
The Character '!'.
BLACK - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color black.
BLUE - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color blue.
bluetoothExists() - Method in class stanford.androidlib.SimpleActivity
Returns true if the device has Bluetooth capability.
bound() - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the bounds of its canvas.
bound(Canvas) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the bounds of the given canvas.
bound(RectF) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the bounds of the given rectangle.
bound(float, float, float, float) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the bounds of the given x/y area.
boundHorizontal() - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the horizontal (x) bounds of its canvas.
boundHorizontal(Canvas) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the horizontal (x) bounds of the given canvas.
boundHorizontal(RectF) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the horizontal (x) bounds of the given rectangle.
boundHorizontal(float, float) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the horizontal (x) bounds of the given x area.
boundVertical() - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the vertical (y) bounds of its canvas.
boundVertical(Canvas) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the vertical (y) bounds of the given canvas.
boundVertical(RectF) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the vertical (y) bounds of the given rectangle.
boundVertical(float, float) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite so that it is within the vertical (y) bounds of the given y area.
brighter(Paint) - Static method in class stanford.androidlib.graphics.GColor
Returns a new paint that is slightly brighter than the given paint.
BROWN - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color brown.

C

cameraExists() - Method in class stanford.androidlib.SimpleActivity
Returns true if the device has a camera.
cameraExists() - Method in class stanford.androidlib.SimpleCamera
Returns true if the device has a camera.
canvas - Variable in class stanford.androidlib.SimpleCanvas
 
clear() - Method in class stanford.androidlib.graphics.GPolygon
Calling this method deletes all vertices from the polygon and resets the scale and rotation factors to the their default values.
clearExtras() - Method in class stanford.androidlib.graphics.GSprite
Removes all extra properties inside this sprite.
clone() - Method in class stanford.androidlib.graphics.GPolygon
Overrides clone in Object to make sure that the vertex list is copied rather than shared.
close() - Method in class stanford.androidlib.data.SimpleCursor
 
CollectionUtils - Class in stanford.androidlib.util
This class contains some static methods related to Java collections that pertain to Android development.
collidesWith(GSprite) - Method in class stanford.androidlib.graphics.GSprite
Returns true if this sprite collides with the given other sprite.
contains(GObject) - Method in class stanford.androidlib.graphics.GCanvas
Returns whether this canvas contains the given graphical object.
contains(float, float) - Method in class stanford.androidlib.graphics.GCompound
Checks to see whether a point is "inside" the compound, which means that it is inside one of the components.
contains(float, float) - Method in class stanford.androidlib.graphics.GLine
Checks to see whether a point is inside the object.
contains(float, float) - Method in class stanford.androidlib.graphics.GObject
Checks to see whether a point is inside the object.
contains(GPoint) - Method in class stanford.androidlib.graphics.GObject
Checks to see whether a point is inside the object.
contains(float, float) - Method in class stanford.androidlib.graphics.GOval
Checks to see whether a point is inside the object.
contains(float, float) - Method in class stanford.androidlib.graphics.GPolygon
Checks to see whether a point is inside the object.
contains(float, float) - Method in class stanford.androidlib.graphics.GRectangle
Returns true if the GRectangle contains the specified point.
contains(GPoint) - Method in class stanford.androidlib.graphics.GRectangle
Returns true if the GRectangle contains the specified point.
contains(String) - Method in class stanford.androidlib.SimplePreferences
Returns true if this activity contains a preference with the given name.
containsShared(String, String) - Method in class stanford.androidlib.SimplePreferences
Returns true if this activity contains a shared preference with the given name in the given shared preference filename.
copyStringToBuffer(int, CharArrayBuffer) - Method in class stanford.androidlib.data.SimpleCursor
 
cosDegrees(float) - Static method in class stanford.androidlib.graphics.GMath
Returns the trigonometric cosine of its argument where angle is expressed in degrees.
create(String) - Method in class stanford.androidlib.data.SimpleDatabase
Creates a database with the given name, if it doesn't exist.
createAdapter(T...) - Method in class stanford.androidlib.SimpleList
Creates and returns an ArrayAdapter to store the given items.
createAdapter(int, int, T...) - Method in class stanford.androidlib.SimpleList
Creates and returns an ArrayAdapter to store the given items, using the given layout ID and TextView ID.
createAdapter(List<T>) - Method in class stanford.androidlib.SimpleList
Creates and returns an ArrayAdapter to store the given items.
createAdapter(List<T>, int, int) - Method in class stanford.androidlib.SimpleList
Creates and returns an ArrayAdapter to store the given items, using the given layout ID and TextView ID.
createDisplayBuffer(int, int) - Method in class stanford.androidlib.graphics.GCanvas
Sets the display buffer to a new empty bitmap image of the given size.
createFont(String) - Method in class stanford.androidlib.SimpleCanvas
Returns a new font typeface created using the given parameters.
createFont(String, int) - Method in class stanford.androidlib.SimpleCanvas
Returns a new font typeface created using the given parameters.
createFont(Typeface) - Method in class stanford.androidlib.SimpleCanvas
Returns a new font typeface created using the given parameters.
createFont(Typeface, int) - Method in class stanford.androidlib.SimpleCanvas
Returns a new font typeface created using the given parameters.
createPaint(int, int, int) - Method in class stanford.androidlib.SimpleCanvas
Returns a new Paint created using the given parameters.
createPaint(int, int, int, int) - Method in class stanford.androidlib.SimpleCanvas
Returns a new Paint created using the given parameters.
createPaint(int, int, int, int, Paint.Style) - Method in class stanford.androidlib.SimpleCanvas
Returns a new Paint created using the given parameters.
createRGBPixel(int, int, int) - Static method in class stanford.androidlib.graphics.GImage
Creates an opaque pixel value with the color components given by red, green, and blue.
createRGBPixel(int, int, int, int) - Static method in class stanford.androidlib.graphics.GImage
Creates a pixel value with the color components given by red, green, and blue and the transparency value alpha.
currency(double) - Method in class stanford.androidlib.SimpleLocalization
Returns a currency number string formatted for this locale.
currency(String, double) - Method in class stanford.androidlib.SimpleLocalization
Returns a currency number string formatted for the given currency.
currency(Currency, double) - Method in class stanford.androidlib.SimpleLocalization
Returns a currency number string formatted for the given currency.
currency(double, Locale) - Method in class stanford.androidlib.SimpleLocalization
Returns a currency number string formatted in the currency of the given locale.
CYAN - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color cyan.

D

DARK_GRAY - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color black.
darker(Paint) - Static method in class stanford.androidlib.graphics.GColor
Returns a new paint that is slightly darker than the given paint.
databaseExists(String) - Method in class stanford.androidlib.SimpleActivity
Returns true if a database with the given name exists.
date(Date) - Method in class stanford.androidlib.SimpleLocalization
Returns a date string formatted for this locale.
date(Date, Locale) - Method in class stanford.androidlib.SimpleLocalization
Returns a date string formatted for this locale.
deactivate() - Method in class stanford.androidlib.data.SimpleCursor
 
DEFAULT_FONT - Static variable in class stanford.androidlib.graphics.GLabel
The default font used to display strings.
delete(String) - Method in class stanford.androidlib.data.SimpleDatabase
Deletes the database with the given name, if it exists.
dial(String) - Method in class stanford.androidlib.SimpleActivity
Launches the system default phone dialer application to make a call to the given telephone number.
DialogAdapter() - Constructor for class stanford.androidlib.SimpleDialog.DialogAdapter
 
distance(float, float) - Static method in class stanford.androidlib.graphics.GMath
Computes the distance between the origin and the point (xy).
distance(float, float, float, float) - Static method in class stanford.androidlib.graphics.GMath
Computes the distance between the points (x0y0) and (x1y1).
doInBackground(String...) - Method in class stanford.androidlib.SimpleActivity
Required method of SimpleTask.TaskExecutor interface.
doInBackground(String...) - Method in class stanford.androidlib.SimpleFragment
Required method of SimpleTask.TaskExecutor interface.
doInBackground(String...) - Method in class stanford.androidlib.SimpleTask
Runs the task in the background on the given set of items.
doInBackground(String...) - Method in interface stanford.androidlib.SimpleTask.TaskExecutor
 
drawBitmap(Bitmap, int, int) - Method in class stanford.androidlib.SimpleCanvas
Draws the given bitmap image onto this canvas.
drawImage(Bitmap, int, int) - Method in class stanford.androidlib.SimpleCanvas
Draws the given bitmap image onto this canvas.
drawOval(int, int, int, int) - Method in class stanford.androidlib.SimpleCanvas
Draws the given oval onto this canvas.
drawOval(int, int, int, int, Paint) - Method in class stanford.androidlib.SimpleCanvas
Draws the given oval onto this canvas.
drawRect(int, int, int, int) - Method in class stanford.androidlib.SimpleCanvas
Draws the given rectangle onto this canvas.
drawRect(int, int, int, int, Paint) - Method in class stanford.androidlib.SimpleCanvas
Draws the given rectangle onto this canvas.
drawRoundRect(int, int, int, int, int, int) - Method in class stanford.androidlib.SimpleCanvas
Draws the given rounded rectangle onto this canvas.
drawRoundRect(int, int, int, int, int, int, Paint) - Method in class stanford.androidlib.SimpleCanvas
Draws the given rounded rectangle onto this canvas.
drawString(String, int, int) - Method in class stanford.androidlib.SimpleCanvas
Draws the given string onto this canvas.
drawText(String, int, int) - Method in class stanford.androidlib.SimpleCanvas
Draws the given string onto this canvas.
drawText(String, int, int, Paint) - Method in class stanford.androidlib.SimpleCanvas
Draws the given string onto this canvas.

E

enableKeyboardEvents() - Method in class stanford.androidlib.SimpleCanvas
Call this to indicate that you want your simple canvas to receive events when the user types keys.
ensureLegalColorComponent(int) - Static method in class stanford.androidlib.graphics.GColor
 
ensurePermission(String...) - Method in class stanford.androidlib.SimpleActivity
Checks whether the current app has all of the given permissions; if it does not have any, pops up a request for our application to acquire them.
EnterKeyPressSuppressor() - Constructor for class stanford.androidlib.SimpleEvents.EnterKeyPressSuppressor
 
entity - Static variable in class stanford.androidlib.xml.XMLTokener
The table of entity values.
EQ - Static variable in class stanford.androidlib.xml.XML
The Character '='.
equals(Object) - Method in class stanford.androidlib.graphics.GDimension
Tests whether two GDimension objects are equal.
equals(Object) - Method in class stanford.androidlib.graphics.GPoint
Tests whether two GPoint objects are equal.
equals(Object) - Method in class stanford.androidlib.graphics.GRectangle
Tests whether two GRectangle objects are equal.
escape(String) - Method in class stanford.androidlib.data.SimpleDatabase
Escapes/quotes a string for use as a parameter in an SQL query.
escape(String) - Static method in class stanford.androidlib.xml.XML
Replace special characters with XML escapes:
event(int, String) - Method in class stanford.androidlib.SimpleActivity
Attaches an event listener for the appropriate event that will call a method whose name is the same as the given event name, passing it the given parameters as appropriate.
event(View, String) - Method in class stanford.androidlib.SimpleActivity
Attaches an event listener for the appropriate event that will call a method whose name is the same as the given event name, passing it the given parameters as appropriate.
event(int, String, String, Object...) - Method in class stanford.androidlib.SimpleActivity
Attaches an event listener for the appropriate event that will call the method with the given name, passing it the given parameters as appropriate.
event(View, String, String, Object...) - Method in class stanford.androidlib.SimpleActivity
Attaches an event listener for the appropriate event that will call the method with the given name, passing it the given parameters as appropriate.
executeSqlFile(String) - Method in class stanford.androidlib.data.SimpleDatabase
Reads the .sql file with the given name and executes all SQL statements inside it, placing them into a database with the same name as the file.
executeSqlFile(String, SimpleDatabase.QueryProgressListener) - Method in class stanford.androidlib.data.SimpleDatabase
Reads the .sql file with the given name and executes all SQL statements inside it, placing them into a database with the same name as the file.
executeSqlFile(String, String, SimpleDatabase.QueryProgressListener) - Method in class stanford.androidlib.data.SimpleDatabase
Reads the .sql file with the given name and executes all SQL statements inside it, placing them into the database with the given name.
executeSqlFile(SQLiteDatabase, int) - Method in class stanford.androidlib.data.SimpleDatabase
Reads the .sql file with the given resource ID and executes all SQL statements inside it using the given database.
executeSqlFile(SQLiteDatabase, int, SimpleDatabase.QueryProgressListener) - Method in class stanford.androidlib.data.SimpleDatabase
Reads the .sql file with the given resource ID and executes all SQL statements inside it using the given database.
exists(String) - Method in class stanford.androidlib.data.SimpleDatabase
Returns true if a database with the given name exists.
extend(NotificationCompat.Extender) - Method in class stanford.androidlib.SimpleNotification
 

F

find(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
find(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
findButton(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findButton(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findById(int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
findById(View, int) - Method in class stanford.androidlib.SimpleActivity
An alias for findViewById, but written in such a way that the caller does not need to typecast the returned result.
findCalendarView(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findCalendarView(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findCheckBox(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findCheckBox(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findChildren(int, Class<T>) - Method in class stanford.androidlib.SimpleActivity
Returns all direct children of this view group that are instances of the given class.
findChildren(ViewGroup, Class<T>) - Method in class stanford.androidlib.SimpleActivity
Returns all direct children of this view group that are instances of the given class.
findChildren(int, Class<? extends View>...) - Method in class stanford.androidlib.SimpleActivity
Returns all direct children of this view group that are instances of one of the given classes.
findChildren(ViewGroup, Class<? extends View>...) - Method in class stanford.androidlib.SimpleActivity
Returns all direct children of this view group that are instances of one of the given classes.
findChildren(int, Object) - Method in class stanford.androidlib.SimpleActivity
Returns all direct children of this view group that use the given tag.
findChildren(ViewGroup, Object) - Method in class stanford.androidlib.SimpleActivity
Returns all direct children of this view group that use the given tag.
findChildren(int, Class<T>) - Method in class stanford.androidlib.SimpleView
Returns all direct children of this view group that are instances of the given View class.
findChildren(ViewGroup, Class<T>) - Method in class stanford.androidlib.SimpleView
Returns all direct children of this view group that are instances of the given View class.
findChildren(int, Class<? extends View>...) - Method in class stanford.androidlib.SimpleView
Returns all direct children of this view group that are instances of one of the given classes.
findChildren(ViewGroup, Class<? extends View>...) - Method in class stanford.androidlib.SimpleView
Returns all direct children of this view group that are instances of one of the given classes.
findChildren(int, Object) - Method in class stanford.androidlib.SimpleView
Returns all direct children of this view group that use the given "tag".
findChildren(ViewGroup, Object) - Method in class stanford.androidlib.SimpleView
Returns all direct children of this view group that use the given "tag".
findDatePicker(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findDatePicker(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findDescendents(int, Class<T>) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that are instances of the given class.
findDescendents(ViewGroup, Class<T>) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that are instances of the given class.
findDescendents(int, Class<? extends View>...) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that are instances of one of the given classes.
findDescendents(ViewGroup, Class<? extends View>...) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that are instances of one of the given classes.
findDescendents(int, Object) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that use the given tag.
findDescendents(ViewGroup, Object) - Method in class stanford.androidlib.SimpleActivity
Returns all children, grandchildren, etc of this view group that use the given tag.
findDescendents(int, Class<T>) - Method in class stanford.androidlib.SimpleView
Returns all children, grandchildren, etc.
findDescendents(ViewGroup, Class<T>) - Method in class stanford.androidlib.SimpleView
Returns all children, grandchildren, etc.
findDescendents(int, Class<? extends View>...) - Method in class stanford.androidlib.SimpleView
Returns all children, grandchildren, etc.
findDescendents(ViewGroup, Class<? extends View>...) - Method in class stanford.androidlib.SimpleView
Returns all children, grandchildren, etc.
findDescendents(int, Object) - Method in class stanford.androidlib.SimpleView
Returns all children, grandchildren, etc.
findDescendents(ViewGroup, Object) - Method in class stanford.androidlib.SimpleView
Returns all children, grandchildren, etc.
findEditText(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findEditText(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findFragment(int) - Method in class stanford.androidlib.SimpleActivity
Returns a fragment with the given ID found inside this activity.
findFragmentById(int) - Method in class stanford.androidlib.SimpleActivity
Returns a fragment with the given ID found inside this activity.
findGridView(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findGridView(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findImageButton(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findImageButton(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findImageView(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findImageView(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findListView(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findListView(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findProgressBar(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findProgressBar(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findRadioButton(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findRadioButton(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findRadioGroup(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findRadioGroup(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findRatingBar(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findRatingBar(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findScrollView(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findScrollView(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSearchView(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSearchView(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSeekBar(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSeekBar(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSpace(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSpace(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSpinner(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSpinner(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findStackView(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findStackView(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSwitch(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findSwitch(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findTextView(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findTextView(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findTimePicker(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findTimePicker(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findToggleButton(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findToggleButton(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findToolbar(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findToolbar(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findViewGroup(int) - Method in class stanford.androidlib.SimpleActivity
Returns a ViewGroup of the given specific type so that casting is not needed as it would be with findViewById.
findViewGroup(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a ViewGroup of the given specific type so that casting is not needed as it would be with findViewById.
findZoomButton(int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
findZoomButton(View, int) - Method in class stanford.androidlib.SimpleActivity
Returns a widget of the given specific type so that casting is not needed as it would be with findViewById.
finish(Object...) - Method in class stanford.androidlib.SimpleActivity
Shuts down this activity, returning RESULT_OK as its result code and the given 'extra' parameters.
finish(int, Object...) - Method in class stanford.androidlib.SimpleActivity
Shuts down this activity, returning the given result code and the given 'extra' parameters.
flipVelocity() - Method in class stanford.androidlib.graphics.GSprite
Inverts the sign of the sprite's velocity in both directions.
flipVelocityX() - Method in class stanford.androidlib.graphics.GSprite
Inverts the sign of the sprite's velocity in the x direction.
flipVelocityY() - Method in class stanford.androidlib.graphics.GSprite
Inverts the sign of the sprite's velocity in the y direction.
format(int, Object...) - Method in class stanford.androidlib.SimpleLocalization
Formats a resource string for the given ID and fills it in with the given placeholders.

G

GArrow - Class in stanford.androidlib.graphics
This class represents a line with an arrowhead at one or both ends.
GArrow() - Constructor for class stanford.androidlib.graphics.GArrow
Constructs an arrow at (0, 0) of length 0.
GArrow(float, float) - Constructor for class stanford.androidlib.graphics.GArrow
Constructs an arrow from (0, 0) to (x1, y1).
GArrow(float, float, float, float) - Constructor for class stanford.androidlib.graphics.GArrow
Constructs an arrow from (x0, y0) to (x1, y1).
GArrow(GCanvas) - Constructor for class stanford.androidlib.graphics.GArrow
Constructs an arrow at (0, 0) of length 0.
GArrow(GCanvas, float, float) - Constructor for class stanford.androidlib.graphics.GArrow
Constructs an arrow from (0, 0) to (x1, y1).
GArrow(GCanvas, float, float, float, float) - Constructor for class stanford.androidlib.graphics.GArrow
Constructs an arrow from (x0, y0) to (x1, y1).
GCanvas - Class in stanford.androidlib.graphics
A GCanvas is similar to a GraphicsProgram from the Stanford/ACM Java Task Force library.
GCanvas(Context, AttributeSet) - Constructor for class stanford.androidlib.graphics.GCanvas
Required constructor; your canvas subclass must implement a constructor with exactly the same parameters.
GColor - Class in stanford.androidlib.graphics
A class of constant Paint objects representing commonly used colors.
GCompound - Class in stanford.androidlib.graphics
This class defines a graphical object that consists of a collection of other graphical objects.
GCompound() - Constructor for class stanford.androidlib.graphics.GCompound
Creates a new GCompound object with no internal components.
GCompound(GCanvas) - Constructor for class stanford.androidlib.graphics.GCompound
Creates a new GCompound object with no internal components.
GDimension - Class in stanford.androidlib.graphics
This class is a double-precision version of the Dimension class in java.awt.
GDimension() - Constructor for class stanford.androidlib.graphics.GDimension
Constructs a new dimension object with zero values for width and height.
GDimension(float, float) - Constructor for class stanford.androidlib.graphics.GDimension
Constructs a new dimension object with the specified components.
GDimension(GDimension) - Constructor for class stanford.androidlib.graphics.GDimension
Constructs a new GDimension object from an existing one.
generateViewId() - Static method in class stanford.androidlib.SimpleActivity
Generates and returns a unique ID to be programmatically attached to a view.
get(int) - Method in class stanford.androidlib.data.SimpleCursor
Returns a column's value of any type.
get(String) - Method in class stanford.androidlib.data.SimpleCursor
Returns a column's value of any type.
get(int) - Method in class stanford.androidlib.SimpleBitmap
Returns the bitmap image for the resource file with the given ID.
get(String) - Method in class stanford.androidlib.SimpleBitmap
Returns the bitmap image for the file located at the given web URL.
get(URL) - Method in class stanford.androidlib.SimpleBitmap
Returns the bitmap image for the file located at the given web URL.
get(int, float, float) - Method in class stanford.androidlib.SimpleBitmap
Returns the bitmap that corresponds to the given resource ID, scaled to the given width and height.
get(int) - Method in class stanford.androidlib.SimpleLocalization
Returns a resource string for the given ID.
get(int, Object...) - Method in class stanford.androidlib.SimpleLocalization
Formats a resource string for the given ID and fills it in with the given placeholders.
get(String, T) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getAccelerationX() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's x acceleration; this will be 0 unless you have called setAcceleration.
getAccelerationY() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's yacceleration; this will be 0 unless you have called setAcceleration.
getActivity() - Method in class stanford.androidlib.SimpleCanvas
Returns the activity that this canvas is inside.
getAll(int...) - Method in class stanford.androidlib.SimpleBitmap
Returns a list of the bitmap images for the resource files with the given IDs.
getAllDrawableResourceIds() - Method in class stanford.androidlib.SimpleActivity
Returns the IDs of all drawables (images) in this app as a list of integers.
getAllDrawableResourceNames() - Method in class stanford.androidlib.SimpleActivity
Returns the names of all drawables (images) in this app as a list of strings.
getAllRawResourceIds() - Method in class stanford.androidlib.SimpleActivity
Returns the IDs of all raw files in this app as a list of integers.
getAllRawResourceNames() - Method in class stanford.androidlib.SimpleActivity
Returns the names of all raw files in this app as a list of strings.
getAllScaled(float, int...) - Method in class stanford.androidlib.SimpleBitmap
Returns a list of the bitmap images for the resource files with the given IDs, scaled by the given factor.
getAllScaled(float, float, int...) - Method in class stanford.androidlib.SimpleBitmap
Returns a list of the bitmap images for the resource files with the given IDs, scaled to the given width and height.
getAlpha(int) - Static method in class stanford.androidlib.graphics.GImage
Returns the alpha component from an RGB value.
getAnimationTickCount() - Method in class stanford.androidlib.SimpleCanvas
Returns the number of frames of animation that have already passed.
getArrowSize() - Method in class stanford.androidlib.graphics.GArrow
 
getBackgroundColor() - Method in class stanford.androidlib.graphics.GCanvas
Returns the background color that will be drawn on this canvas.
getBitmap() - Method in class stanford.androidlib.graphics.GSprite
Returns the bitmap for this sprite as passed to the constructor.
getBitmap(int) - Method in class stanford.androidlib.SimpleActivity
Returns the bitmap image for the resource file with the given ID.
getBitmap(String) - Method in class stanford.androidlib.SimpleActivity
Returns the bitmap image for the file located at the given web URL.
getBitmap(int) - Method in class stanford.androidlib.SimpleCanvas
Returns the bitmap that corresponds to the given resource ID.
getBitmaps() - Method in class stanford.androidlib.graphics.GSprite
Returns the list of bitmaps for this sprite.
getBlob(String) - Method in class stanford.androidlib.data.SimpleCursor
Returns a blob from a column with the given name.
getBlob(int) - Method in class stanford.androidlib.data.SimpleCursor
 
getBlue(int) - Static method in class stanford.androidlib.graphics.GImage
Returns the blue component from an RGB value.
getBoolean(String) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getBoolean(String, boolean) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getBooleanExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getBooleanExtra(String, boolean) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getBooleanExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getBooleanExtra(String, boolean) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getBottomY() - Method in class stanford.androidlib.graphics.GObject
Returns the max Y of this object.
getBounds() - Method in class stanford.androidlib.graphics.GCompound
Returns the bounding rectangle for this compound object, which consists of the union of the bounding rectangles for each of the components.
getBounds() - Method in class stanford.androidlib.graphics.GLine
Returns the bounding box for this object.
getBounds() - Method in class stanford.androidlib.graphics.GObject
Returns the bounding box of this object, which is defined to be the smallest rectangle that covers everything drawn by the figure.
getBounds() - Method in class stanford.androidlib.graphics.GPolygon
Returns the bounding box of this object, which is defined to be the smallest rectangle that covers everything drawn by the figure.
getBounds() - Method in class stanford.androidlib.graphics.GRectangle
Returns a new GRectangle whose bounds are the same as this one.
getCanvas() - Method in class stanford.androidlib.SimpleCanvas
Returns the drawing canvas found inside of this object.
getCenterX() - Method in class stanford.androidlib.graphics.GObject
Returns the x-value of the center of this object.
getCenterY() - Method in class stanford.androidlib.graphics.GObject
Returns the y-value of the center of this object.
getCollisionMarginBottom() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's collision margin in the y direction.
getCollisionMarginLeft() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's collision margin in the x direction on the left side.
getCollisionMarginRight() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's collision margin in the x direction on the right side.
getCollisionMarginTop() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's collision margin in the y direction on top.
getCollisionMarginX() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's collision margin in the x direction.
getCollisionMarginY() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's collision margin in the y direction on top.
getColor() - Method in class stanford.androidlib.graphics.GObject
Returns the color used to display this object.
getColumnCount() - Method in class stanford.androidlib.data.SimpleCursor
 
getColumnIndex(String) - Method in class stanford.androidlib.data.SimpleCursor
 
getColumnIndexOrThrow(String) - Method in class stanford.androidlib.data.SimpleCursor
 
getColumnName(int) - Method in class stanford.androidlib.data.SimpleCursor
 
getColumnNames() - Method in class stanford.androidlib.data.SimpleCursor
 
getColumnNames(Cursor) - Method in class stanford.androidlib.data.SimpleDatabase
Returns the names of all columns in the given query's cursor as an array.
getColumnNames(String, String) - Method in class stanford.androidlib.data.SimpleDatabase
Returns the names of all columns in the given database table as an array.
getColumnNames(SQLiteDatabase, String) - Method in class stanford.androidlib.data.SimpleDatabase
Returns the names of all columns in the given database table as an array.
getContext() - Method in class stanford.androidlib.SimpleAdapter
Returns the Context passed to the constructor.
getConvertView() - Method in class stanford.androidlib.SimpleAdapter
Returns the "convert view" passed to getView.
getCount() - Method in class stanford.androidlib.data.SimpleCursor
 
getCount() - Method in class stanford.androidlib.SimpleAdapter
Returns the number of elements in the list passed to the constructor.
getCurrentBitmapIndex() - Method in class stanford.androidlib.graphics.GSprite
Returns the index of the bitmap currently being displayed in this sprite's list of bitmaps.
getCurrentPoint() - Method in class stanford.androidlib.graphics.GPolygon
Returns the coordinates of the last vertex added to the polygon, or null if the polygon is empty.
getDatabaseNames() - Method in class stanford.androidlib.data.SimpleDatabase
Returns an array of the names of all databases in this app.
getDefaultLayoutIdName(Object) - Static method in class stanford.androidlib.SimpleActivity
Returns a default layout ID string for the given object's class, e.g.
getDefaultLayoutIdName(Class<?>) - Static method in class stanford.androidlib.SimpleActivity
Returns a default layout ID string for the given class, e.g.
getDisplayBuffer() - Method in class stanford.androidlib.graphics.GCanvas
Returns the display buffer you previously passed to setDisplayBuffer, or null if none has been set.
getDocumentsDirectory() - Method in class stanford.androidlib.SimpleActivity
Returns the directory where documents are stored on this device.
getDocumentsDirectory() - Method in class stanford.androidlib.SimpleIO
Returns the directory where documents are stored on this device.
getDouble(String) - Method in class stanford.androidlib.data.SimpleCursor
Returns a double from a column with the given name.
getDouble(int) - Method in class stanford.androidlib.data.SimpleCursor
 
getDouble(String) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getDouble(String, double) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getDoubleExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getDoubleExtra(String, double) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getDoubleExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getDoubleExtra(String, double) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getDownloadsDirectory() - Method in class stanford.androidlib.SimpleActivity
Returns the directory where downloads are stored on this device.
getDownloadsDirectory() - Method in class stanford.androidlib.SimpleIO
Returns the directory where downloads are stored on this device.
getElapsedTime() - Method in class stanford.androidlib.SimpleTask
Returns the amount of time in MS that elapsed while this SimpleTask was running.
getElement(int) - Method in class stanford.androidlib.graphics.GCanvas
Returns the graphical object at the specified index, numbering from back (0) to front in the the z ordering.
getElement(int) - Method in class stanford.androidlib.graphics.GCompound
Returns the graphical object at the specified index, numbering from back to front in the the z dimension.
getElementAt(float, float) - Method in class stanford.androidlib.graphics.GCanvas
Returns the GObject found at the given x/y location in this canvas.
getElementAt(GPoint) - Method in class stanford.androidlib.graphics.GCanvas
Returns the GObject found at the given x/y location in this canvas.
getElementAt(float...) - Method in class stanford.androidlib.graphics.GCanvas
Returns the GObject found at any of the given x/y locations in this canvas.
getElementAt(GPoint...) - Method in class stanford.androidlib.graphics.GCanvas
Returns the GObject found at any of the given x/y locations in this canvas.
getElementAt(float, float) - Method in class stanford.androidlib.graphics.GCompound
Returns the topmost graphical object that contains the point (x, y), or null if no such object exists.
getElementAt(GPoint) - Method in class stanford.androidlib.graphics.GCompound
Returns the topmost graphical object that contains the specified point, or null if no such object exists.
getElementCount() - Method in class stanford.androidlib.graphics.GCanvas
Returns the number of graphical objects stored in this canvas.
getElementCount() - Method in class stanford.androidlib.graphics.GCompound
Returns the number of graphical objects stored in this container.
getEndPoint() - Method in class stanford.androidlib.graphics.GLine
Returns the end point of the line as a GPoint object.
getEndTime() - Method in class stanford.androidlib.SimpleTask
Returns the MS time at which this task finished running, as a long integer of MS since the epoch (Jan 1 1970 12:00:00am).
getEndX() - Method in class stanford.androidlib.graphics.GLine
Returns the end point's x-coordinate.
getEndY() - Method in class stanford.androidlib.graphics.GLine
Returns the end point's y-coordinate.
getExtra(String) - Method in class stanford.androidlib.graphics.GSprite
Returns the extra property inside this sprite with the given name.
getExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getExtra(String, T) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getExtra(String, T) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getExtras() - Method in class stanford.androidlib.data.SimpleCursor
 
getExtras() - Method in class stanford.androidlib.graphics.GSprite
Returns all extras in this sprite as a Bundle.
getFillColor() - Method in interface stanford.androidlib.graphics.GFillable
Returns the color used to display the filled region of this object.
getFillColor() - Method in class stanford.androidlib.graphics.GObject
Returns the color used to display the filled region of this object.
getFloat(String) - Method in class stanford.androidlib.data.SimpleCursor
Returns a float from a column with the given name.
getFloat(int) - Method in class stanford.androidlib.data.SimpleCursor
 
getFont() - Method in class stanford.androidlib.graphics.GLabel
Returns the font in which the GLabel is displayed.
getFontSize() - Method in class stanford.androidlib.graphics.GLabel
Returns the font size currently used by this label.
getFontStyle() - Method in class stanford.androidlib.graphics.GLabel
Returns this label's current font style.
getFramesPerBitmap() - Method in class stanford.androidlib.graphics.GSprite
Returns the number of frames of animation that each bitmap in the list should be displayed before automatically cycling to the next frame bitmap.
getGCanvas() - Method in class stanford.androidlib.graphics.GObject
Returns the simple canvas this GObject is drawn inside of.
getGreen(int) - Static method in class stanford.androidlib.graphics.GImage
Returns the green component from an RGB value.
getHeight() - Method in class stanford.androidlib.graphics.GDimension
Returns the height of this GDimension.
getHeight() - Method in class stanford.androidlib.graphics.GLabel
Returns the height of this string, as it appears on the display.
getHeight() - Method in class stanford.androidlib.graphics.GObject
Returns the height of this object, which is defined to be the height of the bounding box.
getHeight() - Method in class stanford.androidlib.graphics.GRectangle
Returns the height of this GDimension.
getHeight() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's height.
getImage() - Method in class stanford.androidlib.graphics.GImage
Returns the image stored inside this GImage.
getInstance() - Static method in class stanford.androidlib.util.RandomGenerator
Returns a RandomGenerator instance that can be shared among several classes.
getInt(String) - Method in class stanford.androidlib.data.SimpleCursor
Returns an int from a column with the given name.
getInt(int) - Method in class stanford.androidlib.data.SimpleCursor
 
getInt(String) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getInt(String, int) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getIntegerArrayListExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getIntegerArrayListExtra(String, ArrayList<Integer>) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getIntegerArrayListExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getIntegerArrayListExtra(String, ArrayList<Integer>) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getIntExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getIntExtra(String, int) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getIntExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getIntExtra(String, int) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getItem(int) - Method in class stanford.androidlib.SimpleAdapter
Returns the item at the given index as passed to the constructor.
getItemCount() - Method in class stanford.androidlib.SimpleAdapter
Returns the number of items in the adapter.
getItemId(int) - Method in class stanford.androidlib.SimpleAdapter
Returns a unique ID for the item at the given index, which is just that index itself.
getItems(AdapterView<?>) - Method in class stanford.androidlib.SimpleList
Returns the text of the items currently in the given list view as an ArrayList.
getItems(int) - Method in class stanford.androidlib.SimpleList
Returns the text of the items currently in the given list view as an ArrayList.
getLabel() - Method in class stanford.androidlib.graphics.GLabel
Returns the string displayed by this object.
getLayoutID() - Method in class stanford.androidlib.SimpleActivity
Returns the resource ID of the layout to use for this activity, as passed to the constructor or setLayoutID.
getLayoutID() - Method in class stanford.androidlib.SimpleFragment
Returns the resource ID of the layout to use for this fragment, as passed to the constructor or setLayoutID.
getLeftX() - Method in class stanford.androidlib.graphics.GObject
Returns this object's leftmost x-coordinate.
getLibraryUrl() - Static method in class stanford.androidlib.Version
Returns the current URL of the library as a string.
getLibraryVersion() - Static method in class stanford.androidlib.SimpleActivity
Returns the current version of the library as a string, in format "YYYY/MM/DD HH:MMam".
getLibraryVersion() - Static method in class stanford.androidlib.Version
Returns the current version of the library as a string, in format "YYYY/MM/DD HH:MMam".
getLocation() - Method in class stanford.androidlib.graphics.GObject
Returns the location of this object as a GPoint.
getLocation() - Method in class stanford.androidlib.graphics.GPoint
Returns a new GPoint whose coordinates are the same as this one.
getLocation() - Method in class stanford.androidlib.graphics.GRectangle
Returns a new GPoint with the location of the rectangle.
getLocation() - Method in class stanford.androidlib.SimpleActivity
 
getLong(String) - Method in class stanford.androidlib.data.SimpleCursor
Returns a long from a column with the given name.
getLong(int) - Method in class stanford.androidlib.data.SimpleCursor
 
getLong(String) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getLong(String, long) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getLongExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getLongExtra(String, long) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getLongExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getLongExtra(String, long) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getMoviesDirectory() - Method in class stanford.androidlib.SimpleActivity
Returns the directory where movies are stored on this device.
getMoviesDirectory() - Method in class stanford.androidlib.SimpleIO
Returns the directory where movies are stored on this device.
getMusicDirectory() - Method in class stanford.androidlib.SimpleActivity
Returns the directory where music is stored on this device.
getMusicDirectory() - Method in class stanford.androidlib.SimpleIO
Returns the directory where music is stored on this device.
getNotificationUri() - Method in class stanford.androidlib.data.SimpleCursor
 
getPaint() - Method in class stanford.androidlib.graphics.GObject
Returns the color used to display this object.
getParent() - Method in class stanford.androidlib.SimpleAdapter
Returns the "parent" view passed to getView.
getPhotosDirectory() - Method in class stanford.androidlib.SimpleActivity
Returns the directory where photos are stored on this device.
getPhotosDirectory() - Method in class stanford.androidlib.SimpleIO
Returns the directory where photos are stored on this device.
getPixelArray() - Method in class stanford.androidlib.graphics.GImage
Returns a two-dimensional array of pixel values from the stored image.
getPodcastsDirectory() - Method in class stanford.androidlib.SimpleActivity
Returns the directory where podcasts are stored on this device.
getPodcastsDirectory() - Method in class stanford.androidlib.SimpleIO
Returns the directory where podcasts are stored on this device.
getPosition() - Method in class stanford.androidlib.data.SimpleCursor
 
getPosition(int) - Method in class stanford.androidlib.SimpleMedia
Returns the time position in milliseconds for the media clip with the given ID if it is playing.
getPreferenceBoolean(String) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getPreferenceBoolean(String, boolean) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getPreferenceDouble(String) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getPreferenceDouble(String, double) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getPreferenceInt(String) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getPreferenceInt(String, int) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getPreferenceLong(String) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getPreferenceLong(String, long) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getPreferenceString(String) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getPreferenceString(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns the preference with the given name and value from the app's global preferences.
getRed(int) - Static method in class stanford.androidlib.graphics.GImage
Returns the red component from an RGB value.
getRequestCodeFor(Class<? extends Activity>) - Method in class stanford.androidlib.SimpleActivity
Returns a request code for the given activity class that can be passed to startActivityForResult.
getResourceFullName(int) - Method in class stanford.androidlib.SimpleActivity
Returns the full name of the resource with the given ID, such as R.drawable.foobar = "drawable/foobar".
getResourceId(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns a the ID of the resource with the given name and type, such as "foobar", "drawable" = R.drawable.foobar.
getResourceId(String) - Method in class stanford.androidlib.SimpleActivity
Returns a the ID of the resource with the given full name, such as "R.drawable.foobar" = R.drawable.foobar or "@drawable/foobar" = R.drawable.foobar.
getResourceName(int) - Method in class stanford.androidlib.SimpleActivity
Returns the short name of the resource with the given ID, such as R.drawable.foobar = "foobar".
getRightX() - Method in class stanford.androidlib.graphics.GObject
Returns the max X of this object.
getScaledBitmap(int, float, float) - Method in class stanford.androidlib.SimpleCanvas
Returns the bitmap that corresponds to the given resource ID.
getScaledBitmap(int, float) - Method in class stanford.androidlib.SimpleCanvas
Returns the bitmap that corresponds to the given resource ID.
getScaledBitmapToHeight(int, float) - Method in class stanford.androidlib.SimpleCanvas
Returns the bitmap that corresponds to the given resource ID.
getScaledBitmapToWidth(int, float) - Method in class stanford.androidlib.SimpleCanvas
Returns the bitmap that corresponds to the given resource ID.
getScreenDensity() - Method in class stanford.androidlib.SimpleActivity
Returns a string representing the current device's screen density, based on the following mapping: up to 120 dpi: "ldpi" 120 - 160 dpi: "mdpi" 160 - 240 dpi: "hdpi" 240 - 320 dpi: "xhdpi" 320 - 480 dpi: "xxhdpi" above 480 dpi: "xxxhdpi"
getScreenDpi() - Method in class stanford.androidlib.SimpleActivity
Returns the current device's screen density in dots-per-inch (DPI), rounded down to the nearest integer.
getScreenDpiX() - Method in class stanford.androidlib.SimpleActivity
Returns the current device's screen density in the x dimension in dots-per-inch (DPI), rounded down to the nearest integer.
getScreenDpiY() - Method in class stanford.androidlib.SimpleActivity
Returns the current device's screen density in the x dimension in dots-per-inch (DPI), rounded down to the nearest integer.
getScreenHeight() - Method in class stanford.androidlib.SimpleActivity
Returns the height of the current Android device's screen, in pixels.
getScreenHeightInches() - Method in class stanford.androidlib.SimpleActivity
Returns the device's physical screen height in inches, based on its screen resolution in pixels and its density in DPI.
getScreenRealHeight() - Method in class stanford.androidlib.SimpleActivity
Returns the 'real' height of the current Android device's screen, in pixels.
getScreenRealWidth() - Method in class stanford.androidlib.SimpleActivity
Returns the 'real' width of the current Android device's screen, in pixels.
getScreenSizeInches() - Method in class stanford.androidlib.SimpleActivity
Returns the device's physical screen diagonal size in inches, based on its screen resolution in pixels and its density in DPI.
getScreenWidth() - Method in class stanford.androidlib.SimpleActivity
Returns the width of the current Android device's screen, in pixels.
getScreenWidthInches() - Method in class stanford.androidlib.SimpleActivity
Returns the device's physical screen width in inches, based on its screen resolution in pixels and its density in DPI.
getSerializableExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getSerializableExtra(String, T) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getSerializableExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getSerializableExtra(String, T) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getShape() - Method in class stanford.androidlib.graphics.GSprite
Returns the GObject that was passed to this GSprite's constructor, if any.
getShared(String, String, T) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedBoolean(String, String) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedBoolean(String, String, boolean) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedDouble(String, String) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedDouble(String, String, double) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedInt(String, String) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedInt(String, String, int) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedLong(String, String) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedLong(String, String, long) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceBoolean(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceBoolean(String, String, boolean) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceDouble(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceDouble(String, String, double) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceInt(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceInt(String, String, int) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceLong(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceLong(String, String, long) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceString(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedPreferenceString(String, String, String) - Method in class stanford.androidlib.SimpleActivity
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedString(String, String) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedString(String, String, String) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the given shared preference filename.
getSharedStringSet(String, String) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the app's global preferences.
getSharedStringSet(String, String, Set<String>) - Method in class stanford.androidlib.SimplePreferences
Returns the shared preference with the given name and value from the app's global preferences.
getShort(int) - Method in class stanford.androidlib.data.SimpleCursor
 
getSimpleActivity() - Method in class stanford.androidlib.SimpleCanvas
Returns the simple activity that this canvas is inside of.
getSimpleActivity() - Method in class stanford.androidlib.SimpleFragment
Returns the activity that contains this fragment as a SimpleActivity.
getSize() - Method in class stanford.androidlib.graphics.GDimension
Returns a new GDimension object equal to this one.
getSize() - Method in class stanford.androidlib.graphics.GObject
Returns the size of the bounding box for this object.
getSize() - Method in class stanford.androidlib.graphics.GRectangle
Returns a new GDimension object with the size of the GRectangle.
getStartPoint() - Method in class stanford.androidlib.graphics.GLine
Returns the coordinates of the initial point in the line.
getStartTime() - Method in class stanford.androidlib.SimpleTask
Returns the MS time at which this task began running, as a long integer of MS since the epoch (Jan 1 1970 12:00:00am).
getStartX() - Method in class stanford.androidlib.graphics.GLine
Returns the start point's x-coordinate.
getStartY() - Method in class stanford.androidlib.graphics.GLine
Returns the start point's y-coordinate.
getString(String) - Method in class stanford.androidlib.data.SimpleCursor
Returns a string from a column with the given name.
getString(int) - Method in class stanford.androidlib.data.SimpleCursor
 
getString(String) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getString(String, String) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getStringArrayExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getStringArrayExtra(String, String[]) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getStringArrayExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getStringArrayExtra(String, String[]) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getStringArrayListExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getStringArrayListExtra(String, ArrayList<String>) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getStringArrayListExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getStringArrayListExtra(String, ArrayList<String>) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getStringExtra(String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getStringExtra(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns an 'extra' parameter with the given name from this activity's intent.
getStringExtra(String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getStringExtra(String, String) - Method in class stanford.androidlib.SimpleFragment
Returns an 'extra' parameter with the given name from this fragment's activity's intent.
getStringSet(String) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getStringSet(String, Set<String>) - Method in class stanford.androidlib.SimplePreferences
Returns the preference with the given name and value from the app's global preferences.
getTableNames(String) - Method in class stanford.androidlib.data.SimpleDatabase
Returns the names of all tables in the given database as an array.
getTableNames(SQLiteDatabase) - Method in class stanford.androidlib.data.SimpleDatabase
Returns the names of all tables in the given database as an array.
getText() - Method in class stanford.androidlib.graphics.GLabel
Returns the string displayed by this object.
getTopY() - Method in class stanford.androidlib.graphics.GObject
Returns this object's top y-coordinate.
getType(int) - Method in class stanford.androidlib.data.SimpleCursor
 
getVelocityX() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's velocity in the x direction.
getVelocityY() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's velocity in the y direction.
getView(int, View, ViewGroup) - Method in class stanford.androidlib.SimpleAdapter
Builds and returns a View for displaying the item at the given index.
getView(int) - Method in class stanford.androidlib.SimpleAdapter
In your subclass, you must override this method to return a View that best displays the item of your adapter's list at the given index.
getWantsAllOnMoveCalls() - Method in class stanford.androidlib.data.SimpleCursor
 
getWidth() - Method in class stanford.androidlib.graphics.GDimension
Returns the width of this GDimension.
getWidth() - Method in class stanford.androidlib.graphics.GLabel
Returns the width of this string, as it appears on the display.
getWidth() - Method in class stanford.androidlib.graphics.GObject
Returns the width of this object, which is defined to be the width of the bounding box.
getWidth() - Method in class stanford.androidlib.graphics.GRectangle
Returns the width of this GDimension.
getWidth() - Method in class stanford.androidlib.graphics.GSprite
Returns the sprite's width.
getX() - Method in class stanford.androidlib.graphics.GObject
Returns the x-coordinate of the object.
getX() - Method in class stanford.androidlib.graphics.GPoint
Returns the x coordinate of this GPoint.
getX() - Method in class stanford.androidlib.graphics.GRectangle
Returns the x coordinate of this GRectangle.
getX() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's leftmost x-coordinate.
getY() - Method in class stanford.androidlib.graphics.GObject
Returns the y-coordinate of the object.
getY() - Method in class stanford.androidlib.graphics.GPoint
Returns the y coordinate of this GPoint.
getY() - Method in class stanford.androidlib.graphics.GRectangle
Returns the y coordinate of this GRectangle.
getY() - Method in class stanford.androidlib.graphics.GSprite
Returns this sprite's top y-coordinate.
GFillable - Interface in stanford.androidlib.graphics
Specifies the characteristics of a graphical object that supports filling.
GImage - Class in stanford.androidlib.graphics
The GImage class is a graphical object whose appearance is defined by an image.
GImage(Bitmap) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the origin.
GImage(Bitmap, float, float) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the specified coordinates.
GImage(View, Bitmap) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the origin inside the given view.
GImage(View, Bitmap, float, float) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the given x/y location inside the given view.
GImage(Context, int) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the origin inside the given context.
GImage(View, int) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the origin inside the given view.
GImage(View, int, float, float) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the given x/y location inside the given view.
GImage(Context, int, float, float) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the given x/y location inside the given context.
GImage(GCanvas, Bitmap) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the origin.
GImage(GCanvas, Bitmap, float, float) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the specified coordinates.
GImage(GCanvas, View, Bitmap) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the origin inside the given view.
GImage(GCanvas, View, Bitmap, float, float) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the given x/y location inside the given view.
GImage(GCanvas, Context, int) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the origin inside the given context.
GImage(GCanvas, View, int) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the origin inside the given view.
GImage(GCanvas, View, int, float, float) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the given x/y location inside the given view.
GImage(GCanvas, Context, int, float, float) - Constructor for class stanford.androidlib.graphics.GImage
Creates a new GImage object at the given x/y location inside the given context.
GLabel - Class in stanford.androidlib.graphics
The GLabel class is a graphical object whose appearance consists of a text string.
GLabel() - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new empty GLabel object with its top-left corner at (0, 0).
GLabel(String) - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new GLabel object at with its top-left corner (0, 0), initialized to contain the specified string.
GLabel(String, float, float) - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new GLabel object with its top-left corner at the specified position.
GLabel(int) - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new GLabel object at with its top-left corner (0, 0), initialized to contain the string with the specified resource ID.
GLabel(int, float, float) - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new GLabel object with its top-left corner at the specified position.
GLabel(GCanvas) - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new empty GLabel object with its top-left corner at (0, 0).
GLabel(GCanvas, String) - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new GLabel object at with its top-left corner (0, 0), initialized to contain the specified string.
GLabel(GCanvas, String, float, float) - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new GLabel object with its top-left corner at the specified position.
GLabel(GCanvas, int) - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new GLabel object at with its top-left corner (0, 0), initialized to contain the string with the specified resource ID.
GLabel(GCanvas, int, float, float) - Constructor for class stanford.androidlib.graphics.GLabel
Creates a new GLabel object with its top-left corner at the specified position.
GLine - Class in stanford.androidlib.graphics
The GLine class is a graphical object whose appearance consists of a line segment.
GLine() - Constructor for class stanford.androidlib.graphics.GLine
Constructs a line segment from its endpoints.
GLine(float, float) - Constructor for class stanford.androidlib.graphics.GLine
Constructs a line segment from its endpoints.
GLine(float, float, float, float) - Constructor for class stanford.androidlib.graphics.GLine
Constructs a line segment from its endpoints.
GLine(GCanvas) - Constructor for class stanford.androidlib.graphics.GLine
Constructs a line segment from its endpoints.
GLine(GCanvas, float, float) - Constructor for class stanford.androidlib.graphics.GLine
Constructs a line segment from its endpoints.
GLine(GCanvas, float, float, float, float) - Constructor for class stanford.androidlib.graphics.GLine
Constructs a line segment from its endpoints.
GMath - Class in stanford.androidlib.graphics
This class defines a variety of static mathematical methods that are useful for the acm.graphics package.
GObject - Class in stanford.androidlib.graphics
GObject is the superclass for all of the various kinds of graphical objects such as lines, ovals, rectangles, ellipses, and other polygons.
GObject() - Constructor for class stanford.androidlib.graphics.GObject
Constructs a new empty object.
GObject(GCanvas) - Constructor for class stanford.androidlib.graphics.GObject
Constructs a new empty object and adds it to the given canvas.
GOval - Class in stanford.androidlib.graphics
The GOval class is a graphical object whose appearance consists of an oval.
GOval() - Constructor for class stanford.androidlib.graphics.GOval
Constructs a new 0x0 oval, positioned at the origin.
GOval(float, float) - Constructor for class stanford.androidlib.graphics.GOval
Constructs a new oval with the specified width and height, positioned at the origin.
GOval(float, float, float, float) - Constructor for class stanford.androidlib.graphics.GOval
Constructs a new oval with the specified bounds.
GOval(GCanvas) - Constructor for class stanford.androidlib.graphics.GOval
Constructs a new 0x0 oval, positioned at the origin.
GOval(GCanvas, float, float) - Constructor for class stanford.androidlib.graphics.GOval
Constructs a new oval with the specified width and height, positioned at the origin.
GOval(GCanvas, float, float, float, float) - Constructor for class stanford.androidlib.graphics.GOval
Constructs a new oval with the specified bounds.
GPoint - Class in stanford.androidlib.graphics
This class is a double-precision version of the Point class in java.awt.
GPoint() - Constructor for class stanford.androidlib.graphics.GPoint
Constructs a new GPoint at the origin (0, 0).
GPoint(float, float) - Constructor for class stanford.androidlib.graphics.GPoint
Constructs a new GPoint with the specified coordinates.
GPoint(GPoint) - Constructor for class stanford.androidlib.graphics.GPoint
Constructs a new GPoint from an existing one.
GPolygon - Class in stanford.androidlib.graphics
The GPolygon class is a graphical object whose appearance consists of a polygon.
GPolygon() - Constructor for class stanford.androidlib.graphics.GPolygon
Constructs a new empty polygon at the origin.
GPolygon(float, float) - Constructor for class stanford.androidlib.graphics.GPolygon
Constructs a new empty polygon at (x, y).
GPolygon(GPoint[]) - Constructor for class stanford.androidlib.graphics.GPolygon
Constructs a new polygon from the specified array of GPoint objects.
GPolygon(GCanvas) - Constructor for class stanford.androidlib.graphics.GPolygon
Constructs a new empty polygon at the origin.
GPolygon(GCanvas, float, float) - Constructor for class stanford.androidlib.graphics.GPolygon
Constructs a new empty polygon at (x, y).
GPolygon(GCanvas, GPoint[]) - Constructor for class stanford.androidlib.graphics.GPolygon
Constructs a new polygon from the specified array of GPoint objects.
GRAY - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color black.
GRect - Class in stanford.androidlib.graphics
The GRect class is a graphical object whose appearance consists of a rectangular box.
GRect() - Constructor for class stanford.androidlib.graphics.GRect
Constructs a new 0x0 rectangle, positioned at the origin.
GRect(float, float) - Constructor for class stanford.androidlib.graphics.GRect
Constructs a new rectangle with the specified width and height, positioned at the origin.
GRect(float, float, float, float) - Constructor for class stanford.androidlib.graphics.GRect
Constructs a new rectangle with the specified bounds.
GRect(GCanvas) - Constructor for class stanford.androidlib.graphics.GRect
Constructs a new 0x0 rectangle, positioned at the origin.
GRect(GCanvas, float, float) - Constructor for class stanford.androidlib.graphics.GRect
Constructs a new rectangle with the specified width and height, positioned at the origin.
GRect(GCanvas, float, float, float, float) - Constructor for class stanford.androidlib.graphics.GRect
Constructs a new rectangle with the specified bounds.
GRectangle - Class in stanford.androidlib.graphics
This class is a float-precision version of the Rectangle class in java.awt.
GRectangle() - Constructor for class stanford.androidlib.graphics.GRectangle
Constructs a new empty GRectangle.
GRectangle(float, float, float, float) - Constructor for class stanford.androidlib.graphics.GRectangle
Constructs a new GRectangle with the specified coordinates and size.
GRectangle(float, float) - Constructor for class stanford.androidlib.graphics.GRectangle
Constructs a GRectangle at the origin with the specified width and height.
GRectangle(GPoint, GDimension) - Constructor for class stanford.androidlib.graphics.GRectangle
Constructs a new GRectangle with the specified location and size.
GRectangle(GPoint) - Constructor for class stanford.androidlib.graphics.GRectangle
Constructs a new empty GRectangle at the specified location.
GRectangle(GDimension) - Constructor for class stanford.androidlib.graphics.GRectangle
Constructs a new GRectangle at the origin with the specified size.
GRectangle(GRectangle) - Constructor for class stanford.androidlib.graphics.GRectangle
Constructs a new GRectangle from an existing one.
GREEN - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color black.
GResizable - Interface in stanford.androidlib.graphics
Specifies the characteristics of a graphical object that supports the setSize and setBounds methods.
grow(float, float) - Method in class stanford.androidlib.graphics.GRectangle
Adjusts the edges of a rectangle by the specified dx and dy offsets along each of its borders.
GScalable - Interface in stanford.androidlib.graphics
Specifies the characteristics of a graphical object that supports the scale method.
GSprite - Class in stanford.androidlib.graphics
This class can be useful for creating objects in basic 2D games.
GSprite() - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new empty sprite at (0, 0).
GSprite(Bitmap) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at (0, 0) that displays the given bitmap.
GSprite(ArrayList<Bitmap>) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at (0, 0) that displays the given bitmaps.
GSprite(ArrayList<Bitmap>, float, float) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location that displays the given bitmaps.
GSprite(Bitmap, float, float) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location that displays the given bitmap.
GSprite(Bitmap, float, float, float, float) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location and size that displays the given bitmap.
GSprite(GObject) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location that displays the given graphical object.
GSprite(float, float, float, float) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location that displays a plain rectangle of the given size.
GSprite(GCanvas) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new empty sprite at (0, 0).
GSprite(GCanvas, Bitmap) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at (0, 0) that displays the given bitmap.
GSprite(GCanvas, ArrayList<Bitmap>) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at (0, 0) that displays the given bitmaps.
GSprite(GCanvas, ArrayList<Bitmap>, float, float) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location that displays the given bitmaps.
GSprite(GCanvas, Bitmap, float, float) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location that displays the given bitmap.
GSprite(GCanvas, Bitmap, float, float, float, float) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location and size that displays the given bitmap.
GSprite(GCanvas, GObject) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location that displays the given graphical object.
GSprite(GCanvas, float, float, float, float) - Constructor for class stanford.androidlib.graphics.GSprite
Constructs a new sprite at the given x/y location that displays a plain rectangle of the given size.
GT - Static variable in class stanford.androidlib.xml.XML
The Character 'gt'.

H

handleEnterKeyPress(int) - Method in class stanford.androidlib.SimpleActivity
Attaches a listener so that this activity's onEnterKeyPress method will be called when the Enter key is pressed on the view with the given ID.
handleEnterKeyPress(View) - Method in class stanford.androidlib.SimpleActivity
Attaches a listener so that this activity's onEnterKeyPress method will be called when the Enter key is pressed on the given view.
handleEnterKeyPress(View) - Method in class stanford.androidlib.SimpleEvents
Attaches a listener so that this activity's onEnterKeyPress method will be called when the Enter key is pressed on the given view.
has(String) - Method in class stanford.androidlib.SimplePreferences
Returns true if this activity contains a preference with the given name.
hasArrowheadEnd() - Method in class stanford.androidlib.graphics.GArrow
 
hasArrowheadStart() - Method in class stanford.androidlib.graphics.GArrow
 
hasCollisionBoundary() - Method in class stanford.androidlib.graphics.GSprite
Returns true if you have set a collision margin.
hasExtra(String) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite has the given extra property inside it.
hashCode() - Method in class stanford.androidlib.graphics.GDimension
Returns an integer hash code for the dimension object.
hashCode() - Method in class stanford.androidlib.graphics.GPoint
Returns an integer hash code for the point.
hashCode() - Method in class stanford.androidlib.graphics.GRectangle
Returns an integer hash code for the rectangle.
hasIntent() - Method in class stanford.androidlib.SimpleActivity
Returns true if this activity was launched with a non-null intent.
hasPermission(String) - Method in class stanford.androidlib.SimpleActivity
Returns true if our application has the given kind of permission, such as Manifest.permission.CAMERA.
hasPreference(String) - Method in class stanford.androidlib.SimpleActivity
Returns true if this activity contains a preference with the given name.
hasResource(String) - Method in class stanford.androidlib.SimpleActivity
Returns true if the given resource name maps to a resource in this app.
hasResource(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns true if the given resource name/type maps to a resource in this app.
hasResource(int) - Method in class stanford.androidlib.SimpleActivity
Returns true if the given resource ID maps to a resource in this app.
hasShared(String, String) - Method in class stanford.androidlib.SimplePreferences
Returns true if this activity contains a shared preference with the given name in the given shared preference filename.
hasSharedPreference(String, String) - Method in class stanford.androidlib.SimpleActivity
Returns true if this activity contains a shared preference with the given name in the given shared preference filename.
hideFragment(Fragment) - Method in class stanford.androidlib.SimpleActivity
Hides the given fragment.
hideFragment(int) - Method in class stanford.androidlib.SimpleActivity
Hides the given fragment.

I

incrementProgressBy(int) - Method in class stanford.androidlib.SimpleProgressDialog
Increases progress by the given amount.
inflateLayout(int) - Method in class stanford.androidlib.SimpleActivity
A shortcut for getting the layout inflater and asking it to inflate the layout with the given ID, with a null root/parent parameter.
init() - Method in class stanford.androidlib.graphics.GCanvas
Called once after the canvas is put onto the screen.
init() - Method in class stanford.androidlib.SimpleActivity
Code to run when activity is being created.
init(Context, String...) - Method in class stanford.androidlib.SimpleAdapter
 
init() - Method in class stanford.androidlib.SimpleFragment
Code to run when fragment is being created.
IntentUtils - Class in stanford.androidlib.util
Utility methods related to intents.
intersection(GRectangle) - Method in class stanford.androidlib.graphics.GRectangle
Returns the largest rectangle that is contained in both r1 and r2.
intersects(GObject) - Method in class stanford.androidlib.graphics.GObject
True if this object touches the other object.
intersects(GRectangle) - Method in class stanford.androidlib.graphics.GRectangle
Returns true if r1 and r2 have a nonempty intersection.
intersects(GSprite) - Method in class stanford.androidlib.graphics.GSprite
Returns true if this sprite collides with the given other sprite.
IORuntimeException - Exception in stanford.androidlib
This exception class is a thin wrapper around Java's I/O exception classes like FileNotFoundException and IOException.
IORuntimeException() - Constructor for exception stanford.androidlib.IORuntimeException
 
IORuntimeException(Throwable) - Constructor for exception stanford.androidlib.IORuntimeException
 
IORuntimeException(String) - Constructor for exception stanford.androidlib.IORuntimeException
 
IORuntimeException(String, Throwable) - Constructor for exception stanford.androidlib.IORuntimeException
 
isAfterLast() - Method in class stanford.androidlib.data.SimpleCursor
 
isAnimated() - Method in class stanford.androidlib.SimpleCanvas
Returns whether animation is currently running and/or paused.
isAutoSaveFields() - Method in class stanford.androidlib.SimpleActivity
Returns true if your activity class has the @AutoSaveFields annotation.
isBeforeFirst() - Method in class stanford.androidlib.data.SimpleCursor
 
isClosed() - Method in class stanford.androidlib.data.SimpleCursor
 
isClosed() - Method in class stanford.androidlib.graphics.GArrow
 
isCollidable() - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite can be collided with.
isEmpty() - Method in class stanford.androidlib.graphics.GRectangle
Returns true if the rectangle is empty.
isFilled() - Method in interface stanford.androidlib.graphics.GFillable
Returns whether this object is filled.
isFilled() - Method in class stanford.androidlib.graphics.GObject
Returns whether this object is filled.
isFiltered() - Method in class stanford.androidlib.SimpleBitmap
Whether we filter bitmaps on scale/rotate for smoothness.
isFinished() - Method in class stanford.androidlib.SimpleProgressDialog
Returns true if the dialog's progress has reached its max.
isFirst() - Method in class stanford.androidlib.data.SimpleCursor
 
isInBounds() - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the bounds of its canvas.
isInBounds(Canvas) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the bounds of the given canvas.
isInBounds(RectF) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the bounds of the given rectangle.
isInBounds(float, float, float, float) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the bounds of the given x/y area.
isInBoundsHorizontal() - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the horizontal (x) bounds of its canvas.
isInBoundsHorizontal(Canvas) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the horizontal (x) bounds of the given canvas.
isInBoundsHorizontal(RectF) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the horizontal (x) bounds of the given rectangle.
isInBoundsHorizontal(float, float) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the horizontal (x) bounds of the given x area.
isInBoundsVertical() - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the vertical (y) bounds of its canvas.
isInBoundsVertical(Canvas) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the vertical (y) bounds of the given canvas.
isInBoundsVertical(RectF) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the vertical (y) bounds of the given rectangle.
isInBoundsVertical(float, float) - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite is within the vertical (y) bounds of the given y area.
isInitialized() - Method in class stanford.androidlib.graphics.GCanvas
Returns true if canvas has already been initialized; that is, if init() has been called.
isInProgress() - Method in class stanford.androidlib.SimpleProgressDialog
Returns true if the dialog's progress has not yet reached its max, or true if the dialog is indeterminate.
isLandscape() - Method in class stanford.androidlib.SimpleActivity
Returns true if the device is in landscape orientation.
isLast() - Method in class stanford.androidlib.data.SimpleCursor
 
isLoopBitmaps() - Method in class stanford.androidlib.graphics.GSprite
Returns whether the sequence of bitmaps (as passed to the constructor or setBitmaps) should loop back to the first one after it ends.
isLooping(int) - Method in class stanford.androidlib.SimpleMedia
Returns whether the media clip with the given ID is currently playing in 'loop' mode.
isLTR() - Method in class stanford.androidlib.SimpleLocalization
Returns true if this app is running in a Left-to-Right (LTR) layout.
isLTR(Locale) - Method in class stanford.androidlib.SimpleLocalization
Returns true if the given locale reads Left-to-Right (LTR).
isMoving() - Method in class stanford.androidlib.graphics.GSprite
Returns whether this sprite has a non-zero velocity in any dimension.
isNull(int) - Method in class stanford.androidlib.data.SimpleCursor
 
isPlaying(int) - Method in class stanford.androidlib.SimpleMedia
Returns whether the media clip with the given ID is currently playing or looping.
isPortrait() - Method in class stanford.androidlib.SimpleActivity
Returns true if the device is in portrait orientation.
isRTL() - Method in class stanford.androidlib.SimpleLocalization
Returns true if this app is running in a Right-to-Left (RTL) layout.
isRTL(Locale) - Method in class stanford.androidlib.SimpleLocalization
Returns true if the given locale reads Right-to-Left (RTL).
isRunning() - Method in class stanford.androidlib.AnimationLoop
Returns true if the drawing thread is currently started and running.
isVisible() - Method in class stanford.androidlib.graphics.GObject
Checks to see whether this object is visible.
iterator() - Method in class stanford.androidlib.data.SimpleCursor
 
iterator() - Method in class stanford.androidlib.graphics.GCanvas
Returns an iterator over the GObjects found in this canvas.
iterator(boolean) - Method in class stanford.androidlib.graphics.GCanvas
Returns an iterator over the GObjects found in this canvas.
iterator() - Method in class stanford.androidlib.graphics.GCompound
Returns an Iterator that cycles through the elements within this container in the default direction, which is from back to front.

J

JSONRuntimeException - Exception in stanford.androidlib.json
RuntimeException thrown when JSON data is invalid.
JSONRuntimeException() - Constructor for exception stanford.androidlib.json.JSONRuntimeException
 
JSONRuntimeException(Throwable) - Constructor for exception stanford.androidlib.json.JSONRuntimeException
 
JSONRuntimeException(String) - Constructor for exception stanford.androidlib.json.JSONRuntimeException
 
JSONRuntimeException(String, Throwable) - Constructor for exception stanford.androidlib.json.JSONRuntimeException
 

L

LIGHT_GRAY - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color black.
LINE_TOLERANCE - Static variable in class stanford.androidlib.graphics.GLine
This constant defines how close (measured in pixel units) a point has to be to a line before that point is considered to be "contained" within the line.
listCreateAdapter(T...) - Method in class stanford.androidlib.SimpleActivity
Creates and returns an ArrayAdapter to store the given items.
listCreateAdapter(int, int, T...) - Method in class stanford.androidlib.SimpleActivity
Creates and returns an ArrayAdapter to store the given items, using the given layout ID and TextView ID.
listCreateAdapter(List<T>) - Method in class stanford.androidlib.SimpleActivity
Creates and returns an ArrayAdapter to store the given items.
listCreateAdapter(List<T>, int, int) - Method in class stanford.androidlib.SimpleActivity
Creates and returns an ArrayAdapter to store the given items, using the given layout ID and TextView ID.
listen(int, String) - Method in class stanford.androidlib.SimpleActivity
Attaches an event listener for the appropriate event that will call a method whose name is the same as the given event name, passing it the given parameters as appropriate.
listen(View, String) - Method in class stanford.androidlib.SimpleActivity
Attaches an event listener for the appropriate event that will call a method whose name is the same as the given event name, passing it the given parameters as appropriate.
listen(int, String, String, Object...) - Method in class stanford.androidlib.SimpleActivity
Attaches an event listener for the appropriate event that will call the method with the given name, passing it the given parameters as appropriate.
listen(View, String, String, Object...) - Method in class stanford.androidlib.SimpleActivity
Attaches an event listener for the appropriate event that will call the method with the given name, passing it the given parameters as appropriate.
listen(int, String) - Method in class stanford.androidlib.SimpleEvents
Attaches an event listener for the appropriate event that will call a method whose name is the same as the given event name, passing it the given parameters as appropriate.
listen(View, String) - Method in class stanford.androidlib.SimpleEvents
Attaches an event listener for the appropriate event that will call a method whose name is the same as the given event name, passing it the given parameters as appropriate.
listen(int, String, String, Object...) - Method in class stanford.androidlib.SimpleEvents
Attaches an event listener for the appropriate event that will call the method with the given name, passing it the given parameters as appropriate.
listen(View, String, String, Object...) - Method in class stanford.androidlib.SimpleEvents
Attaches an event listener for the appropriate event that will call the method with the given name, passing it the given parameters as appropriate.
listGetItems(AdapterView<?>) - Method in class stanford.androidlib.SimpleActivity
Returns the text of the items currently in the given list view as an ArrayList.
listSetItems(AdapterView<?>, ArrayList<String>) - Method in class stanford.androidlib.SimpleActivity
Sets the items currently in the given list view to those stored in the given ArrayList.
listSetItems(AdapterView<?>, String[]) - Method in class stanford.androidlib.SimpleActivity
Sets the items currently in the given list view to those passed in the given array.
listSetItems(AdapterView<?>, Object...) - Method in class stanford.androidlib.SimpleActivity
Sets the items currently in the given list view to those passed.
log(Object) - Method in class stanford.androidlib.SimpleActivity
Prints a debug (.d) log message containing the given text.
log(String) - Method in class stanford.androidlib.SimpleActivity
Prints a debug (.d) log message containing the given text.
log(String, Object) - Method in class stanford.androidlib.SimpleActivity
Prints a debug (.d) log message containing the given text.
log(String, String) - Method in class stanford.androidlib.SimpleActivity
Prints a debug (.d) log message containing the given text.
log(String, Throwable) - Method in class stanford.androidlib.SimpleActivity
Prints a WTF (.wtf) log message containing the given text and exception.
log(Throwable) - Method in class stanford.androidlib.SimpleActivity
Prints a WTF (.wtf) log message containing the given exception.
log(Object) - Method in class stanford.androidlib.SimpleFragment
Prints a debug (.d) log message containing the given text.
log(String) - Method in class stanford.androidlib.SimpleFragment
Prints a debug (.d) log message containing the given text.
log(String, Object) - Method in class stanford.androidlib.SimpleFragment
Prints a debug (.d) log message containing the given text.
log(String, String) - Method in class stanford.androidlib.SimpleFragment
Prints a debug (.d) log message containing the given text.
log(String, Throwable) - Method in class stanford.androidlib.SimpleFragment
Prints a WTF (.wtf) log message containing the given text and exception.
log(Throwable) - Method in class stanford.androidlib.SimpleFragment
Prints a WTF (.wtf) log message containing the given exception.
loop(int) - Method in class stanford.androidlib.SimpleMedia
Plays the media clip with the given ID in 'looping' mode.
LT - Static variable in class stanford.androidlib.xml.XML
The Character 'lt'.

M

MAGENTA - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color magenta.
main(String[]) - Static method in class stanford.androidlib.Version
This main method simply prints the library version and exits.
makeColor(int, int, int, int) - Static method in class stanford.androidlib.graphics.GColor
Returns a new paint with the given ARGB components from 0-255.
makeColor(int, int, int) - Static method in class stanford.androidlib.graphics.GColor
Returns a new paint with the given RGB components from 0-255.
makeIntent(Class<? extends Activity>, Object...) - Method in class stanford.androidlib.util.IntentUtils
 
makeIntent(String, Object...) - Method in class stanford.androidlib.util.IntentUtils
 
makeIntentAction(Class<? extends Activity>, String, Object...) - Method in class stanford.androidlib.util.IntentUtils
 
makePendingIntent(Class<? extends Activity>, Object...) - Method in class stanford.androidlib.util.IntentUtils
 
makePendingIntent(Class<? extends Activity>, int, Object...) - Method in class stanford.androidlib.util.IntentUtils
 
map(double, double) - Method in class stanford.androidlib.SimpleActivity
Launches the system default mapping application to display a map centered about the given latitude / longitude coordinates at the default zoom level of 14.
map(double, double, int) - Method in class stanford.androidlib.SimpleActivity
Launches the system default mapping application to display a map centered about the given latitude / longitude coordinates at the given zoom level.
markAsComplete() - Method in class stanford.androidlib.graphics.GCompound
Calling this method makes it illegal to add or remove elements from the compound object.
markAsComplete() - Method in class stanford.androidlib.graphics.GPolygon
Calling this method makes it illegal to add or remove vertices from the polygon.
matchColor(Paint, Paint) - Static method in class stanford.androidlib.graphics.GColor
Modifies dst to have the same ARGB values as src.
microphoneExists() - Method in class stanford.androidlib.SimpleActivity
Returns true if the device has a microphone.
MissingMethodException - Exception in stanford.androidlib
An exception thrown when a SimpleActivity subclass does not implement a method that it ought to implement.
MissingMethodException() - Constructor for exception stanford.androidlib.MissingMethodException
 
MissingMethodException(Throwable) - Constructor for exception stanford.androidlib.MissingMethodException
 
MissingMethodException(String) - Constructor for exception stanford.androidlib.MissingMethodException
 
MissingMethodException(String, Throwable) - Constructor for exception stanford.androidlib.MissingMethodException
 
mobileConnectionExists() - Method in class stanford.androidlib.SimpleActivity
Returns true if the device currently has a working mobile internet connection, as reported by the system connectivity service.
move(int) - Method in class stanford.androidlib.data.SimpleCursor
 
moveBy(float, float) - Method in class stanford.androidlib.graphics.GObject
Moves the object on the screen using the displacements dx and dy.
moveByPolar(float, float) - Method in class stanford.androidlib.graphics.GObject
Moves the object using displacements given in polar coordinates.
moveTo(float, float) - Method in class stanford.androidlib.graphics.GObject
Moves the object on the screen to the given x/y position.
moveTo(GObject) - Method in class stanford.androidlib.graphics.GObject
Moves this GObject to have the same location as the given other GObject.
moveTo(GPoint) - Method in class stanford.androidlib.graphics.GObject
Moves the object on the screen to the given point's x/y position.
moveTo(float, float) - Method in class stanford.androidlib.graphics.GSprite
Moves the sprite on the screen to the given x/y position.
moveTo(GPoint) - Method in class stanford.androidlib.graphics.GSprite
Moves the sprite on the screen to the given point's x/y position.
moveToFirst() - Method in class stanford.androidlib.data.SimpleCursor
 
moveToLast() - Method in class stanford.androidlib.data.SimpleCursor
 
moveToNext() - Method in class stanford.androidlib.data.SimpleCursor
 
moveToPolar(float, float) - Method in class stanford.androidlib.graphics.GObject
Moves the object using displacements given in polar coordinates.
moveToPosition(int) - Method in class stanford.androidlib.data.SimpleCursor
 
moveToPrevious() - Method in class stanford.androidlib.data.SimpleCursor
 

N

networkConnectionExists() - Method in class stanford.androidlib.SimpleActivity
Returns true if the device currently has a working internet connection, as reported by the system connectivity service.
nextBoolean() - Method in class stanford.androidlib.util.RandomGenerator
Returns a random boolean value that is true or false with equal probability.
nextBoolean(double) - Method in class stanford.androidlib.util.RandomGenerator
Returns a random boolean value with the specified probability.
nextCDATA() - Method in class stanford.androidlib.xml.XMLTokener
Get the text in the CDATA block.
nextColor() - Method in class stanford.androidlib.util.RandomGenerator
Returns a random opaque color whose components are chosen uniformly in the 0-255 range.
nextContent() - Method in class stanford.androidlib.xml.XMLTokener
Get the next XML outer token, trimming whitespace.
nextDouble(double, double) - Method in class stanford.androidlib.util.RandomGenerator
Returns the next random real number in the specified range.
nextEntity(char) - Method in class stanford.androidlib.xml.XMLTokener
Return the next entity.
nextFloat(float) - Method in class stanford.androidlib.util.RandomGenerator
Returns the next float number between 0 and the given maximum.
nextFloat(float, float) - Method in class stanford.androidlib.util.RandomGenerator
Returns the next float number between the given minimum and maximum.
nextInt(int) - Method in class stanford.androidlib.util.RandomGenerator
Returns the next random integer between 0 and n-1, inclusive.
nextInt(int, int) - Method in class stanford.androidlib.util.RandomGenerator
Returns the next random integer in the specified range.
nextMeta() - Method in class stanford.androidlib.xml.XMLTokener
Returns the next XML meta token.
nextToken() - Method in class stanford.androidlib.xml.XMLTokener
Get the next XML Token.
noSpace(String) - Static method in class stanford.androidlib.xml.XML
Throw an exception if the string contains whitespace.
number(double) - Method in class stanford.androidlib.SimpleLocalization
Returns a number string formatted for this locale.
number(double, Locale) - Method in class stanford.androidlib.SimpleLocalization
Returns a number string formatted for the given locale.
number(int) - Method in class stanford.androidlib.SimpleLocalization
Returns a number string formatted for this locale.
number(int, Locale) - Method in class stanford.androidlib.SimpleLocalization
Returns a number string formatted for the given locale.
number(long) - Method in class stanford.androidlib.SimpleLocalization
Returns a number string formatted for this locale.
number(long, Locale) - Method in class stanford.androidlib.SimpleLocalization
Returns a number string formatted for the given locale.

O

onActivityCreated(Bundle) - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onActivityResult(int, int, Intent) - Method in class stanford.androidlib.SimpleActivity
Called when various activities return their results.
onActivityResult(Class<?>, Intent) - Method in class stanford.androidlib.SimpleActivity
Called when various activities return their results.
onActivityResult(int, int, Intent) - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onAlertDialogClose(AlertDialog) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onAlertDialogClose(AlertDialog) - Method in class stanford.androidlib.SimpleDialog.DialogAdapter
Empty event listener method to be overridden.
onAlertDialogClose(AlertDialog) - Method in interface stanford.androidlib.SimpleDialog.DialogListener
Empty event listener method to be overridden.
onAnimateTick() - Method in class stanford.androidlib.graphics.GCanvas
This method is automatically called once for each frame of animation by the AnimationLoop.
onAnimateTick() - Method in class stanford.androidlib.SimpleCanvas
This is a callback that will be called on your canvas every time the animation ticks each frame of animation.
onAttach(Context) - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onBind(Intent) - Method in class stanford.androidlib.SimpleIntentService
This method returns null to indicate that a SimpleService does not support binding.
onBind(Intent) - Method in class stanford.androidlib.SimpleService
This method returns null to indicate that a SimpleService does not support binding.
onBroadcastReceived(Intent) - Method in class stanford.androidlib.SimpleActivity
Override this method to handle broadcasts registered through registerReceiver(String).
onCheckedChanged(CompoundButton, boolean) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onCheckedChanged(RadioGroup, int) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onCheckedChanged(CompoundButton, boolean) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onCheckedChanged(RadioGroup, int) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onClick(View) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onClick(View) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onCreate(Bundle) - Method in class stanford.androidlib.SimpleActivity
Activity lifecycle method.
onCreate(Bundle) - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onCreate() - Method in class stanford.androidlib.SimpleService
Lifecycle method that is called when the service is created.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onDateInputDialogClose(View, int, int, int) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onDateInputDialogClose(View, int, int, int) - Method in class stanford.androidlib.SimpleDialog.DialogAdapter
Empty event listener method to be overridden.
onDateInputDialogClose(View, int, int, int) - Method in interface stanford.androidlib.SimpleDialog.DialogListener
Empty event listener method to be overridden.
onDestroy() - Method in class stanford.androidlib.SimpleActivity
Activity lifecycle method.
onDestroy() - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onDestroyView() - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onDetach() - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onDetachedFromWindow() - Method in class stanford.androidlib.SimpleCanvas
This View lifecycle method is overridden to stop any animation from running if this canvas is removed from the screen.
onDialogCancel(DialogInterface) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onDialogCancel(DialogInterface) - Method in class stanford.androidlib.SimpleDialog.DialogAdapter
Empty event listener method to be overridden.
onDialogCancel(DialogInterface) - Method in interface stanford.androidlib.SimpleDialog.DialogListener
Empty event listener method to be overridden.
onDialogNegativeClick(DialogInterface) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onDialogNegativeClick(DialogInterface) - Method in class stanford.androidlib.SimpleDialog.DialogAdapter
Empty event listener method to be overridden.
onDialogNegativeClick(DialogInterface) - Method in interface stanford.androidlib.SimpleDialog.DialogListener
Empty event listener method to be overridden.
onDoubleTap(MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onDoubleTap(MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onDoubleTapEvent(MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onDoubleTapEvent(MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onDown(MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onDown(MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onDrag(View, DragEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onDrag(View, DragEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onDraw(Canvas) - Method in class stanford.androidlib.graphics.GCanvas
Draws the canvas; you should not override this method.
onEnterKeyPress(View) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onEnterKeyPress(View) - Method in interface stanford.androidlib.SimpleEvents.EnterKeyPressListener
 
onFling(MotionEvent, MotionEvent, float, float) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onFling(MotionEvent, MotionEvent, float, float) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onFocusChange(View, boolean) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onFocusChange(View, boolean) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onGenericMotion(View, MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onGenericMotion(View, MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onHover(View, MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onHover(View, MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onInflate(ViewStub, View) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onInflate(ViewStub, View) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onInit(int) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onInputDialogClose(AlertDialog, String) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onInputDialogClose(AlertDialog, String) - Method in class stanford.androidlib.SimpleDialog.DialogAdapter
Empty event listener method to be overridden.
onInputDialogClose(AlertDialog, String) - Method in interface stanford.androidlib.SimpleDialog.DialogListener
Empty event listener method to be overridden.
onItemClick(AdapterView<?>, View, int, long) - Method in class stanford.androidlib.SimpleActivity
Handles ListView and Spinner clicks and calls the other overload of onItemClick.
onItemClick(ListView, int) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onItemClick(Spinner, int) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onItemClick(AdapterView<?>, View, int, long) - Method in class stanford.androidlib.SimpleFragment
Handles ListView and Spinner clicks and calls the other overload of onItemClick.
onItemClick(ListView, int) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onItemClick(Spinner, int) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onItemLongClick(AdapterView<?>, View, int, long) - Method in class stanford.androidlib.SimpleActivity
Handles ListView and Spinner clicks and calls the other overload of onItemLongClick.
onItemLongClick(ListView, int) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onItemLongClick(Spinner, int) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onItemLongClick(AdapterView<?>, View, int, long) - Method in class stanford.androidlib.SimpleFragment
Handles ListView and Spinner clicks and calls the other overload of onItemLongClick.
onItemLongClick(ListView, int) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onItemLongClick(Spinner, int) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onItemSelected(AdapterView<?>, View, int, long) - Method in class stanford.androidlib.SimpleActivity
Handles ListView and Spinner clicks and calls the other overload of onItemSelected.
onItemSelected(ListView, int) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onItemSelected(Spinner, int) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onItemSelected(AdapterView<?>, View, int, long) - Method in class stanford.androidlib.SimpleFragment
Handles ListView and Spinner clicks and calls the other overload of onItemSelected.
onItemSelected(ListView, int) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onItemSelected(Spinner, int) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onKey(View, int, KeyEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onKey(View, int, KeyEvent) - Method in class stanford.androidlib.SimpleCanvas
Required method of OnKeyListener interface.
onKey(View, int, KeyEvent) - Method in class stanford.androidlib.SimpleEvents.EnterKeyPressSuppressor
 
onKey(View, int, KeyEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onLayout(boolean, int, int, int, int) - Method in class stanford.androidlib.graphics.GCanvas
This view lifecycle method is overridden so that we can ensure that init() is called on the canvas before it is shown.
onLongClick(View) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onLongClick(View) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onLongPress(MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onLongPress(MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onMenuItemClick(MenuItem) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onMenuItemClick(MenuItem) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onMultiInputDialogClose(AlertDialog, String[]) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onMultiInputDialogClose(AlertDialog, String[]) - Method in class stanford.androidlib.SimpleDialog.DialogAdapter
Empty event listener method to be overridden.
onMultiInputDialogClose(AlertDialog, String[]) - Method in interface stanford.androidlib.SimpleDialog.DialogListener
Empty event listener method to be overridden.
onNavigationItemSelected(int, long) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onNothingSelected(AdapterView<?>) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onNothingSelected(AdapterView<?>) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onPause() - Method in class stanford.androidlib.SimpleActivity
Activity lifecycle method.
onPause() - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onPhotoReady(Bitmap) - Method in class stanford.androidlib.SimpleActivity
Override this method to indicate what to do when a photo is done being taken or chosen.
onPostExecute() - Method in class stanford.androidlib.SimpleActivity
Required method of SimpleTask.TaskExecutor interface.
onPostExecute() - Method in class stanford.androidlib.SimpleFragment
Required method of SimpleTask.TaskExecutor interface.
onPostExecute(Void) - Method in class stanford.androidlib.SimpleTask
Called after the task ends.
onPostExecute() - Method in interface stanford.androidlib.SimpleTask.TaskExecutor
 
onPreExecute() - Method in class stanford.androidlib.SimpleActivity
Required method of SimpleTask.TaskExecutor interface.
onPreExecute() - Method in class stanford.androidlib.SimpleFragment
Required method of SimpleTask.TaskExecutor interface.
onPreExecute() - Method in class stanford.androidlib.SimpleTask
Called before the task begins.
onPreExecute() - Method in interface stanford.androidlib.SimpleTask.TaskExecutor
 
onProgressDialogClose(ProgressDialog) - Method in class stanford.androidlib.SimpleActivity
 
onProgressDialogClose(ProgressDialog) - Method in class stanford.androidlib.SimpleDialog.DialogAdapter
Empty event listener method to be overridden.
onProgressDialogClose(ProgressDialog) - Method in interface stanford.androidlib.SimpleDialog.DialogListener
Empty event listener method to be overridden.
onProgressUpdate(int) - Method in class stanford.androidlib.SimpleActivity
Required method of SimpleTask.TaskExecutor interface.
onProgressUpdate(int) - Method in class stanford.androidlib.SimpleFragment
Required method of SimpleTask.TaskExecutor interface.
onProgressUpdate(Integer...) - Method in class stanford.androidlib.SimpleTask
Called when the task reports that progress has been made via its publishProgress method.
onProgressUpdate(int) - Method in interface stanford.androidlib.SimpleTask.TaskExecutor
 
onRestart() - Method in class stanford.androidlib.SimpleActivity
Activity lifecycle method.
onRestoreInstanceState(Bundle) - Method in class stanford.androidlib.SimpleActivity
Called when this activity saves its instance state; if the @AutoSaveFields annotation is present on your activity class, automatically loads the value of your class's fields.
onResume() - Method in class stanford.androidlib.SimpleActivity
Activity lifecycle method.
onResume() - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onSaveInstanceState(Bundle) - Method in class stanford.androidlib.SimpleActivity
Called when this activity saves its instance state; if the @AutoSaveFields annotation is present on your activity class, automatically saves the value of your class's fields.
onScale(float) - Method in class stanford.androidlib.OnSwipeListener
You can override this method if you want to subclass OnSwipeListener.
onScale(float) - Method in interface stanford.androidlib.OnSwipeListener.OnScaleListenerImpl
 
onScale(float) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onScale(ScaleGestureDetector) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onScale(float) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onScale(ScaleGestureDetector) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onScaleBegin(ScaleGestureDetector) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onScaleBegin(ScaleGestureDetector) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onScaleEnd(ScaleGestureDetector) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onScaleEnd(ScaleGestureDetector) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onScroll(MotionEvent, MotionEvent, float, float) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onScroll(MotionEvent, MotionEvent, float, float) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onShowPress(MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onShowPress(MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onSingleTapConfirmed(MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onSingleTapConfirmed(MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onSingleTapUp(MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onSingleTapUp(MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onSpeechToTextReady(String) - Method in class stanford.androidlib.SimpleActivity
Override this method to indicate what to do when a speech-to-text action is done recording the user's voice and translating it to text.
onStart() - Method in class stanford.androidlib.SimpleActivity
Activity lifecycle method.
onStart() - Method in class stanford.androidlib.SimpleFragment
Activity lifecycle method.
onStartCommand(Intent, int, int) - Method in class stanford.androidlib.SimpleService
This method handles a single incoming request; rather than overriding this method, override onStartInThread(Intent) to handle each incoming request.
onStartInThread(Intent) - Method in class stanford.androidlib.SimpleService
Override this method to handle each incoming request.
onStop() - Method in class stanford.androidlib.SimpleActivity
Stops the activity, performing some needed cleanup such as shutting down the text-to-speech system if it was in use.
onStop() - Method in class stanford.androidlib.SimpleFragment
Stops the activity, performing some needed cleanup such as shutting down the text-to-speech system if it was in use.
OnSwipeAdapterImpl() - Constructor for class stanford.androidlib.OnSwipeListener.OnSwipeAdapterImpl
 
onSwipeDown(float) - Method in class stanford.androidlib.OnSwipeListener.OnSwipeAdapterImpl
 
onSwipeDown(float) - Method in class stanford.androidlib.OnSwipeListener
You can override this method if you want to subclass OnSwipeListener.
onSwipeDown(float) - Method in interface stanford.androidlib.OnSwipeListener.OnSwipeListenerImpl
 
onSwipeDown(float) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onSwipeDown(float) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onSwipeLeft(float) - Method in class stanford.androidlib.OnSwipeListener.OnSwipeAdapterImpl
 
onSwipeLeft(float) - Method in class stanford.androidlib.OnSwipeListener
You can override this method if you want to subclass OnSwipeListener.
onSwipeLeft(float) - Method in interface stanford.androidlib.OnSwipeListener.OnSwipeListenerImpl
 
onSwipeLeft(float) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onSwipeLeft(float) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
OnSwipeListener - Class in stanford.androidlib
This class makes it easier to detect mouse/finger swipe motions on a view.
OnSwipeListener(Context) - Constructor for class stanford.androidlib.OnSwipeListener
Constructs a new listener for the given context (activity or fragment).
OnSwipeListener.OnScaleListenerImpl - Interface in stanford.androidlib
This interface makes it easier to detect mouse/finger pinch-to-scale motions on a view.
OnSwipeListener.OnSwipeAdapterImpl - Class in stanford.androidlib
This class makes it easier to detect mouse/finger swipe motions on a view.
OnSwipeListener.OnSwipeListenerImpl - Interface in stanford.androidlib
This interface makes it easier to detect mouse/finger swipe motions on a view.
onSwipeRight(float) - Method in class stanford.androidlib.OnSwipeListener.OnSwipeAdapterImpl
 
onSwipeRight(float) - Method in interface stanford.androidlib.OnSwipeListener.OnSwipeListenerImpl
 
onSwipeRight(float) - Method in class stanford.androidlib.OnSwipeListener
You can override this method if you want to subclass OnSwipeListener.
onSwipeRight(float) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onSwipeRight(float) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onSwipeUp(float) - Method in class stanford.androidlib.OnSwipeListener.OnSwipeAdapterImpl
 
onSwipeUp(float) - Method in interface stanford.androidlib.OnSwipeListener.OnSwipeListenerImpl
 
onSwipeUp(float) - Method in class stanford.androidlib.OnSwipeListener
You can override this method if you want to subclass OnSwipeListener.
onSwipeUp(float) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onSwipeUp(float) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
onTimeInputDialogClose(View, int, int) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onTimeInputDialogClose(View, int, int) - Method in class stanford.androidlib.SimpleDialog.DialogAdapter
Empty event listener method to be overridden.
onTimeInputDialogClose(View, int, int) - Method in interface stanford.androidlib.SimpleDialog.DialogListener
Empty event listener method to be overridden.
onTouch(View, MotionEvent) - Method in class stanford.androidlib.OnSwipeListener
Internal method used to implement mouse touch events.
onTouch(View, MotionEvent) - Method in class stanford.androidlib.SimpleActivity
Empty event listener method to be overridden.
onTouch(View, MotionEvent) - Method in class stanford.androidlib.SimpleCanvas
Required method of OnTouchListener interface.
onTouch(View, MotionEvent) - Method in class stanford.androidlib.SimpleFragment
Empty event listener method to be overridden.
open(String) - Method in class stanford.androidlib.data.SimpleDatabase
Opens the database with the given name, or creates it if it doesn't exist.
openExternalFileBufferedReader(String, String) - Method in class stanford.androidlib.SimpleActivity
Opens and returns a FileInputStream to read the given file in the given external directory.
openExternalFileBufferedReader(String, String) - Method in class stanford.androidlib.SimpleIO
Opens and returns a FileInputStream to read the given file in the given external directory.
openExternalFileInputStream(String, String) - Method in class stanford.androidlib.SimpleActivity
Opens and returns a Scanner to read the given file in the given external directory.
openExternalFileInputStream(String, String) - Method in class stanford.androidlib.SimpleIO
Opens and returns a Scanner to read the given file in the given external directory.
openExternalFilePrintStream(String, String) - Method in class stanford.androidlib.SimpleActivity
Opens and returns a PrintStream to write the given file in the given external directory.
openExternalFilePrintStream(String, String, boolean) - Method in class stanford.androidlib.SimpleActivity
Opens and returns a PrintStream to write the given file in the given external directory.
openExternalFilePrintStream(String, String) - Method in class stanford.androidlib.SimpleIO
Opens and returns a PrintStream to write the given file in the given external directory.
openExternalFilePrintStream(String, String, boolean) - Method in class stanford.androidlib.SimpleIO
Opens and returns a PrintStream to write the given file in the given external directory.
openExternalFileScanner(String, String) - Method in class stanford.androidlib.SimpleActivity
Opens and returns a Scanner to read the given file in the given external directory.
openExternalFileScanner(String, String) - Method in class stanford.androidlib.SimpleIO
Opens and returns a Scanner to read the given file in the given external directory.
openFileInput(File) - Method in class stanford.androidlib.SimpleActivity
Opens an external file for reading.
openFileInput(File, String) - Method in class stanford.androidlib.SimpleActivity
Opens an external file in the given directory for reading.
openFileInput(String) - Method in class stanford.androidlib.SimpleActivity
Opens an external file for reading.
openFileInput(File) - Method in class stanford.androidlib.SimpleIO
Opens an external file for reading.
openFileInput(File, String) - Method in class stanford.androidlib.SimpleIO
Opens an external file in the given directory for reading.
openFileInput(String) - Method in class stanford.androidlib.SimpleIO
Opens an external file for reading.
openFileOutput(File, int) - Method in class stanford.androidlib.SimpleActivity
Opens an external file for writing in the given mode, such as MODE_PRIVATE or MODE_APPEND.
openFileOutput(File, String, int) - Method in class stanford.androidlib.SimpleActivity
Opens an external file in the given directory for writing in the given mode, such as MODE_PRIVATE or MODE_APPEND.
openFileOutput(String, int) - Method in class stanford.androidlib.SimpleActivity
Opens an external file for writing in the given mode, such as MODE_PRIVATE or MODE_APPEND.
openFileOutput(File, int) - Method in class stanford.androidlib.SimpleIO
Opens an external file for writing in the given mode, such as Context.MODE_PRIVATE or MODE_APPEND.
openFileOutput(File, String, int) - Method in class stanford.androidlib.SimpleIO
Opens an external file in the given directory for writing in the given mode, such as Context.MODE_PRIVATE or MODE_APPEND.
openFileOutput(String, int) - Method in class stanford.androidlib.SimpleIO
Opens an external file for writing in the given mode, such as Context.MODE_PRIVATE or MODE_APPEND.
openInternalFileBufferedReader(File) - Method in class stanford.androidlib.SimpleActivity
Opens a BufferedReader for reading from the given file.
openInternalFileBufferedReader(File, String) - Method in class stanford.androidlib.SimpleActivity
Opens a BufferedReader for reading from the given file in the given directory.
openInternalFileBufferedReader(String) - Method in class stanford.androidlib.SimpleActivity
Opens a BufferedReader for reading from the given file.
openInternalFileBufferedReader(int) - Method in class stanford.androidlib.SimpleActivity
Opens a BufferedReader to read the file with the given ID.
openInternalFileBufferedReader(File) - Method in class stanford.androidlib.SimpleIO
Opens a BufferedReader for reading from the given file.
openInternalFileBufferedReader(File, String) - Method in class stanford.androidlib.SimpleIO
Opens a BufferedReader for reading from the given file in the given directory.
openInternalFileBufferedReader(String) - Method in class stanford.androidlib.SimpleIO
Opens a BufferedReader for reading from the given file.
openInternalFileBufferedReader(int) - Method in class stanford.androidlib.SimpleIO
Opens a BufferedReader to read the file with the given ID.
openInternalFilePrintStream(File) - Method in class stanford.androidlib.SimpleActivity
Opens a PrintStream for writing into the given file, replacing any previous data.
openInternalFilePrintStream(File, String) - Method in class stanford.androidlib.SimpleActivity
Opens a PrintStream for writing into the given file, replacing any previous data.
openInternalFilePrintStream(String) - Method in class stanford.androidlib.SimpleActivity
Opens a PrintStream for writing into the given file, replacing any previous data.
openInternalFilePrintStream(File, boolean) - Method in class stanford.androidlib.SimpleActivity
Opens a PrintStream for writing into the given file.
openInternalFilePrintStream(File, String, boolean) - Method in class stanford.androidlib.SimpleActivity
Opens a PrintStream for writing into the given file.
openInternalFilePrintStream(String, boolean) - Method in class stanford.androidlib.SimpleActivity
Opens a PrintStream for writing into the given file.
openInternalFilePrintStream(File) - Method in class stanford.androidlib.SimpleIO
Opens a PrintStream for writing into the given file, replacing any previous data.
openInternalFilePrintStream(File, String) - Method in class stanford.androidlib.SimpleIO
Opens a PrintStream for writing into the given file, replacing any previous data.
openInternalFilePrintStream(String) - Method in class stanford.androidlib.SimpleIO
Opens a PrintStream for writing into the given file, replacing any previous data.
openInternalFilePrintStream(File, boolean) - Method in class stanford.androidlib.SimpleIO
Opens a PrintStream for writing into the given file.
openInternalFilePrintStream(File, String, boolean) - Method in class stanford.androidlib.SimpleIO
Opens a PrintStream for writing into the given file.
openInternalFilePrintStream(String, boolean) - Method in class stanford.androidlib.SimpleIO
Opens a PrintStream for writing into the given file.
openInternalFileScanner(File) - Method in class stanford.androidlib.SimpleActivity
Opens a Scanner to read the file with the given name.
openInternalFileScanner(File, String) - Method in class stanford.androidlib.SimpleActivity
Opens a Scanner to read the file with the given name.
openInternalFileScanner(String) - Method in class stanford.androidlib.SimpleActivity
Opens a Scanner to read the file with the given name.
openInternalFileScanner(int) - Method in class stanford.androidlib.SimpleActivity
Opens a Scanner to read the file with the given ID.
openInternalFileScanner(File) - Method in class stanford.androidlib.SimpleIO
Opens a Scanner to read the file with the given name.
openInternalFileScanner(File, String) - Method in class stanford.androidlib.SimpleIO
Opens a Scanner to read the file with the given name.
openInternalFileScanner(String) - Method in class stanford.androidlib.SimpleIO
Opens a Scanner to read the file with the given name.
openInternalFileScanner(int) - Method in class stanford.androidlib.SimpleIO
Opens a Scanner to read the file with the given ID.
openInternalFileStream(int) - Method in class stanford.androidlib.SimpleActivity
Opens an InputStream to read the file with the given ID.
openInternalFileStream(int) - Method in class stanford.androidlib.SimpleIO
Opens an InputStream to read the file with the given ID.
openOrCreateDatabase(String) - Method in class stanford.androidlib.SimpleActivity
Opens or creates a database with the given name in MODE_PRIVATE mode.
ORANGE - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color orange.

P

paint(Canvas) - Method in class stanford.androidlib.graphics.GArrow
 
paint(Canvas) - Method in class stanford.androidlib.graphics.GCompound
Implements the paint operation for this graphical object.
paint(Canvas) - Method in class stanford.androidlib.graphics.GImage
Implements the paint operation for this graphical object.
paint(Canvas) - Method in class stanford.androidlib.graphics.GLabel
Implements the paint operation for this graphical object.
paint(Canvas) - Method in class stanford.androidlib.graphics.GLine
Implements the paint operation for this graphical object.
paint(Canvas) - Method in class stanford.androidlib.graphics.GObject
All subclasses of GObject must define a paint method which allows the object to draw itself on the Graphics context passed in as the parameter g.
paint(Canvas) - Method in class stanford.androidlib.graphics.GOval
Implements the paint operation for this graphical object.
paint(Canvas) - Method in class stanford.androidlib.graphics.GPolygon
Implements the paint operation for this graphical object.
paint(Canvas) - Method in class stanford.androidlib.graphics.GRect
Implements the paint operation for this graphical object.
paint(Canvas) - Method in class stanford.androidlib.graphics.GSprite
Draws this sprite onto the given graphical canvas.
paint - Variable in class stanford.androidlib.SimpleCanvas
 
parseLocalizedDouble(String) - Method in class stanford.androidlib.SimpleLocalization
Treats the given text as a real number in the current locale, parses it into a double, and returns it.
parseLocalizedDouble(String, Locale) - Method in class stanford.androidlib.SimpleLocalization
Treats the given text as a real number in the given locale, parses it into a double, and returns it.
parseLocalizedFloat(String) - Method in class stanford.androidlib.SimpleLocalization
Treats the given text as a real number in the current locale, parses it into a float, and returns it.
parseLocalizedFloat(String, Locale) - Method in class stanford.androidlib.SimpleLocalization
Treats the given text as a real number in the given locale, parses it into a float, and returns it.
parseLocalizedInt(String) - Method in class stanford.androidlib.SimpleLocalization
Treats the given text as an integer in the current locale, parses it into an int, and returns it.
parseLocalizedInt(String, Locale) - Method in class stanford.androidlib.SimpleLocalization
Treats the given text as an integer in the given locale, parses it into an int, and returns it.
parseLocalizedLong(String) - Method in class stanford.androidlib.SimpleLocalization
Treats the given text as a long integer in the current locale, parses it into a long, and returns it.
parseLocalizedLong(String, Locale) - Method in class stanford.androidlib.SimpleLocalization
Treats the given text as a long integer in the given locale, parses it into a long, and returns it.
pause(int) - Method in class stanford.androidlib.SimpleMedia
Pauses the media clip with the given ID if it is playing.
PermissionRuntimeException - Exception in stanford.androidlib
An exception thrown when a SimpleActivity subclass does not have permission to do something it wants to do.
PermissionRuntimeException() - Constructor for exception stanford.androidlib.PermissionRuntimeException
 
PermissionRuntimeException(Throwable) - Constructor for exception stanford.androidlib.PermissionRuntimeException
 
PermissionRuntimeException(String) - Constructor for exception stanford.androidlib.PermissionRuntimeException
 
PermissionRuntimeException(String, Throwable) - Constructor for exception stanford.androidlib.PermissionRuntimeException
 
photoGallery() - Method in class stanford.androidlib.SimpleActivity
Launches the device's photo gallery activity.
photoGallery() - Method in class stanford.androidlib.SimpleCamera
Launches the device's photo gallery activity.
PINK - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color pink.
play(int) - Method in class stanford.androidlib.SimpleMedia
Plays the media clip with the given ID.
pluralize(int, int, Object...) - Method in class stanford.androidlib.SimpleLocalization
Formats a "quantity" resource string for the given ID, using the right pluralization for the given quantity, and fills it in with the given placeholders.
preAnimateTick() - Method in class stanford.androidlib.SimpleCanvas
This is called each time there is a tick of animation by the AnimationLoop.
printf(String, Object...) - Method in class stanford.androidlib.SimpleActivity
Prints a verbose (.v) log message containing the given formatted string.
printf(String, Object...) - Method in class stanford.androidlib.SimpleFragment
Prints a verbose (.v) log message containing the given formatted string.
println(Object) - Method in class stanford.androidlib.SimpleActivity
Prints a verbose (.v) log message containing the given text.
println(String) - Method in class stanford.androidlib.SimpleActivity
Prints a verbose (.v) log message containing the given text.
println(Object) - Method in class stanford.androidlib.SimpleFragment
Prints a verbose (.v) log message containing the given text.
println(String) - Method in class stanford.androidlib.SimpleFragment
Prints a verbose (.v) log message containing the given text.
provideViewToAdapter(SimpleAdapter, int) - Method in interface stanford.androidlib.SimpleAdapter.ViewProvider
 
publishProgress(int) - Method in class stanford.androidlib.SimpleTask
Your task code can call this to indicate that progress has been made.
PURPLE - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color purple.
putExtra(String, Object) - Method in class stanford.androidlib.graphics.GSprite
Sets the extra property inside this sprite with the given name.
putExtras(Bundle) - Method in class stanford.androidlib.graphics.GSprite
Adds all extras from the given Bundle into this Sprite.
putParameters(Intent, Object...) - Static method in class stanford.androidlib.util.IntentUtils
Puts the given 'extra' parameters into the given Intent.

Q

query(SQLiteDatabase, String) - Method in class stanford.androidlib.data.SimpleDatabase
Performs the given database query on the given database and returns a view of the results.
query(String, String) - Method in class stanford.androidlib.data.SimpleDatabase
Performs the given database query on the database with the given name and returns a view of the results.
queryTransaction(SQLiteDatabase, String...) - Method in class stanford.androidlib.data.SimpleDatabase
Performs all of the given database queries on the given database as a transaction to speed them up as well as making sure that all of them are completed successfully.
queryTransaction(String, String...) - Method in class stanford.androidlib.data.SimpleDatabase
Performs all of the given database queries on the given database as a transaction to speed them up as well as making sure that all of them are completed successfully.
queryTransaction(SQLiteDatabase, SimpleDatabase.QueryProgressListener, String...) - Method in class stanford.androidlib.data.SimpleDatabase
Performs all of the given database queries on the given database as a transaction to speed them up as well as making sure that all of them are completed successfully.
queryTransaction(String, SimpleDatabase.QueryProgressListener, String...) - Method in class stanford.androidlib.data.SimpleDatabase
Performs all of the given database queries on the given database as a transaction to speed them up as well as making sure that all of them are completed successfully.
queryUpdated(String, double) - Method in interface stanford.androidlib.data.SimpleDatabase.QueryProgressListener
Called when part of a long-running query finishes.
queryUpdated(String, double) - Method in class stanford.androidlib.SimpleActivity
Required method of SimpleDatabase.QueryProgressListener interface.
QUEST - Static variable in class stanford.androidlib.xml.XML
The Character '?'.
QUOT - Static variable in class stanford.androidlib.xml.XML
The Character '"'.

R

random() - Static method in class stanford.androidlib.graphics.GColor
Returns a randomly chosen color.
RandomGenerator - Class in stanford.androidlib.util
This class implements a simple random number generator that allows clients to generate pseudorandom integers, doubles, booleans, and colors.
RandomGenerator() - Constructor for class stanford.androidlib.util.RandomGenerator
Creates a new random generator.
readFileLines(int) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text of the file with the given ID, returning it as a list of lines.
readFileLines(File) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text of the given file, returning it as a list of lines.
readFileLines(File, String) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text of the given file, returning it as a list of lines.
readFileLines(InputStream) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text from the given stream, returning it as a list of lines.
readFileLines(String) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text of the given file, returning it as a list of lines.
readFileLines(int) - Method in class stanford.androidlib.SimpleIO
Reads the entire text of the file with the given ID, returning it as a list of lines.
readFileLines(File) - Method in class stanford.androidlib.SimpleIO
Reads the entire text of the given file, returning it as a list of lines.
readFileLines(File, String) - Method in class stanford.androidlib.SimpleIO
Reads the entire text of the given file, returning it as a list of lines.
readFileLines(InputStream) - Method in class stanford.androidlib.SimpleIO
Reads the entire text from the given stream, returning it as a list of lines.
readFileLines(String) - Method in class stanford.androidlib.SimpleIO
Reads the entire text of the given file, returning it as a list of lines.
readFileText(int) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text of the file with the given ID, returning it as a string.
readFileText(File) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text of the given file, returning it as a string.
readFileText(InputStream) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text from the given stream, returning it as a string.
readFileText(File, String) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text of the given file, returning it as a string.
readFileText(String) - Method in class stanford.androidlib.SimpleActivity
Reads the entire text of the given file, returning it as a string.
readFileText(int) - Method in class stanford.androidlib.SimpleIO
Reads the entire text of the file with the given ID, returning it as a string.
readFileText(File) - Method in class stanford.androidlib.SimpleIO
Reads the entire text of the given file, returning it as a string.
readFileText(InputStream) - Method in class stanford.androidlib.SimpleIO
Reads the entire text from the given stream, returning it as a string.
readFileText(File, String) - Method in class stanford.androidlib.SimpleIO
Reads the entire text of the given file, returning it as a string.
readFileText(String) - Method in class stanford.androidlib.SimpleIO
Reads the entire text of the given file, returning it as a string.
recenter() - Method in class stanford.androidlib.graphics.GPolygon
Recalculates the vertices of the polygon so that they are positioned relative to the geometric center of the object.
RED - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color red.
ReflectionRuntimeException - Exception in stanford.androidlib
This exception class is a thin wrapper around Java's reflection exception classes like ClassNotFoundException and NoSuchMethodException.
ReflectionRuntimeException() - Constructor for exception stanford.androidlib.ReflectionRuntimeException
 
ReflectionRuntimeException(Throwable) - Constructor for exception stanford.androidlib.ReflectionRuntimeException
 
ReflectionRuntimeException(String) - Constructor for exception stanford.androidlib.ReflectionRuntimeException
 
ReflectionRuntimeException(String, Throwable) - Constructor for exception stanford.androidlib.ReflectionRuntimeException
 
registerContentObserver(ContentObserver) - Method in class stanford.androidlib.data.SimpleCursor
 
registerDataSetObserver(DataSetObserver) - Method in class stanford.androidlib.data.SimpleCursor
 
registerReceiver(String...) - Method in class stanford.androidlib.SimpleActivity
Registers this activity as a broadcast receiver for the given action(s).
remove(GObject) - Method in class stanford.androidlib.graphics.GCanvas
Removes the given graphical object, if it was contained in this canvas.
remove(GObject) - Method in class stanford.androidlib.graphics.GCompound
Removes a graphical object from this GCompound.
remove() - Method in class stanford.androidlib.graphics.GObject
Removes this object from its graphical canvas, if it is added to one.
remove() - Method in class stanford.androidlib.graphics.GSprite
Removes this sprite from its graphical canvas, if it is added to one.
removeAll() - Method in class stanford.androidlib.graphics.GCanvas
Removes all graphical objects from this canvas.
removeAll() - Method in class stanford.androidlib.graphics.GCompound
Removes all graphical objects from this GCompound.
removeExtra(String) - Method in class stanford.androidlib.graphics.GSprite
Removes the extra property inside this sprite with the given name.
removeFragment(Fragment) - Method in class stanford.androidlib.SimpleActivity
Removes the given fragment from this activity.
removeFragment(int) - Method in class stanford.androidlib.SimpleActivity
Removes the fragment with the given ID from this activity, if it is contained in this activity.
repaint() - Method in class stanford.androidlib.graphics.GObject
Instructs this object to redraw itself by calling the postInvalidate method on its enclosing GCanvas as needed.
repaint() - Method in class stanford.androidlib.graphics.GPolygon
Overrides repaint in GObject to invalidate the cached polygon.
replaceFragment(int, Class<? extends Fragment>) - Method in class stanford.androidlib.SimpleActivity
Replaces the fragment in the view container with given ID with a new fragment of the given type.
replaceFragment(int, Fragment) - Method in class stanford.androidlib.SimpleActivity
Replaces the fragment in the view container with given ID with the given new fragment.
REQ_CODE_PHOTO_GALLERY - Static variable in class stanford.androidlib.SimpleActivity
Request code for Intent to launch photo gallery.
REQ_CODE_PHOTO_GALLERY - Static variable in class stanford.androidlib.SimpleCamera
Request code for Intent to launch photo gallery.
REQ_CODE_REQUEST_PERMISSIONS - Static variable in class stanford.androidlib.SimpleActivity
Request code for Intent to request app permissions.
REQ_CODE_SPEECH_TO_TEXT - Static variable in class stanford.androidlib.SimpleSpeech
Request code for Intent for speech-to-text.
REQ_CODE_TAKE_PICTURE - Static variable in class stanford.androidlib.SimpleActivity
Request code for Intent to take a photo.
REQ_CODE_TAKE_PICTURE - Static variable in class stanford.androidlib.SimpleCamera
Request code for Intent to take a photo.
requery() - Method in class stanford.androidlib.data.SimpleCursor
 
requestPermission(String...) - Method in class stanford.androidlib.SimpleActivity
Pops up a request for our application to acquire the given kind of permission(s), such as Manifest.permission.CAMERA.
respond(Bundle) - Method in class stanford.androidlib.data.SimpleCursor
 
restoreAllFields(Bundle) - Method in class stanford.androidlib.SimpleActivity
Extracts all fields' values from the given bundle and stores them back into those fields.
rotate(float) - Method in class stanford.androidlib.graphics.GPolygon
Rotates the polygon around its origin by the angle theta, measured in degrees.
rotate(Bitmap, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap based on the given bitmap but rotated by the given number of degrees clockwise about its center point.
rotate(int, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap based on the given bitmap but rotated by the given number of degrees clockwise about its center point.
rotate(Bitmap, float, float, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap based on the given bitmap but rotated by the given number of degrees clockwise about the point (rx, ry).
rotate(int, float, float, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap based on the given bitmap but rotated by the given number of degrees clockwise about the point (rx, ry).
rotateBitmap(Bitmap, float) - Method in class stanford.androidlib.SimpleCanvas
Returns a new bitmap based on the given bitmap but rotated by the given number of degrees clockwise about its center point.
rotateBitmap(Bitmap, float, float, float) - Method in class stanford.androidlib.SimpleCanvas
Returns a new bitmap based on the given bitmap but rotated by the given number of degrees clockwise about the point (rx, ry).
rotateLeft(Bitmap) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap based on the given bitmap but rotated counter-clockwise by 90 degrees about its center point.
rotateLeft(int) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap based on the given bitmap but rotated counter-clockwise by 90 degrees about its center point.
rotateRight(Bitmap) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap based on the given bitmap but rotated clockwise by 90 degrees about its center point.
rotateRight(int) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap based on the given bitmap but rotated clockwise by 90 degrees about its center point.
rotateVelocity(float) - Method in class stanford.androidlib.graphics.GSprite
Rotates this sprite's velocity in x and y dimension by the given angle in degrees, clockwise.
round(float) - Static method in class stanford.androidlib.graphics.GMath
Rounds a float value to the nearest int.
rows(Cursor) - Static method in class stanford.androidlib.data.SimpleDatabase
Returns an object that can be used to iterate over the rows of a given query cursor.

S

saveAllFields(Bundle) - Method in class stanford.androidlib.SimpleActivity
Stores all fields' values into the given bundle.
scale(float, float) - Method in class stanford.androidlib.graphics.GCompound
Scales every object contained in this compound by the scale factors sx and sy.
scale(float, float) - Method in class stanford.androidlib.graphics.GLine
Scales the line on the screen by the scale factors sx and sy.
scale(float, float) - Method in class stanford.androidlib.graphics.GObject
Scales the object on the screen by the scale factors sx and sy.
scale(float) - Method in class stanford.androidlib.graphics.GObject
Scales the object on the screen by the scale factor sf, which applies in both dimensions.
scale(float, float) - Method in class stanford.androidlib.graphics.GPolygon
Scales the polygon by the scale factors sx and sy.
scale(float, float) - Method in interface stanford.androidlib.graphics.GScalable
Scales the object on the screen by the scale factors sx and sy.
scale(float) - Method in interface stanford.androidlib.graphics.GScalable
Scales the object on the screen by the scale factor sf, which applies in both dimensions.
scale(float) - Method in class stanford.androidlib.graphics.GSprite
Scales the sprite on the screen by the scale factor sf, which applies in both dimensions.
scale(float, float) - Method in class stanford.androidlib.graphics.GSprite
Scales the object on the screen by the scale factors sx and sy.
scale(Bitmap, float, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized to the given size.
scale(int, float, float) - Method in class stanford.androidlib.SimpleBitmap
Returns the bitmap that corresponds to the given resource ID.
scale(Bitmap, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized by the given factor.
scale(int, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized by the given factor.
scaleBitmap(Bitmap, float) - Method in class stanford.androidlib.SimpleCanvas
Returns a new bitmap which is the given bitmap resized by the given factor.
scaleBitmap(Bitmap, float, float) - Method in class stanford.androidlib.SimpleCanvas
Returns a new bitmap which is the given bitmap resized to the given size.
scaleBitmapToHeight(Bitmap, float) - Method in class stanford.androidlib.SimpleCanvas
Returns a new bitmap which is the given bitmap resized to have the given height, and a proportionally scaled width to match.
scaleBitmapToWidth(Bitmap, float) - Method in class stanford.androidlib.SimpleCanvas
Returns a new bitmap which is the given bitmap resized to have the given width, and a proportionally scaled height to match.
scaleToFit(Bitmap, float, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized to the largest size that can fit within the given width/height while maintaining its aspect ratio.
scaleToFit(int, float, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized to the largest size that can fit within the given width/height while maintaining its aspect ratio.
scaleToFit(Bitmap, View) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized to the largest size that can fit within the given view's width/height while maintaining its aspect ratio.
scaleToFit(int, View) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized to the largest size that can fit within the given view's width/height while maintaining its aspect ratio.
scaleToFit(Bitmap, Canvas) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized to the largest size that can fit within the given canvas's width/height while maintaining its aspect ratio.
scaleToFit(int, Canvas) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized to the largest size that can fit within the given canvas's width/height while maintaining its aspect ratio.
scaleToHeight(Bitmap, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized to have the given height, and a proportionally scaled width to match.
scaleToHeight(int, float) - Method in class stanford.androidlib.SimpleBitmap
Returns the bitmap that corresponds to the given resource ID.
scaleToWidth(Bitmap, float) - Method in class stanford.androidlib.SimpleBitmap
Returns a new bitmap which is the given bitmap resized to have the given width, and a proportionally scaled height to match.
scaleToWidth(int, float) - Method in class stanford.androidlib.SimpleBitmap
Returns the bitmap that corresponds to the given resource ID.
send() - Method in class stanford.androidlib.SimpleNotification
 
send(int) - Method in class stanford.androidlib.SimpleNotification
 
sendBackward(GObject) - Method in class stanford.androidlib.graphics.GCanvas
Moves the given GObject back/down by 1 in the Z-ordering.
sendBackward(GObject) - Method in class stanford.androidlib.graphics.GCompound
Implements the sendBackward function from the GContainer interface.
sendBackward() - Method in class stanford.androidlib.graphics.GObject
Moves this object one step toward the back in the z dimension.
sendBroadcast(String, Object...) - Method in class stanford.androidlib.SimpleIntentService
Sends a broadcast using an intent with the given action and passes it the given 'extra' parameters.
sendBroadcast(String, Object...) - Method in class stanford.androidlib.SimpleService
Sends a broadcast using an intent with the given action and passes it the given 'extra' parameters.
sendForward(GObject) - Method in class stanford.androidlib.graphics.GCanvas
Moves the given GObject forward/up by 1 in the Z-ordering.
sendForward(GObject) - Method in class stanford.androidlib.graphics.GCompound
Implements the sendForward function from the GContainer interface.
sendForward() - Method in class stanford.androidlib.graphics.GObject
Moves this object one step toward the front in the z dimension.
sendToBack(GObject) - Method in class stanford.androidlib.graphics.GCanvas
Moves the given GObject to the back/bottom of the Z-ordering.
sendToBack(GObject) - Method in class stanford.androidlib.graphics.GCompound
Implements the sendToBack function from the GContainer interface.
sendToBack() - Method in class stanford.androidlib.graphics.GObject
Moves this object to the back of the display in the z dimension.
sendToFront(GObject) - Method in class stanford.androidlib.graphics.GCanvas
Moves the given GObject to the front/top of the Z-ordering.
sendToFront(GObject) - Method in class stanford.androidlib.graphics.GCompound
Implements the sendToFront function from the GContainer interface.
sendToFront() - Method in class stanford.androidlib.graphics.GObject
Moves this object to the front of the display in the z dimension.
set(String, boolean) - Method in class stanford.androidlib.SimplePreferences
Sets a preference with the given name and value into the app's global preferences.
set(String, double) - Method in class stanford.androidlib.SimplePreferences
Sets a preference with the given name and value into the app's global preferences.
set(String, int) - Method in class stanford.androidlib.SimplePreferences
Sets a preference with the given name and value into the app's global preferences.
set(String, long) - Method in class stanford.androidlib.SimplePreferences
Sets a preference with the given name and value into the app's global preferences.
set(String, String) - Method in class stanford.androidlib.SimplePreferences
Sets a preference with the given name and value into the app's global preferences.
set(String, Iterable<String>) - Method in class stanford.androidlib.SimplePreferences
Sets a preference with the given name and value into the app's global preferences.
set(String, Set<String>) - Method in class stanford.androidlib.SimplePreferences
Sets a preference with the given name and value into the app's global preferences.
setAcceleration(float, float) - Method in class stanford.androidlib.graphics.GSprite
Sets the x and y acceleration of this sprite.
setAccelerationX(float) - Method in class stanford.androidlib.graphics.GSprite
Sets the x acceleration of this sprite.
setAccelerationY(float) - Method in class stanford.androidlib.graphics.GSprite
Sets the y acceleration of this sprite.
setAlpha(int) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given alpha transparency from 0-255 for all drawing.
setAnimated(boolean) - Method in class stanford.androidlib.OnSwipeListener
Sets whether the view should animate itself when it snaps back or slides off screen.
setAnimationDelay(long) - Method in class stanford.androidlib.OnSwipeListener
Sets the number of milliseconds long that each drag/snap animation will take.
setArrowheadEnd(boolean) - Method in class stanford.androidlib.graphics.GArrow
 
setArrowheadStart(boolean) - Method in class stanford.androidlib.graphics.GArrow
 
setArrowSize(float) - Method in class stanford.androidlib.graphics.GArrow
 
setAutoCancel(boolean) - Method in class stanford.androidlib.SimpleNotification
 
setBackgroundColor(Paint) - Method in class stanford.androidlib.graphics.GCanvas
Sets a background color that will be drawn on this canvas.
setBitmap(Bitmap) - Method in class stanford.androidlib.graphics.GSprite
Sets this sprite to use the given bitmap to draw itself.
setBitmaps(ArrayList<Bitmap>) - Method in class stanford.androidlib.graphics.GSprite
Sets the list of bitmaps for this sprite.
setBitmaps(Bitmap...) - Method in class stanford.androidlib.graphics.GSprite
Sets the list of bitmaps for this sprite.
setBottomY(float) - Method in class stanford.androidlib.graphics.GObject
Sets the object's bottom y-coordinate to be the given value.
setBounds(float, float, float, float) - Method in class stanford.androidlib.graphics.GObject
Changes the bounds of this object to the specified values.
setBounds(GPoint, GDimension) - Method in class stanford.androidlib.graphics.GObject
Changes the bounds of this object to the specified values.
setBounds(GRectangle) - Method in class stanford.androidlib.graphics.GObject
Changes the bounds of this object to the values from the specified GRectangle.
setBounds(float, float, float, float) - Method in class stanford.androidlib.graphics.GRectangle
Sets the components of a GRectangle from the specified values.
setBounds(GPoint, GDimension) - Method in class stanford.androidlib.graphics.GRectangle
Sets the components of a GRectangle from the specified location and size.
setBounds(GRectangle) - Method in class stanford.androidlib.graphics.GRectangle
Sets the bounds of one GRectangle equal to that of another.
setBounds(float, float, float, float) - Method in interface stanford.androidlib.graphics.GResizable
Changes the bounds of this object to the specified values.
setBounds(GRectangle) - Method in interface stanford.androidlib.graphics.GResizable
Changes the bounds of this object to the values from the specified GRectangle.
setBounds(float, float, float, float) - Method in class stanford.androidlib.graphics.GSprite
Changes the bounds of this object to the specified values.
setBounds(GPoint, GDimension) - Method in class stanford.androidlib.graphics.GSprite
Changes the bounds of this object to the specified values.
setCanvas(Canvas) - Method in class stanford.androidlib.graphics.GObject
Sets the canvas this object is in.
setCategory(String) - Method in class stanford.androidlib.SimpleNotification
 
setClosed(boolean) - Method in class stanford.androidlib.graphics.GArrow
 
setCollidable(boolean) - Method in class stanford.androidlib.graphics.GSprite
Sets whether it is possible to collide with this sprite.
setCollisionMargin(float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite.
setCollisionMargin(float, float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on all four sides.
setCollisionMargin(float, float, float, float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on all four sides.
setCollisionMarginBottom(float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on the bottom side.
setCollisionMarginLeft(float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on the left side only.
setCollisionMarginRight(float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on the right side only.
setCollisionMarginTop(float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on the top side.
setCollisionMarginX(float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on the left and right sides.
setCollisionMarginX(float, float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on the left and right sides.
setCollisionMarginY(float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on the top and bottom sides.
setCollisionMarginY(float, float) - Method in class stanford.androidlib.graphics.GSprite
Sets a collision margin for this sprite on the top and bottom sides.
setColor(Paint) - Method in class stanford.androidlib.graphics.GObject
Sets the color used to display this object.
setColor(Paint) - Method in class stanford.androidlib.graphics.GSprite
Sets the color used to display this sprite.
setColor(int, int, int) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given RGB color for all drawing.
setColor(int, int, int, int) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given ARGB for all drawing.
setColor(int) - Method in class stanford.androidlib.SimpleNotification
 
setContent(int) - Method in class stanford.androidlib.SimpleNotification
 
setContent(RemoteViews) - Method in class stanford.androidlib.SimpleNotification
 
setContentInfo(int) - Method in class stanford.androidlib.SimpleNotification
 
setContentInfo(CharSequence) - Method in class stanford.androidlib.SimpleNotification
 
setContentIntent(Class<? extends Activity>, Object...) - Method in class stanford.androidlib.SimpleNotification
 
setContentIntent(Class<? extends Activity>, int, Object...) - Method in class stanford.androidlib.SimpleNotification
 
setContentIntent(PendingIntent) - Method in class stanford.androidlib.SimpleNotification
 
setContentText(int) - Method in class stanford.androidlib.SimpleNotification
 
setContentText(CharSequence) - Method in class stanford.androidlib.SimpleNotification
 
setContentTitle(int) - Method in class stanford.androidlib.SimpleNotification
 
setContentTitle(CharSequence) - Method in class stanford.androidlib.SimpleNotification
 
setContentView(int) - Method in class stanford.androidlib.SimpleActivity
Sets the layout to use for this activity as it is being created.
setContext(Context) - Method in class stanford.androidlib.graphics.GImage
Sets the context used by this image.
setCurrentBitmapIndex(int) - Method in class stanford.androidlib.graphics.GSprite
Sets the index of the bitmap currently being displayed in this sprite's list of bitmaps.
setDebug(boolean) - Static method in class stanford.androidlib.graphics.GSprite
Sets a global "debug" flag that will cause some log messages to be printed, as well as drawing a light-green "collision rectangle" around all sprites to help see when they will collide.
setDefaults(int) - Method in class stanford.androidlib.SimpleNotification
 
setDeleteIntent(Class<? extends Activity>, Object...) - Method in class stanford.androidlib.SimpleNotification
 
setDeleteIntent(Class<? extends Activity>, int, Object...) - Method in class stanford.androidlib.SimpleNotification
 
setDeleteIntent(PendingIntent) - Method in class stanford.androidlib.SimpleNotification
 
setDialogsCancelable(boolean) - Method in class stanford.androidlib.SimpleActivity
Globally sets whether dialogs created with show_Xxx_Dialog(...) will display a Cancel button.
setDialogsCancelable(boolean) - Method in class stanford.androidlib.SimpleDialog
Globally sets whether dialogs created with show_Xxx_Dialog(...) will display a Cancel button.
setDialogsIcon(int) - Method in class stanford.androidlib.SimpleActivity
Globally sets whether dialogs created with show_Xxx_Dialog(...) to display the given icon.
setDialogsIcon(int) - Method in class stanford.androidlib.SimpleDialog
Globally sets whether dialogs created with show_Xxx_Dialog(...) to display the given icon.
setDialogsTitle(String) - Method in class stanford.androidlib.SimpleActivity
Globally sets the title that dialogs created with show_Xxx_Dialog(...) should display.
setDialogsTitle(int) - Method in class stanford.androidlib.SimpleActivity
Globally sets the title that dialogs created with show_Xxx_Dialog(...) should display.
setDialogsTitle(String) - Method in class stanford.androidlib.SimpleDialog
Globally sets the title that dialogs created with show_Xxx_Dialog(...) should display.
setDialogsTitle(int) - Method in class stanford.androidlib.SimpleDialog
Globally sets the title that dialogs created with show_Xxx_Dialog(...) should display.
setDisplayBuffer(Bitmap) - Method in class stanford.androidlib.graphics.GCanvas
Sets a display buffer on which to draw.
setDistanceThreshold(float) - Method in class stanford.androidlib.OnSwipeListener
Sets the number of pixels before the listener considers the user to have swiped.
setDragHorizontal(boolean) - Method in class stanford.androidlib.OnSwipeListener
Sets whether the view should track the user's finger as it is dragged horizontally.
setDragSnapBack(boolean) - Method in class stanford.androidlib.OnSwipeListener
Sets whether the view should snap back into position when the user stops dragging it.
setDragSnapThreshold(float) - Method in class stanford.androidlib.OnSwipeListener
Sets the number of pixels in which the view will "snap back" if dragged.
setDragVertical(boolean) - Method in class stanford.androidlib.OnSwipeListener
Sets whether the view should track the user's finger as it is dragged vertically.
setEndPoint(float, float) - Method in class stanford.androidlib.graphics.GLine
Sets the end point of the line to the point (xy).
setExitScreenOnSwipe(boolean) - Method in class stanford.androidlib.OnSwipeListener
Sets whether the view should slide itself off the screen once it has been swiped.
setExtra(String, Object) - Method in class stanford.androidlib.graphics.GSprite
Sets the extra property inside this sprite with the given name.
setExtras(Bundle) - Method in class stanford.androidlib.data.SimpleCursor
 
setExtras(Bundle) - Method in class stanford.androidlib.graphics.GSprite
Adds all extras from the given Bundle into this Sprite.
setExtras(Bundle) - Method in class stanford.androidlib.SimpleNotification
 
setFillColor(Paint) - Method in interface stanford.androidlib.graphics.GFillable
Sets the color used to display the filled region of this object.
setFillColor(Paint) - Method in class stanford.androidlib.graphics.GObject
Sets the color used to display the filled region of this object.
setFillColor(Paint) - Method in class stanford.androidlib.graphics.GSprite
Sets the color used to display the filled region of this object.
setFilled(boolean) - Method in interface stanford.androidlib.graphics.GFillable
Sets whether this object is filled.
setFilled(boolean) - Method in class stanford.androidlib.graphics.GObject
Sets whether this object is filled.
setFilled(boolean) - Method in class stanford.androidlib.graphics.GSprite
Sets whether this object is filled.
setFiltered(boolean) - Method in class stanford.androidlib.SimpleBitmap
Whether we filter bitmaps on scale/rotate for smoothness.
setFont(Typeface) - Method in class stanford.androidlib.graphics.GLabel
Changes the font used to display the GLabel.
setFont(Typeface, float) - Method in class stanford.androidlib.graphics.GLabel
Sets this GLabel to use the given font at the given size.
setFont(Typeface, int, float) - Method in class stanford.androidlib.graphics.GLabel
Sets this GLabel to use the given font at the given style and size.
setFont(String) - Method in class stanford.androidlib.graphics.GLabel
Changes the font used to display the GLabel as specified by the string str.
setFont(Typeface) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given font for all drawing.
setFont(Typeface, int) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given font for all drawing.
setFont(Typeface, int, float) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given font for all drawing.
setFontFamily(String) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given font for all drawing.
setFontFileName(String) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given font for all drawing.
setFontSize(float) - Method in class stanford.androidlib.graphics.GLabel
Sets this label to use a font of the given size.
setFontSize(float) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given font size for all drawing.
setFontStyle(int) - Method in class stanford.androidlib.graphics.GLabel
Sets this label to use the given font style, such as TypeFace.BOLD.
setFramesPerBitmap(int) - Method in class stanford.androidlib.graphics.GSprite
Sets the number of frames of animation that each bitmap in the list should be displayed before automatically cycling to the next frame bitmap.
setFullScreenIntent(PendingIntent, boolean) - Method in class stanford.androidlib.SimpleNotification
 
setFullScreenMode(boolean) - Method in class stanford.androidlib.SimpleActivity
Sets whether the app should hide its title bar and show itself in full-screen mode (true) or have a standard app title bar (false).
setGCanvas(GCanvas) - Method in class stanford.androidlib.graphics.GObject
Sets the canvas on which this GObject should be drawn.
setGCanvas(GCanvas) - Method in class stanford.androidlib.graphics.GSprite
Sets the canvas on which this GObject should be drawn.
setGroup(String) - Method in class stanford.androidlib.SimpleNotification
 
setGroupSummary(boolean) - Method in class stanford.androidlib.SimpleNotification
 
setID(int) - Method in class stanford.androidlib.SimpleNotification
 
setImage(Bitmap) - Method in class stanford.androidlib.graphics.GImage
Resets the image used by this GImage object to the new image specified as an argument.
setImage(int) - Method in class stanford.androidlib.graphics.GImage
Resets the image used by this GImage object to the one identified by the argument name, which is processed exactly as described in the constructors.
setInfo(String) - Method in class stanford.androidlib.SimpleNotification
 
setInfo(int) - Method in class stanford.androidlib.SimpleNotification
 
setInitialized(boolean) - Method in class stanford.androidlib.graphics.GCanvas
Helper to flag canvas as initialized or not initialized.
setIntent(Class<? extends Activity>, Object...) - Method in class stanford.androidlib.SimpleNotification
 
setIntent(Class<? extends Activity>, int, Object...) - Method in class stanford.androidlib.SimpleNotification
 
setItems(AdapterView<?>, Collection<String>) - Method in class stanford.androidlib.SimpleList
Sets the items currently in the given list view to those stored in the given ArrayList.
setItems(int, Collection<String>) - Method in class stanford.androidlib.SimpleList
Sets the items currently in the list with the given ID to those stored in the given ArrayList.
setItems(AdapterView<?>, String[]) - Method in class stanford.androidlib.SimpleList
Sets the items currently in the given list view to those passed in the given array.
setItems(int, String[]) - Method in class stanford.androidlib.SimpleList
Sets the items currently in the list with the given ID view to those stored in the given array.
setItems(AdapterView<?>, Object...) - Method in class stanford.androidlib.SimpleList
Sets the items currently in the given list view to those passed.
setItems(int, Object...) - Method in class stanford.androidlib.SimpleList
Sets the items currently in the list with the given ID to those passed.
setLabel(int) - Method in class stanford.androidlib.graphics.GLabel
Changes the string stored within the GLabel object, so that a new text string appears on the display.
setLabel(String) - Method in class stanford.androidlib.graphics.GLabel
Changes the string stored within the GLabel object, so that a new text string appears on the display.
setLargeIcon(int) - Method in class stanford.androidlib.SimpleNotification
 
setLargeIcon(Bitmap) - Method in class stanford.androidlib.SimpleNotification
 
setLayout(int) - Method in class stanford.androidlib.SimpleNotification
 
setLayoutID(int) - Method in class stanford.androidlib.SimpleActivity
Sets the resource ID of the layout to use for this activity.
setLayoutID(int) - Method in class stanford.androidlib.SimpleFragment
Sets the resource ID of the layout to use for this fragment.
setLights(int, int, int) - Method in class stanford.androidlib.SimpleNotification
 
setLocalOnly(boolean) - Method in class stanford.androidlib.SimpleNotification
 
setLocation(float, float) - Method in class stanford.androidlib.graphics.GObject
Sets the location of this object to the point (x, y).
setLocation(GPoint) - Method in class stanford.androidlib.graphics.GObject
Sets the location of this object to the given point's (x, y) location.
setLocation(GObject) - Method in class stanford.androidlib.graphics.GObject
Moves this GObject to have the same location as the given other GObject.
setLocation(float, float) - Method in class stanford.androidlib.graphics.GPoint
Sets the location of the GPoint to the specified x and y values.
setLocation(GPoint) - Method in class stanford.androidlib.graphics.GPoint
Sets the location of the GPoint to that of an existing one.
setLocation(float, float) - Method in class stanford.androidlib.graphics.GRectangle
Sets the location of the GRectangle to the specified x and y values.
setLocation(GPoint) - Method in class stanford.androidlib.graphics.GRectangle
Sets the location of the GRectangle to the specified point.
setLocation(float, float) - Method in class stanford.androidlib.graphics.GSprite
Moves this sprite to the given x/y location.
setLocation(GObject) - Method in class stanford.androidlib.graphics.GSprite
Moves this GObject to have the same location as the given other GObject.
setLocation(GPoint) - Method in class stanford.androidlib.graphics.GSprite
Sets the location of this object to the given point's (x, y) location.
setLogging(boolean) - Method in class stanford.androidlib.data.SimpleDatabase
Sets whether Log.d statements should print as queries are run.
setLoopBitmaps(boolean) - Method in class stanford.androidlib.graphics.GSprite
Sets whether the sequence of bitmaps (as passed to the constructor or setBitmaps) should loop back to the first one after it ends.
setNotificationUri(ContentResolver, Uri) - Method in class stanford.androidlib.data.SimpleCursor
 
setNumber(int) - Method in class stanford.androidlib.SimpleNotification
 
setOngoing(boolean) - Method in class stanford.androidlib.SimpleNotification
 
setOnlyAlertOnce(boolean) - Method in class stanford.androidlib.SimpleNotification
 
setPaint(Paint) - Method in class stanford.androidlib.graphics.GObject
Sets the paint used to display this object.
setPaint(Paint) - Method in class stanford.androidlib.graphics.GSprite
Sets the color used to display this object.
setPaintStyle(Paint.Style) - Method in class stanford.androidlib.SimpleCanvas
Sets this canvas to use the given paint style.
setPosition(int, int) - Method in class stanford.androidlib.SimpleMedia
Sets the time position in milliseconds for the media clip with the given ID.
setPreference(String, boolean) - Method in class stanford.androidlib.SimpleActivity
Sets a preference with the given name and value into the app's global preferences.
setPreference(String, double) - Method in class stanford.androidlib.SimpleActivity
Sets a preference with the given name and value into the app's global preferences.
setPreference(String, int) - Method in class stanford.androidlib.SimpleActivity
Sets a preference with the given name and value into the app's global preferences.
setPreference(String, long) - Method in class stanford.androidlib.SimpleActivity
Sets a preference with the given name and value into the app's global preferences.
setPreference(String, String) - Method in class stanford.androidlib.SimpleActivity
Sets a preference with the given name and value into the app's global preferences.
setPriority(int) - Method in class stanford.androidlib.SimpleNotification
 
setProgress(int, int, boolean) - Method in class stanford.androidlib.SimpleNotification
 
setProgress(int) - Method in class stanford.androidlib.SimpleProgressDialog
Sets progress to the given value.
setProgress(int, boolean) - Method in class stanford.androidlib.SimpleProgressDialog
Sets progress to the given value.
setPublicVersion(Notification) - Method in class stanford.androidlib.SimpleNotification
 
setRightX(float) - Method in class stanford.androidlib.graphics.GObject
Sets the object's rightmost x-coordinate to be the given value.
setShape(GObject) - Method in class stanford.androidlib.graphics.GSprite
Sets the GObject for this GSprite to draw.
setShared(String, String, boolean) - Method in class stanford.androidlib.SimplePreferences
Sets a shared preference with the given name and value into the given shared preference filename.
setShared(String, String, double) - Method in class stanford.androidlib.SimplePreferences
Sets a shared preference with the given name and value into the given shared preference filename.
setShared(String, String, int) - Method in class stanford.androidlib.SimplePreferences
Sets a shared preference with the given name and value into the given shared preference filename.
setShared(String, String, long) - Method in class stanford.androidlib.SimplePreferences
Sets a shared preference with the given name and value into the given shared preference filename.
setShared(String, String, String) - Method in class stanford.androidlib.SimplePreferences
Sets a shared preference with the given name and value into the given shared preference filename.
setShared(String, String, Iterable<String>) - Method in class stanford.androidlib.SimplePreferences
Sets a shared preference with the given name and value into the given shared preference filename.
setShared(String, String, Set<String>) - Method in class stanford.androidlib.SimplePreferences
Sets a shared preference with the given name and value into the given shared preference filename.
setSharedPreference(String, String, boolean) - Method in class stanford.androidlib.SimpleActivity
Sets a shared preference with the given name and value into the given shared preference filename.
setSharedPreference(String, String, double) - Method in class stanford.androidlib.SimpleActivity
Sets a shared preference with the given name and value into the given shared preference filename.
setSharedPreference(String, String, int) - Method in class stanford.androidlib.SimpleActivity
Sets a shared preference with the given name and value into the given shared preference filename.
setSharedPreference(String, String, long) - Method in class stanford.androidlib.SimpleActivity
Sets a shared preference with the given name and value into the given shared preference filename.
setSharedPreference(String, String, String) - Method in class stanford.androidlib.SimpleActivity
Sets a shared preference with the given name and value into the given shared preference filename.
setShowWhen(boolean) - Method in class stanford.androidlib.SimpleNotification
 
setSize(float, float) - Method in class stanford.androidlib.graphics.GDimension
Sets the components of the dimension object from the specified parameters.
setSize(GDimension) - Method in class stanford.androidlib.graphics.GDimension
Sets the width and height of one GDimension object equal to that of another.
setSize(GDimension) - Method in class stanford.androidlib.graphics.GObject
Changes the size of this object to the specified GDimension.
setSize(float, float) - Method in class stanford.androidlib.graphics.GObject
Changes the size of this object to the specified width and height.
setSize(float, float) - Method in class stanford.androidlib.graphics.GRectangle
Sets the size of the GRectangle to the specified values.
setSize(GDimension) - Method in class stanford.androidlib.graphics.GRectangle
Sets the size of the GRectangle to the specified dimension.
setSize(float, float) - Method in interface stanford.androidlib.graphics.GResizable
Changes the size of this object to the specified width and height.
setSize(GDimension) - Method in interface stanford.androidlib.graphics.GResizable
Changes the size of this object as specified by the GDimension object.
setSize(float, float) - Method in class stanford.androidlib.graphics.GSprite
Sets this sprite to use the given size.
setSize(GDimension) - Method in class stanford.androidlib.graphics.GSprite
Changes the size of this sprite to the specified GDimension.
setSmallIcon(int) - Method in class stanford.androidlib.SimpleNotification
 
setSmallIcon(int, int) - Method in class stanford.androidlib.SimpleNotification
 
setSortKey(String) - Method in class stanford.androidlib.SimpleNotification
 
setSound(Uri) - Method in class stanford.androidlib.SimpleNotification
 
setStartPoint(float, float) - Method in class stanford.androidlib.graphics.GLine
Sets the initial point in the line to (xy), leaving the end point unchanged.
setStyle(NotificationCompat.Style) - Method in class stanford.androidlib.SimpleNotification
 
setSubText(int) - Method in class stanford.androidlib.SimpleNotification
 
setSubText(CharSequence) - Method in class stanford.androidlib.SimpleNotification
 
setText(int) - Method in class stanford.androidlib.graphics.GLabel
Changes the string stored within the GLabel object, so that a new text string appears on the display.
setText(String) - Method in class stanford.androidlib.graphics.GLabel
Changes the string stored within the GLabel object, so that a new text string appears on the display.
setText(String) - Method in class stanford.androidlib.SimpleNotification
 
setText(int) - Method in class stanford.androidlib.SimpleNotification
 
setTicker(int) - Method in class stanford.androidlib.SimpleNotification
 
setTicker(CharSequence) - Method in class stanford.androidlib.SimpleNotification
 
setTitle(String) - Method in class stanford.androidlib.SimpleNotification
 
setTitle(int) - Method in class stanford.androidlib.SimpleNotification
 
setTraceLifecycle(boolean) - Method in class stanford.androidlib.SimpleActivity
Sets whether or not to print a log message every time an activity lifecycle method such as onPause or onStart is called.
setTraceLifecycle(boolean) - Method in class stanford.androidlib.SimpleFragment
Sets whether or not to print a log message every time an activity lifecycle method such as onPause or onStart is called.
setUsesChronometer(boolean) - Method in class stanford.androidlib.SimpleNotification
 
setVelocity(float, float) - Method in class stanford.androidlib.graphics.GSprite
Sets this sprite to move with the given velocity.
setVelocityThreshold(float) - Method in class stanford.androidlib.OnSwipeListener
Sets the rate of finger speed before the listener considers the user to have swiped.
setVelocityX(float) - Method in class stanford.androidlib.graphics.GSprite
Sets this sprite to move with the given velocity in the x direction.
setVelocityY(float) - Method in class stanford.androidlib.graphics.GSprite
Sets this sprite to move with the given velocity in the y direction.
setVibrate(long[]) - Method in class stanford.androidlib.SimpleNotification
 
setView(int, View) - Method in class stanford.androidlib.SimpleAdapter
Sets the given view to be returned for the item in the list at the given index.
setVisibility(int) - Method in class stanford.androidlib.SimpleNotification
 
setVisible(boolean) - Method in class stanford.androidlib.graphics.GObject
Sets whether this object is visible.
setVisible(boolean) - Method in class stanford.androidlib.graphics.GSprite
Sets whether this object is visible.
setWakeLock(boolean) - Method in class stanford.androidlib.SimpleActivity
Sets wake lock to be enabled (true) or disabled (false).
setWhen(long) - Method in class stanford.androidlib.SimpleNotification
 
setX(float) - Method in class stanford.androidlib.graphics.GObject
Sets the x-location of this object.
setX(float) - Method in class stanford.androidlib.graphics.GSprite
Sets the x-location of this object.
setY(float) - Method in class stanford.androidlib.graphics.GObject
Sets the y-location of this object.
setY(float) - Method in class stanford.androidlib.graphics.GSprite
Sets the y-location of this object.
showAlertDialog(String) - Method in class stanford.androidlib.SimpleActivity
Shows an alert dialog to display a message to the user.
showAlertDialog(int) - Method in class stanford.androidlib.SimpleActivity
Shows an alert dialog to display a message to the user.
showAlertDialog(String) - Method in class stanford.androidlib.SimpleDialog
Shows an alert dialog to display a message to the user.
showAlertDialog(String, String) - Method in class stanford.androidlib.SimpleDialog
Shows an alert dialog to display a message to the user.
showAlertDialog(int) - Method in class stanford.androidlib.SimpleDialog
Shows an alert dialog to display a message to the user.
showAlertDialog(int, int) - Method in class stanford.androidlib.SimpleDialog
Shows an alert dialog to display a message to the user.
showCheckboxInputDialog(String...) - Method in class stanford.androidlib.SimpleActivity
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(boolean[], String...) - Method in class stanford.androidlib.SimpleActivity
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(int) - Method in class stanford.androidlib.SimpleActivity
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(boolean[], int) - Method in class stanford.androidlib.SimpleActivity
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(String...) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(boolean[], String...) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(String, boolean[], String...) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(int) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(boolean[], int) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(int, int) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialog(int, boolean[], int) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showCheckboxInputDialogWithMessage(String, String...) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-checkbox dialog to prompt the user to check/uncheck any subset of a group of multiple checkbox input items.
showConfirmDialog(String) - Method in class stanford.androidlib.SimpleActivity
Shows an confirm dialog to ask a yes/no question to the user.
showConfirmDialog(String, String, String) - Method in class stanford.androidlib.SimpleActivity
Shows an confirm dialog to ask a yes/no question to the user.
showConfirmDialog(int) - Method in class stanford.androidlib.SimpleActivity
Shows an confirm dialog to ask a yes/no question to the user.
showConfirmDialog(int, int, int) - Method in class stanford.androidlib.SimpleActivity
Shows an confirm dialog to ask a yes/no question to the user.
showConfirmDialog(String) - Method in class stanford.androidlib.SimpleDialog
Shows an confirm dialog to ask a yes/no question to the user.
showConfirmDialog(String, String, String) - Method in class stanford.androidlib.SimpleDialog
Shows an confirm dialog to ask a yes/no question to the user.
showConfirmDialog(String, String, String, String) - Method in class stanford.androidlib.SimpleDialog
Shows an confirm dialog to ask a yes/no question to the user.
showConfirmDialog(int) - Method in class stanford.androidlib.SimpleDialog
Shows an confirm dialog to ask a yes/no question to the user.
showConfirmDialog(int, int, int) - Method in class stanford.androidlib.SimpleDialog
Shows an confirm dialog to ask a yes/no question to the user.
showConfirmDialog(int, int, int, int) - Method in class stanford.androidlib.SimpleDialog
Shows an confirm dialog to ask a yes/no question to the user.
showDateInputDialog() - Method in class stanford.androidlib.SimpleActivity
Shows a date picker dialog to prompt the user to select a date.
showDateInputDialog(String) - Method in class stanford.androidlib.SimpleActivity
Shows a date picker dialog to prompt the user to select a date.
showDateInputDialog(int, int, int) - Method in class stanford.androidlib.SimpleActivity
Shows a date picker dialog to prompt the user to select a date.
showDateInputDialog(String, int, int, int) - Method in class stanford.androidlib.SimpleActivity
Shows a date picker dialog to prompt the user to select a date.
showDateInputDialog() - Method in class stanford.androidlib.SimpleDialog
Shows a date picker dialog to prompt the user to select a date.
showDateInputDialog(String) - Method in class stanford.androidlib.SimpleDialog
Shows a date picker dialog to prompt the user to select a date.
showDateInputDialog(int, int, int) - Method in class stanford.androidlib.SimpleDialog
Shows a date picker dialog to prompt the user to select a date.
showDateInputDialog(String, int, int, int) - Method in class stanford.androidlib.SimpleDialog
Shows a date picker dialog to prompt the user to select a date.
showDialogFragment(DialogFragment) - Method in class stanford.androidlib.SimpleActivity
Pops up the given dialog fragment as a dialog on top of this activity.
showFragment(Fragment) - Method in class stanford.androidlib.SimpleActivity
Shows the given fragment.
showFragment(int) - Method in class stanford.androidlib.SimpleActivity
Shows the given fragment.
showInputDialog(String) - Method in class stanford.androidlib.SimpleActivity
Shows an input dialog to prompt the user for a single text input string.
showInputDialog(String, String) - Method in class stanford.androidlib.SimpleActivity
Shows an input dialog to prompt the user for a single text input string.
showInputDialog(int) - Method in class stanford.androidlib.SimpleActivity
Shows an input dialog to prompt the user for a single text input string.
showInputDialog(int, int) - Method in class stanford.androidlib.SimpleActivity
Shows an input dialog to prompt the user for a single text input string.
showInputDialog(String) - Method in class stanford.androidlib.SimpleDialog
Shows an input dialog to prompt the user for a single text input string.
showInputDialog(String, String) - Method in class stanford.androidlib.SimpleDialog
Shows an input dialog to prompt the user for a single text input string.
showInputDialog(String, String, String) - Method in class stanford.androidlib.SimpleDialog
Shows an input dialog to prompt the user for a single text input string.
showInputDialog(int) - Method in class stanford.androidlib.SimpleDialog
Shows an input dialog to prompt the user for a single text input string.
showInputDialog(int, int) - Method in class stanford.androidlib.SimpleDialog
Shows an input dialog to prompt the user for a single text input string.
showInputDialog(int, int, int) - Method in class stanford.androidlib.SimpleDialog
Shows an input dialog to prompt the user for a single text input string.
showListInputDialog(String...) - Method in class stanford.androidlib.SimpleActivity
Shows a list input dialog to allow the user to tap one of several choices.
showListInputDialog(int) - Method in class stanford.androidlib.SimpleActivity
Shows a list input dialog to allow the user to tap one of several choices.
showListInputDialog(int) - Method in class stanford.androidlib.SimpleDialog
Shows a list input dialog to allow the user to tap one of several choices.
showListInputDialog(String, int) - Method in class stanford.androidlib.SimpleDialog
Shows a list input dialog to allow the user to tap one of several choices.
showListInputDialog(String...) - Method in class stanford.androidlib.SimpleDialog
Shows a list input dialog to allow the user to tap one of several choices.
showListInputDialogWithMessage(String, String...) - Method in class stanford.androidlib.SimpleDialog
Shows a list input dialog to allow the user to tap one of several choices.
showMultiInputDialog(String...) - Method in class stanford.androidlib.SimpleActivity
Shows a multiple-input dialog to prompt the user for multiple text input strings.
showMultiInputDialog(int) - Method in class stanford.androidlib.SimpleActivity
Shows a multiple-input dialog to prompt the user for multiple text input strings.
showMultiInputDialog(int, int) - Method in class stanford.androidlib.SimpleActivity
Shows a multiple-input dialog to prompt the user for multiple text input strings.
showMultiInputDialog(String...) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-input dialog to prompt the user for multiple text input strings.
showMultiInputDialog(int) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-input dialog to prompt the user for multiple text input strings.
showMultiInputDialog(int, int) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-input dialog to prompt the user for multiple text input strings.
showMultiInputDialogWithMessage(String, String...) - Method in class stanford.androidlib.SimpleActivity
Shows a multiple-input dialog to prompt the user for multiple text input strings.
showMultiInputDialogWithMessage(String, String...) - Method in class stanford.androidlib.SimpleDialog
Shows a multiple-input dialog to prompt the user for multiple text input strings.
showProgressDialog() - Method in class stanford.androidlib.SimpleActivity
Shows a progress dialog with a progress bar.
showProgressDialog(String) - Method in class stanford.androidlib.SimpleActivity
Shows a progress dialog with a progress bar.
showProgressDialog(String, int) - Method in class stanford.androidlib.SimpleActivity
Shows a progress dialog with a progress bar.
showProgressDialog() - Method in class stanford.androidlib.SimpleDialog
Shows a progress dialog with a progress bar.
showProgressDialog(String) - Method in class stanford.androidlib.SimpleDialog
Shows a progress dialog with a progress bar.
showProgressDialog(String, int) - Method in class stanford.androidlib.SimpleDialog
Shows a progress dialog with a progress bar.
showRadioInputDialog(String...) - Method in class stanford.androidlib.SimpleActivity
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialog(int, String...) - Method in class stanford.androidlib.SimpleActivity
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialog(int) - Method in class stanford.androidlib.SimpleActivity
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialog(int, int) - Method in class stanford.androidlib.SimpleActivity
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialog(String...) - Method in class stanford.androidlib.SimpleDialog
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialog(int, String...) - Method in class stanford.androidlib.SimpleDialog
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialog(String, int, String...) - Method in class stanford.androidlib.SimpleDialog
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialog(int) - Method in class stanford.androidlib.SimpleDialog
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialog(int, int) - Method in class stanford.androidlib.SimpleDialog
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialog(int, int, int) - Method in class stanford.androidlib.SimpleDialog
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialogWithMessage(String, String...) - Method in class stanford.androidlib.SimpleDialog
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showRadioInputDialogWithMessage(int, int) - Method in class stanford.androidlib.SimpleDialog
Shows a radio button dialog to prompt the user to check exactly one of a group of multiple radio button input items.
showTimeInputDialog() - Method in class stanford.androidlib.SimpleActivity
Shows a time picker dialog to prompt the user to select a time of day.
showTimeInputDialog(String) - Method in class stanford.androidlib.SimpleActivity
Shows a time picker dialog to prompt the user to select a time of day.
showTimeInputDialog(int, int) - Method in class stanford.androidlib.SimpleActivity
Shows a time picker dialog to prompt the user to select a time of day.
showTimeInputDialog(String, int, int) - Method in class stanford.androidlib.SimpleActivity
Shows a time picker dialog to prompt the user to select a time of day.
showTimeInputDialog() - Method in class stanford.androidlib.SimpleDialog
Shows a time picker dialog to prompt the user to select a time of day.
showTimeInputDialog(String) - Method in class stanford.androidlib.SimpleDialog
Shows a time picker dialog to prompt the user to select a time of day.
showTimeInputDialog(int, int) - Method in class stanford.androidlib.SimpleDialog
Shows a time picker dialog to prompt the user to select a time of day.
showTimeInputDialog(String, int, int) - Method in class stanford.androidlib.SimpleDialog
Shows a time picker dialog to prompt the user to select a time of day.
shutdown() - Method in class stanford.androidlib.SimpleSpeech
Shuts down the text-to-speech services and releases resources used.
SimpleActivity - Class in stanford.androidlib
A SimpleActivity is meant as a drop-in replacement for Android's Activity class.
SimpleActivity() - Constructor for class stanford.androidlib.SimpleActivity
Constructs a new simple activity with no known layout resource ID.
SimpleActivity.ToastLength - Annotation Type in stanford.androidlib
 
SimpleAdapter - Class in stanford.androidlib
A simpler version of the Adapter used by ListViews.
SimpleAdapter(Context, Iterable<String>) - Constructor for class stanford.androidlib.SimpleAdapter
Constructs an adapter to hold the given list of items.
SimpleAdapter(Context, String...) - Constructor for class stanford.androidlib.SimpleAdapter
Constructs an adapter to hold the given array of items.
SimpleAdapter.ViewProvider - Interface in stanford.androidlib
Interface for objects that return views for a SimpleAdapter.
SimpleBitmap - Class in stanford.androidlib
A utility class for loading and transforming Bitmap objects.
SimpleCamera - Class in stanford.androidlib
A utility class for event handling.
SimpleCanvas - Class in stanford.androidlib
A SimpleCanvas is meant as a 2D drawing surface for graphics in games and animations.
SimpleCanvas(Context, AttributeSet) - Constructor for class stanford.androidlib.SimpleCanvas
Required constructor; your SimpleCanvas subclass must implement a constructor with exactly the same parameters.
SimpleCursor - Class in stanford.androidlib.data
A simplified version of the Cursor class.
SimpleCursor(Cursor) - Constructor for class stanford.androidlib.data.SimpleCursor
Constructs a new simple cursor to wrap the given cursor.
SimpleDatabase - Class in stanford.androidlib.data
This class provides methods to help make it easier to query local SQLite databases.
SimpleDatabase.QueryProgressListener - Interface in stanford.androidlib.data
An interface for listening to progress on a long query.
SimpleDialog - Class in stanford.androidlib
A utility class for showing various kinds of dialog boxes.
SimpleDialog.DialogAdapter - Class in stanford.androidlib
A class with empty implementations of all methods in the DialogListener interface.
SimpleDialog.DialogListener - Interface in stanford.androidlib
 
SimpleEvents - Class in stanford.androidlib
A utility class for event handling.
SimpleEvents.EnterKeyPressListener - Interface in stanford.androidlib
A simple event listening interface that listens for Enter keypresses on an editable text view.
SimpleEvents.EnterKeyPressSuppressor - Class in stanford.androidlib
 
SimpleFragment - Class in stanford.androidlib
A SimpleFragment is meant as a drop-in replacement for Android's Fragment or DialogFragment classes.
SimpleFragment() - Constructor for class stanford.androidlib.SimpleFragment
Constructs a new simple fragment with no known layout resource ID.
SimpleIntentService - Class in stanford.androidlib
A SimpleService is meant as a drop-in replacement for Android's IntentService class.
SimpleIntentService() - Constructor for class stanford.androidlib.SimpleIntentService
Creates an IntentService.
SimpleIntentService(String) - Constructor for class stanford.androidlib.SimpleIntentService
Creates an IntentService.
SimpleIO - Class in stanford.androidlib
A utility class for performing input and output on files.
SimpleList - Class in stanford.androidlib
A utility class for ListViews and Adapters.
SimpleLocalization - Class in stanford.androidlib
Utility class to help with localization of common values.
SimpleMedia - Class in stanford.androidlib
A utility class for playing media.
SimpleNotification - Class in stanford.androidlib
This class is a drop-in replacement for Notification.Builder that adds a few methods for convenience.
SimplePreferences - Class in stanford.androidlib
A utility class for getting and setting preferences.
SimpleProgressDialog - Class in stanford.androidlib
A version of ProgressDialog that auto-closes when it reaches 100% progress.
SimpleProgressDialog(Context) - Constructor for class stanford.androidlib.SimpleProgressDialog
Constructs a new dialog.
SimpleProgressDialog(View) - Constructor for class stanford.androidlib.SimpleProgressDialog
Constructs a new dialog.
SimpleRow - Class in stanford.androidlib.data
A SimpleRow object represents one row of a SQLite database query result.
SimpleRow(Cursor) - Constructor for class stanford.androidlib.data.SimpleRow
Constructs a simple row from the current position of the given cursor.
SimpleService - Class in stanford.androidlib
A SimpleService is meant as a drop-in replacement for Android's Service class.
SimpleService() - Constructor for class stanford.androidlib.SimpleService
 
SimpleSpeech - Class in stanford.androidlib
A utility class for converting text-to-speech and speech-to-text.
SimpleTask - Class in stanford.androidlib
A simplified version of the AsyncTask class that does not require the use of generics or nested classes.
SimpleTask.TaskExecutor - Interface in stanford.androidlib
An interface for the object that actually runs the task.
SimpleView - Class in stanford.androidlib
A utility class for view-related features.
sinDegrees(float) - Static method in class stanford.androidlib.graphics.GMath
Returns the trigonometric sine of its argument where angle is expressed in degrees.
skipPast(String) - Method in class stanford.androidlib.xml.XMLTokener
Skip characters until past the requested string.
skipPast2(String) - Method in class stanford.androidlib.xml.XMLTokener
Skip characters until past the requested string.
SLASH - Static variable in class stanford.androidlib.xml.XML
The Character '/'.
soundGetPosition(int) - Method in class stanford.androidlib.SimpleActivity
Returns the time position in milliseconds for the media clip with the given ID if it is playing.
soundIsLooping(int) - Method in class stanford.androidlib.SimpleActivity
Returns whether the media clip with the given ID is currently playing in 'loop' mode.
soundIsPlaying(int) - Method in class stanford.androidlib.SimpleActivity
Returns whether the media clip with the given ID is currently playing or looping.
soundLoop(int) - Method in class stanford.androidlib.SimpleActivity
Plays the media clip with the given ID in 'looping' mode.
soundPause(int) - Method in class stanford.androidlib.SimpleActivity
Pauses the media clip with the given ID if it is playing.
soundPlay(int) - Method in class stanford.androidlib.SimpleActivity
Plays the media clip with the given ID.
soundSetPosition(int, int) - Method in class stanford.androidlib.SimpleActivity
Sets the time position in milliseconds for the media clip with the given ID.
soundStop(int) - Method in class stanford.androidlib.SimpleActivity
Stops the media clip with the given ID if it was playing.
speak(String) - Method in class stanford.androidlib.SimpleActivity
Says the given text aloud using Text-to-speech.
speak(String, boolean) - Method in class stanford.androidlib.SimpleActivity
Says the given text aloud using Text-to-speech.
speak(int) - Method in class stanford.androidlib.SimpleSpeech
Says the given text aloud using Text-to-speech.
speak(int, boolean) - Method in class stanford.androidlib.SimpleSpeech
Says the given text aloud using Text-to-speech.
speak(String) - Method in class stanford.androidlib.SimpleSpeech
Says the given text aloud using Text-to-speech.
speak(String, boolean) - Method in class stanford.androidlib.SimpleSpeech
Says the given text aloud using Text-to-speech.
speechToText(String) - Method in class stanford.androidlib.SimpleActivity
Asks the device to start recording speech and converting it to text.
speechToText(int) - Method in class stanford.androidlib.SimpleSpeech
Asks the device to start recording speech and converting it to text.
speechToText(String) - Method in class stanford.androidlib.SimpleSpeech
Asks the device to start recording speech and converting it to text.
speechToTextSupported() - Method in class stanford.androidlib.SimpleActivity
Returns true if the current device supports speech-to-text recognition.
speechToTextSupported() - Method in class stanford.androidlib.SimpleSpeech
Returns true if the current device supports speech-to-text recognition.
stanford.androidlib - package stanford.androidlib
 
stanford.androidlib.data - package stanford.androidlib.data
 
stanford.androidlib.graphics - package stanford.androidlib.graphics
 
stanford.androidlib.json - package stanford.androidlib.json
 
stanford.androidlib.util - package stanford.androidlib.util
 
stanford.androidlib.xml - package stanford.androidlib.xml
 
start() - Method in class stanford.androidlib.AnimationLoop
Starts the thread running so that it will repaint the view repeatedly.
start() - Method in class stanford.androidlib.SimpleActivity
Code to run when activity is being started.
start() - Method in class stanford.androidlib.SimpleFragment
Code to run when activity is being started.
startActivity(Class<? extends Activity>, Object...) - Method in class stanford.androidlib.SimpleActivity
Starts the given activity and passes it the given 'extra' parameters.
startActivityForResult(Class<? extends Activity>, int, Object...) - Method in class stanford.androidlib.SimpleActivity
Starts the given activity with the given request code and passes it the given 'extra' parameters.
startActivityForResult(Class<? extends Activity>, Object...) - Method in class stanford.androidlib.SimpleActivity
Starts the given activity and passes it the given 'extra' parameters.
startService(Class<? extends Service>, Object...) - Method in class stanford.androidlib.SimpleActivity
Starts the given service and passes it the given 'extra' parameters.
startServiceAction(Class<? extends Service>, String, Object...) - Method in class stanford.androidlib.SimpleActivity
Starts the given service and passes it the given 'extra' parameters.
stop() - Method in class stanford.androidlib.AnimationLoop
Stops the thread so that it will not repaint the view any more.
stop() - Method in class stanford.androidlib.graphics.GSprite
Halts the object, setting its velocity and acceleration to 0.
stop(int) - Method in class stanford.androidlib.SimpleMedia
Stops the media clip with the given ID if it was playing.
stringToValue(String) - Static method in class stanford.androidlib.xml.XML
Try to convert a string into a number, boolean, or null.

T

takePhoto() - Method in class stanford.androidlib.SimpleActivity
Instructs the device to take a photo without saving it to a file.
takePhoto(String) - Method in class stanford.androidlib.SimpleActivity
Instructs the device to take a photo and save it to a file.
takePhoto() - Method in class stanford.androidlib.SimpleCamera
Instructs the device to take a photo without saving it to a file.
takePhoto(String) - Method in class stanford.androidlib.SimpleCamera
Instructs the device to take a photo and save it to a file.
tanDegrees(float) - Static method in class stanford.androidlib.graphics.GMath
Returns the trigonometric tangent of its argument where angle is expressed in degrees.
textMessage(String) - Method in class stanford.androidlib.SimpleActivity
Launches the system default text messaging application to send a message to the given telephone number.
textMessage(String, String) - Method in class stanford.androidlib.SimpleActivity
Launches the system default text messaging application to send a message to the given telephone number with the given message body text.
textToSpeechSupported() - Method in class stanford.androidlib.SimpleActivity
Returns true if the current device supports text-to-speech capability.
textToSpeechSupported() - Method in class stanford.androidlib.SimpleSpeech
Returns true if the current device supports text-to-speech capability.
toast(Object) - Method in class stanford.androidlib.SimpleActivity
Pops up a short Toast notification to display the given text.
toast(Object, int) - Method in class stanford.androidlib.SimpleActivity
Pops up a Toast notification of the given time length to display the given text.
toast(String) - Method in class stanford.androidlib.SimpleActivity
Pops up a Toast notification of the given time length to display the given text.
toast(String, int) - Method in class stanford.androidlib.SimpleActivity
Pops up a Toast notification of the given time length to display the given text.
toDegrees(float) - Static method in class stanford.androidlib.graphics.GMath
Converts an angle from radians to degrees.
toJson(String) - Method in class stanford.androidlib.data.SimpleDatabase
Returns a JSONObject representing all of the data from the given database.
toJson(SQLiteDatabase) - Method in class stanford.androidlib.data.SimpleDatabase
Returns a JSONObject representing all of the data from the given database.
toJson(String, String) - Method in class stanford.androidlib.data.SimpleDatabase
Returns a JSONObject representing all of the data from the given table from the given database.
toJson(SQLiteDatabase, String) - Method in class stanford.androidlib.data.SimpleDatabase
Returns a JSONObject representing all of the data from the given table from the given database.
toJSONObject(String) - Static method in class stanford.androidlib.xml.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toRadians(float) - Static method in class stanford.androidlib.graphics.GMath
Converts an angle from degrees to radians.
toString() - Method in class stanford.androidlib.data.SimpleRow
Returns a string representation of this row for debugging.
toString() - Method in class stanford.androidlib.graphics.GDimension
Converts this GDimension to its string representation.
toString() - Method in class stanford.androidlib.graphics.GObject
Returns a string representation of this object, including its class name, x/y coordinates, width, and height.
toString() - Method in class stanford.androidlib.graphics.GPoint
Converts this GPoint to its string representation.
toString() - Method in class stanford.androidlib.graphics.GRectangle
Converts this GRectangle to its string representation.
toString() - Method in class stanford.androidlib.graphics.GSprite
Returns a string representation of this sprite for debugging, including its GObject if any, and its collision rectangle.
toString(Object) - Static method in class stanford.androidlib.xml.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String) - Static method in class stanford.androidlib.xml.XML
Convert a JSONObject into a well-formed, element-normal XML string.
translate(float, float) - Method in class stanford.androidlib.graphics.GObject
Moves the object on the screen using the displacements dx and dy.
translate(float, float) - Method in class stanford.androidlib.graphics.GPoint
Adjusts the coordinates of a point by the specified dx and dy offsets.
translate(float, float) - Method in class stanford.androidlib.graphics.GRectangle
Adjusts the coordinates of a rectangle by the specified dx and dy offsets.
translate(float, float) - Method in class stanford.androidlib.graphics.GSprite
Moves the object on the screen using the displacements dx and dy.

U

union(GRectangle) - Method in class stanford.androidlib.graphics.GRectangle
Returns the smallest rectangle that contains both r1 and r2.
unregisterContentObserver(ContentObserver) - Method in class stanford.androidlib.data.SimpleCursor
 
unregisterDataSetObserver(DataSetObserver) - Method in class stanford.androidlib.data.SimpleCursor
 
update() - Method in class stanford.androidlib.graphics.GSprite
Called by SimpleCanvas every time the animation ticks.

V

Version - Class in stanford.androidlib
A convenience class that prints the library's version when run.
Version() - Constructor for class stanford.androidlib.Version
 

W

wakeLockIsEnabled() - Method in class stanford.androidlib.SimpleActivity
Returns true if the wake lock is currently enabled.
webBrowser(String) - Method in class stanford.androidlib.SimpleActivity
Launches the system default web browser to display the web page at the given URL.
WHITE - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color white.
wifiConnectionExists() - Method in class stanford.androidlib.SimpleActivity
Returns true if the device currently has a working wifi connection, as reported by the system connectivity service.
with(SimpleActivity) - Static method in class stanford.androidlib.data.SimpleDatabase
Returns a singleton SimpleDatabase instance bound to the given context.
with(Context, Iterable<String>) - Static method in class stanford.androidlib.SimpleAdapter
Returns an adapter that gets its items from the given list and its views from the given view provider.
with(Context, String[]) - Static method in class stanford.androidlib.SimpleAdapter
Returns an adapter that gets its items from the given array and its views from the given view provider.
with(Context, Iterable<String>, SimpleAdapter.ViewProvider) - Static method in class stanford.androidlib.SimpleAdapter
Returns an adapter that gets its items from the given list and its views from the given view provider.
with(Context, String[], SimpleAdapter.ViewProvider) - Static method in class stanford.androidlib.SimpleAdapter
Returns an adapter that gets its items from the given array and its views from the given view provider.
with(Context) - Static method in class stanford.androidlib.SimpleBitmap
Returns a singleton SimpleBitmap instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimpleBitmap
Returns a singleton SimpleBitmap instance bound to the given view's context.
with(Context) - Static method in class stanford.androidlib.SimpleCamera
Returns a singleton SimpleCamera instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimpleCamera
Returns a singleton SimpleCamera instance bound to the given view's context.
with(Context) - Static method in class stanford.androidlib.SimpleDialog
Returns a singleton SimpleDialog instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimpleDialog
Returns a singleton SimpleDialog instance bound to the given view's context.
with(Context, SimpleDialog.DialogListener) - Static method in class stanford.androidlib.SimpleDialog
Returns a singleton SimpleMedia instance bound to the given context and listener.
with(Context) - Static method in class stanford.androidlib.SimpleEvents
Returns a singleton SimpleEvents instance bound to the given context.
with(Fragment) - Static method in class stanford.androidlib.SimpleEvents
Returns a singleton SimpleEvents instance bound to the given fragment's context.
with(View) - Static method in class stanford.androidlib.SimpleEvents
Returns a singleton SimpleEvents instance bound to the given view's context.
with(Context) - Static method in class stanford.androidlib.SimpleIO
Returns a singleton SimpleIO instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimpleIO
Returns a singleton SimpleIO instance bound to the given view's context.
with(Context) - Static method in class stanford.androidlib.SimpleList
Returns a singleton SimpleList instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimpleList
Returns a singleton SimpleList instance bound to the given view's context.
with(Context) - Static method in class stanford.androidlib.SimpleLocalization
 
with(View) - Static method in class stanford.androidlib.SimpleLocalization
Returns a singleton SimpleLocalization instance bound to the given view's context.
with(Context) - Static method in class stanford.androidlib.SimpleMedia
Returns a singleton SimpleMedia instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimpleMedia
Returns a singleton SimpleMedia instance bound to the given view's context.
with(Context) - Static method in class stanford.androidlib.SimpleNotification
Returns a singleton SimpleNotification instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimpleNotification
Returns a singleton SimpleNotification instance bound to the given view's context.
with(Activity) - Static method in class stanford.androidlib.SimplePreferences
Returns a singleton SimplePreferences instance bound to the given context.
with(Context) - Static method in class stanford.androidlib.SimplePreferences
Returns a singleton SimplePreferences instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimplePreferences
Returns a singleton SimplePreferences instance bound to the given view's context.
with(Context) - Static method in class stanford.androidlib.SimpleSpeech
Returns a singleton SimpleSpeech instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimpleSpeech
Returns a singleton SimpleSpeech instance bound to the given view's context.
with(SimpleActivity) - Static method in class stanford.androidlib.SimpleTask
Returns a singleton SimpleTask instance bound to the given context.
with(SimpleFragment) - Static method in class stanford.androidlib.SimpleTask
Returns a singleton SimpleTask instance bound to the given context.
with(SimpleTask.TaskExecutor) - Static method in class stanford.androidlib.SimpleTask
Returns a singleton SimpleTask instance bound to the given context.
with(Activity) - Static method in class stanford.androidlib.SimpleView
Returns a singleton SimpleView instance bound to the given context.
with(Context) - Static method in class stanford.androidlib.SimpleView
Returns a singleton SimpleView instance bound to the given context.
with(View) - Static method in class stanford.androidlib.SimpleView
Returns a singleton SimpleView instance bound to the given view's context.
with(Context) - Static method in class stanford.androidlib.util.IntentUtils
 
writeFileLines(File, List<String>) - Method in class stanford.androidlib.SimpleActivity
Writes the given list of lines into the given file, replacing any previous data.
writeFileLines(File, String, List<String>) - Method in class stanford.androidlib.SimpleActivity
Writes the given list of lines into the given file, replacing any previous data.
writeFileLines(String, List<String>) - Method in class stanford.androidlib.SimpleActivity
Writes the given list of lines into the given file, replacing any previous data.
writeFileLines(File, List<String>, boolean) - Method in class stanford.androidlib.SimpleActivity
Writes the given text into the given file.
writeFileLines(File, String, List<String>, boolean) - Method in class stanford.androidlib.SimpleActivity
Writes the given text into the given file.
writeFileLines(String, List<String>, boolean) - Method in class stanford.androidlib.SimpleActivity
Writes the given text into the given file.
writeFileLines(File, List<String>) - Method in class stanford.androidlib.SimpleIO
Writes the given list of lines into the given file, replacing any previous data.
writeFileLines(File, String, List<String>) - Method in class stanford.androidlib.SimpleIO
Writes the given list of lines into the given file, replacing any previous data.
writeFileLines(String, List<String>) - Method in class stanford.androidlib.SimpleIO
Writes the given list of lines into the given file, replacing any previous data.
writeFileLines(File, List<String>, boolean) - Method in class stanford.androidlib.SimpleIO
Writes the given text into the given file.
writeFileLines(File, String, List<String>, boolean) - Method in class stanford.androidlib.SimpleIO
Writes the given text into the given file.
writeFileLines(String, List<String>, boolean) - Method in class stanford.androidlib.SimpleIO
Writes the given text into the given file.
writeFileText(File, String) - Method in class stanford.androidlib.SimpleActivity
Writes the given text into the given file, replacing any previous data.
writeFileText(File, String, String) - Method in class stanford.androidlib.SimpleActivity
Writes the given text into the given file, replacing any previous data.
writeFileText(String, String) - Method in class stanford.androidlib.SimpleActivity
Writes the given text into the given file, replacing any previous data.
writeFileText(File, String, boolean) - Method in class stanford.androidlib.SimpleActivity
Writes the given text into the given file.
writeFileText(File, String, String, boolean) - Method in class stanford.androidlib.SimpleActivity
Writes the given text into the given file.
writeFileText(String, String, boolean) - Method in class stanford.androidlib.SimpleActivity
Writes the given text into the given file.
writeFileText(File, String) - Method in class stanford.androidlib.SimpleIO
Writes the given text into the given file, replacing any previous data.
writeFileText(File, String, String) - Method in class stanford.androidlib.SimpleIO
Writes the given text into the given file, replacing any previous data.
writeFileText(String, String) - Method in class stanford.androidlib.SimpleIO
Writes the given text into the given file, replacing any previous data.
writeFileText(File, String, boolean) - Method in class stanford.androidlib.SimpleIO
Writes the given text into the given file.
writeFileText(File, String, String, boolean) - Method in class stanford.androidlib.SimpleIO
Writes the given text into the given file.
writeFileText(String, String, boolean) - Method in class stanford.androidlib.SimpleIO
Writes the given text into the given file.

X

XML - Class in stanford.androidlib.xml
This provides static methods to convert an XML text into a JSONObject, and to covert a JSONObject into an XML text.
XML() - Constructor for class stanford.androidlib.xml.XML
 
XMLTokener - Class in stanford.androidlib.xml
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.
XMLTokener(String) - Constructor for class stanford.androidlib.xml.XMLTokener
Construct an XMLTokener from a string.

Y

YELLOW - Static variable in class stanford.androidlib.graphics.GColor
A color constant representing the color yellow.
$ A B C D E F G H I J L M N O P Q R S T U V W X Y 
Skip navigation links