- 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).
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- getBottomY() - Method in class stanford.androidlib.graphics.GObject
-
Returns the max Y of this object.
- getBottomY() - Method in class stanford.androidlib.graphics.GSprite
-
Returns this sprite's bottom y-coordinate.
- 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.GImage
-
Returns the bounding box of this object.
- 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.GOval
-
Returns the bounding box of this object.
- 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.GRect
-
Returns the bounding box of this object.
- 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
-
- getCount() - Method in class stanford.androidlib.data.SimpleCursor
-
- 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.
- 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.
- 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
-
- 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.
- getDownloadsDirectory() - Method in class stanford.androidlib.SimpleActivity
-
Returns the directory where downloads are stored on this device.
- 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.
- 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 activity's intent.
- getExtra(String, T) - Method in class stanford.androidlib.SimpleFragment
-
Returns an 'extra' parameter with the given name from this 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.GOval
-
Returns the color used to display the filled region of this object.
- getFillColor() - Method in class stanford.androidlib.graphics.GPolygon
-
Returns the color used to display the filled region of this object.
- getFillColor() - Method in class stanford.androidlib.graphics.GRect
-
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.GOval
-
Returns the height of this object as a float-precision value, which
is defined to be the height of the bounding box.
- getHeight() - Method in class stanford.androidlib.graphics.GRect
-
Returns the height of this object as a float-precision value, 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
-
- 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.
- getLabel() - Method in class stanford.androidlib.graphics.GLabel
-
Returns the string displayed by this object.
- getLeftX() - Method in class stanford.androidlib.graphics.GSprite
-
Returns this sprite's leftmost x-coordinate.
- 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
-
- 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.
- getMoviesDirectory() - Method in class stanford.androidlib.SimpleActivity
-
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.
- getNotificationUri() - Method in class stanford.androidlib.data.SimpleCursor
-
- getPaint() - Method in class stanford.androidlib.graphics.GObject
-
Returns the color used to display this object.
- getPhotosDirectory() - Method in class stanford.androidlib.SimpleActivity
-
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.
- getPosition() - Method in class stanford.androidlib.data.SimpleCursor
-
- 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.
- 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.
- getRightX() - Method in class stanford.androidlib.graphics.GSprite
-
Returns this sprite's rightmost x-coordinate.
- getScaledBitmap(int, float, 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.
- 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.
- 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.GImage
-
Returns the size of this object as a GDimension.
- 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.GOval
-
Returns the size of this object as a GDimension.
- getSize() - Method in class stanford.androidlib.graphics.GRect
-
Returns the size of this object as a GDimension.
- 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.
- 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
-
- 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.
- getTableNames(SQLiteDatabase) - Static 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.GSprite
-
Returns this sprite'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.
- 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.GOval
-
Returns the width of this object as a float-precision value, which
is defined to be the width of the bounding box.
- getWidth() - Method in class stanford.androidlib.graphics.GRect
-
Returns the width of this object as a float-precision value, 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.
- 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.
- 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.
- 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() - Constructor for class stanford.androidlib.graphics.GObject
-
Constructs a new empty object.
- 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.
- 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.
- 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.
- 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.
- 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(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.
- 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.
- onCompletion(MediaPlayer) - Method in class stanford.androidlib.SimpleActivity
-
Called when a MediaPlayer is done playing.
- 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.
- 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.
- onDialogNegativeClick(DialogInterface) - Method in class stanford.androidlib.SimpleActivity
-
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.
- 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.SimpleActivity
-
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.
- 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.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.
- 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.
- onProgressDialogClose(ProgressDialog) - Method in class stanford.androidlib.SimpleActivity
-
- 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.
- 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.
- openExternalFileBufferedReader(String, String) - Method in class stanford.androidlib.SimpleActivity
-
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.
- 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.
- openExternalFileScanner(String, String) - Method in class stanford.androidlib.SimpleActivity
-
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.
- 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.
- 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.
- 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.
- 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.
- openInternalFileStream(int) - Method in class stanford.androidlib.SimpleActivity
-
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) - Method in class stanford.androidlib.graphics.GCompound
-
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.GImage
-
Scales the object on the screen by the scale factors sx and sy.
- scale(float) - Method in class stanford.androidlib.graphics.GImage
-
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.GLine
-
Scales the line on the screen by the scale factors sx and sy.
- scale(float) - Method in class stanford.androidlib.graphics.GLine
-
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.GOval
-
Scales the object on the screen by the scale factors sx and sy.
- scale(float) - Method in class stanford.androidlib.graphics.GOval
-
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) - Method in class stanford.androidlib.graphics.GPolygon
-
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.GRect
-
Scales the object on the screen by the scale factors sx and sy.
- scale(float) - Method in class stanford.androidlib.graphics.GRect
-
Scales the object on the screen by the scale factor sf, which applies
in both dimensions.
- 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.
- scaleBitmap(Bitmap, float, float) - Method in class stanford.androidlib.SimpleCanvas
-
Returns a new bitmap which is the given bitmap resized to the given size.
- scaleToHeight(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.
- scaleToWidth(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.
- 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.
- 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.GImage
-
Changes the bounds of this object to the specified values.
- setBounds(GRectangle) - Method in class stanford.androidlib.graphics.GImage
-
Changes the bounds of this object to the values from the specified
GRectangle.
- setBounds(float, float, float, float) - Method in class stanford.androidlib.graphics.GOval
-
Changes the bounds of this object to the specified values.
- setBounds(GRectangle) - Method in class stanford.androidlib.graphics.GOval
-
Changes the bounds of this object to the values from the specified
Rectangle.
- setBounds(float, float, float, float) - Method in class stanford.androidlib.graphics.GRect
-
Changes the bounds of this object to the specified values.
- setBounds(GRectangle) - Method in class stanford.androidlib.graphics.GRect
-
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.
- 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(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
-
- setContext(Context) - Method in class stanford.androidlib.graphics.GImage
-
- setCurrentBitmapIndex() - Method in class stanford.androidlib.graphics.GSprite
-
Returns the index of the bitmap currently being displayed
in this sprite's list of bitmaps.
- 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
-
- 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.
- setDialogsIcon(int) - Method in class stanford.androidlib.SimpleActivity
-
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.
- 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.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.GOval
-
Sets the color used to display the filled region of this object.
- setFillColor(Paint) - Method in class stanford.androidlib.graphics.GPolygon
-
Sets the color used to display the filled region of this object.
- setFillColor(Paint) - Method in class stanford.androidlib.graphics.GRect
-
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.GOval
-
Sets whether this object is filled.
- setFilled(boolean) - Method in class stanford.androidlib.graphics.GPolygon
-
Sets whether this object is filled.
- setFilled(boolean) - Method in class stanford.androidlib.graphics.GRect
-
Sets whether this object is filled.
- 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.
- 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
-
- 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
-
- 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(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.
- setLogging(boolean) - Static 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 color used to display this object.
- setPaintStyle(Paint.Style) - Method in class stanford.androidlib.SimpleCanvas
-
Sets this canvas to use the given paint style.
- 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.
- 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.
- 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(float, float) - Method in class stanford.androidlib.graphics.GImage
-
Changes the size of this object to the specified width and height.
- setSize(GDimension) - Method in class stanford.androidlib.graphics.GImage
-
Changes the size of this object to the specified GDimension.
- setSize(float, float) - Method in class stanford.androidlib.graphics.GOval
-
Changes the size of this object to the specified width and height.
- setSize(GDimension) - Method in class stanford.androidlib.graphics.GOval
-
Changes the size of this object to the specified GDimension.
- setSize(float, float) - Method in class stanford.androidlib.graphics.GRect
-
Changes the size of this object to the specified width and height.
- setSize(GDimension) - Method in class stanford.androidlib.graphics.GRect
-
Changes the size of this object to the specified GDimension.
- 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.
- 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
-
- 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 sprite 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.
- setY(float) - Method in class stanford.androidlib.graphics.GObject
-
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- showMultiInputDialogWithMessage(String, String...) - Method in class stanford.androidlib.SimpleActivity
-
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.
- 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.
- 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.
- 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
-
- SimpleActivity.ToastLength - Annotation Type in stanford.androidlib
-
- 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.
- 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
-
- 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.
- SimpleLocalization - Class in stanford.androidlib
-
Utility class to help with localization of common values.
- SimpleNotification - Class in stanford.androidlib
-
This class is a drop-in replacement for Notification.Builder that adds a few methods for convenience.
- 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.
- 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
-
- 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.
- speechToText(String) - Method in class stanford.androidlib.SimpleActivity
-
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.
- 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.
- 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.
- 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.
- stringToValue(String) - Static method in class stanford.androidlib.xml.XML
-
Try to convert a string into a number, boolean, or null.