- $(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.
- 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.
- 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'.
- 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.
- 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 (x
, y
).
- 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 (x
, y
),
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.