Method Index: S - Android SDK

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

S

sameFile(URL otherURL)
Returns whether this URL refers to the same resource as the given argument otherURL.
URL
sameFile(URL url1, URL url2)
Compares two URL objects whether they refer to the same file.
URLStreamHandler
(protected)
sameMonthTable
int[]
DateUtils
sameYearTable
int[]
DateUtils
sanitize(String value)
Sanitize a value.
UrlQuerySanitizer.IllegalCharacterValueSanitizer
sanitize(String value)
Sanitize an unencoded value.
UrlQuerySanitizer.ValueSanitizer
SANS_SERIF
The NORMAL style of the default sans serif typeface.
Typeface
SATURDAY
Value of the DAY_OF_WEEK field indicating Saturday.
int
Calendar
SATURDAY
int
Time
save()
Camera
save()
Saves the current matrix and clip onto a private stack.
Canvas
save()
GestureLibrary
save(int saveFlags)
Based on saveFlags, can save the current matrix and clip onto a private stack.
Canvas
save(OutputStream stream)
Save the gesture library
GestureStore
save(OutputStream stream, boolean closeStream)
GestureStore
save(OutputStream out, String comment)
This method is deprecated. This method ignores any IOException thrown while writing -- use store(OutputStream, String) instead for better exception handling.
Properties
saveAttributes()
Save the tag data into the JPEG file.
ExifInterface
saveBookmark(Context c, String title, String url)
Open the AddBookmark activity to save a bookmark.
Browser
saveCacheFile(String url, CacheManager.CacheResult cacheRet)
Save the info of a cache file for a given url to the CacheMap so that it can be reused later
CacheManager
saveConfiguration()
Tell the supplicant to persist the current list of configured networks.
WifiManager
saveEnabled
If unset, no state will be saved for this view when it is being frozen.
int
R.attr
saveHierarchyState()
Window
saveHierarchyState(Bundle container)
Store this Preference hierarchy's frozen state into the given container.
Preference
saveHierarchyState(SparseArray<Parcelable> container)
Store this view hierarchy's frozen state into the given container.
View
saveInstanceState()
Retrieve the state of all activities known by the group.
LocalActivityManager
saveLayer(RectF bounds, Paint paint, int saveFlags)
This behaves the same as save(), but in addition it allocates an offscreen bitmap.
Canvas
saveLayer(float left, float top, float right, float bottom, Paint paint, int saveFlags)
Helper version of saveLayer() that takes 4 values rather than a RectF.
Canvas
saveLayerAlpha(RectF bounds, int alpha, int saveFlags)
This behaves the same as save(), but in addition it allocates an offscreen bitmap.
Canvas
saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int saveFlags)
Helper for saveLayerAlpha() that takes 4 values instead of a RectF.
Canvas
savePassword(String host, String username, String password)
Save the username and password for a particular host in the WebView's internal database.
WebView
savePicture(Bundle b, File dest)
Save the current display data to the Bundle given.
WebView
savePreferences()
BaseTestRunner
saveRecentQuery(String queryString, String line2)
Add a query to the recent queries list.
SearchRecentSuggestions
saveState(SslCertificate certificate)
Saves the certificate state to a bundle
SslCertificate
saveState(Bundle outState)
Save the state of this WebView used in onSaveInstanceState(Bundle).
WebView
SAXException()
Create a new SAXException.
SAXException
SAXException(Exception e)
Create a new SAXException wrapping an existing exception.
SAXException
SAXException(String message)
Create a new SAXException.
SAXException
SAXException(String message, Exception e)
Create a new SAXException from an existing exception.
SAXException
SAXNotRecognizedException()
Default constructor.
SAXNotRecognizedException
SAXNotRecognizedException(String message)
Construct a new exception with the given message.
SAXNotRecognizedException
SAXNotSupportedException()
Construct a new exception with no message.
SAXNotSupportedException
SAXNotSupportedException(String message)
Construct a new exception with the given message.
SAXNotSupportedException
SAXParseException(String message, String publicId, String systemId, int lineNumber, int columnNumber)
Create a new SAXParseException.
SAXParseException
SAXParseException(String message, String publicId, String systemId, int lineNumber, int columnNumber, Exception e)
Create a new SAXParseException with an embedded exception.
SAXParseException
SAXParseException(String message, Locator locator)
Create a new SAXParseException from a message and a Locator.
SAXParseException
SAXParseException(String message, Locator locator, Exception e)
Wrap an existing exception in a SAXParseException.
SAXParseException
scale()
Returns the scale of this BigDecimal.
BigDecimal
scale(float sx, float sy)
Preconcat the current matrix with the specified scale.
Canvas
scale(float sx, float sy, float px, float py)
Preconcat the current matrix with the specified scale.
Canvas
ScaleAnimation(Context context, AttributeSet attrs)
Constructor used when a ScaleAnimation is loaded from a resource.
ScaleAnimation
ScaleAnimation(float fromX, float toX, float fromY, float toY)
Constructor to use when building a ScaleAnimation from code
ScaleAnimation
ScaleAnimation(float fromX, float toX, float fromY, float toY, float pivotX, float pivotY)
Constructor to use when building a ScaleAnimation from code
ScaleAnimation
ScaleAnimation(float fromX, float toX, float fromY, float toY, int pivotXType, float pivotXValue, int pivotYType, float pivotYValue)
Constructor to use when building a ScaleAnimation from code
ScaleAnimation
scaleByPowerOfTen(int n)
Returns a new BigDecimal whose value is this 10^n.
BigDecimal
scaleCurrentDuration(float scale)
How much to scale the duration by.
Animation
scaleCurrentDuration(float scale)
How much to scale the duration by.
AnimationSet
ScaleDrawable(Drawable drawable, int gravity, float scaleWidth, float scaleHeight)
ScaleDrawable
scaleGravity
Specifies where the drawable is positioned after scaling.
int
R.attr
scaleHeight
Scale height, expressed as a percentage of the drawable's bound.
int
R.attr
scaleM(float[] m, int mOffset, float x, float y, float z)
Scales matrix m in place by sx, sy, and sz
Matrix
scaleM(float[] sm, int smOffset, float[] m, int mOffset, float x, float y, float z)
Scales matrix m by x, y, and z, putting the result in sm
Matrix
scaleType
Controls how the image should be resized or moved to match the size of this ImageView.
int
R.attr
scaleWidth
Scale width, expressed as a percentage of the drawable's bound.
int
R.attr
ScaleXSpan(Parcel src)
ScaleXSpan
ScaleXSpan(float proportion)
ScaleXSpan
scanFile(String path, String mimeType)
Requests the media scanner to scan a file.
MediaScannerConnection
Scanner(File src)
Creates a Scanner with the specified File as input.
Scanner
Scanner(File src, String charsetName)
Creates a Scanner with the specified File as input.
Scanner
Scanner(InputStream src)
Creates a Scanner on the specified InputStream.
Scanner
Scanner(InputStream src, String charsetName)
Creates a Scanner on the specified InputStream.
Scanner
Scanner(Readable src)
Creates a Scanner with the specified Readable as input.
Scanner
Scanner(String src)
Creates a Scanner on the specified string.
Scanner
Scanner(ReadableByteChannel src)
Creates a Scanner with the specified ReadableByteChannel as input.
Scanner
Scanner(ReadableByteChannel src, String charsetName)
Creates a Scanner with the specified ReadableByteChannel as input.
Scanner
SCAN_MODE_CONNECTABLE
Indicates that inquiry scan is disabled, but page scan is enabled on the local Bluetooth adapter.
int
BluetoothAdapter
SCAN_MODE_CONNECTABLE_DISCOVERABLE
Indicates that both inquiry scan and page scan are enabled on the local Bluetooth adapter.
int
BluetoothAdapter
SCAN_MODE_NONE
Indicates that both inquiry scan and page scan are disabled on the local Bluetooth adapter.
int
BluetoothAdapter
SCAN_RESULTS_AVAILABLE_ACTION
An access point scan has completed, and results are available from the supplicant.
WifiManager
SCENE_MODE_ACTION
Camera.Parameters
SCENE_MODE_AUTO
Camera.Parameters
SCENE_MODE_BEACH
Camera.Parameters
SCENE_MODE_CANDLELIGHT
Camera.Parameters
SCENE_MODE_FIREWORKS
Camera.Parameters
SCENE_MODE_LANDSCAPE
Camera.Parameters
SCENE_MODE_NIGHT
Camera.Parameters
SCENE_MODE_NIGHT_PORTRAIT
Camera.Parameters
SCENE_MODE_PARTY
Camera.Parameters
SCENE_MODE_PORTRAIT
Camera.Parameters
SCENE_MODE_SNOW
Camera.Parameters
SCENE_MODE_SPORTS
Camera.Parameters
SCENE_MODE_STEADYPHOTO
Camera.Parameters
SCENE_MODE_SUNSET
Camera.Parameters
SCENE_MODE_THEATRE
Camera.Parameters
schedule(Runnable command, long delay, TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay.
ScheduledExecutorService
schedule(Runnable command, long delay, TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay.
ScheduledThreadPoolExecutor
schedule(Callable<V> callable, long delay, TimeUnit unit)
Creates and executes a ScheduledFuture that becomes enabled after the given delay.
ScheduledExecutorService
schedule(Callable<V> callable, long delay, TimeUnit unit)
Creates and executes a ScheduledFuture that becomes enabled after the given delay.
ScheduledThreadPoolExecutor
schedule(TimerTask task, Date when)
Schedule a task for single execution.
Timer
schedule(TimerTask task, Date when, long period)
Schedule a task for repeated fixed-delay execution after a specific time has been reached.
Timer
schedule(TimerTask task, long delay)
Schedule a task for single execution after a specified delay.
Timer
schedule(TimerTask task, long delay, long period)
Schedule a task for repeated fixed-delay execution after a specific delay.
Timer
scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.
ScheduledExecutorService
scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.
ScheduledThreadPoolExecutor
scheduleAtFixedRate(TimerTask task, Date when, long period)
Schedule a task for repeated fixed-rate execution after a specific time has been reached.
Timer
scheduleAtFixedRate(TimerTask task, long delay, long period)
Schedule a task for repeated fixed-rate execution after a specific delay has passed.
Timer
scheduledExecutionTime()
Returns the scheduled execution time.
TimerTask
scheduleDrawable(Drawable who, Runnable what, long when)
A Drawable can call this to schedule the next frame of its animation.
ClipDrawable
scheduleDrawable(Drawable who, Runnable what, long when)
A Drawable can call this to schedule the next frame of its animation.
Drawable.Callback
scheduleDrawable(Drawable who, Runnable what, long when)
A Drawable can call this to schedule the next frame of its animation.
DrawableContainer
scheduleDrawable(Drawable who, Runnable what, long when)
A Drawable can call this to schedule the next frame of its animation.
InsetDrawable
scheduleDrawable(Drawable who, Runnable what, long when)
A Drawable can call this to schedule the next frame of its animation.
LayerDrawable
scheduleDrawable(Drawable who, Runnable what, long when)
A Drawable can call this to schedule the next frame of its animation.
RotateDrawable
scheduleDrawable(Drawable who, Runnable what, long when)
A Drawable can call this to schedule the next frame of its animation.
ScaleDrawable
scheduleDrawable(Drawable who, Runnable what, long when)
Schedules an action on a drawable to occur at a specified time.
View
ScheduledThreadPoolExecutor(int corePoolSize)
Creates a new ScheduledThreadPoolExecutor with the given core pool size.
ScheduledThreadPoolExecutor
ScheduledThreadPoolExecutor(int corePoolSize, RejectedExecutionHandler handler)
Creates a new ScheduledThreadPoolExecutor with the given initial parameters.
ScheduledThreadPoolExecutor
ScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory)
Creates a new ScheduledThreadPoolExecutor with the given initial parameters.
ScheduledThreadPoolExecutor
ScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory, RejectedExecutionHandler handler)
Creates a new ScheduledThreadPoolExecutor with the given initial parameters.
ScheduledThreadPoolExecutor
scheduleLayoutAnimation()
Schedules the layout animation to be played after the next layout pass of this view group.
ViewGroup
scheduleSelf(Runnable what, long when)
Use the current Drawable.Callback implementation to have this Drawable scheduled.
Drawable
scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.
ScheduledExecutorService
scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.
ScheduledThreadPoolExecutor
scheme
Specify a URI scheme that is handled, as per IntentFilter.addDataScheme().
int
R.attr
scheme(String scheme)
Sets the scheme.
Uri.Builder
Scheme(String name, SocketFactory factory, int port)
Creates a new scheme.
Scheme
SchemeRegistry()
Creates a new, empty scheme registry.
SchemeRegistry
schemesIterator()
Return an iterator over the filter's data schemes.
IntentFilter
SCHEME_ANDROID_RESOURCE
ContentResolver
SCHEME_CONTENT
ContentResolver
SCHEME_FILE
ContentResolver
SCHEME_GEO
URI scheme for map address
WebView
SCHEME_MAILTO
URI scheme for email address
WebView
SCHEME_TEL
URI scheme for telephone number
WebView
SCREENLAYOUT_LONG_MASK
int
Configuration
SCREENLAYOUT_LONG_NO
int
Configuration
SCREENLAYOUT_LONG_UNDEFINED
int
Configuration
SCREENLAYOUT_LONG_YES
int
Configuration
SCREENLAYOUT_SIZE_LARGE
int
Configuration
SCREENLAYOUT_SIZE_MASK
int
Configuration
SCREENLAYOUT_SIZE_NORMAL
int
Configuration
SCREENLAYOUT_SIZE_SMALL
int
Configuration
SCREENLAYOUT_SIZE_UNDEFINED
int
Configuration
screenOrientation
Specify the orientation an activity should be run in.
int
R.attr
screen_background_dark
int
R.drawable
screen_background_dark_transparent
Semi-transparent background that can be used when placing a dark themed UI on top of some arbitrary background (such as the wallpaper).
int
R.drawable
screen_background_light
int
R.drawable
screen_background_light_transparent
Background drawable that can be used for a transparent activity to be able to display a light UI: this lightens its background to make a light UI more visible.
int
R.drawable
SCREEN_BRIGHTNESS
The screen backlight brightness between 0 and 255.
Settings.System
SCREEN_BRIGHTNESS_CHANGED
int
WindowManager.LayoutParams
SCREEN_BRIGHT_WAKE_LOCK
Wake lock that ensures that the screen is on at full brightness; the keyboard backlight will be allowed to go off.
int
PowerManager
SCREEN_DIM_WAKE_LOCK
Wake lock that ensures that the screen is on (but may be dimmed); the keyboard backlight will be allowed to go off.
int
PowerManager
SCREEN_OFF_TIMEOUT
The timeout before the screen turns off.
Settings.System
SCREEN_ORIENTATION_BEHIND
Constant corresponding to behind in the screenOrientation attribute.
int
ActivityInfo
SCREEN_ORIENTATION_CHANGED
int
WindowManager.LayoutParams
SCREEN_ORIENTATION_LANDSCAPE
Constant corresponding to landscape in the screenOrientation attribute.
int
ActivityInfo
SCREEN_ORIENTATION_NOSENSOR
Constant corresponding to sensor in the screenOrientation attribute.
int
ActivityInfo
SCREEN_ORIENTATION_PORTRAIT
Constant corresponding to portrait in the screenOrientation attribute.
int
ActivityInfo
SCREEN_ORIENTATION_SENSOR
Constant corresponding to sensor in the screenOrientation attribute.
int
ActivityInfo
SCREEN_ORIENTATION_UNSPECIFIED
Constant corresponding to unspecified in the screenOrientation attribute.
int
ActivityInfo
SCREEN_ORIENTATION_USER
Constant corresponding to user in the screenOrientation attribute.
int
ActivityInfo
SCRIPT_URL_OK
Allow text to start with a script URL such as "javascript:" or "vbscript:"
int
UrlQuerySanitizer.IllegalCharacterValueSanitizer
scrollbarAlwaysDrawHorizontalTrack
Defines whether the horizontal scrollbar track should always be drawn.
int
R.attr
scrollbarAlwaysDrawVerticalTrack
Defines whether the vertical scrollbar track should always be drawn

Must be a boolean value, either "true" or "false".

int
R.attr
scrollbarDefaultDelayBeforeFade
Defines the delay in milliseconds that a scrollbar waits before fade out.
int
R.attr
scrollbarFadeDuration
Defines the delay in milliseconds that a scrollbar takes to fade out.
int
R.attr
scrollbars
Defines which scrollbars should be displayed on scrolling or not.
int
R.attr
scrollbarSize
Sets the width of vertical scrollbars and height of horizontal scrollbars.
int
R.attr
scrollbarStyle
Controls the scrollbar style and position.
int
R.attr
SCROLLBARS_INSIDE_INSET
The scrollbar style to display the scrollbars inside the padded area, increasing the padding of the view.
int
View
SCROLLBARS_INSIDE_OVERLAY
The scrollbar style to display the scrollbars inside the content area, without increasing the padding.
int
View
SCROLLBARS_OUTSIDE_INSET
The scrollbar style to display the scrollbars at the edge of the view, increasing the padding of the view.
int
View
SCROLLBARS_OUTSIDE_OVERLAY
The scrollbar style to display the scrollbars at the edge of the view, without increasing the padding.
int
View
scrollbarThumbHorizontal
Defines the horizontal scrollbar thumb drawable.
int
R.attr
scrollbarThumbVertical
Defines the vertical scrollbar thumb drawable.
int
R.attr
scrollbarTrackHorizontal
Defines the horizontal scrollbar track drawable.
int
R.attr
scrollbarTrackVertical
Defines the vertical scrollbar track drawable.
int
R.attr
scrollBy(int x, int y)
Move the scrolled position of your view.
View
Scroller(Context context)
Create a Scroller with the default duration and interpolator.
Scroller
Scroller(Context context, Interpolator interpolator)
Create a Scroller with the specified interpolator.
Scroller
scrollHorizontally
Whether the text is allowed to be wider than the view (and therefore can be scrolled horizontally).
int
R.attr
scrollingCache
When set to true, the list uses a drawing cache during scrolling.
int
R.attr
ScrollingMovementMethod()
ScrollingMovementMethod
scrollTo(TextView widget, Layout layout, int x, int y)
Scrolls the specified widget to the specified coordinates, except constrains the X scrolling position to the horizontal regions of the text that will be visible after scrolling to the specified Y position.
Touch
scrollTo(int x, int y)
Set the scrolled position of your view.

This version also clamps the scrolling to the bounds of our child.

HorizontalScrollView
scrollTo(int x, int y)
Set the scrolled position of your view.

This version also clamps the scrolling to the bounds of our child.

ScrollView
scrollTo(int x, int y)
Set the scrolled position of your view.
View
scrollToBottom(ActivityInstrumentationTestCase test, ViewGroup v)
This method is deprecated. ActivityInstrumentationTestCase is deprecated in favor of ActivityInstrumentationTestCase2, which provides more options for configuring the Activity under test
TouchUtils
scrollToBottom(InstrumentationTestCase test, Activity activity, ViewGroup v)
Scroll a ViewGroup to the bottom by repeatedly calling dragQuarterScreenUp(InstrumentationTestCase, Activity)
TouchUtils
scrollToTop(ActivityInstrumentationTestCase test, ViewGroup v)
This method is deprecated. ActivityInstrumentationTestCase is deprecated in favor of ActivityInstrumentationTestCase2, which provides more options for configuring the Activity under test
TouchUtils
scrollToTop(InstrumentationTestCase test, Activity activity, ViewGroup v)
Scroll a ViewGroup to the top by repeatedly calling dragQuarterScreenDown(InstrumentationTestCase, Activity)
TouchUtils
ScrollView(Context context)
ScrollView
ScrollView(Context context, AttributeSet attrs)
ScrollView
ScrollView(Context context, AttributeSet attrs, int defStyle)
ScrollView
scrollViewStyle
Default ScrollView style.
int
R.attr
scrollX
The initial horizontal scroll offset, in pixels.
int
R.attr
scrollY
The initial vertical scroll offset, in pixels.
int
R.attr
SCROLL_STATE_FLING
The user had previously been scrolling using touch and had performed a fling.
int
AbsListView.OnScrollListener
SCROLL_STATE_IDLE
The view is not scrolling.
int
AbsListView.OnScrollListener
SCROLL_STATE_TOUCH_SCROLL
The user is scrolling using touch, and their finger is still on the screen
int
AbsListView.OnScrollListener
scrubClass(Class<?> testCaseClass)
This function is called by various TestCase implementations, at tearDown() time, in order to scrub out any class variables.
ActivityTestCase
(protected)
scrubClass(Class<?> testCaseClass)
This function is called by various TestCase implementations, at tearDown() time, in order to scrub out any class variables.
AndroidTestCase
(protected)
SC_ACCEPTED
202 Accepted (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_BAD_GATEWAY
502 Bad Gateway (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_BAD_REQUEST
400 Bad Request (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_BLOCK_DATA
Bit mask for the flag field in ObjectStreamClass.
byte
ObjectStreamConstants
SC_CONFLICT
409 Conflict (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_CONTINUE
100 Continue (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_CREATED
201 Created (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_ENUM
Bit mask for the flag field in ObjectStreamClass.
byte
ObjectStreamConstants
SC_EXPECTATION_FAILED
417 Expectation Failed (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_EXTERNALIZABLE
Bit mask for the flag field in ObjectStreamClass.
byte
ObjectStreamConstants
SC_FAILED_DEPENDENCY
424 Failed Dependency (WebDAV - RFC 2518)
int
HttpStatus
SC_FORBIDDEN
403 Forbidden (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_GATEWAY_TIMEOUT
504 Gateway Timeout (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_GONE
410 Gone (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_HTTP_VERSION_NOT_SUPPORTED
505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_INSUFFICIENT_SPACE_ON_RESOURCE
Static constant for a 419 error.
int
HttpStatus
SC_INSUFFICIENT_STORAGE
507 Insufficient Storage (WebDAV - RFC 2518)
int
HttpStatus
SC_INTERNAL_SERVER_ERROR
500 Server Error (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_LENGTH_REQUIRED
411 Length Required (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_LOCKED
423 Locked (WebDAV - RFC 2518)
int
HttpStatus
SC_METHOD_FAILURE
Static constant for a 420 error.
int
HttpStatus
SC_METHOD_NOT_ALLOWED
405 Method Not Allowed (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_MOVED_PERMANENTLY
301 Moved Permanently (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_MOVED_TEMPORARILY
302 Moved Temporarily (Sometimes Found) (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_MULTIPLE_CHOICES
300 Mutliple Choices (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_MULTI_STATUS
207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?)
int
HttpStatus
SC_NON_AUTHORITATIVE_INFORMATION
203 Non Authoritative Information (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_NOT_ACCEPTABLE
406 Not Acceptable (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_NOT_FOUND
404 Not Found (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_NOT_IMPLEMENTED
501 Not Implemented (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_NOT_MODIFIED
304 Not Modified (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_NO_CONTENT
204 No Content (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_OK
200 OK (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_PARTIAL_CONTENT
206 Partial Content (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_PAYMENT_REQUIRED
402 Payment Required (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_PRECONDITION_FAILED
412 Precondition Failed (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_PROCESSING
102 Processing (WebDAV - RFC 2518)
int
HttpStatus
SC_PROXY_AUTHENTICATION_REQUIRED
407 Proxy Authentication Required (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_REQUESTED_RANGE_NOT_SATISFIABLE
416 Requested Range Not Satisfiable (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_REQUEST_TIMEOUT
408 Request Timeout (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_REQUEST_TOO_LONG
413 Request Entity Too Large (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_REQUEST_URI_TOO_LONG
414 Request-URI Too Long (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_RESET_CONTENT
205 Reset Content (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_SEE_OTHER
303 See Other (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_SERIALIZABLE
Bit mask for the flag field in ObjectStreamClass.
byte
ObjectStreamConstants
SC_SERVICE_UNAVAILABLE
503 Service Unavailable (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_SWITCHING_PROTOCOLS
101 Switching Protocols (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_TEMPORARY_REDIRECT
307 Temporary Redirect (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_UNAUTHORIZED
401 Unauthorized (HTTP/1.0 - RFC 1945)
int
HttpStatus
SC_UNPROCESSABLE_ENTITY
422 Unprocessable Entity (WebDAV - RFC 2518)
int
HttpStatus
SC_UNSUPPORTED_MEDIA_TYPE
415 Unsupported Media Type (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_USE_PROXY
305 Use Proxy (HTTP/1.1 - RFC 2616)
int
HttpStatus
SC_WRITE_METHOD
Bit mask for the flag field in ObjectStreamClass.
byte
ObjectStreamConstants
SDK
This constant is deprecated. Use SDK_INT to easily get this as an integer.
Build.VERSION
SDK_INT
The user-visible SDK version of the framework; its possible values are defined in Build.VERSION_CODES.
int
Build.VERSION
SEALED
The Sealed manifest attribute which may have the value true for sealed archives.
Attributes.Name
SealedObject(Serializable object, Cipher c)
Creates a new SealedObject instance wrapping the specified object and sealing it using the specified cipher.
SealedObject
SEARCH
Browser.SearchColumns
search(Object o)
Returns the index of the first occurrence of the object, starting from the top of the stack.
Stack
searchButtonText
This constant is deprecated. This will create a non-standard UI appearance, because the search bar UI is changing to use only icons for its buttons.
int
R.attr
SEARCHES_PROJECTION
Browser
SEARCHES_PROJECTION_DATE_INDEX
int
Browser
SEARCHES_PROJECTION_SEARCH_INDEX
int
Browser
SEARCHES_URI
Browser
searchMode
Additional features are controlled by mode bits in this field.
int
R.attr
SearchRecentSuggestions(Context context, String authority, int mode)
Although provider utility classes are typically static, this one must be constructed because it needs to be initialized using the same values that you provided in your SearchRecentSuggestionsProvider.
SearchRecentSuggestions
SearchRecentSuggestionsProvider()
SearchRecentSuggestionsProvider
searchSettingsDescription
If provided, this string will be used to describe the searchable item in the searchable items settings within system search settings.
int
R.attr
searchSuggestAuthority
If provided, this is the trigger indicating that the searchable activity provides suggestions as well.
int
R.attr
searchSuggestIntentAction
If provided, and not overridden by an action in the selected suggestion, this string will be placed in the action field of the Intent when the user clicks a suggestion.
int
R.attr
searchSuggestIntentData
If provided, and not overridden by an action in the selected suggestion, this string will be placed in the data field of the Intent when the user clicks a suggestion.
int
R.attr
searchSuggestPath
If provided, this will be inserted in the suggestions query Uri, after the authority you have provide but before the standard suggestions path.
int
R.attr
searchSuggestSelection
If provided, suggestion queries will be passed into your query function as the selection parameter.
int
R.attr
searchSuggestThreshold
If provided, this is the minimum number of characters needed to trigger search suggestions.
int
R.attr
search_go
This is the default button label in the system-wide search UI.
int
R.string
SEARCH_SERVICE
Use with getSystemService(String) to retrieve a SearchManager for handling searches.
Context
SEARCH_SUGGESTION_CLICKED
This constant is deprecated. see ContactsContract
Contacts.Intents
SEARCH_SUGGESTION_CLICKED
This is the intent that is fired when a search suggestion is clicked on.
ContactsContract.Intents
SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED
This constant is deprecated. see ContactsContract
Contacts.Intents
SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED
This is the intent that is fired when a search suggestion for creating a contact is clicked on.
ContactsContract.Intents
SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED
This constant is deprecated. see ContactsContract
Contacts.Intents
SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED
This is the intent that is fired when a search suggestion for dialing a number is clicked on.
ContactsContract.Intents
SECOND
Field number for get and set indicating the second within the minute.
int
Calendar
SECOND
Marks the second part of a time.
DateFormat.Field
SECOND
int
Time
SECONDARY
Constant used to specify the collation strength.
int
Collator
secondaryOrder(int order)
Obtains the secondary order of the specified collation element, i.e.
CollationElementIterator
secondaryProgress
Defines the secondary progress value, between 0 and max.
int
R.attr
secondaryProgress
int
R.id
SECONDARY_EMAIL
This constant is deprecated. see ContactsContract
Contacts.Intents.Insert
SECONDARY_EMAIL
The extra field for an optional second contact email address.
ContactsContract.Intents.Insert
SECONDARY_EMAIL_TYPE
This constant is deprecated. see ContactsContract
Contacts.Intents.Insert
SECONDARY_EMAIL_TYPE
The extra field for an optional second contact email type.
ContactsContract.Intents.Insert
SECONDARY_PHONE
This constant is deprecated. see ContactsContract
Contacts.Intents.Insert
SECONDARY_PHONE
The extra field for an optional second contact phone number.
ContactsContract.Intents.Insert
SECONDARY_PHONE_TYPE
This constant is deprecated. see ContactsContract
Contacts.Intents.Insert
SECONDARY_PHONE_TYPE
The extra field for an optional second contact phone number type.
ContactsContract.Intents.Insert
secondary_text_dark
int
R.color
secondary_text_dark_nodisable
int
R.color
secondary_text_light
int
R.color
secondary_text_light_nodisable
int
R.color
SECONDS
This designator indicates the seconds of the minute.
char
DateFormat
SECOND_FIELD
FieldPosition selector for 's' field alignment, corresponds to the SECOND field.
int
DateFormat
SECOND_IN_MILLIS
long
DateUtils
SecretKeyFactorySpi()
Creates a new SecretKeyFactorySpi instance.
SecretKeyFactorySpi
SecretKeySpec(byte[] key, int offset, int len, String algorithm)
Creates a new SecretKeySpec for the key data from the specified buffer key starting at offset with length len and the specified algorithm name.
SecretKeySpec
SecretKeySpec(byte[] key, String algorithm)
Creates a new SecretKeySpec for the specified key data and algorithm name.
SecretKeySpec
SECRET_KEY
Constant indicating that the key to be unwrapped is a secret key.
int
Cipher
SECURE
The surface contains secure content, special measures will be taken to disallow the surface's content to be copied from another process.
int
Surface
SecureCacheResponse()
Creates a new instance of this class.
SecureCacheResponse
SecureRandom()
Constructs a new instance of SecureRandom.
SecureRandom
SecureRandom(byte[] seed)
Constructs a new instance of SecureRandom.
SecureRandom
SecureRandomSpi()
SecureRandomSpi
SECURE_ATTR
ClientCookie
SecurityException()
Constructs a new SecurityException that includes the current stack trace.
SecurityException
SecurityException(String detailMessage)
Constructs a new SecurityException with the current stack trace and the specified detail message.
SecurityException
SecurityException(String message, Throwable cause)
Constructs a new SecurityException with the current stack trace, the specified detail message and the specified cause.
SecurityException
SecurityException(Throwable cause)
Constructs a new SecurityException with the current stack trace and the specified cause.
SecurityException
SecurityManager()
Constructs a new SecurityManager instance.
SecurityManager
SecurityPermission(String name)
Constructs a new instance of SecurityPermission with the given name.
SecurityPermission
SecurityPermission(String name, String action)
Constructs a new instance of SecurityPermission with the given name and action list.
SecurityPermission
seek(long pos)
Moves this file's file pointer to a new position, from where following read, write or skip operations are done.
RandomAccessFile
SeekBar(Context context)
SeekBar
SeekBar(Context context, AttributeSet attrs)
SeekBar
SeekBar(Context context, AttributeSet attrs, int defStyle)
SeekBar
seekBarStyle
Default SeekBar style.
int
R.attr
seekTo(int pos)
MediaController.MediaPlayerControl
seekTo(int msec)
Seeks to specified time position.
MediaPlayer
seekTo(int msec)
VideoView
SEGMENT_LIMIT
The number of bytes of each archive segment.
Pack200.Packer
select()
Detects if any of the registered channels is ready for I/O operations according to its interest set.
Selector
select(URI uri)
Gets all applicable proxies based on the accessing protocol of uri.
ProxySelector
select(long timeout)
Detects if any of the registered channels is ready for I/O operations according to its interest set.
Selector
selectable
Whether the Preference is selectable.
int
R.attr
selectAll
Context menu ID for the "Select All" menu item to select all text in a text view.
int
R.id
selectAll
Item on EditText context menu.
int
R.string
selectAll()
Convenience for selectAll(Spannable).
EditText
selectAll(Spannable text)
Select the entire text.
Selection
selectAllOnFocus
If the text is selectable, select it all when the view takes focus instead of moving the cursor to the start or end.
int
R.attr
selectDrawable(int idx)
DrawableContainer
selectedIcon
int
R.id
selectedKeys()
Gets the selection keys whose channels are ready for operation.
Selector
SELECTED_STATE_SET
Indicates the view is selected.
int[]
View
SELECTED_WINDOW_FOCUSED_STATE_SET
Indicates the view is selected and that its window has the focus.
int[]
View
SELECTION_END
Selection
SELECTION_START
Selection
selectNow()
Detects if any of the registered channels is ready for I/O operations according to its interest set.
Selector
selector()
Gets the selector for which this key's channel is registered.
SelectionKey
selectScheme(Map<StringHeader> challenges, HttpResponse response, HttpContext context)
AbstractAuthenticationHandler
selectScheme(Map<StringHeader> challenges, HttpResponse response, HttpContext context)
AuthenticationHandler
select_dialog_item
int
R.layout
select_dialog_multichoice
int
R.layout
select_dialog_singlechoice
int
R.layout
Semaphore(int permits)
Creates a Semaphore with the given number of permits and nonfair fairness setting.
Semaphore
Semaphore(int permits, boolean fair)
Creates a Semaphore with the given number of permits and the given fairness setting.
Semaphore
send()
Perform the operation associated with this PendingIntent.
PendingIntent
send(Context context, int code, Intent intent)
Perform the operation associated with this PendingIntent, allowing the caller to specify information about the Intent to use.
PendingIntent
send(Context context, int code, Intent intent, PendingIntent.OnFinished onFinished, Handler handler)
Perform the operation associated with this PendingIntent, allowing the caller to specify information about the Intent to use and be notified when the send has completed.
PendingIntent
send(Message message)
Send a Message to this Messenger's Handler.
Messenger
send(int code)
Perform the operation associated with this PendingIntent.
PendingIntent
send(int code, PendingIntent.OnFinished onFinished, Handler handler)
Perform the operation associated with this PendingIntent, allowing the caller to be notified when the send has completed.
PendingIntent
send(int resultCode, Bundle resultData)
Deliver a result to this receiver.
ResultReceiver
send(DatagramPacket pack)
Sends a packet over this socket.
DatagramSocket
send(DatagramPacket pack)
Sends the given datagram packet pack.
DatagramSocketImpl
(protected)
send(DatagramPacket pack, byte ttl)
This method is deprecated. use setTimeToLive(int).
MulticastSocket
send(ByteBuffer source, SocketAddress address)
Sends a datagram through this channel.
DatagramChannel
sendAccessibilityEvent(AccessibilityEvent event) AccessibilityManager
sendAccessibilityEvent(int eventType)
Handles the request for sending an AccessibilityEvent given the event type.
AccessibilityEventSource
sendAccessibilityEvent(int eventType)
Handles the request for sending an AccessibilityEvent given the event type.
View
sendAccessibilityEventUnchecked(AccessibilityEvent event)
Handles the request for sending an AccessibilityEvent.
AccessibilityEventSource
sendAccessibilityEventUnchecked(AccessibilityEvent event)
Handles the request for sending an AccessibilityEvent.
View
sendAppPrivateCommand(View view, String action, Bundle data)
Call InputMethodSession.appPrivateCommand() on the current Input Method.
InputMethodManager
sendBroadcast(Intent intent)
Broadcast the given intent to all interested BroadcastReceivers.
Context
sendBroadcast(Intent intent)
Broadcast the given intent to all interested BroadcastReceivers.
ContextWrapper
sendBroadcast(Intent intent)
Broadcast the given intent to all interested BroadcastReceivers.
IsolatedContext
sendBroadcast(Intent intent)
Broadcast the given intent to all interested BroadcastReceivers.
MockContext
sendBroadcast(Intent intent, String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers, allowing an optional required permission to be enforced.
Context
sendBroadcast(Intent intent, String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers, allowing an optional required permission to be enforced.
ContextWrapper
sendBroadcast(Intent intent, String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers, allowing an optional required permission to be enforced.
MockContext
sendCharacterSync(int keyCode)
Higher-level method for sending both the down and up key events for a particular character key code.
Instrumentation
sendDataMessage(String destinationAddress, String scAddress, short destinationPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent)
Send a data based SMS to a specific application port.
SmsManager
sendDataMessage(String destinationAddress, String scAddress, short destinationPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent)
This method is deprecated. Use android.telephony.SmsManager.
SmsManager
sendDefaultEditorAction(boolean fromEnterKey)
Ask the input target to execute its default action via InputConnection.performEditorAction().
InputMethodService
sendDownUpKeyEvents(int keyEventCode)
Send the given key event code (as defined by KeyEvent) to the current input connection is a key down + key up event pair.
InputMethodService
sendEmptyMessage(int what)
Sends a Message containing only the what value.
Handler
sendEmptyMessageAtTime(int what, long uptimeMillis)
Sends a Message containing only the what value, to be delivered at a specific time.
Handler
sendEmptyMessageDelayed(int what, long delayMillis)
Sends a Message containing only the what value, to be delivered after the specified amount of time elapses.
Handler
sendExtraCommand(String provider, String command, Bundle extras)
Sends additional commands to a location provider.
LocationManager
sendIntent(Context context, int code, Intent intent, IntentSender.OnFinished onFinished, Handler handler)
Perform the operation associated with this IntentSender, allowing the caller to specify information about the Intent to use and be notified when the send has completed.
IntentSender
sendKeyChar(char charCode)
Send the given UTF-16 character to the current input connection.
InputMethodService
sendKeyDownUpSync(int key)
Sends an up and down key event sync to the currently focused window.
Instrumentation
sendKeyEvent(KeyEvent event)
Provides standard implementation for sending a key event to the window attached to the input connection's view.
BaseInputConnection
sendKeyEvent(KeyEvent event)
Send a key event to the process that is currently attached through this input connection.
InputConnection
sendKeyEvent(KeyEvent event)
Send a key event to the process that is currently attached through this input connection.
InputConnectionWrapper
sendKeys(int... keys)
Sends a series of key events through instrumentation and waits for idle.
InstrumentationTestCase
sendKeys(String keysSequence)
Sends a series of key events through instrumentation and waits for idle.
InstrumentationTestCase
sendKeySync(KeyEvent event)
Send a key event to the currently focused window/view and wait for it to be processed.
Instrumentation
sendMessage(Message msg)
Pushes a message onto the end of the message queue after all pending messages before the current time.
Handler
sendMessageAtFrontOfQueue(Message msg)
Enqueue a message at the front of the message queue, to be processed on the next iteration of the message loop.
Handler
sendMessageAtTime(Message msg, long uptimeMillis)
Enqueue a message into the message queue after all pending messages before the absolute time (in milliseconds) uptimeMillis.
Handler
sendMessageDelayed(Message msg, long delayMillis)
Enqueue a message into the message queue after all pending messages before (current time + delayMillis).
Handler
sendMultipartTextMessage(String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents)
Send a multi-part text based SMS.
SmsManager
sendMultipartTextMessage(String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents)
This method is deprecated. Use android.telephony.SmsManager.
SmsManager
sendOrderedBroadcast(Intent intent, String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers.
Context
sendOrderedBroadcast(Intent intent, String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers.
ContextWrapper
sendOrderedBroadcast(Intent intent, String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers.
IsolatedContext
sendOrderedBroadcast(Intent intent, String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers.
MockContext
sendOrderedBroadcast(Intent intent, String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras)
Version of sendBroadcast(Intent) that allows you to receive data back from the broadcast.
Context
sendOrderedBroadcast(Intent intent, String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras)
Version of sendBroadcast(Intent) that allows you to receive data back from the broadcast.
ContextWrapper
sendOrderedBroadcast(Intent intent, String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras)
Version of sendBroadcast(Intent) that allows you to receive data back from the broadcast.
MockContext
sendPointerSync(MotionEvent event)
Dispatch a pointer event.
Instrumentation
sendRepeatedKeys(int... keys)
Sends a series of key events through instrumentation and waits for idle.
InstrumentationTestCase
sendRequestEntity(HttpEntityEnclosingRequest request)
Sends the request entity over the connection.
AbstractClientConnAdapter
sendRequestEntity(HttpEntityEnclosingRequest request)
Sends the request entity over the connection.
AbstractHttpClientConnection
sendRequestEntity(HttpEntityEnclosingRequest request)
Sends the request entity over the connection.
HttpClientConnection
sendRequestHeader(HttpRequest request)
Sends the request line and all headers over the connection.
AbstractClientConnAdapter
sendRequestHeader(HttpRequest request)
Sends the request line and all headers over the connection.
AbstractHttpClientConnection
sendRequestHeader(HttpRequest request)
Sends the request line and all headers over the connection.
DefaultClientConnection
sendRequestHeader(HttpRequest request)
Sends the request line and all headers over the connection.
HttpClientConnection
sendResponseEntity(HttpResponse response)
Sends the response entity of a response over this connection.
AbstractHttpServerConnection
sendResponseEntity(HttpResponse response)
Sends the response entity of a response over this connection.
HttpServerConnection
sendResponseHeader(HttpResponse response)
Sends the response line and headers of a response over this connection.
AbstractHttpServerConnection
sendResponseHeader(HttpResponse response)
Sends the response line and headers of a response over this connection.
HttpServerConnection
sendSignal(int pid, int signal)
Send a signal to the given process.
Process
sendStatus(int resultCode, Bundle results)
Provide a status report about the application.
Instrumentation
sendStickyBroadcast(Intent intent)
Perform a sendBroadcast(Intent) that is "sticky," meaning the Intent you are sending stays around after the broadcast is complete, so that others can quickly retrieve that data through the return value of registerReceiver(BroadcastReceiver, IntentFilter).
Context
sendStickyBroadcast(Intent intent)
Perform a sendBroadcast(Intent) that is "sticky," meaning the Intent you are sending stays around after the broadcast is complete, so that others can quickly retrieve that data through the return value of registerReceiver(BroadcastReceiver, IntentFilter).
ContextWrapper
sendStickyBroadcast(Intent intent)
Perform a sendBroadcast(Intent) that is "sticky," meaning the Intent you are sending stays around after the broadcast is complete, so that others can quickly retrieve that data through the return value of registerReceiver(BroadcastReceiver, IntentFilter).
MockContext
sendStickyOrderedBroadcast(Intent intent, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras)
Version of sendStickyBroadcast(Intent) that allows you to receive data back from the broadcast.
Context
sendStickyOrderedBroadcast(Intent intent, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras)
Version of sendStickyBroadcast(Intent) that allows you to receive data back from the broadcast.
ContextWrapper
sendStickyOrderedBroadcast(Intent intent, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras)
Version of sendStickyBroadcast(Intent) that allows you to receive data back from the broadcast.
MockContext
sendString(Context c, String s)
Browser
sendStringSync(String text)
Sends the key events corresponding to the text to the app being instrumented.
Instrumentation
sendTextMessage(String destinationAddress, String scAddress, String text, PendingIntent sentIntent, PendingIntent deliveryIntent)
This method is deprecated. Use android.telephony.SmsManager.
SmsManager
sendTextMessage(String destinationAddress, String scAddress, String text, PendingIntent sentIntent, PendingIntent deliveryIntent)
Send a text based SMS.
SmsManager
sendToTarget()
Sends this Message to the Handler specified by getTarget().
Message
sendTrackballEventSync(MotionEvent event)
Dispatch a trackball event.
Instrumentation
sendUrgentData(int value)
Sends the given single byte data which is represented by the lowest octet of value as "TCP urgent data".
Socket
sendUrgentData(int value)
Sends the single byte of urgent data on the socket.
SocketImpl
(protected)
SEND_SMS
Allows an application to send SMS messages.
Manifest.permission
SEND_TO_VOICEMAIL
This constant is deprecated. see ContactsContract
Contacts.PeopleColumns
SEND_TO_VOICEMAIL
Whether the contact should always be sent to voicemail.
ContactsContract.ContactOptionsColumns
SENSOR_ACCELEROMETER
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_ALL
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_DELAY_FASTEST
get sensor data as fast as possible
int
SensorManager
SENSOR_DELAY_GAME
rate suitable for games
int
SensorManager
SENSOR_DELAY_NORMAL
rate (default) suitable for screen orientation changes
int
SensorManager
SENSOR_DELAY_UI
rate suitable for the user interface
int
SensorManager
SENSOR_LIGHT
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_MAGNETIC_FIELD
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_MAX
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_MIN
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_ORIENTATION
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_ORIENTATION_RAW
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_PROXIMITY
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_SERVICE
Use with getSystemService(String) to retrieve a SensorManager for accessing sensors.
Context
SENSOR_STATUS_ACCURACY_HIGH
This sensor is reporting data with maximum accuracy
int
SensorManager
SENSOR_STATUS_ACCURACY_LOW
This sensor is reporting data with low accuracy, calibration with the environment is needed
int
SensorManager
SENSOR_STATUS_ACCURACY_MEDIUM
This sensor is reporting data with an average level of accuracy, calibration with the environment may improve the readings
int
SensorManager
SENSOR_STATUS_UNRELIABLE
The values returned by this sensor cannot be trusted, calibration is needed or the environment doesn't allow readings
int
SensorManager
SENSOR_TEMPERATURE
This constant is deprecated. use Sensor instead.
int
SensorManager
SENSOR_TRICORDER
This constant is deprecated. use Sensor instead.
int
SensorManager
SENT_BYTES_COUNT
HttpConnectionMetricsImpl
separator
The system dependent file separator string.
File
separatorChar
The system dependent file separator character.
char
File
SEPARATORS
Special characters that can be used as separators in HTTP parameters.
BasicHeaderValueFormatter
SEPTEMBER
Value of the MONTH field indicating the ninth month of the year.
int
Calendar
SequenceInputStream(InputStream s1, InputStream s2)
Constructs a new SequenceInputStream using the two streams s1 and s2 as the sequence of streams to read from.
SequenceInputStream
SequenceInputStream(Enumeration<? extends InputStream> e)
Constructs a new SequenceInputStream using the elements returned from Enumeration e as the stream sequence.
SequenceInputStream
SEQUENCE_INVARIANT
int
GestureStore
SEQUENCE_SENSITIVE
int
GestureStore
SerializableEntity(Serializable ser, boolean bufferize)
SerializableEntity
SerializablePermission(String permissionName)
Constructs a new SerializablePermission with the specified name.
SerializablePermission
SerializablePermission(String name, String actions)
Constructs a new SerializablePermission with the specified name.
SerializablePermission
serialize(SessionOutputBuffer outbuffer, HttpMessage message, HttpEntity entity)
EntitySerializer
serialVersionUID
The serialization version identifier.
long
DHPrivateKey
serialVersionUID
The serial version identifier.
long
DHPublicKey
serialVersionUID
The serial version identifier.
long
DSAPrivateKey
serialVersionUID
The serial version identifier.
long
DSAPublicKey
serialVersionUID
The serial version identifier.
long
ECPrivateKey
serialVersionUID
The serial version identifier.
long
ECPublicKey
serialVersionUID
The serialVersionUID to be compatible with JDK1.1.
long
Key
serialVersionUID
The serial version identifier.
long
PBEKey
serialVersionUID
The serialVersionUID to be compatible with JDK1.1.
long
PrivateKey
serialVersionUID
The serialVersionUID to be compatible with JDK1.1.
long
PublicKey
serialVersionUID
the serial version identifier.
long
RSAMultiPrimePrivateCrtKey
serialVersionUID
The serial version identifier.
long
RSAPrivateCrtKey
serialVersionUID
The serial version identifier.
long
RSAPrivateKey
serialVersionUID
The serial version identifier.
long
RSAPublicKey
serialVersionUID
The serialization version identifier.
long
SecretKey
SERIF
The NORMAL style of the default serif typeface.
Typeface
ServerSocket()
Constructs a new ServerSocket instance which is not bound to any port.
ServerSocket
ServerSocket(int aport)
Constructs a new ServerSocket instance bound to the nominated port on the localhost.
ServerSocket
ServerSocket(int aport, int backlog)
Constructs a new ServerSocket instance bound to the nominated port on the localhost.
ServerSocket
ServerSocket(int aport, int backlog, InetAddress localAddr)
Constructs a new ServerSocket instance bound to the nominated local host address and port.
ServerSocket
SERVER_HEADER
HTTP
Service()
Service
service(String url, Map<StringString> headers)
This method is deprecated. Do not use, this interface is deprecated.
UrlInterceptHandler
ServiceInfo()
ServiceInfo
ServiceInfo(ServiceInfo orig)
ServiceInfo
ServiceState()
Empty constructor
ServiceState
ServiceState(Parcel in)
Construct a ServiceState object from the given parcel.
ServiceState
ServiceState(ServiceState s)
Copy constructors
ServiceState
ServiceTestCase(Class<T> serviceClass)
ServiceTestCase
SERVICE_INTERFACE
The Intent that must be declared as handled by the service.
AccessibilityService
SERVICE_INTERFACE
This is the interface name that a service implementing an input method should say that it supports -- that is, this is the action it uses for its intent filter.
InputMethod
SERVICE_META_DATA
Name under which an InputMethod service component publishes information about itself.
InputMethod
sessionCreated(InputMethodSession session)
InputMethod.SessionCallback
set(ContentProviderClient provider, Account account, byte[] data)
ContactsContract.SyncState
set(ContentProviderClient provider, Uri uri, Account account, byte[] data)
Assigns the data array as the sync state for the given account.
SyncStateContract.Helpers
set(ColorMatrix src)
Assign the src colormatrix into this matrix, copying all of its values.
ColorMatrix
set(Matrix src)
(deep) copy the src matrix into this matrix.
Matrix
set(Paint src)
Copy the fields from src into this paint.
Paint
set(Path src)
Replace the contents of this with the contents of src.
Path
set(PointF p)
Set the point's x and y coordinates to the coordinates of p
PointF
set(Rect src)
Copy the coordinates from src into this rectangle.
Rect
set(Rect src)
Copy the coordinates from src into this rectangle.
RectF
set(Rect r)
Set the region to the specified rectangle
Region
set(RectF src)
Copy the coordinates from src into this rectangle.
RectF
set(Region region)
Set the region to the specified region.
Region
set(Location l)
Sets the contents of the location to the values from the given location.
Location
set(Time that)
Copy the value of that to this Time object.
Time
set(TextPaint tp)
Copy the fields from tp into this TextPaint, including the fields inherited from Paint.
TextPaint
set(Transformation t)
Clones the specified transformation.
Transformation
set(boolean newValue)
Unconditionally sets to the given value.
AtomicBoolean
set(E object)
Replaces the last object returned by next or previous with the specified object.
ListIterator
set(float x, float y)
Set the point's x and y coordinates
PointF
set(float left, float top, float right, float bottom)
Set the rectangle's coordinates to the specified values.
RectF
set(float[] src)
Assign the array of floats into this matrix, copying all of its values.
ColorMatrix
set(int newValue)
Sets to the given value.
AtomicInteger
set(int pos)
Sets the bit at index pos to 1.
BitSet
set(int pos, boolean val)
Sets the bit at index pos to val.
BitSet
set(int location, E object)
Replaces the element at the specified location in this list with the specified object.
AbstractList
set(int location, E object)
Replaces the element at the specified location in this list with the specified object.
AbstractSequentialList
set(int location, E object)
Replaces the element at the specified location in this ArrayList with the specified object.
ArrayList
set(int i, E newValue)
Sets the element at position i to the given value.
AtomicReferenceArray
set(int index, E element)
Replaces the element at the specified position in this list with the specified element.
CopyOnWriteArrayList
set(int location, E object)
Replaces the element at the specified location in this LinkedList with the specified object.
LinkedList
set(int location, E object)
Replaces the element at the specified location in this List with the specified object.
List
set(int location, E object)
Replaces the element at the specified location in this vector with the specified object.
Vector
set(int i, int newValue)
Sets the element at position i to the given value.
AtomicIntegerArray
set(int pos1, int pos2)
Sets the bits starting from pos1 to pos2.
BitSet
set(int field, int value)
Sets a field to the specified value.
Calendar
set(int x, int y)
Set the point's x and y coordinates
Point
set(int pos1, int pos2, boolean val)
Sets the bits starting from pos1 to pos2 to the given val.
BitSet
set(int year, int month, int day)
Sets the year, month and day of the month fields.
Calendar
set(int monthDay, int month, int year)
Sets the date from the given fields.
Time
set(int left, int top, int right, int bottom)
Set the rectangle's coordinates to the specified values.
Rect
set(int left, int top, int right, int bottom)
Set the region to the specified rectangle
Region
set(int year, int month, int day, int hourOfDay, int minute)
Sets the year, month, day of the month, hour of day and minute fields.
Calendar
set(int year, int month, int day, int hourOfDay, int minute, int second)
Sets the year, month, day of the month, hour of day, minute and second fields.
Calendar
set(int second, int minute, int hour, int monthDay, int month, int year)
Sets the fields.
Time
set(int i, long newValue)
Sets the element at position i to the given value.
AtomicLongArray
set(int type, long triggerAtTime, PendingIntent operation)
Schedule an alarm.
AlarmManager
set(Object array, int index, Object value)
Sets the element of the array at the specified index to the value.
Array
set(Object object, Object value)
Sets the value of the field in the specified object to the value.
Field
set(String key, int value)
Sets an integer parameter.
Camera.Parameters
set(String key, String value)
Sets a String parameter.
Camera.Parameters
set(String protocol, String host, int port, String file, String ref)
Sets the properties of this URL using the provided arguments.
URL
(protected)
set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)
Sets the properties of this URL using the provided arguments.
URL
(protected)
set(long newValue)
Sets to the given value.
AtomicLong
set(long millis)
Sets the fields in this Time object given the UTC milliseconds.
Time
set(T value)
Sets the value of this variable for the current thread.
ThreadLocal
set(T obj, int newValue)
Sets the field of the given object managed by this updater to the given updated value.
AtomicIntegerFieldUpdater
set(T obj, long newValue)
Sets the field of the given object managed by this updater to the given updated value.
AtomicLongFieldUpdater
set(T obj, V newValue)
Sets the field of the given object managed by this updater to the given updated value.
AtomicReferenceFieldUpdater
set(V newValue)
Sets to the given value.
AtomicReference
set(V v)
Sets the result of this Future to the given value unless this future has already been set or has been cancelled.
FutureTask
(protected)
set(V newReference, boolean newMark)
Unconditionally sets the value of both the reference and mark.
AtomicMarkableReference
set(V newReference, int newStamp)
Unconditionally sets the value of both the reference and stamp.
AtomicStampedReference
set2DigitYearStart(Date date)
Sets the date which is the start of the one hundred year period for two digits year values.
SimpleDateFormat
setAcceptCookie(boolean accept)
Control whether cookie is enabled or disabled
CookieManager
setAccessible(boolean flag)
Attempts to set the value of the accessible flag.
AccessibleObject
setAccessible(AccessibleObject[] objects, boolean flag)
Attempts to set the value of the accessible flag for all the objects in the array provided.
AccessibleObject
setAccountAuthenticatorResult(Bundle result)
Set the result that is to be sent as the result of the request that caused this Activity to be launched.
AccountAuthenticatorActivity
setAccuracy(float accuracy)
Sets the accuracy of this fix.
Location
setAccuracy(int accuracy)
Indicates the desired accuracy for latitude and longitude.
Criteria
setAction(int action)
Sets this event's action.
MotionEvent
setAction(String action)
Set the general action to be performed.
Intent
setActivity(Activity testActivity)
Set the activity under test.
ActivityTestCase
(protected)
setActivityContext(Context activityContext)
If you wish to inject a Mock, Isolated, or otherwise altered context, you can do so here.
ActivityUnitTestCase
setActivityInitialTouchMode(boolean initialTouchMode)
Call this method before the first call to getActivity() to set the initial touch mode for the Activity under test.
ActivityInstrumentationTestCase2
setActivityIntent(Intent i)
Call this method before the first call to getActivity() to inject a customized Intent into the Activity under test.
ActivityInstrumentationTestCase2
setActualDefaultRingtoneUri(Context context, int type, Uri ringtoneUri)
Sets the Uri of the default sound for a given sound type.
RingtoneManager
setAdapter(ExpandableListAdapter adapter)
Sets the adapter that provides data to this view.
ExpandableListView
setAdapter(ListAdapter adapter)
This overloaded method should not be used, instead use setAdapter(ExpandableListAdapter).
ExpandableListView
setAdapter(ListAdapter adapter)
Sets the data behind this GridView.
GridView
setAdapter(ListAdapter adapter)
Sets the data behind this ListView.
ListView
setAdapter(ListAdapter adapter, DialogInterface.OnClickListener listener)
Set a list of items, which are supplied by the given ListAdapter, to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setAdapter(SpinnerAdapter adapter)
The Adapter is used to provide the data which backs this Spinner.
AbsSpinner
setAdapter(T adapter)
Sets the adapter that provides the data and the views to represent the data in this widget.
AdapterView
setAdapter(T adapter)

Changes the list of data used for auto completion.

AutoCompleteTextView
setAddedCount(int addedCount)
Sets the number of added characters.
AccessibilityEvent
setAddress(String address)
Changes the address to the specified address.
Rfc822Token
setAddress(InetAddress addr)
Sets the IP address of the target host.
DatagramPacket
setAddressLine(int index, String line)
Sets the line of the address numbered by index (starting at 0) to the given String, which may be null.
Address
setAddStatesFromChildren(boolean addsStates)
Sets whether this ViewGroup's drawable states also include its children's drawable states.
ViewGroup
setAdjustViewBounds(boolean adjustViewBounds)
Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.
ImageView
setAdminArea(String adminArea)
Sets the administrative area name of the address to the given String, which may be null
Address
setAllocationLimit(int limit)
Establish an object allocation limit in the current thread.
Debug
setAllocationLimit(int limit)
Establishes an object allocation limit in the current thread.
VMDebug
setAllowCircularRedirects(boolean allow)
ClientParamBean
setAllowFileAccess(boolean allow)
Enable or disable file access within WebView.
WebSettings
setAllowUnregisteredParamaters(boolean allowUnregisteredParamaters)
Set whether or not unregistered parameters are allowed.
UrlQuerySanitizer
setAllowUserInteraction(boolean newValue)
Sets the flag indicating whether this connection allows user interaction or not.
URLConnection
setAlpha(float alpha)
Surface
setAlpha(float alpha)
Sets the degree of transparency
Transformation
setAlpha(int alpha)
Specify an alpha value for the drawable.
BitmapDrawable
setAlpha(int alpha)
Specify an alpha value for the drawable.
ClipDrawable
setAlpha(int alpha)
Sets the color's alpha value.
ColorDrawable
setAlpha(int alpha)
Specify an alpha value for the drawable.
Drawable
setAlpha(int alpha)
Specify an alpha value for the drawable.
DrawableContainer
setAlpha(int alpha)
Specify an alpha value for the drawable.
GradientDrawable
setAlpha(int alpha)
ImageView
setAlpha(int alpha)
Specify an alpha value for the drawable.
InsetDrawable
setAlpha(int alpha)
Specify an alpha value for the drawable.
LayerDrawable
setAlpha(int alpha)
Specify an alpha value for the drawable.
NinePatchDrawable
setAlpha(int a)
Helper to setColor(), that only assigns the color's alpha value, leaving its r,g,b values unchanged.
Paint
setAlpha(int alpha)
Specify an alpha value for the drawable.
PictureDrawable
setAlpha(int alpha)
Specify an alpha value for the drawable.
RotateDrawable
setAlpha(int alpha)
Specify an alpha value for the drawable.
ScaleDrawable
setAlpha(int alpha)
Set the alpha level for this drawable [0..255].
ShapeDrawable
setAlphabeticShortcut(char alphaChar)
Change the alphabetic shortcut associated with this item.
MenuItem
setAltitude(double altitude)
Sets the altitude of this fix.
Location
setAltitudeRequired(boolean altitudeRequired)
Indicates whether the provider must provide altitude information.
Criteria
setAlwaysDrawnWithCacheEnabled(boolean always)
Indicates whether this ViewGroup will always try to draw its children using their drawing cache.
ViewGroup
setAmPmStrings(String[] data)
Sets the array of strings which represent AM and PM.
DateFormatSymbols
setAnchorView(View view)
Set the view that acts as the anchor for the control view.
MediaController
setAnimateFirstView(boolean animate)
Indicates whether the current View should be animated the first time the ViewAnimation is displayed.
ViewAnimator
setAnimation(Context context, int resourceID)
Sets the animation to be run on each child of the view group on which this layout animation controller is .
LayoutAnimationController
setAnimation(Animation animation)
Sets the animation to be run on each child of the view group on which this layout animation controller is .
LayoutAnimationController
setAnimation(Animation animation)
Sets the next animation to play for this view.
View
setAnimationCacheEnabled(boolean enabled)
Enables or disables the children's drawing cache during a layout animation.
ViewGroup
setAnimationDuration(int animationDurationMillis)
Sets how long the transition animation should run when a child view changes position.
Gallery
setAnimationListener(Animation.AnimationListener listener)

Binds an animation listener to this animation.

Animation
setAnimationStyle(int animationStyle)

Change the animation style resource for this popup.

PopupWindow
setAntiAlias(boolean aa)
BitmapDrawable
setAntiAlias(boolean aa)
Helper for setFlags(), setting or clearing the ANTI_ALIAS_FLAG bit AntiAliasing smooths out the edges of what is being drawn, but is has no impact on the interior of the shape.
Paint
setAntibanding(String antibanding)
Sets the antibanding.
Camera.Parameters
setAnyPolicyInhibited(boolean anyPolicyInhibited)
Sets whether the any policy OID should be inhibited if it's included in a certificate.
PKIXParameters
setApplication(Application application)
Set the application for use during the test.
ActivityUnitTestCase
setApplication(Application application)
Set the application for use during the test.
ServiceTestCase
setApplicationEnabledSetting(String packageName, int newState, int flags)
Set the enabled setting for an application This setting will override any enabled state which may have been set by the application in its manifest.
MockPackageManager
setApplicationEnabledSetting(String packageName, int newState, int flags)
Set the enabled setting for an application This setting will override any enabled state which may have been set by the application in its manifest.
PackageManager
setAppWidget(int appWidgetId, AppWidgetProviderInfo info)
Set the AppWidget that will be displayed by this view.
AppWidgetHostView
setARGB(int a, int r, int g, int b)
Helper to setColor(), that takes a,r,g,b and constructs the color int
Paint
setArray(int parameterIndex, Array theArray)
Sets the value of a specified parameter to the supplied Array.
PreparedStatement
setArray(int parameterIndex, Array theArray)
Sets the specified ARRAY parameter in the RowSet command with the supplied java.sql.Array value.
RowSet
setAsciiStream(int parameterIndex, InputStream theInputStream, int length)
Sets the value of a specified parameter to the content of a supplied InputStream, which has a specified number of bytes.
PreparedStatement
setAsciiStream(int parameterIndex, InputStream theInputStream, int length)
Sets the value of the specified parameter in the RowSet command with the ASCII data in the supplied java.io.InputStream value.
RowSet
setAsciiStream(String parameterName, InputStream theInputStream, int length)
Sets the value of a specified parameter to the content of a supplied InputStream, which has a specified number of bytes.
CallableStatement
setAsciiStream(long pos)
Retrieves a stream which can be used to write Ascii characters to this Clob object, starting at specified position.
Clob
setAttribute(int index, String uri, String localName, String qName, String type, String value)
Set an attribute in the list.
AttributesImpl
setAttribute(String id, Object obj)
BasicHttpContext
setAttribute(String id, Object obj)
DefaultedHttpContext
setAttribute(String name, Object value)
Sets an attribute in the underlying implementation.
DocumentBuilderFactory
setAttribute(String id, Object obj)
HttpContext
setAttribute(String id, Object obj)
SyncBasicHttpContext
setAttribute(String name, String value)
BasicClientCookie
setAttribute(String name, String value)
Adds a new attribute.
Element
setAttribute(String tag, String value)
Set the value of the specified tag.
ExifInterface
setAttributeList(AttributeList atts)
Set the attribute list, discarding previous contents.
AttributeListImpl
setAttributeNode(Attr newAttr)
Adds a new attribute node.
Element
setAttributeNodeNS(Attr newAttr)
Adds a new attribute.
Element
setAttributeNS(String namespaceURI, String qualifiedName, String value)
Adds a new attribute.
Element
setAttributes(WindowManager.LayoutParams a)
Specify custom window attributes.
Window
setAttributes(Attributes atts)
Copy an entire Attributes object.
Attributes2Impl
setAttributes(Attributes atts)
Copy an entire Attributes object.
AttributesImpl
setAudioEncoder(int audio_encoder)
Sets the audio encoder to be used for recording.
MediaRecorder
setAudioSource(int audio_source)
Sets the audio source to be used for recording.
MediaRecorder
setAudioStreamType(int streamtype)
Sets the audio stream type for this MediaPlayer.
MediaPlayer
setAuthenticating(HttpParams params, boolean value)
HttpClientParams
setAuthorityKeyIdentifier(byte[] authorityKeyIdentifier)
Sets the criterion for the AuthorityKeyIdentifier extension.
X509CertSelector
setAuthScheme(AuthScheme authScheme)
Assigns the given authentication scheme.
AuthState
setAuthSchemePref(List<String> list)
ClientContextConfigurer
setAuthSchemeRegistry(AuthSchemeRegistry registry)
ClientContextConfigurer
setAuthSchemes(AuthSchemeRegistry authSchemeRegistry)
AbstractHttpClient
setAuthScope(AuthScope authScope)
Sets actual AuthScope.
AuthState
setAuthToken(Account account, String authTokenType, String authToken)
Sets the authtoken named by "authTokenType" to the value specified by authToken.
AccountManager
setAutoCommit(boolean autoCommit)
Sets this connection's auto-commit mode on or off.
Connection
setAutoDismissed(boolean autoDismiss)
Sets whether the zoom controls will be automatically dismissed after showing.
ZoomButtonsController
setAutoIncrement(int columnIndex, boolean autoIncrement)
Sets automatic numbering for a specified column in the RowSet.
RowSetMetaData
setAutoLinkMask(int mask)
Sets the autolink mask of the text.
TextView
setAutomaticPerformanceSnapshots()
Instrumentation
setBackgroundColor(int color)
Sets the background color for this view.
View
setBackgroundColor(int color)
Set the background color.
WebView
setBackgroundDrawable(Drawable background)

Change the background drawable for this popup window.

PopupWindow
setBackgroundDrawable(Drawable d)
Set the background to a given Drawable, or remove the background.
ToggleButton
setBackgroundDrawable(Drawable d)
Set the background to a given Drawable, or remove the background.
View
setBackgroundDrawable(Drawable drawable)
Change the background of this window to a custom Drawable.
Window
setBackgroundDrawableResource(int resid)
Change the background of this window to a Drawable resource.
Window
setBackgroundResource(int resid)
Set the background to a given resource.
View
setBase(long base)
Set the time that the count-up timer is in reference to.
Chronometer
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)

Fixes the child's width to WRAP_CONTENT and the child's height to WRAP_CONTENT when not specified in the XML file.

RadioGroup.LayoutParams
(protected)
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)

Fixes the row's width to FILL_PARENT; the row's height is fixed to WRAP_CONTENT if no layout height is specified.

TableLayout.LayoutParams
(protected)
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)
Extracts the layout parameters from the supplied attributes.
TableRow.LayoutParams
(protected)
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)
Extracts the layout parameters from the supplied attributes.
ViewGroup.LayoutParams
(protected)
setBaseContext(Context base)
Change the base context for this ContextWrapper.
MutableContextWrapper
setBaselineAligned(boolean baselineAligned)

Defines whether widgets contained in this layout are baseline-aligned or not.

LinearLayout
setBaselineAlignedChildIndex(int i)
LinearLayout
setBasicConstraints(int pathLen)
Sets the criterion for the basic constraints extension.
X509CertSelector
setBearing(float bearing)
Sets the bearing of this fix.
Location
setBearingRequired(boolean bearingRequired)
Indicates whether the provider must provide bearing information.
Criteria
setBeforeText(CharSequence beforeText)
Sets the text before a change.
AccessibilityEvent
setBeginIndex(int index)
Sets the index of the beginning of the field.
FieldPosition
setBigDecimal(int parameterIndex, BigDecimal theBigDecimal)
Sets the value of a specified parameter to a supplied java.math.BigDecimal value.
PreparedStatement
setBigDecimal(int parameterIndex, BigDecimal theBigDecimal)
Sets the value of the specified SQL NUMERIC parameter in the RowSet command with the data in the supplied java.math.BigDecimal value.
RowSet
setBigDecimal(String parameterName, BigDecimal theBigDecimal)
Sets the value of a specified parameter to a supplied java.math.BigDecimal value.
CallableStatement
setBinaryStream(int parameterIndex, InputStream theInputStream, int length)
Sets the value of a specified parameter to the content of a supplied binary InputStream, which has a specified number of bytes.
PreparedStatement
setBinaryStream(int parameterIndex, InputStream theInputStream, int length)
Sets the value of the specified parameter in the RowSet command to the binary data in the supplied input stream.
RowSet
setBinaryStream(String parameterName, InputStream theInputStream, int length)
Sets the value of a specified parameter to the content of a supplied binary InputStream, which has a specified number of bytes.
CallableStatement
setBinaryStream(long pos)
Gets a stream that can be used to write binary data to this Blob.
Blob
setBindArguments(String[] bindArgs)
Set new bind arguments.
SQLiteCursorDriver
setBit(int n)
Returns a new BigInteger which has the same binary representation as this but with the bit at position n set.
BigInteger
setBitmap(Bitmap bitmap)
Specify a bitmap for the canvas to draw into.
Canvas
setBitmap(Bitmap bitmap)
Change the current system wallpaper to a bitmap.
WallpaperManager
setBitmap(int viewId, String methodName, Bitmap value)
Call a method taking one Bitmap on a view in the layout for this RemoteViews.
RemoteViews
setBlob(int parameterIndex, Blob theBlob)
Sets the value of a specified parameter to the given Blob object.
PreparedStatement
setBlob(int parameterIndex, Blob theBlob)
Sets the value of the specified parameter in the RowSet command to the supplied Blob value.
RowSet
setBlockNetworkImage(boolean flag)
Tell the WebView to block network image.
WebSettings
setBluetoothA2dpOn(boolean on)
This method is deprecated. Do not use.
AudioManager
setBluetoothScoOn(boolean on)
Request use of Bluetooth SCO headset for communications.
AudioManager
setBoolean(int parameterIndex, boolean theBoolean)
Sets the value of a specified parameter to a supplied boolean value.
PreparedStatement
setBoolean(int parameterIndex, boolean theBoolean)
Sets the value of the specified parameter in the RowSet command to the supplied boolean.
RowSet
setBoolean(int viewId, String methodName, boolean value)
Call a method taking one boolean on a view in the layout for this RemoteViews.
RemoteViews
setBoolean(Object object, boolean value)
Sets the value of the field in the specified object to the boolean value.
Field
setBoolean(Object array, int index, boolean value)
Sets the element of the array at the specified index to the boolean value.
Array
setBoolean(String parameterName, boolean theBoolean)
Sets the value of a specified parameter to a supplied boolean value.
CallableStatement
setBooleanParameter(String name, boolean value)
Assigns a Boolean to the parameter with the given name
AbstractHttpParams
setBooleanParameter(String name, boolean value)
Assigns a Boolean to the parameter with the given name
HttpParams
setBounds(Rect bounds)
Specify a bounding rectangle for the Drawable.
Drawable
setBounds(int left, int top, int right, int bottom)
Specify a bounding rectangle for the Drawable.
Drawable
setBroadcast(boolean broadcast)
Sets the socket option SocketOptions.SO_BROADCAST.
DatagramSocket
setBuiltInZoomControls(boolean enabled)
Sets whether the zoom mechanism built into WebView is used.
WebSettings
setButton(int whichButton, CharSequence text, DialogInterface.OnClickListener listener)
Set a listener to be invoked when the positive button of the dialog is pressed.
AlertDialog
setButton(int whichButton, CharSequence text, Message msg)
Set a message to be sent when a button is pressed.
AlertDialog
setButton(CharSequence text, DialogInterface.OnClickListener listener) AlertDialog
setButton(CharSequence text, Message msg)
This method is deprecated. Use setButton(int, CharSequence, Message) with BUTTON_POSITIVE.
AlertDialog
setButton2(CharSequence text, DialogInterface.OnClickListener listener) AlertDialog
setButton2(CharSequence text, Message msg)
This method is deprecated. Use setButton(int, CharSequence, Message) with BUTTON_NEGATIVE.
AlertDialog
setButton3(CharSequence text, DialogInterface.OnClickListener listener) AlertDialog
setButton3(CharSequence text, Message msg)
This method is deprecated. Use setButton(int, CharSequence, Message) with BUTTON_NEUTRAL.
AlertDialog
setButtonDrawable(Drawable d)
Set the background to a given Drawable
CompoundButton
setButtonDrawable(int resid)
Set the background to a given Drawable, identified by its resource id.
CompoundButton
setByte(int parameterIndex, byte theByte)
Sets the value of a specified parameter to a supplied byte value.
PreparedStatement
setByte(int parameterIndex, byte theByte)
Sets the value of the specified parameter in the RowSet command to the supplied byte value.
RowSet
setByte(int viewId, String methodName, byte value)
Call a method taking one byte on a view in the layout for this RemoteViews.
RemoteViews
setByte(Object object, byte value)
Sets the value of the field in the specified object to the byte value.
Field
setByte(Object array, int index, byte value)
Sets the element of the array at the specified index to the byte value.
Array
setByte(String parameterName, byte theByte)
Sets the value of a specified parameter to a supplied byte value.
CallableStatement
setBytes(int parameterIndex, byte[] theBytes)
Sets the value of a specified parameter to a supplied array of bytes.
PreparedStatement
setBytes(int parameterIndex, byte[] theByteArray)
Sets the value of the specified parameter in the RowSet command to the supplied byte array value.
RowSet
setBytes(String parameterName, byte[] theBytes)
Sets the value of a specified parameter to a supplied array of bytes.
CallableStatement
setBytes(long pos, byte[] theBytes)
Writes a specified array of bytes to this Blob object, starting at a specified position.
Blob
setBytes(long pos, byte[] theBytes, int offset, int len)
Writes a portion of a specified byte array to this Blob.
Blob
setBytesTransferred(long count)
HttpTransportMetricsImpl
setByteStream(InputStream byteStream)
Set the byte stream for this input source.
InputSource
setCacheColorHint(int color)
When set to a non-zero value, the cache color hint indicates that this list is always drawn on top of a solid, single-color, opaque background
AbsListView
setCacheColorHint(int color)
When set to a non-zero value, the cache color hint indicates that this list is always drawn on top of a solid, single-color, opaque background
ListView
setCacheMode(int mode)
Override the way the cache is used.
WebSettings
setCalendar(Calendar cal)
Sets the calendar used by this date format.
DateFormat
setCallback(Drawable.Callback cb)
Bind a Drawable.Callback object to this Drawable.
Drawable
setCallback(Window.Callback callback)
Set the Callback interface for this window, used to intercept key events and other dynamic operations in the window.
Window
setCallbackDuringFling(boolean shouldCallback)
Whether or not to callback on any getOnItemSelectedListener() while the items are being flinged.
Gallery
setCallbackHandler(CallbackHandler handler)
Sets the CallbackHandler to this AuthProvider.
AuthProvider
setCamera(Camera c)
Sets a Camera to use for recording.
MediaRecorder
setCancelable(boolean cancelable)
Sets whether the dialog is cancelable or not default is true.
AlertDialog.Builder
setCancelable(boolean flag)
Sets whether this dialog is cancelable with the BACK key.
Dialog
setCanceledOnTouchOutside(boolean cancel)
Sets whether this dialog is canceled when touched outside the window's bounds.
Dialog
setCancelMessage(Message msg)
Set a message to be sent when the dialog is canceled.
Dialog
setCandidatesView(View view)
Replaces the current candidates view with a new one.
InputMethodService
setCandidatesViewShown(boolean shown)
Controls the visibility of the candidates display area.
InputMethodService
setCaseSensitive(int columnIndex, boolean caseSensitive)
Sets the case sensitive property for a specified column in the RowSet.
RowSetMetaData
setCatalog(String catalog)
Sets the catalog name for this connection.
Connection
setCatalogName(int columnIndex, String catalogName)
Sets the catalog name for a specified column in the RowSet.
RowSetMetaData
setCellLocationData(int baseStationId, int baseStationLatitude, int baseStationLongitude)
Set the cell location data.
CdmaCellLocation
setCellLocationData(int baseStationId, int baseStationLatitude, int baseStationLongitude, int systemId, int networkId)
Set the cell location data.
CdmaCellLocation
setCertificate(SslCertificate certificate)
Sets the SSL certificate for the main top-level page.
WebView
setCertificate(X509Certificate certificate)
Sets the certificate that a matching certificate must be equal to.
X509CertSelector
setCertificateChecking(X509Certificate cert)
Sets a certificate hint to find CRLs.
X509CRLSelector
setCertificateEntry(String alias, Certificate cert)
Associates the given alias with a certificate.
KeyStore
setCertificateValid(Date certificateValid)
Sets the criterion for the validity date of the certificate.
X509CertSelector
setCertPathCheckers(List<PKIXCertPathChecker> certPathCheckers)
Sets the list of checkers for the certification path.
PKIXParameters
setCertStores(List<CertStore> certStores)
Set the list of certificate stores that are used to find certificates and CRLs.
PKIXParameters
setChanged()
Sets the changed flag for this Observable.
Observable
(protected)
setChangingConfigurations(int configs)
Set a mask of the configuration parameters for which this drawable may change, requiring that it be re-created.
Drawable
setChar(int viewId, String methodName, char value)
Call a method taking one char on a view in the layout for this RemoteViews.
RemoteViews
setChar(Object object, char value)
Sets the value of the field in the specified object to the char value.
Field
setChar(Object array, int index, char value)
Set the element of the array at the specified index to the char value.
Array
setCharacterStream(int parameterIndex, Reader reader, int length)
Sets the value of a specified parameter to the character content of a Reader object, with the specified length of character data.
PreparedStatement
setCharacterStream(int parameterIndex, Reader theReader, int length)
Sets the value of the specified parameter in the RowSet command to the sequence of Unicode characters carried by the supplied java.io.Reader.
RowSet
setCharacterStream(Reader characterStream)
Set the character stream for this input source.
InputSource
setCharacterStream(String parameterName, Reader reader, int length)
Sets the value of a specified parameter to the character content of a Reader object, with the specified length of character data.
CallableStatement
setCharacterStream(long pos)
Retrieves a stream which can be used to write a stream of unicode characters to this Clob object, at a specified position.
Clob
setCharAt(int index, char ch)
Sets the character at the index.
StringBuffer
setCharAt(int index, char ch)
Sets the character at the index.
StringBuilder
setCharSequence(int viewId, String methodName, CharSequence value)
Call a method taking one CharSequence on a view in the layout for this RemoteViews.
RemoteViews
setCheckable(boolean checkable)
Control whether this item can display a check mark.
MenuItem
setChecked(boolean isChecked)
Sets if the source is checked.
AccessibilityEvent
setChecked(boolean checked)
Sets the checked state and saves it to the SharedPreferences.
CheckBoxPreference
setChecked(boolean checked)
Change the checked state of the view
Checkable
setChecked(boolean checked)

Changes the checked state of this text view.

CheckedTextView
setChecked(boolean checked)

Changes the checked state of this button.

CompoundButton
setChecked(boolean checked)
Control whether this item is shown with a check mark.
MenuItem
setChecked(boolean checked)

Changes the checked state of this button.

ToggleButton
setCheckMarkDrawable(Drawable d)
Set the checkmark to a given Drawable.
CheckedTextView
setCheckMarkDrawable(int resid)
Set the checkmark to a given Drawable, identified by its resourece id.
CheckedTextView
setChildDivider(Drawable childDivider)
Sets the drawable that will be drawn adjacent to every child in the list.
ExpandableListView
setChildDrawable(int featureId, Drawable drawable)
Window
setChildIndicator(Drawable childIndicator)
Sets the indicator to be drawn next to a child.
ExpandableListView
setChildIndicatorBounds(int left, int right)
Sets the drawing bounds for the child indicator.
ExpandableListView
setChildInt(int featureId, int value)
Window
setChildrenCursor(int groupPosition, Cursor childrenCursor)
Sets the children Cursor for a particular group.
CursorTreeAdapter
setChildrenDrawingCacheEnabled(boolean enabled)
Enables or disables the drawing cache for each child of this view group.
ViewGroup
(protected)
setChildrenDrawnWithCacheEnabled(boolean enabled)
Tells the ViewGroup to draw its children using their drawing cache.
ViewGroup
(protected)
setChoiceMode(int choiceMode)
Defines the choice behavior for the List.
ListView
setChoices(double[] limits, String[] formats)
Sets the double values and associated strings of this ChoiceFormat.
ChoiceFormat
setChronometer(int viewId, long base, String format, boolean started) RemoteViews
setChunked(boolean b)
Specifies the 'chunked' flag.
AbstractHttpEntity
setChunkedStreamingMode(int chunklen)
If the length of a HTTP request body is NOT known ahead, enable chunked transfer encoding to enable streaming with buffering.
HttpURLConnection
setCid(int cid)
This method is deprecated. Set the cell id. NeighboringCellInfo is a one time shot for the neighboring cells based on the radio network type at that moment. It shouldn't be changed after creation.
NeighboringCellInfo
setClass(Context packageContext, Class<?> cls)
Convenience for calling setComponent(ComponentName) with the name returned by a Class object.
Intent
setClassAssertionStatus(String cname, boolean enable)
Sets the assertion status of the class with the specified name.
ClassLoader
setClassLoader(ClassLoader loader)
Changes the ClassLoader this Bundle uses when instantiating objects.
Bundle
setClassName(Context packageContext, String className)
Convenience for calling setComponent(ComponentName) with an explicit class name.
Intent
setClassName(CharSequence className)
Sets the class name of the source.
AccessibilityEvent
setClassName(String packageName, String className)
Convenience for calling setComponent(ComponentName) with an explicit application package name and class name.
Intent
setClickable(boolean clickable)
Enables or disables click events for this view.
View
setClickHandler(Plugin.PreferencesClickHandler handler)
This method is deprecated. This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.
Plugin
setClipChildren(boolean clipChildren)
By default, children are clipped to their bounds before drawing.
ViewGroup
setClippingEnabled(boolean enabled)

Allows the popup window to extend beyond the bounds of the screen.

PopupWindow
setClipToPadding(boolean clipToPadding)
By default, children are clipped to the padding of the ViewGroup.
ViewGroup
setClob(int parameterIndex, Clob theClob)
Sets the value of a specified parameter to the given Clob object.
PreparedStatement
setClob(int parameterIndex, Clob theClob)
Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Clob.
RowSet
setCoalescing(boolean value)
Determines whether the factory is configured to deliver parsers that convert CDATA nodes to text nodes and melt them with neighboring nodes.
DocumentBuilderFactory
setColor(int argb)
GradientDrawable
setColor(int color)
Set the paint's color.
Paint
setColorEffect(String value)
Sets the current color effect setting.
Camera.Parameters
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
BitmapDrawable
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
ClipDrawable
setColorFilter(ColorFilter colorFilter)
Setting a color filter on a ColorDrawable has no effect.
ColorDrawable
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
Drawable
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
DrawableContainer
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
GradientDrawable
setColorFilter(ColorFilter cf)
Apply an arbitrary colorfilter to the image.
ImageView
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
InsetDrawable
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
LayerDrawable
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
NinePatchDrawable
setColorFilter(ColorFilter filter)
Set or clear the paint's colorfilter, returning the parameter.
Paint
setColorFilter(ColorFilter colorFilter)
Specify an optional colorFilter for the drawable.
PictureDrawable
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
RotateDrawable
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
ScaleDrawable
setColorFilter(ColorFilter cf)
Specify an optional colorFilter for the drawable.
ShapeDrawable
setColorFilter(int color, PorterDuff.Mode mode)
Specify a color and porterduff mode to be the colorfilter for this drawable.
Drawable
setColorFilter(int color, PorterDuff.Mode mode)
Set a tinting option for the image.
ImageView
setColumnCollapsed(int columnIndex, boolean isCollapsed)

Collapses or restores a given column.

TableLayout
setColumnCount(int columnCount)
Sets the number of columns contained in the row set.
RowSetMetaData
setColumnDelay(float columnDelay)
Sets the delay, as a fraction of the animation duration, by which the children's animations are offset from one column to the other.
GridLayoutAnimationController
setColumnDisplaySize(int columnIndex, int displaySize)
Sets the normal maximum width in characters for a specified column in the RowSet.
RowSetMetaData
setColumnLabel(int columnIndex, String theLabel)
Sets the suggested name as label for the column contained in the RowSet.
RowSetMetaData
setColumnName(int columnIndex, String theColumnName)
Sets the column name for a specified column in the RowSet.
RowSetMetaData
setColumnNumber(int columnNumber)
Set the column number for this locator (1-based).
LocatorImpl
setColumnShrinkable(int columnIndex, boolean isShrinkable)

Makes the given column shrinkable or not.

TableLayout
setColumnStretchable(int columnIndex, boolean isStretchable)

Makes the given column stretchable or not.

TableLayout
setColumnType(int columnIndex, int theSQLType)
Sets the SQL type for a specified column in the RowSet.
RowSetMetaData
setColumnTypeName(int columnIndex, String theTypeName)
Sets the type name for a specified column in the RowSet, where the data type is specific to the data source.
RowSetMetaData
setColumnWidth(int columnWidth)
Set the width of columns in the grid.
GridView
setCommand(String cmd)
Sets the Command property for this RowSet - the command is an SQL query which runs when the execute method is invoked.
RowSet
setComment(String comment)
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.
BasicClientCookie
setComment(String comment)
Changes the comment to the specified comment.
Rfc822Token
setComment(String comment)
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.
SetCookie
setComment(String string)
Sets the comment for this ZipEntry.
ZipEntry
setComment(String comment)
Sets the ZipFile comment associated with the file being written.
ZipOutputStream
setCommentURL(String commentURL)
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL.
BasicClientCookie2
setCommentURL(String commentURL)
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL.
SetCookie2
setCompletionHint(CharSequence hint)

Sets the optional hint text that is displayed at the bottom of the the matching list.

AutoCompleteTextView
setComponent(ComponentName component)
(Usually optional) Explicitly set the component to handle the intent.
Intent
setComponentEnabledSetting(ComponentName componentName, int newState, int flags)
Set the enabled setting for a package component (activity, receiver, service, provider).
MockPackageManager
setComponentEnabledSetting(ComponentName componentName, int newState, int flags)
Set the enabled setting for a package component (activity, receiver, service, provider).
PackageManager
setComposingSpans(Spannable text)
BaseInputConnection
setComposingText(CharSequence text, int newCursorPosition)
The default implementation places the given text into the editable, replacing any existing composing text.
BaseInputConnection
setComposingText(CharSequence text, int newCursorPosition)
Set composing text around the current cursor position with the given text, and set the new cursor position.
InputConnection
setComposingText(CharSequence text, int newCursorPosition)
Set composing text around the current cursor position with the given text, and set the new cursor position.
InputConnectionWrapper
setCompoundDrawablePadding(int pad)
Sets the size of the padding between the compound drawables and the text.
TextView
setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom)
Sets the Drawables (if any) to appear to the left of, above, to the right of, and below the text.
TextView
setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right, Drawable bottom)
Sets the Drawables (if any) to appear to the left of, above, to the right of, and below the text.
TextView
setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom)
Sets the Drawables (if any) to appear to the left of, above, to the right of, and below the text.
TextView
setCompressedSize(long value)
Sets the compressed size for this ZipEntry.
ZipEntry
setConcat(ColorMatrix matA, ColorMatrix matB)
Set this colormatrix to the concatenation of the two specified colormatrices, such that the resulting colormatrix has the same effect as applying matB and then applying matA.
ColorMatrix
setConcat(Matrix a, Matrix b)
Set the matrix to the concatenation of the two specified matrices, returning true if the the result can be represented.
Matrix
setConcurrency(int concurrency)
Sets the concurrency property of this RowSet.
RowSet
setConnectionManagerFactory(ClientConnectionManagerFactory factory)
ClientParamBean
setConnectionManagerFactoryClassName(String factory)
ClientParamBean
setConnectionRequest(ClientConnectionRequest connRequest)
Sets the ClientConnectionRequest callback that can be used to abort a long-lived request for a connection.
AbortableHttpRequest
setConnectionRequest(ClientConnectionRequest connRequest)
Sets the ClientConnectionRequest callback that can be used to abort a long-lived request for a connection.
HttpRequestBase
setConnectionsPerRoute(ConnPerRouteBean connPerRoute)
ConnManagerParamBean
setConnectionTimeout(int connectionTimeout)
HttpConnectionParamBean
setConnectionTimeout(HttpParams params, int timeout)
Sets the timeout until a connection is etablished.
HttpConnectionParams
setConnectTimeout(int timeout)
Sets the timeout value in milliseconds for establishing the connection to the resource pointed by this URLConnection instance.
URLConnection
setConnReuseStrategy(ConnectionReuseStrategy connStrategy)
HttpService
setConstantSize(boolean constant)
DrawableContainer.DrawableContainerState
setConstantState(DrawableContainer.DrawableContainerState state)
DrawableContainer
(protected)
setContainer(Window container)
Set the container for this window.
Window
setContent(Intent intent)
Specify an intent to use to launch an activity as the tab content.
TabHost.TabSpec
setContent(TabHost.TabContentFactory contentFactory)
Specify a TabHost.TabContentFactory to use to create the content of the tab.
TabHost.TabSpec
setContent(int viewId)
Specify the id of the view that should be used as the content of the tab.
TabHost.TabSpec
setContent(InputStream instream)
Specifies the content.
BasicHttpEntity
setContentCharset(String contentCharset)
HttpProtocolParamBean
setContentCharset(HttpParams params, String charset)
Sets the default charset to be used for writing content body, when no charset explicitly specified.
HttpProtocolParams
setContentDescription(CharSequence contentDescription)
Sets the description of the source.
AccessibilityEvent
setContentDescription(CharSequence contentDescription)
Sets the View description.
View
setContentEncoding(String ceString)
Specifies the Content-Encoding header, as a string.
AbstractHttpEntity
setContentEncoding(Header contentEncoding)
Specifies the Content-Encoding header.
AbstractHttpEntity
setContentHandler(ContentHandler handler)
Allow an application to register a content event handler.
Driver
setContentHandler(ContentHandler handler)
Set the content handler.
ParserAdapter
setContentHandler(ContentHandler handler)
Set the content event handler.
XMLFilterImpl
setContentHandler(ContentHandler handler)
Allow an application to register a content event handler.
XMLReader
setContentHandlerFactory(ContentHandlerFactory contentFactory)
Sets the internally used content handler factory.
URLConnection
setContentLength(long len)
Specifies the length of the content.
BasicHttpEntity
setContentType(String ctString)
Specifies the Content-Type header, as a string.
AbstractHttpEntity
setContentType(Header contentType)
Specifies the Content-Type header.
AbstractHttpEntity
setContentView(View view)
Set the activity content to an explicit view.
Activity
setContentView(View view)
Set the screen content to an explicit view.
Dialog
setContentView(View contentView)

Change the popup's content.

PopupWindow
setContentView(View view)
Convenience for setContentView(View, android.view.ViewGroup.LayoutParams) set the screen content to an explicit view.
Window
setContentView(View view, ViewGroup.LayoutParams params)
Set the activity content to an explicit view.
Activity
setContentView(View view, ViewGroup.LayoutParams params)
Set the screen content to an explicit view.
Dialog
setContentView(View view, ViewGroup.LayoutParams params)
Set the screen content to an explicit view.
Window
setContentView(int layoutResID)
Set the activity content from a layout resource.
Activity
setContentView(int layoutResID)
Set the screen content from a layout resource.
Dialog
setContentView(int layoutResID)
Convenience for setContentView(View, android.view.ViewGroup.LayoutParams) to set the screen content from a layout resource.
Window
setContext(Context context)
AndroidTestCase
setContext(Context context)
AndroidTestRunner
setContextClassLoader(ClassLoader cl)
Set the context ClassLoader for the receiver.
Thread
setContinueExistingPeriodicTasksAfterShutdownPolicy(boolean value)
Sets the policy on whether to continue executing existing periodic tasks even when this executor has been shutdown.
ScheduledThreadPoolExecutor
setCookie(String url, String value)
Set cookie for a given url.
CookieManager
setCookiePolicy(String policy)
ClientParamBean
setCookiePolicy(HttpParams params, String cookiePolicy)
HttpClientParams
setCookieSpecRegistry(CookieSpecRegistry registry)
ClientContextConfigurer
setCookieSpecs(CookieSpecRegistry cookieSpecRegistry)
AbstractHttpClient
setCookieStore(CookieStore cookieStore)
AbstractHttpClient
setCookieStore(CookieStore store)
ClientContextConfigurer
setCorePoolSize(int corePoolSize)
Sets the core number of threads.
ThreadPoolExecutor
setCornerRadii(float[] radii)
Specify radii for each of the 4 corners.
GradientDrawable
setCornerRadii(float[] radii)
Specify radii for each of the 4 corners.
PaintDrawable
setCornerRadius(float radius)
Specify radius for the corners of the gradient.
GradientDrawable
setCornerRadius(float radius)
Specify radius for the corners of the rectangle.
PaintDrawable
setCostAllowed(boolean costAllowed)
Indicates whether the provider is allowed to incur monetary cost.
Criteria
setCountryCode(String countryCode)
Sets the country code of the address to the given String, which may be null.
Address
setCountryName(String countryName)
Sets the country name of the address to the given String, which may be null.
Address
setCrc(long value)
Sets the checksum for this ZipEntry.
ZipEntry
setCredentialCharset(String charset)
AuthParamBean
setCredentialCharset(HttpParams params, String charset)
Sets the charset to be used when encoding Credentials.
AuthParams
setCredentials(AuthScope authscope, Credentials credentials)
Sets the credentials for the given authentication scope.
BasicCredentialsProvider
setCredentials(AuthScope authscope, Credentials credentials)
Sets the credentials for the given authentication scope.
CredentialsProvider
setCredentials(Credentials credentials)
Sets user Credentials to be used for authentication
AuthState
setCredentialsProvider(CredentialsProvider credsProvider)
AbstractHttpClient
setCredentialsProvider(CredentialsProvider provider)
ClientContextConfigurer
setCrossFadeEnabled(boolean enabled)
Enables or disables the cross fade of the drawables.
TransitionDrawable
setCurrency(int columnIndex, boolean isCurrency)
Sets whether a specified column is a currency value.
RowSetMetaData
setCurrency(Currency currency)
Sets the currency used by this decimal format.
DecimalFormat
setCurrency(Currency currency)
Sets the currency.
DecimalFormatSymbols
setCurrency(Currency currency)
Sets the currency used by this number format when formatting currency values.
NumberFormat
setCurrencySymbol(String value)
Sets the currency symbol.
DecimalFormatSymbols
setCurrentHour(Integer currentHour)
Set the current hour.
TimePicker
setCurrentItemIndex(int currentItemIndex)
Sets the index of the source in the list of items that can be visited.
AccessibilityEvent
setCurrentMinute(Integer currentMinute)
Set the current minute (0-59).
TimePicker
setCurrentTab(int index)
TabHost
setCurrentTab(int index)
Sets the current tab.
TabWidget
setCurrentTabByTag(String tag)
TabHost
setCurrentText(CharSequence text)
Sets the text of the text view that is currently showing.
TextSwitcher
setCurrentTimeMillis(long millis)
Sets the current wall time, in milliseconds.
SystemClock
setCursiveFontFamily(String font)
Set the cursive font family name.
WebSettings
setCursor(Cursor cursor)
Sets a new cursor as the data set and resets the cache of indices.
AlphabetIndexer
setCursor(Cursor cursor, DialogInterface.OnClickListener listener, String labelColumn)
Set a list of items, which are supplied by the given Cursor, to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setCursorFactory(SQLiteDatabase.CursorFactory factory)
Sets the cursor factory to be used for the query.
SQLiteQueryBuilder
setCursorName(String name)
Sets the SQL cursor name.
Statement
setCursorToStringConverter(SimpleCursorAdapter.CursorToStringConverter cursorToStringConverter)
Sets the converter used to convert the filtering Cursor into a String.
SimpleCursorAdapter
setCursorVisible(boolean visible)
Set whether the cursor is visible.
TextView
setCustomTitle(View customTitleView)
AlertDialog
setCustomTitle(View customTitleView)
Set the title using the custom view customTitleView.
AlertDialog.Builder
setDaemon(boolean isDaemon)
Set if the receiver is a daemon Thread or not.
Thread
setDaemon(boolean isDaemon)
Configures the receiver to be a daemon ThreadGroup or not.
ThreadGroup
setData(Uri data)
Set the data this intent is operating on.
Intent
setData(Bundle data)
Sets a Bundle of arbitrary data values.
Message
setData(byte[] buf)
Sets the data buffer for this datagram packet.
DatagramPacket
setData(byte[] buf, int anOffset, int aLength)
Sets the data buffer for this datagram packet.
DatagramPacket
setData(String data)
Sets the character data of the node that implements this interface.
CharacterData
setData(String data)
Sets the content of this processing instruction.
ProcessingInstruction
setDataAndType(Uri data, String type)
(Usually optional) Set the data for the intent along with an explicit MIME data type.
Intent
setDatabaseEnabled(boolean flag)
Set whether the database storage API is enabled.
WebSettings
setDatabasePath(String databasePath)
Set the path to where database storage API databases should be saved.
WebSettings
setDataCapacity(int size)
Change the capacity (current available space) of the parcel.
Parcel
setDatagramSocketImplFactory(DatagramSocketImplFactory fac)
Sets the socket implementation factory.
DatagramSocket
setDataPosition(int pos)
Move the current read/write position in the parcel.
Parcel
setDataSize(int size)
Change the amount of data in the parcel.
Parcel
setDataSource(Context context, Uri uri)
Sets the data source as a content Uri.
MediaPlayer
setDataSource(FileDescriptor fd)
Sets the data source (FileDescriptor) to use.
MediaPlayer
setDataSource(FileDescriptor fd, long offset, long length)
Sets the data source (FileDescriptor) to use.
MediaPlayer
setDataSource(String path)
Sets the data source (file-path or http/rtsp URL) to use.
MediaPlayer
setDataSourceName(String name)
Sets the database name property for the RowSet.
RowSet
setDate(int day)
This method is deprecated. use Calendar.set(Calendar.DATE, day)
Date
setDate(int i)
This method is deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Date component.
Time
setDate(int parameterIndex, Date theDate)
Sets the value of a specified parameter to a supplied java.sql.Date value.
PreparedStatement
setDate(int parameterIndex, Date theDate)
Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Date.
RowSet
setDate(int parameterIndex, Date theDate, Calendar cal)
Sets the value of a specified parameter to a supplied java.sql.Date value, using a supplied Calendar to map the Date.
PreparedStatement
setDate(int parameterIndex, Date theDate, Calendar theCalendar)
Sets the value of the specified parameter in the RowSet command with the value of a supplied java.sql.Date, where the conversion of the date to an SQL DATE value is calculated using a supplied Calendar.
RowSet
setDate(String parameterName, Date theDate)
Sets the value of a specified parameter to a supplied java.sql.Date value.
CallableStatement
setDate(String parameterName, Date theDate, Calendar cal)
Sets the value of a specified parameter to a supplied java.sql.Date value, using a supplied calendar to map the date.
CallableStatement
setDate(Date date)
Sets the time for which the validation of the certification path sould be evaluated.
PKIXParameters
setDateAndTime(Date dateAndTime)
Sets the criterion for the CRL update period.
X509CRLSelector
setDateFormatSymbols(DateFormatSymbols value)
Sets the DateFormatSymbols used by this simple date format.
SimpleDateFormat
setDatePatterns(Collection<String> patterns)
CookieSpecParamBean
setDebugFlags(int debugFlags)
Set the debug flags to a new value.
GLSurfaceView
setDebugUnregister(boolean debug)
Control inclusion of debugging help for mismatched calls to {@ Context#registerReceiver(BroadcastReceiver, IntentFilter) Context.registerReceiver()}.
BroadcastReceiver
setDecimalFormatSymbols(DecimalFormatSymbols value)
Sets the DecimalFormatSymbols used by this decimal format.
DecimalFormat
setDecimalSeparator(char value)
Sets the character which represents the decimal point in a number.
DecimalFormatSymbols
setDecimalSeparatorAlwaysShown(boolean value)
Sets whether the decimal separator is shown when there are no fractional digits.
DecimalFormat
setDeclared(int index, boolean value)
Assign a value to the "declared" flag of a specific attribute.
Attributes2Impl
setDecomposition(int value)
Sets the decomposition rule for this collator.
Collator
setDefault(Authenticator a)
Sets a as the default authenticator.
Authenticator
setDefault(CookieHandler cHandler)
Sets the system-wide cookie handler.
CookieHandler
setDefault(ProxySelector selector)
Sets the default ProxySelector of the system.
ProxySelector
setDefault(ResponseCache responseCache)
Sets the default response cache of the system.
ResponseCache
setDefault(Locale locale)
Sets the default Locale to the specified Locale.
Locale
setDefault(TimeZone timezone)
Sets the default time zone.
TimeZone
setDefaultAllowUserInteraction(boolean allows)
Sets the default value for the flag indicating whether this connection allows user interaction or not.
URLConnection
setDefaultAssertionStatus(boolean enable)
Sets the default assertion status for this class loader.
ClassLoader
setDefaultFixedFontSize(int size)
Set the default fixed font size.
WebSettings
setDefaultFontSize(int size)
Set the default font size.
WebSettings
setDefaultHeaders(Collection<Header> headers)
ClientParamBean
setDefaultHost(HttpHost host)
ClientParamBean
setDefaultHostnameVerifier(HostnameVerifier v)
Sets the default hostname verifier to be used by new instances.
HttpsURLConnection
setDefaultKeyMode(int mode)
Select the default key handling for this activity.
Activity
setDefaultMaxPerRoute(int max)
ConnPerRouteBean
setDefaultProxy(HttpHost defaultProxy)
ConnRouteParamBean
setDefaultProxy(HttpParams params, HttpHost proxy)
Sets the DEFAULT_PROXY parameter value.
ConnRouteParams
setDefaultRequestProperty(String field, String value)
This method is deprecated. Use setRequestProperty(String, String) of an existing URLConnection instance.
URLConnection
setDefaultSSLSocketFactory(SSLSocketFactory sf)
Sets the default SSL socket factory to be used by new instances.
HttpsURLConnection
setDefaultTab(int index)
Sets the default tab that is the first tab highlighted.
TabActivity
setDefaultTab(String tag)
Sets the default tab that is the first tab highlighted.
TabActivity
setDefaultTextEncodingName(String encoding)
Set the default text encoding name to use when decoding html pages.
WebSettings
setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler handler)

Sets the default uncaught exception handler.

Thread
setDefaultUseCaches(boolean newValue)
Sets the default value for the flag indicating whether this connection allows to use caches.
URLConnection
setDefaultValue(Object defaultValue)
Sets the default value for this Preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.
Preference
setDefaultValues(Context context, int resId, boolean readAgain)
Sets the default values from a preference hierarchy in XML.
PreferenceManager
setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain)
Similar to setDefaultValues(Context, int, boolean) but allows the client to provide the filename and mode of the shared preferences file.
PreferenceManager
setDefaultWindowFormat(int format)
Set the default format of window, as per the PixelFormat types.
Window
(protected)
setDelay(float delay)
Sets the delay, as a fraction of the animation duration, by which the children's animations are offset.
LayoutAnimationController
setDensity(int density)

Specifies the density for this bitmap.

Bitmap
setDensity(int density)

Specifies the density for this Canvas' backing bitmap.

Canvas
setDependency(String dependencyKey)
Sets the key of a Preference that this Preference will depend on.
Preference
setDescendantFocusability(int focusability)
Set the descendant focusability of this view group.
ViewGroup
setDescription(String description)
This method is deprecated. This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.
Plugin
setDetachWallpaper(boolean detachWallpaper)
If detachWallpaper is true, and this is a window animation of a window that has a wallpaper background, then the window will be detached from the wallpaper while it runs.
Animation
setDialogIcon(Drawable dialogIcon)
Sets the icon of the dialog.
DialogPreference
setDialogIcon(int dialogIconRes)
Sets the icon (resource ID) of the dialog.
DialogPreference
setDialogLayoutResource(int dialogLayoutResId)
Sets the layout resource that is inflated as the View to be shown as the content View of subsequent dialogs.
DialogPreference
setDialogMessage(int dialogMessageResId)
DialogPreference
setDialogMessage(CharSequence dialogMessage)
Sets the message of the dialog.
DialogPreference
setDialogTitle(int dialogTitleResId)
DialogPreference
setDialogTitle(CharSequence dialogTitle)
Sets the title of the dialog.
DialogPreference
setDictionary(byte[] buf)
Sets the dictionary to be used for compression by this Deflater.
Deflater
setDictionary(byte[] buf)
Sets the preset dictionary to be used for inflation to buf.
Inflater
setDictionary(byte[] buf, int off, int nbytes)
Sets the dictionary to be used for compression by this Deflater.
Deflater
setDictionary(byte[] buf, int off, int nbytes)
Like setDictionary(byte[]), allowing to define a specific region inside buf to be used as a dictionary.
Inflater
setDigit(char value)
Sets the character which represents a single digit in a format pattern.
DecimalFormatSymbols
setDigitsWatcher(TextWatcher watcher)
DialerFilter
setDirection(int direction)
Sets the direction of the animation.
GridLayoutAnimationController
setDirectionPriority(int directionPriority)
Specifies the direction priority of the animation.
GridLayoutAnimationController
setDisableDependentsState(boolean disableDependentsState)
Sets whether dependents are disabled when this preference is on (true) or when this preference is off (false).
CheckBoxPreference
setDiscard(boolean discard)
Set the Discard attribute.
BasicClientCookie2
setDiscard(boolean discard)
Set the Discard attribute.
SetCookie2
setDismissMessage(Message msg)
Set a message to be sent when the dialog is dismissed.
Dialog
setDisplay(SurfaceHolder sh)
Sets the SurfaceHolder to use for displaying the video portion of the media.
MediaPlayer
setDisplayedChild(int whichChild)
Sets which child view will be displayed.
ViewAnimator
setDistinct(boolean distinct)
Mark the query as DISTINCT.
SQLiteQueryBuilder
setDither(boolean dither)
Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.
BitmapDrawable
setDither(boolean dither)
Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.
Drawable
setDither(boolean dither)
Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.
DrawableContainer
setDither(boolean dither)
Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.
GradientDrawable
setDither(boolean dither)
Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.
LayerDrawable
setDither(boolean dither)
Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.
NinePatchDrawable
setDither(boolean dither)
Helper for setFlags(), setting or clearing the DITHER_FLAG bit Dithering affects how colors that are higher precision than the device are down-sampled.
Paint
setDither(boolean dither)
Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.
PictureDrawable
setDither(boolean dither)
Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.
ShapeDrawable
setDivider(Drawable divider)
Sets the drawable that will be drawn between each item in the list.
ListView
setDividerDrawable(Drawable drawable)
Sets the drawable to use as a divider between the tab indicators.
TabWidget
setDividerDrawable(int resId)
Sets the drawable to use as a divider between the tab indicators.
TabWidget
setDividerHeight(int height)
Sets the height of the divider that will be drawn between each item in the list.
ListView
setDocumentHandler(DocumentHandler handler)
Allow an application to register a document event handler.
Parser
setDocumentHandler(DocumentHandler handler)
Register the SAX1 document event handler.
XMLReaderAdapter
setDocumentLocator(Locator locator)
Receive an object for locating the origin of SAX document events.
ContentHandler
setDocumentLocator(Locator locator)
Receive a Locator object for document events.
DefaultHandler
setDocumentLocator(Locator locator)
Receive an object for locating the origin of SAX document events.
DocumentHandler
setDocumentLocator(Locator locator)
Receive a Locator object for document events.
HandlerBase
setDocumentLocator(Locator locator)
Adapter implementation method; do not call.
ParserAdapter
setDocumentLocator(Locator locator)
Filter a new document locator event.
XMLFilterImpl
setDocumentLocator(Locator locator)
Set a document locator.
XMLReaderAdapter
setDoInput(boolean newValue)
Sets the flag indicating whether this URLConnection allows input.
URLConnection
setDomain(String domain)
Sets the domain attribute.
BasicClientCookie
setDomain(String domain)
Sets the domain attribute.
SetCookie
setDoOutput(boolean newValue)
Sets the flag indicating whether this URLConnection allows output.
URLConnection
setDouble(int parameterIndex, double theDouble)
Sets the value of a specified parameter to a supplied double value.
PreparedStatement
setDouble(int parameterIndex, double theDouble)
Sets the value of the specified parameter in the RowSet command with the supplied double.
RowSet
setDouble(int viewId, String methodName, double value)
Call a method taking one double on a view in the layout for this RemoteViews.
RemoteViews
setDouble(Object object, double value)
Sets the value of the field in the specified object to the double value.
Field
setDouble(Object array, int index, double value)
Set the element of the array at the specified index to the double value.
Array
setDouble(String parameterName, double theDouble)
Sets the value of a specified parameter to a supplied double value.
CallableStatement
setDoubleParameter(String name, double value)
Assigns a Double to the parameter with the given name
AbstractHttpParams
setDoubleParameter(String name, double value)
Assigns a Double to the parameter with the given name
HttpParams
setDownloadListener(DownloadListener listener)
Register the interface to be used when content can not be handled by the rendering engine, and should be downloaded instead.
WebView
setDrawableByLayerId(int id, Drawable drawable)
Sets (or replaces) the Drawable for the layer with the given id.
LayerDrawable
setDrawFilter(DrawFilter filter)
Canvas
setDrawingCacheBackgroundColor(int color)
Setting a solid background color for the drawing cache's bitmaps will improve perfromance and memory usage.
View
setDrawingCacheEnabled(boolean enabled)

Enables or disables the drawing cache.

View
setDrawingCacheQuality(int quality)
Set the drawing cache quality of this view.
View
setDrawSelectorOnTop(boolean onTop)
Controls whether the selection highlight drawable should be drawn on top of the item or behind it.
AbsListView
setDropDownAnchor(int id)

Sets the view to which the auto-complete drop down list should anchor.

AutoCompleteTextView
setDropDownBackgroundDrawable(Drawable d)

Sets the background of the auto-complete drop-down list.

AutoCompleteTextView
setDropDownBackgroundResource(int id)

Sets the background of the auto-complete drop-down list.

AutoCompleteTextView
setDropDownHeight(int height)

Sets the current height for the auto-complete drop down list.

AutoCompleteTextView
setDropDownHorizontalOffset(int offset)

Sets the horizontal offset used for the auto-complete drop-down list.

AutoCompleteTextView
setDropDownVerticalOffset(int offset)

Sets the vertical offset used for the auto-complete drop-down list.

AutoCompleteTextView
setDropDownViewResource(int resource)

Sets the layout resource to create the drop down views.

ArrayAdapter
setDropDownViewResource(int dropDownLayout)

Sets the layout resource of the drop down views.

ResourceCursorAdapter
setDropDownViewResource(int resource)

Sets the layout resource to create the drop down views.

SimpleAdapter
setDropDownWidth(int width)

Sets the current width for the auto-complete drop down list.

AutoCompleteTextView
setDSTSavings(int milliseconds)
Sets the daylight savings offset in milliseconds for this SimpleTimeZone.
SimpleTimeZone
setDTDHandler(DTDHandler handler)
Allow an application to register a DTD event handler.
Driver
setDTDHandler(DTDHandler handler)
Allow an application to register a DTD event handler.
Parser
setDTDHandler(DTDHandler handler)
Set the DTD handler.
ParserAdapter
setDTDHandler(DTDHandler handler)
Set the DTD event handler.
XMLFilterImpl
setDTDHandler(DTDHandler handler)
Allow an application to register a DTD event handler.
XMLReader
setDTDHandler(DTDHandler handler)
Register the DTD event handler.
XMLReaderAdapter
setDuplicateParentStateEnabled(boolean enabled)

Enables or disables the duplication of the parent's state into this view.

View
setDuration(int duration)
Set how long to show the view for.
Toast
setDuration(long durationMillis)
How long this animation should last.
Animation
setDuration(long durationMillis)

Sets the duration of every child animation.

AnimationSet
setEdgeFlags(int flags)
Sets the bitfield indicating which edges, if any, where touched by this MotionEvent.
MotionEvent
setEditableFactory(Editable.Factory factory)
Sets the Factory used to create new Editables.
TextView
setEGLConfigChooser(GLSurfaceView.EGLConfigChooser configChooser)
Install a custom EGLConfigChooser.
GLSurfaceView
setEGLConfigChooser(boolean needDepth)
Install a config chooser which will choose a config as close to 16-bit RGB as possible, with or without an optional depth buffer as close to 16-bits as possible.
GLSurfaceView
setEGLConfigChooser(int redSize, int greenSize, int blueSize, int alphaSize, int depthSize, int stencilSize)
Install a config chooser which will choose a config with at least the specified component sizes, and as close to the specified component sizes as possible.
GLSurfaceView
setEGLContextFactory(GLSurfaceView.EGLContextFactory factory)
Install a custom EGLContextFactory.
GLSurfaceView
setEGLWindowSurfaceFactory(GLSurfaceView.EGLWindowSurfaceFactory factory)
Install a custom EGLWindowSurfaceFactory.
GLSurfaceView
setElementAt(E object, int location)
Replaces the element at the specified location in this vector with the specified object.
Vector
setElementListener(ElementListener elementListener)
Sets start and end element listeners at the same time.
Element
setEllipsize(TextUtils.TruncateAt ellipsis)
Causes words in the text that are longer than the view is wide to be ellipsized instead of broken in the middle.
EditText
setEllipsize(TextUtils.TruncateAt where)
Causes words in the text that are longer than the view is wide to be ellipsized instead of broken in the middle.
TextView
setEmpty()
Set the rectangle to (0,0,0,0)
Rect
setEmpty()
Set the rectangle to (0,0,0,0)
RectF
setEmpty()
Set the region to the empty region
Region
setEmptyView(View emptyView)
Sets the view to show if the adapter is empty
AdapterView
setEms(int ems)
Makes the TextView exactly this many ems wide
TextView
setEnabled(boolean enabled)
Change the enabled state of the session.
AbstractInputMethodService.AbstractInputMethodSessionImpl
setEnabled(boolean isEnabled)
Sets if the source is enabled.
AccessibilityEvent
setEnabled(boolean enabled)
Set the enabled state of this view.
DatePicker
setEnabled(boolean enabled)
Set the enabled state of this view.
MediaController
setEnabled(boolean enabled)
Sets whether the menu item is enabled.
MenuItem
setEnabled(boolean enabled)
Sets whether this Preference is enabled.
Preference
setEnabled(boolean enabled)
Sets whether this Preference is enabled.
PreferenceGroup
setEnabled(boolean enabled)
Set the enabled state of this view.
TabWidget
setEnabled(boolean enabled)
Set the enabled state of this view.
TimePicker
setEnabled(boolean enabled)
Set the enabled state of this view.
View
setEnabled(boolean enabled)
Set the enabled state of this view.
ZoomButton
setEnabledCipherSuites(String[] suites)
Sets the SSL cipher suite names that should be enabled in this engine instance.
SSLEngine
setEnabledCipherSuites(String[] suites)
Sets the names of the cipher suites to be enabled for new connections.
SSLServerSocket
setEnabledCipherSuites(String[] suites)
Sets the names of the cipher suites to be enabled.
SSLSocket
setEnabledProtocols(String[] protocols)
Sets the protocol version names that should be enabled in this engine instance.
SSLEngine
setEnabledProtocols(String[] protocols)
Sets the names of the protocols to be enabled for new connections.
SSLServerSocket
setEnabledProtocols(String[] protocols)
Sets the names of the protocols to be enabled.
SSLSocket
setEnableSessionCreation(boolean flag)
Sets whether new SSL sessions may be established by this engine instance.
SSLEngine
setEnableSessionCreation(boolean flag)
Sets whether new SSL sessions may be established for new connections.
SSLServerSocket
setEnableSessionCreation(boolean flag)
Sets whether new SSL sessions may be created by this socket or if existing sessions must be reused.
SSLSocket
setEncoding(String encoding)
CacheManager.CacheResult
setEncoding(String encoding)
Sets the character encoding used by this handler, null indicates a default encoding.
Handler
setEncoding(String encoding)
Set the character encoding, if known.
InputSource
setEncoding(String encoding)
Assigns the current value of the encoding property.
Locator2Impl
setEncoding(String encoding)
Sets the character encoding used by this handler.
StreamHandler
setEndElementListener(EndElementListener endElementListener)
Sets a listener for the end of this element.
Element
setEndIndex(int index)
Sets the index of the end of the field.
FieldPosition
setEndRule(int month, int dayOfMonth, int time)
Sets the rule which specifies the end of daylight savings time.
SimpleTimeZone
setEndRule(int month, int day, int dayOfWeek, int time)
Sets the rule which specifies the end of daylight savings time.
SimpleTimeZone
setEndRule(int month, int day, int dayOfWeek, int time, boolean after)
Sets the rule which specifies the end of daylight savings time.
SimpleTimeZone
setEndTextElementListener(EndTextElementListener endTextElementListener)
Sets a listener for the end of this text element.
Element
setEntity(HttpEntity entity)
Hands the entity to the request.
BasicHttpEntityEnclosingRequest
setEntity(HttpEntity entity)
Associates a response entity with this response.
BasicHttpResponse
setEntity(HttpEntity entity)
Hands the entity to the request.
EntityEnclosingRequestWrapper
setEntity(HttpEntity entity)
Hands the entity to the request.
HttpEntityEnclosingRequest
setEntity(HttpEntity entity)
Hands the entity to the request.
HttpEntityEnclosingRequestBase
setEntity(HttpEntity entity)
Associates a response entity with this response.
HttpResponse
setEntityResolver(EntityResolver resolver)
Sets the EntityResolver used for resolving entities encountered during the parse process.
DocumentBuilder
setEntityResolver(EntityResolver resolver)
Allow an application to register an entity resolver.
Driver
setEntityResolver(EntityResolver resolver)
Allow an application to register a custom entity resolver.
Parser
setEntityResolver(EntityResolver resolver)
Set the entity resolver.
ParserAdapter
setEntityResolver(EntityResolver resolver)
Set the entity resolver.
XMLFilterImpl
setEntityResolver(EntityResolver resolver)
Allow an application to register an entity resolver.
XMLReader
setEntityResolver(EntityResolver resolver)
Register the entity resolver.
XMLReaderAdapter
setEntries(int entriesResId)
ListPreference
setEntries(CharSequence[] entries)
Sets the human-readable entries to be shown in the list.
ListPreference
setEntry(String alias, KeyStore.Entry entry, KeyStore.ProtectionParameter param)
Stores the given Entry in this KeyStore and associates the entry with the given alias.
KeyStore
setEntryValues(int entryValuesResId)
ListPreference
setEntryValues(CharSequence[] entryValues)
The array to find the value to save for a preference when an entry from entries is selected.
ListPreference
setEras(String[] data)
Sets the array of Strings which represent BC and AD.
DateFormatSymbols
setErr(PrintStream newErr)
Sets the standard error output stream to the given user defined output stream.
System
setError()
Sets the error flag of this print stream to true.
PrintStream
(protected)
setError()
Sets the error flag of this writer to true.
PrintWriter
(protected)
setError(CharSequence error)
Sets the right-hand compound drawable of the TextView to the "error" icon and sets an error message that will be displayed in a popup when the TextView has focus.
TextView
setError(CharSequence error, Drawable icon)
Sets the right-hand compound drawable of the TextView to the specified icon and sets an error message that will be displayed in a popup when the TextView has focus.
TextView
setErrorCallback(Camera.ErrorCallback cb)
Registers a callback to be invoked when an error occurs.
Camera
setErrorHandler(ErrorHandler handler)
Sets the ErrorHandler used for dealing with errors encountered during the parse process.
DocumentBuilder
setErrorHandler(ErrorHandler handler)
Allow an application to register an error event handler.
Driver
setErrorHandler(ErrorHandler handler)
Allow an application to register an error event handler.
Parser
setErrorHandler(ErrorHandler handler)
Set the error handler.
ParserAdapter
setErrorHandler(ErrorHandler handler)
Set the error event handler.
XMLFilterImpl
setErrorHandler(ErrorHandler handler)
Allow an application to register an error event handler.
XMLReader
setErrorHandler(ErrorHandler handler)
Register the error event handler.
XMLReaderAdapter
setErrorIndex(int index)
Sets the index at which the parse could not continue.
ParsePosition
setErrorManager(ErrorManager em)
Sets the error manager for this handler.
Handler
setEscapeProcessing(boolean enable)
Sets the escape processing status for this RowSet.
RowSet
setEscapeProcessing(boolean enable)
Sets Escape Processing mode.
Statement
setEventListener(JetPlayer.OnJetEventListener listener)
Sets the listener JetPlayer notifies when a JET event is generated by the rendering and playback engine.
JetPlayer
setEventListener(JetPlayer.OnJetEventListener listener, Handler handler)
Sets the listener JetPlayer notifies when a JET event is generated by the rendering and playback engine.
JetPlayer
setEventsInterceptionEnabled(boolean enabled)
GestureOverlayView
setEventTime(long eventTime)
Sets the time in which this event was sent.
AccessibilityEvent
setEventType(int eventType)
Sets the event type.
AccessibilityEvent
setException(Throwable t)
Causes this future to report an ExecutionException with the given throwable as its cause, unless this Future has already been set or has been cancelled.
FutureTask
(protected)
setExcludeMimes(String[] excludeMimes)
Set a list of specific MIME-types to exclude and not display.
QuickContactBadge
setExclusiveOwnerThread(Thread t)
Sets the thread that currently owns exclusive access.
AbstractQueuedSynchronizer
(protected)
setExecuteExistingDelayedTasksAfterShutdownPolicy(boolean value)
Sets the policy on whether to execute existing delayed tasks even when this executor has been shutdown.
ScheduledThreadPoolExecutor
setExpandEntityReferences(boolean value)
Determines whether the factory is configured to deliver parsers that expands entity references.
DocumentBuilderFactory
setExpectationVerifier(HttpExpectationVerifier expectationVerifier)
HttpService
setExpiryDate(Date expiryDate)
Sets expiration date.
BasicClientCookie
setExpiryDate(Date expiryDate)
Sets expiration date.
SetCookie
setExplicitPolicyRequired(boolean explicitPolicyRequired)
Sets whether an an acceptable policy needs to be explicit identified in every certificate.
PKIXParameters
setExtendedKeyUsage(Set<String> keyUsage)
Sets the criterion for the ExtendedKeyUsage extension.
X509CertSelector
setExtra(byte[] data)
Sets the extra information for this ZipEntry.
ZipEntry
setExtractedText(ExtractedText text)
Implement just to keep track of when we are setting text from the client (vs.
ExtractEditText
setExtractedText(ExtractedText text)
Apply to this text view the given extracted text, as previously returned by extractText(ExtractedTextRequest, ExtractedText).
TextView
setExtractView(View view)
InputMethodService
setExtractViewShown(boolean shown)
Controls the visibility of the extracted text area.
InputMethodService
setExtras(Bundle extras)
Sets the extra information associated with this fix to the given Bundle.
Address
setExtras(Bundle extras)
Sets the extra information associated with this fix to the given Bundle.
Location
setExtrasClassLoader(ClassLoader loader)
Sets the ClassLoader that will be used when unmarshalling any Parcelable values from the extras of this Intent.
Intent
setFactory(LayoutInflater.Factory factory)
Attach a custom Factory interface for creating views while using this LayoutInflater.
LayoutInflater
setFactory(ViewSwitcher.ViewFactory factory)
Sets the factory used to create the two views between which the ViewSwitcher will flip.
ViewSwitcher
setFadeEnabled(boolean fadeEnabled)
GestureOverlayView
setFadeOffset(long fadeOffset)
GestureOverlayView
setFadingEdgeLength(int length)
Set the size of the faded edge used to indicate that more content in this view is available.
View
setFakeBoldText(boolean fakeBoldText)
Helper for setFlags(), setting or clearing the STRIKE_THRU_TEXT_FLAG bit
Paint
setFantasyFontFamily(String font)
Set the fantasy font family name.
WebSettings
setFastScrollEnabled(boolean enabled)
Enables fast scrolling by letting the user quickly scroll through lists by dragging the fast scroll thumb.
AbsListView
setFeature(String name, boolean value)
Sets a feature in the underlying implementation.
DocumentBuilderFactory
setFeature(String name, boolean value)
Set the value of a feature flag.
Driver
setFeature(String name, boolean value)
Set a feature flag for the parser.
ParserAdapter
setFeature(String name, boolean value)
Sets a feature in the underlying implementation.
SAXParserFactory
setFeature(String name, boolean value)
Set the value of a feature.
XMLFilterImpl
setFeature(String name, boolean value)
Set the value of a feature flag.
XMLReader
setFeature(String name, boolean state)
Use this call to change the general behaviour of the parser, such as namespace processing or doctype declaration handling.
XmlPullParser
setFeature(String name, boolean state)
Set the features to be set when XML Pull Parser is created by this factory.
XmlPullParserFactory
setFeature(String name, boolean state)
Set feature identified by name (recommended to be URI for uniqueness).
XmlSerializer
setFeatureDrawable(int featureId, Drawable drawable)
Convenience for calling setFeatureDrawable(int, Drawable).
Activity
setFeatureDrawable(int featureId, Drawable drawable)
Convenience for calling setFeatureDrawable(int, Drawable).
Dialog
setFeatureDrawable(int featureId, Drawable drawable)
Set an explicit Drawable value for feature of this window.
Window
setFeatureDrawableAlpha(int featureId, int alpha)
Convenience for calling setFeatureDrawableAlpha(int, int).
Activity
setFeatureDrawableAlpha(int featureId, int alpha)
Convenience for calling setFeatureDrawableAlpha(int, int).
Dialog
setFeatureDrawableAlpha(int featureId, int alpha)
Set a custom alpha value for the given drawale feature, controlling how much the background is visible through it.
Window
setFeatureDrawableResource(int featureId, int resId)
Convenience for calling setFeatureDrawableResource(int, int).
Activity
setFeatureDrawableResource(int featureId, int resId)
Convenience for calling setFeatureDrawableResource(int, int).
Dialog
setFeatureDrawableResource(int featureId, int resId)
Set the value for a drawable feature of this window, from a resource identifier.
Window
setFeatureDrawableUri(int featureId, Uri uri)
Convenience for calling setFeatureDrawableUri(int, Uri).
Activity
setFeatureDrawableUri(int featureId, Uri uri)
Convenience for calling setFeatureDrawableUri(int, Uri).
Dialog
setFeatureDrawableUri(int featureId, Uri uri)
Set the value for a drawable feature of this window, from a URI.
Window
setFeatureInt(int featureId, int value)
Set the integer value for a feature.
Window
setFeatureName(String featureName)
Sets the feature name of the address to the given String, which may be null
Address
setFetchDirection(int direction)
Indicates which direction (forward/reverse) will be used to process the rows of this ResultSet object.
ResultSet
setFetchDirection(int direction)
Sets the fetch direction - a hint to the JDBC driver about the direction of processing of rows in ResultSets created by this statement.
Statement
setFetchSize(int rows)
Indicates the number of rows to fetch from the database when extra rows are required for this ResultSet.
ResultSet
setFetchSize(int rows)
Sets the fetch size.
Statement
setFileDescriptorsForSend(FileDescriptor[] fds)
Enqueues a set of file descriptors to send to the peer.
LocalSocket
setFileName(String fileName)
This method is deprecated. This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.
Plugin
setFileNameMap(FileNameMap map)
Sets the internal map which is used by all URLConnection instances to determine the MIME-type according to a filename extension.
URLConnection
setFillAfter(boolean fillAfter)
If fillAfter is true, the transformation that this animation performed will persist when it is finished.
Animation
setFillAfter(boolean fillAfter)
If fillAfter is true, the transformation that this animation performed will persist when it is finished.
AnimationSet
setFillBefore(boolean fillBefore)
If fillBefore is true, this animation will apply its transformation before the start time of the animation.
Animation
setFillBefore(boolean fillBefore)
If fillBefore is true, this animation will apply its transformation before the start time of the animation.
AnimationSet
setFillEnabled(boolean fillEnabled)
If fillEnabled is true, the animation will apply the value of fillBefore and fillAfter.
Animation
setFillType(Path.FillType ft)
Set the path's fill type.
Path
setFillViewport(boolean fillViewport)
Indicates this ScrollView whether it should stretch its content width to fill the viewport or not.
HorizontalScrollView
setFillViewport(boolean fillViewport)
Indicates this ScrollView whether it should stretch its content height to fill the viewport or not.
ScrollView
setFilter(LayoutInflater.Filter filter)
Sets the LayoutInflater.Filter to by this LayoutInflater.
LayoutInflater
setFilter(Filter newFilter)
Sets the filter to be used by this handler.
Handler
setFilter(Filter newFilter)
Sets the filter used by this logger.
Logger
setFilterBitmap(boolean filter)
Set to true to have the drawable filter its bitmap when scaled or rotated (for drawables that use bitmaps).
BitmapDrawable
setFilterBitmap(boolean filter)
Set to true to have the drawable filter its bitmap when scaled or rotated (for drawables that use bitmaps).
Drawable
setFilterBitmap(boolean filter)
Set to true to have the drawable filter its bitmap when scaled or rotated (for drawables that use bitmaps).
NinePatchDrawable
setFilterBitmap(boolean filter)
Helper for setFlags(), setting or clearing the FILTER_BITMAP_FLAG bit.
Paint
setFilterBitmap(boolean filter)
Set to true to have the drawable filter its bitmap when scaled or rotated (for drawables that use bitmaps).
PictureDrawable
setFilterQueryProvider(FilterQueryProvider filterQueryProvider)
Sets the query filter provider used to filter the current Cursor.
CursorAdapter
setFilterQueryProvider(FilterQueryProvider filterQueryProvider)
CursorTreeAdapter
setFilters(InputFilter[] filters)
Sets the series of filters that will be called in succession whenever the text of this Editable is changed, each of which has the opportunity to limit or transform the text that is being inserted.
Editable
setFilters(InputFilter[] filters)
Sets the series of filters that will be called in succession whenever the text of this Editable is changed, each of which has the opportunity to limit or transform the text that is being inserted.
SpannableStringBuilder
setFilters(InputFilter[] filters)
Sets the list of input filters that will be used if the buffer is Editable.
TextView
setFilterText(String filterText)
Sets the initial value for the text filter.
AbsListView
setFilterWatcher(TextWatcher watcher)
DialerFilter
setFinalX(int newX)
Sets the final position (X) for this scroller.
Scroller
setFinalY(int newY)
Sets the final position (Y) for this scroller.
Scroller
setFirstDayOfWeek(int value)
Sets the first day of the week for this Calendar.
Calendar
setFirstDayOfWeek(int value)
Sets the first day of the week for this Calendar.
GregorianCalendar
setFixedFontFamily(String font)
Set the fixed font family name.
WebSettings
setFixedLengthStreamingMode(int contentLength)
If the length of a HTTP request body is known ahead, sets fixed length to enable streaming without buffering.
HttpURLConnection
setFixedSize(int width, int height)
Make the surface a fixed size.
SurfaceHolder
setFlags(int flags)
Set special flags controlling how this intent is handled.
Intent
setFlags(int flags)
Set the paint's flags.
Paint
setFlags(int flags, int mask)
Surface
setFlags(int flags, int mask)
Set the flags of the window, as per the WindowManager.LayoutParams flags.
Window
setFlashMode(String value)
Sets the flash mode.
Camera.Parameters
setFlipInterval(int milliseconds)
How long to wait before flipping to the next view
ViewFlipper
setFloat(int parameterIndex, float theFloat)
Sets the value of a specified parameter to to a supplied float value.
PreparedStatement
setFloat(int parameterIndex, float theFloat)
Sets the value of the specified parameter in the RowSet command with the supplied float.
RowSet
setFloat(int viewId, String methodName, float value)
Call a method taking one float on a view in the layout for this RemoteViews.
RemoteViews
setFloat(Object object, float value)
Sets the value of the field in the specified object to the float value.
Field
setFloat(Object array, int index, float value)
Set the element of the array at the specified index to the float value.
Array
setFloat(String parameterName, float theFloat)
Sets the value of a specified parameter to to a supplied float value.
CallableStatement
setFocusable(boolean focusable)
Set whether this view can receive the focus.
AdapterView
setFocusable(boolean focusable)

Changes the focusability of the popup window.

PopupWindow
setFocusable(boolean focusable)
Set whether this view can receive the focus.
View
setFocusable(boolean focusable)
Sets whether the zoom controls should be focusable.
ZoomButtonsController
setFocusableInTouchMode(boolean focusable)
Set whether this view can receive focus while in touch mode.
AdapterView
setFocusableInTouchMode(boolean focusableInTouchMode)
Set whether this view can receive focus while in touch mode.
View
setFocusMode(String value)
Sets the focus mode.
Camera.Parameters
setFollowRedirects(boolean auto)
Sets the flag of whether this connection will follow redirects returned by the remote server.
HttpURLConnection
setFooterDividersEnabled(boolean footerDividersEnabled)
Enables or disables the drawing of the divider for footer views.
ListView
setForcedRoute(HttpRoute route)
ConnRouteParamBean
setForcedRoute(HttpParams params, HttpRoute route)
Sets the FORCED_ROUTE parameter value.
ConnRouteParams
setForeground(Drawable drawable)
Supply a Drawable that is to be rendered on top of all of the child views in the frame layout.
FrameLayout
setForeground(boolean isForeground)
This method is deprecated. This is a now a no-op, use startForeground(int, Notification) instead. This method has been turned into a no-op rather than simply being deprecated because analysis of numerous poorly behaving devices has shown that increasingly often the trouble is being caused in part by applications that are abusing it. Thus, given a choice between introducing problems in existing applications using this API (by allowing them to be killed when they would like to avoid it), vs allowing the performance of the entire system to be decreased, this method was deemed less important.
Service
setForegroundGravity(int foregroundGravity)
Describes how the foreground is positioned.
FrameLayout
setFormat(int format)
Set the desired PixelFormat of the surface.
SurfaceHolder
setFormat(int format)
Set the format of window, as per the PixelFormat types.
Window
setFormat(int offset, Format format)
Sets the specified format used by this message format.
MessageFormat
setFormat(String format)
Sets the format string used for display.
Chronometer
setFormatByArgumentIndex(int argIndex, Format format)
Sets the format used for the argument at index argIndex to format.
MessageFormat
setFormats(Format[] formats)
Sets the formats used by this message format.
MessageFormat
setFormatsByArgumentIndex(Format[] formats)
Sets the formats used for each argument.
MessageFormat
setFormatter(Formatter newFormatter)
Sets the formatter to be used by this handler.
Handler
setFrame(int l, int t, int r, int b)
Assign a size and position to this view.
AutoCompleteTextView
(protected)
setFrame(int l, int t, int r, int b)
Assign a size and position to this view.
ImageView
(protected)
setFrame(int l, int t, int r, int b)
Assign a size and position to this view.
TextView
(protected)
setFreezesText(boolean freezesText)
Control whether this text view saves its entire text contents when freezing to an icicle, in addition to dynamic state such as cursor position.
TextView
setFreezeTint(int tint)
Surface
setFromIndex(int fromIndex)
Sets the index of the first character of the changed sequence.
AccessibilityEvent
setFullScreen(boolean isFullScreen)
Sets if the source is taking the entire screen.
AccessibilityEvent
setGeolocationDatabasePath(String databasePath)
Set the path where the Geolocation permissions database should be saved.
WebSettings
setGeolocationEnabled(boolean flag)
Sets whether Geolocation is enabled.
WebSettings
setGesture(Gesture gesture)
GestureOverlayView
setGestureColor(int color)
GestureOverlayView
setGestureStrokeAngleThreshold(float gestureStrokeAngleThreshold)
GestureOverlayView
setGestureStrokeLengthThreshold(float gestureStrokeLengthThreshold)
GestureOverlayView
setGestureStrokeSquarenessTreshold(float gestureStrokeSquarenessTreshold)
GestureOverlayView
setGestureStrokeType(int gestureStrokeType)
GestureOverlayView
setGestureStrokeWidth(float gestureStrokeWidth)
GestureOverlayView
setGestureVisible(boolean visible)
GestureOverlayView
setGlobalAllocationLimit(int limit)
Establish a global object allocation limit.
Debug
setGlobalAllocationLimit(int limit)
Establishes an object allocation limit for the entire VM.
VMDebug
setGLWrapper(GLSurfaceView.GLWrapper glWrapper)
Set the glWrapper.
GLSurfaceView
setGpsAltitude(double altitude)
Sets GPS altitude.
Camera.Parameters
setGpsLatitude(double latitude)
Sets GPS latitude coordinate.
Camera.Parameters
setGpsLongitude(double longitude)
Sets GPS longitude coordinate.
Camera.Parameters
setGpsTimestamp(long timestamp)
Sets GPS timestamp.
Camera.Parameters
setGradientCenter(float x, float y)
GradientDrawable
setGradientRadius(float gradientRadius)
GradientDrawable
setGradientType(int gradient)
GradientDrawable
setGravity(int gravity)
Set the gravity used to position/stretch the bitmap within its bounds.
BitmapDrawable
setGravity(int gravity)
Describes how the child views are aligned.
Gallery
setGravity(int gravity)
Describes how the child views are horizontally aligned.
GridView
setGravity(int gravity)
Describes how the child views are positioned.
LinearLayout
setGravity(int gravity)
Describes how the child views are positioned.
RelativeLayout
setGravity(int gravity)
Sets the horizontal alignment of the text and the vertical gravity that will be used when there is extra space in the TextView beyond what is required for the text itself.
TextView
setGravity(int gravity)
Set the gravity of the window, as per the Gravity constants.
Window
setGravity(int gravity, int xOffset, int yOffset)
Set the location at which the notification should appear on the screen.
Toast
setGregorianChange(Date date)
Sets the gregorian change date of this calendar.
GregorianCalendar
setGroupCheckable(int group, boolean checkable, boolean exclusive)
Control whether a particular group of items can show a check mark.
Menu
setGroupCursor(Cursor cursor)
Sets the group Cursor.
CursorTreeAdapter
setGroupEnabled(int group, boolean enabled)
Enable or disable all menu items that are in the given group.
Menu
setGroupIndicator(Drawable groupIndicator)
Sets the indicator to be drawn next to a group.
ExpandableListView
setGroupingSeparator(char value)
Sets the character used as the thousands separator in a number.
DecimalFormatSymbols
setGroupingSize(int value)
Sets the number of digits grouped together by the grouping separator.
DecimalFormat
setGroupingUsed(boolean value)
Sets whether or not grouping will be used in this format.
DecimalFormat
setGroupingUsed(boolean value)
Sets whether this number format formats and parses numbers using a grouping separator.
NumberFormat
setGroupVisible(int group, boolean visible)
Show or hide all menu items that are in the given group.
Menu
setHandleAuthentication(boolean handle)
ClientParamBean
setHandleRedirects(boolean handle)
ClientParamBean
setHandlerResolver(HttpRequestHandlerResolver handlerResolver)
HttpService
setHandlers(Map map)
HttpRequestHandlerRegistry
setHandlers(Map map)
UriPatternMatcher
setHapticFeedbackEnabled(boolean hapticFeedbackEnabled)
Set whether this view should have haptic feedback for events such as long presses.
View
setHeader(String name, String value)
Overwrites the first header with the same name.
AbstractHttpMessage
setHeader(String name, String value)
Overwrites the first header with the same name.
HttpMessage
setHeader(Header header)
Overwrites the first header with the same name.
AbstractHttpMessage
setHeader(Header header)
Overwrites the first header with the same name.
HttpMessage
setHeaderDividersEnabled(boolean headerDividersEnabled)
Enables or disables the drawing of the divider for header views.
ListView
setHeaderIcon(Drawable icon)
Sets the context menu header's icon to the icon given in icon Drawable.
ContextMenu
setHeaderIcon(Drawable icon)
Sets the submenu header's icon to the icon given in icon Drawable.
SubMenu
setHeaderIcon(int iconRes)
Sets the context menu header's icon to the icon given in iconRes resource id.
ContextMenu
setHeaderIcon(int iconRes)
Sets the submenu header's icon to the icon given in iconRes resource id.
SubMenu
setHeaders(Header[] headers)
Overwrites all the headers in the message.
AbstractHttpMessage
setHeaders(Header[] headers)
Sets all of the headers contained within this group overriding any existing headers.
HeaderGroup
setHeaders(Header[] headers)
Overwrites all the headers in the message.
HttpMessage
setHeaderTitle(int titleRes)
Sets the context menu header's title to the title given in titleRes resource identifier.
ContextMenu
setHeaderTitle(int titleRes)
Sets the submenu header's title to the title given in titleRes resource identifier.
SubMenu
setHeaderTitle(CharSequence title)
Sets the context menu header's title to the title given in title.
ContextMenu
setHeaderTitle(CharSequence title)
Sets the submenu header's title to the title given in title.
SubMenu
setHeaderView(View view)
Sets the header of the context menu to the View given in view.
ContextMenu
setHeaderView(View view)
Sets the header of the submenu to the View given in view.
SubMenu
setHeight(int height)

Change the popup's height MeasureSpec

If the popup is showing, calling this method will take effect only the next time the popup is shown.

PopupWindow
setHeight(int pixels)
Makes the TextView exactly this many pixels tall.
TextView
setHighlightColor(int color)
Sets the color used to display the selection highlight.
TextView
setHint(int resid)
Sets the text to be displayed when the text of the TextView is empty, from a resource.
TextView
setHint(CharSequence hint)
Sets the text to be displayed when the text of the TextView is empty.
TextView
setHintTextColor(ColorStateList colors)
Sets the color of the hint text.
TextView
setHintTextColor(int color)
Sets the color of the hint text.
TextView
setHoldability(int holdability)
Sets the holdability of the ResultSets created by this Connection.
Connection
setHorizontalFadingEdgeEnabled(boolean horizontalFadingEdgeEnabled)

Define whether the horizontal edges should be faded when this view is scrolled horizontally.

View
setHorizontalGap(int gap)
Keyboard
(protected)
setHorizontalGravity(int horizontalGravity)
LinearLayout
setHorizontalGravity(int horizontalGravity)
RelativeLayout
setHorizontallyScrolling(boolean whether)
Sets whether the text should be allowed to be wider than the View is.
TextView
setHorizontalScrollBarEnabled(boolean horizontalScrollBarEnabled)

Define whether the horizontal scrollbar should be drawn or not.

View
setHorizontalScrollbarOverlay(boolean overlay)
Specify whether the horizontal scrollbar has overlay style.
WebView
setHorizontalSpacing(int horizontalSpacing)
Set the amount of horizontal (x) spacing to place between each item in the grid.
GridView
setHostnameVerifier(HostnameVerifier v)
Sets the hostname verifier for this instance.
HttpsURLConnection
setHostnameVerifier(X509HostnameVerifier hostnameVerifier)
SSLSocketFactory
setHours(int theHours)
This method is deprecated. This method is deprecated and must not be used. SQL Date values do not have an hours component.
Date
setHours(int hour)
This method is deprecated. use Calendar.set(Calendar.HOUR_OF_DAY, hour)
Date
setHttpAuthUsernamePassword(String host, String realm, String username, String password)
Set the HTTP authentication credentials for a given host and realm.
WebView
setHttpElementCharset(String httpElementCharset)
HttpProtocolParamBean
setHttpElementCharset(HttpParams params, String charset)
Sets the charset to be used for writing HTTP headers.
HttpProtocolParams
setHttpProcessor(HttpProcessor processor)
HttpService
setHttpRequestRetryHandler(HttpRequestRetryHandler retryHandler)
AbstractHttpClient
setIcon(Drawable icon)
AlertDialog
setIcon(Drawable icon)
Set the Drawable to be used in the title.
AlertDialog.Builder
setIcon(Drawable icon)
Change the icon associated with this item.
MenuItem
setIcon(Drawable icon)
Change the icon associated with this submenu's item in its parent menu.
SubMenu
setIcon(int resId)
Set resId to 0 if you don't want an icon.
AlertDialog
setIcon(int iconId)
Set the resource id of the Drawable to be used in the title.
AlertDialog.Builder
setIcon(int iconRes)
Change the icon associated with this item.
MenuItem
setIcon(int iconRes)
Change the icon associated with this submenu's item in its parent menu.
SubMenu
setId(int id)
Sets the identifier for this view.
View
setId(int index, int id)
Sets the ID of a layer.
LayerDrawable
setID(String name)
Sets the ID of this TimeZone.
TimeZone
setIdentityM(float[] sm, int smOffset)
Sets matrix m to the identity matrix.
Matrix
setIdleDuration(long duration, TimeUnit unit)
Sets the duration that this connection can remain idle before it is reused.
AbstractClientConnAdapter
setIdleDuration(long duration, TimeUnit unit)
Sets the duration that this connection can remain idle before it is reused.
ManagedClientConnection
setIfModifiedSince(long newValue)
Sets the point of time since when the data must be modified to be transmitted.
URLConnection
setIgnoreCheekPress()
Set the flag on popup to ignore cheek press eventt; by default this flag is set to false which means the pop wont ignore cheek press dispatch events.
PopupWindow
setIgnoreGravity(int viewId)
Defines which View is ignored when the gravity is applied.
RelativeLayout
setIgnoringComments(boolean value)
Determines whether the factory is configured to deliver parsers that ignore comments.
DocumentBuilderFactory
setIgnoringElementContentWhitespace(boolean value)
Determines whether the factory is configured to deliver parsers that ignores element whitespace.
DocumentBuilderFactory
setImageBitmap(Bitmap bm)
Sets a Bitmap as the content of this ImageView.
ImageView
setImageDrawable(Drawable drawable)
ImageSwitcher
setImageDrawable(Drawable drawable)
Sets a drawable as the content of this ImageView.
ImageView
setImageLevel(int level)
Sets the image level, when it is constructed from a LevelListDrawable.
ImageView
setImageMatrix(Matrix matrix)
ImageView
setImageResource(int resid)
ImageSwitcher
setImageResource(int resId)
Sets a drawable as the content of this ImageView.
ImageView
setImageState(int[] state, boolean merge)
ImageView
setImageURI(Uri uri)
ImageSwitcher
setImageURI(Uri uri)
Sets the content of this ImageView to the specified Uri.
ImageView
setImageViewBitmap(int viewId, Bitmap bitmap)
Equivalent to calling ImageView.setImageBitmap
RemoteViews
setImageViewResource(int viewId, int srcId)
Equivalent to calling ImageView.setImageResource
RemoteViews
setImageViewUri(int viewId, Uri uri)
Equivalent to calling ImageView.setImageURI
RemoteViews
setImeActionLabel(CharSequence label, int actionId)
Change the custom IME action associated with the text view, which will be reported to an IME with actionLabel and actionId when it has focus.
TextView
setImeOptions(int imeOptions)
Change the editor type integer associated with the text view, which will be reported to an IME with imeOptions when it has focus.
TextView
setIn(InputStream newIn)
Sets the standard input stream to the given user defined input stream.
System
setInAnimation(Context context, int resourceID)
Specifies the animation used to animate a View that enters the screen.
ViewAnimator
setInAnimation(Animation inAnimation)
Specifies the animation used to animate a View that enters the screen.
ViewAnimator
setIncludeDrm(boolean includeDrm)
Sets whether to include DRM ringtones.
RingtoneManager
setIncludeFontPadding(boolean includepad)
Set whether the TextView includes extra top and bottom padding to make room for accents that go above the normal ascent and descent.
TextView
setIndeterminate(boolean indeterminate)

Change the indeterminate mode for this progress bar.

ProgressBar
setIndeterminate(boolean indeterminate)
ProgressDialog
setIndeterminateDrawable(Drawable d)

Define the drawable used to draw the progress bar in indeterminate mode.

ProgressBar
setIndeterminateDrawable(Drawable d)
ProgressDialog
setIndex(int location)
Sets the current index to a new position and returns the character at the new index.
CharacterIterator
setIndex(int index)
Sets the current parse position.
ParsePosition
setIndex(int location)
Sets the current index in the source string.
StringCharacterIterator
setIndicator(View view)
Specify a view as the tab indicator.
TabHost.TabSpec
setIndicator(CharSequence label)
Specify a label as the tab indicator.
TabHost.TabSpec
setIndicator(CharSequence label, Drawable icon)
Specify a label and icon as the tab indicator.
TabHost.TabSpec
setIndicatorBounds(int left, int right)
Sets the drawing bounds for the indicators (at minimum, the group indicator is affected by this; the child indicator is affected by this if the child indicator bounds are set to inherit).
ExpandableListView
setInexactRepeating(int type, long triggerAtTime, long interval, PendingIntent operation)
Schedule a repeating alarm that has inexact trigger time requirements; for example, an alarm that repeats every hour, but not necessarily at the top of every hour.
AlarmManager
setInfinity(String value)
Sets the string which represents infinity.
DecimalFormatSymbols
setInflatedId(int inflatedId)
Defines the id taken by the inflated view.
ViewStub
setInfo(String info)
Sets an information string for this Identity.
Identity
setInitialPolicies(Set<String> initialPolicies)
Sets the list of policies (as OID strings) that would be acceptable for the purpose of certification path processing.
PKIXParameters
setInitialScale(int scaleInPercent)
Set the initial scale for the WebView.
WebView
setInput(byte[] buf)
Sets the input buffer the Deflater will use to extract uncompressed bytes for later compression.
Deflater
setInput(byte[] buf)
Sets the current input to to be decrompressed.
Inflater
setInput(byte[] buf, int off, int nbytes)
Sets the input buffer the Deflater will use to extract uncompressed bytes for later compression.
Deflater
setInput(byte[] buf, int off, int nbytes)
Sets the current input to the region of the input buffer starting at off and ending at nbytes - 1 where data is written after decompression.
Inflater
setInput(InputStream inputStream, String inputEncoding)
Sets the input stream the parser is going to process.
XmlPullParser
setInput(Reader in)
Set the input source for parser to the given reader and resets the parser.
XmlPullParser
setInputExtras(int xmlResId)
Set the extra input data of the text, which is the TextBoxAttribute.extras Bundle that will be filled in when creating an input connection.
TextView
setInputMethod(IBinder token, String id)
Force switch to a new input method component.
InputMethodManager
setInputMethodMode(int mode)
Control how the popup operates with an input method: one of INPUT_METHOD_FROM_FOCUSABLE, INPUT_METHOD_NEEDED, or INPUT_METHOD_NOT_NEEDED.
PopupWindow
setInputStream(InputStream stream)
CacheManager.CacheResult
setInputType(int type)
Set the type of the content with a constant as defined for inputType.
TextView
setInputView(View view)
Replaces the current input view with a new one.
InputMethodService
setInstanceFollowRedirects(boolean followRedirects)
Sets whether this connection follows redirects.
HttpURLConnection
setInstrumentaiton(Instrumentation instrumentation)
This method is deprecated. Incorrect spelling, use setInstrumentation(android.app.Instrumentation) instead.
AndroidTestRunner
setInstrumentation(Instrumentation instrumentation)
AndroidTestRunner
setInt(int parameterIndex, int theInt)
Sets the value of a specified parameter to a supplied int value.
PreparedStatement
setInt(int parameterIndex, int theInteger)
Sets the value of the specified parameter in the RowSet command with the supplied integer.
RowSet
setInt(int viewId, String methodName, int value)
Call a method taking one int on a view in the layout for this RemoteViews.
RemoteViews
setInt(Object object, int value)
Set the value of the field in the specified object to the int value.
Field
setInt(Object array, int index, int value)
Set the element of the array at the specified index to the int value.
Array
setInt(String parameterName, int theInt)
Sets the value of a specified parameter to a supplied int value.
CallableStatement
setIntent(Intent newIntent)
Change the intent returned by getIntent().
Activity
setIntent(Intent intent)
Change the Intent associated with this item.
MenuItem
setIntent(Intent intent)
Sets an Intent to be used for startActivity(Intent) when this Preference is clicked.
Preference
setIntentRedelivery(boolean enabled)
Control redelivery of intents.
IntentService
setInterceptors(List list)
Sets the interceptor lists.
BasicHttpProcessor
setInterceptors(List itcps)
Sets the request interceptors in this list.
HttpRequestInterceptorList
setInterceptors(List itcps)
Sets the response interceptors in this list.
HttpResponseInterceptorList
setInterface(InetAddress addr)
Sets the interface address used by this socket.
MulticastSocket
setInternalIterations(int count)
PerformanceTestCase.Intermediates
setInternationalCurrencySymbol(String value)
Sets the international currency symbol.
DecimalFormatSymbols
setInterpolator(Context context, int resID)
Sets the acceleration curve for this animation.
Animation
setInterpolator(Context context, int resourceID)
Sets the interpolator used to interpolate the delays between the children.
LayoutAnimationController
setInterpolator(Context context, int resID)
Sets the acceleration curve for the indeterminate animation.
ProgressBar
setInterpolator(Interpolator i)
Sets the acceleration curve for this animation.
Animation
setInterpolator(Interpolator interpolator)
Sets the interpolator used to interpolate the delays between the children.
LayoutAnimationController
setInterpolator(Interpolator interpolator)
Sets the acceleration curve for the indeterminate animation.
ProgressBar
setIntersect(Rect a, Rect b)
If rectangles a and b intersect, return true and set this rectangle to that intersection, otherwise return false and do not change this rectangle.
Rect
setIntersect(RectF a, RectF b)
If rectangles a and b intersect, return true and set this rectangle to that intersection, otherwise return false and do not change this rectangle.
RectF
setInTouchMode(boolean inTouch)
Force the global system in or out of touch mode.
Instrumentation
setIntParameter(String name, int value)
Assigns an Integer to the parameter with the given name
AbstractHttpParams
setIntParameter(String name, int value)
Assigns an Integer to the parameter with the given name
HttpParams
setIntrinsicHeight(int height)
Sets the intrinsic (default) height for this shape.
ShapeDrawable
setIntrinsicWidth(int width)
Sets the intrinsic (default) width for this shape.
ShapeDrawable
setInverseBackgroundForced(boolean forceInverseBackground)
AlertDialog
setInverseBackgroundForced(boolean useInverseBackground)
Sets the Dialog to use the inverse background, regardless of what the contents is.
AlertDialog.Builder
setIs24HourView(Boolean is24HourView)
Set whether in 24 hour or AM/PM mode.
TimePicker
setIsIndicator(boolean isIndicator)
Whether this rating bar should only be an indicator (thus non-changeable by the user).
RatingBar
setIsLongpressEnabled(boolean isLongpressEnabled)
Set whether longpress is enabled, if this is enabled when a user presses and holds down you get a longpress event and nothing further.
GestureDetector
setIsManualSelection(boolean isManual)
ServiceState
setIssuer(byte[] issuerDN)
Sets the issuer that a certificate must match.
X509CertSelector
setIssuer(String issuerName)
Do not use, use getIssuer() or getIssuerAsBytes() instead.
X509CertSelector
setIssuer(X500Principal issuer)
Sets the issuer that a certificate must match.
X509CertSelector
setIssuerNames(Collection<?> names)
Do not use: use setIssuers(Collection) or one of addIssuerName(byte[]) instead.
X509CRLSelector
setIssuers(Collection<X500Principal> issuers)
Sets the criterion for the issuer distinguished names.
X509CRLSelector
setIsSyncable(Account account, String authority, int syncable)
Set whether this account/provider is syncable.
ContentResolver
setIsZoomInEnabled(boolean isEnabled)
ZoomControls
setIsZoomOutEnabled(boolean isEnabled)
ZoomControls
setItemChecked(int position, boolean value)
Sets the checked state of the specified position.
ListView
setItemCount(int itemCount)
Sets the number of items that can be visited.
AccessibilityEvent
setItems(int itemsId, DialogInterface.OnClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setItems(CharSequence[] items, DialogInterface.OnClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setItems(Map<StringAuthSchemeFactory> map)
Populates the internal collection of registered authentication schemes with the content of the map passed as a parameter.
AuthSchemeRegistry
setItems(Map<StringScheme> map)
Populates the internal collection of registered protocol schemes with the content of the map passed as a parameter.
SchemeRegistry
setItems(Map<StringCookieSpecFactory> map)
Populates the internal collection of registered cookie specs with the content of the map passed as a parameter.
CookieSpecRegistry
setItemsCanFocus(boolean itemsCanFocus)
Indicates that the views created by the ListAdapter can contain focusable items.
ListView
setJavaScriptCanOpenWindowsAutomatically(boolean flag)
Tell javascript to open windows automatically.
WebSettings
setJavaScriptEnabled(boolean flag)
Tell the WebView to enable javascript execution.
WebSettings
setJpegQuality(int quality)
Sets Jpeg quality of captured picture.
Camera.Parameters
setJpegThumbnailQuality(int quality)
Sets the quality of the EXIF thumbnail in Jpeg picture.
Camera.Parameters
setJpegThumbnailSize(int width, int height)
Sets the dimensions for EXIF thumbnail in Jpeg picture.
Camera.Parameters
setJulianDay(int julianDay)

Sets the time from the given Julian day number, which must be based on the same timezone that is set in this Time object.

Time
setKeepAlive(boolean value)
Sets the state of the SocketOptions.SO_KEEPALIVE for this socket.
Socket
setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)
AbstractHttpClient
setKeepAliveTime(long time, TimeUnit unit)
Sets the time limit for which threads may remain idle before being terminated.
ThreadPoolExecutor
setKeepScreenOn(boolean screenOn)
Enable or disable option to keep the screen turned on while this surface is displayed.
SurfaceHolder
setKeepScreenOn(boolean keepScreenOn)
Controls whether the screen should remain on, modifying the value of KEEP_SCREEN_ON.
View
setKeepUpdated(boolean keepUpdated)
Change whether or not the ContentQueryMap will register with the cursor's ContentProvider for change notifications.
ContentQueryMap
setKey(String key)
Sets the key for this Preference, which is used as a key to the SharedPreferences.
Preference
setKeyboard(Keyboard keyboard)
Attaches a keyboard to this view.
KeyboardView
setKeyEntry(String alias, byte[] key, Certificate[] chain)
Associates the given alias with a key and a certificate chain.
KeyStore
setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
Associates the given alias with the key, password and certificate chain.
KeyStore
setKeyFrame(int index, int msec, float[] values)
Assign the keyFrame (specified by index) a time value and an array of key values (with an implicity blend array of [0, 0, 1, 1] giving linear transition to the next set of key values).
Interpolator
setKeyFrame(int index, int msec, float[] values, float[] blend)
Assign the keyFrame (specified by index) a time value and an array of key values and blend array.
Interpolator
setKeyHeight(int height)
Keyboard
(protected)
setKeyListener(KeyListener input)
Sets the key listener to be used with this TextView.
TextView
setKeyPair(KeyPair pair)
Associates the specified key pair with this Signer.
Signer
setKeyProgressIncrement(int increment)
Sets the amount of progress changed via the arrow keys.
AbsSeekBar
setKeyUsage(boolean[] keyUsage)
Sets the criterion for the KeyUsage extension.
X509CertSelector
setKeyWidth(int width)
Keyboard
(protected)
setLacAndCid(int lac, int cid)
Set the location area code and the cell id.
GsmCellLocation
setLanguage(Locale loc)
Sets the language for the TextToSpeech engine.
TextToSpeech
setLastModified(long time)
Sets the time this file was last modified, measured in milliseconds since January 1st, 1970, midnight.
File
setLastPoint(float dx, float dy)
Sets the last point of the path.
Path
setLatestEventInfo(Context context, CharSequence contentTitle, CharSequence contentText, PendingIntent contentIntent)
Sets the contentView field to be a view with the standard "Latest Event" layout.
Notification
setLatitude(double latitude)
Sets the latitude associated with this address.
Address
setLatitude(double latitude)
Sets the latitude of this fix.
Location
setLayer(int zorder)
set surface parameters.
Surface
setLayerInset(int index, int l, int t, int r, int b)
Specify modifiers to the bounds for the drawable[index].
LayerDrawable
setLayout(int width, int height)
Set the width and height layout parameters of the window.
Window
setLayoutAlgorithm(WebSettings.LayoutAlgorithm l)
Set the underlying layout algorithm.
WebSettings
setLayoutAnimation(LayoutAnimationController controller)
Sets the layout animation controller used to animate the group's children after the first layout.
ViewGroup
setLayoutAnimationListener(Animation.AnimationListener animationListener)
Specifies the animation listener to which layout animation events must be sent.
ViewGroup
setLayoutParams(ViewGroup.LayoutParams params)
Set the layout parameters associated with this view.
View
setLayoutParams(ViewGroup.LayoutParams params)
Set the layout parameters associated with this view.
WebView
setLayoutResource(int layoutResId)
Sets the layout resource that is inflated as the View to be shown for this Preference.
Preference
setLayoutResource(int layoutResource)
Specifies the layout resource to inflate when this StubbedView becomes visible or invisible or when inflate() is invoked.
ViewStub
setLength(int len)
ByteArrayBuffer
setLength(int len)
CharArrayBuffer
setLength(int len)
Sets the length of the datagram packet.
DatagramPacket
setLength(int length)
Sets the current length to a new value.
StringBuffer
setLength(int length)
Sets the current length to a new value.
StringBuilder
setLength(long newLength)
Sets the length of this file to newLength.
RandomAccessFile
setLenient(boolean value)
Sets this Calendar to accept field values which are outside the valid range for the field.
Calendar
setLenient(boolean value)
Specifies whether or not date/time parsing shall be lenient.
DateFormat
setLettersWatcher(TextWatcher watcher)
DialerFilter
setLevel(int level)
Sets the compression level to be used when compressing data.
Deflater
setLevel(int level)
Specify the level for the drawable.
Drawable
setLevel(int level)
Sets the compression level to be used for writing entry data.
ZipOutputStream
setLevel(Level newLevel)
Sets the logging level of the messages logged by this handler, levels lower than this value will be dropped.
Handler
setLevel(Level level)
Sets the logging level.
LogRecord
setLevel(Level newLevel)
Sets the logging level for this logger.
Logger
setLightTouchEnabled(boolean enabled)
Enables using light touches to make a selection and activate mouseovers.
WebSettings
setLinearText(boolean linearText)
Helper for setFlags(), setting or clearing the LINEAR_TEXT_FLAG bit
Paint
setLineNumber(int lineNumber)
Sets the line number of this stream to the specified lineNumber.
LineNumberInputStream
setLineNumber(int lineNumber)
Sets the line number of this reader to the specified lineNumber.
LineNumberReader
setLineNumber(int lineNumber)
Set the line number for this locator (1-based).
LocatorImpl
setLines(int lines)
Makes the TextView exactly this many lines tall
TextView
setLineSpacing(float add, float mult)
Sets line spacing for this TextView.
TextView
setLinger(int linger)
HttpConnectionParamBean
setLinger(HttpParams params, int value)
Returns linger-on-close timeout.
HttpConnectionParams
setLinksClickable(boolean whether)
Sets whether the movement method will automatically be set to LinkMovementMethod if setAutoLinkMask(int) has been set to nonzero and links are detected in setText(char[], int, int).
TextView
setLinkTextColor(ColorStateList colors)
Sets the color of links in the text.
TextView
setLinkTextColor(int color)
Sets the color of links in the text.
TextView
setListAdapter(ExpandableListAdapter adapter)
Provide the adapter for the expandable list.
ExpandableListActivity
setListAdapter(ListAdapter adapter)
Provide the cursor for the list view.
ListActivity
setListSelection(int position)
Set the position of the dropdown view selection.
AutoCompleteTextView
setLoading(boolean enable)
Sets the loading behaviour of the test runner
BaseTestRunner
setLoadsImagesAutomatically(boolean flag)
Tell the WebView to load image resources automatically.
WebSettings
setLocalAddress(InetAddress address)
ConnRouteParamBean
setLocalAddress(HttpParams params, InetAddress local)
Sets the LOCAL_ADDRESS parameter value.
ConnRouteParams
setLocale(Locale loc)
Changes the locale of this response.
BasicHttpResponse
setLocale(Locale loc)
Changes the locale of this response.
HttpResponse
setLocale(Locale locale)
Sets the locale to use when creating Format instances.
MessageFormat
setLocale(Locale locale)
Allow an application to request a locale for errors and warnings.
Parser
setLocale(Locale locale)
Sets the locale for this database.
SQLiteDatabase
setLocale(Locale locale)
Set the locale for error reporting.
XMLReaderAdapter
setLocality(String locality)
Sets the locality of the address to the given String, which may be null.
Address
setLocalMatrix(Matrix localM)
Set the shader's local matrix.
Shader
setLocalName(int index, String localName)
Set the local name of a specific attribute.
AttributesImpl
setLocalPatternChars(String data)
Sets the pattern characters used by SimpleDateFormat to specify date and time fields.
DateFormatSymbols
setLocation(float x, float y)
Set this event's location.
MotionEvent
setLockingEnabled(boolean lockingEnabled)
Control whether or not the SQLiteDatabase is made thread-safe by using locks around critical sections.
SQLiteDatabase
setLoggerLevel(String loggerName, String levelName)
Sets the log level of a logger.
LoggingMXBean
setLoggerName(String loggerName)
Sets the name of the logger.
LogRecord
setLoginTimeout(int theTimeout)
Sets the login timeout value for this ConnectionPoolDataSource.
ConnectionPoolDataSource
setLoginTimeout(int theTimeout)
Sets the login timeout value for this DataSource.
DataSource
setLoginTimeout(int seconds)
Sets the login timeout when connecting to a database in seconds.
DriverManager
setLogStream(PrintStream out)
This method is deprecated. Use setLogWriter(PrintWriter) instead.
DriverManager
setLogWriter(PrintWriter theWriter)
Sets the log writer for this ConnectionPoolDataSource.
ConnectionPoolDataSource
setLogWriter(PrintWriter theWriter)
Sets the log writer for this DataSource.
DataSource
setLogWriter(PrintWriter out)
Sets the PrintWriter that is used by all loaded drivers, and also the DriverManager.
DriverManager
setLong(int viewId, String methodName, long value)
Call a method taking one long on a view in the layout for this RemoteViews.
RemoteViews
setLong(int parameterIndex, long theLong)
Sets the value of a specified parameter to a supplied long value.
PreparedStatement
setLong(int parameterIndex, long theLong)
Sets the value of the specified parameter in the RowSet command with the supplied long.
RowSet
setLong(Object array, int index, long value)
Set the element of the array at the specified index to the long value.
Array
setLong(Object object, long value)
Sets the value of the field in the specified object to the long value.
Field
setLong(String parameterName, long theLong)
Sets the value of a specified parameter to a supplied long value.
CallableStatement
setLongClickable(boolean longClickable)
Enables or disables long click events for this view.
View
setLongitude(double longitude)
Sets the longitude associated with this address.
Address
setLongitude(double longitude)
Sets the longitude of this fix.
Location
setLongParameter(String name, long value)
Assigns a Long to the parameter with the given name
AbstractHttpParams
setLongParameter(String name, long value)
Assigns a Long to the parameter with the given name
HttpParams
setLoop(int streamID, int loop)
Set loop mode.
SoundPool
setLoopbackMode(boolean loop)
Sets the SocketOptions.IP_MULTICAST_LOOP.
MulticastSocket
setLooping(boolean looping)
Sets the player to be looping or non-looping.
MediaPlayer
setLoopPoints(int startInFrames, int endInFrames, int loopCount)
Sets the loop points and the loop count.
AudioTrack
setMapTrackballToArrowKeys(boolean setMap)
WebView
setMargin(float horizontalMargin, float verticalMargin)
Set the margins of the view.
Toast
setMargins(int left, int top, int right, int bottom)
Sets the margins, in pixels.
ViewGroup.MarginLayoutParams
setMarqueeRepeatLimit(int marqueeLimit)
Sets how many times to repeat the marquee animation.
TextView
setMaskFilter(MaskFilter maskfilter)
Set or clear the maskfilter object.
Paint
setMasterSyncAutomatically(boolean sync)
Sets the master auto-sync setting that applies to all the providers and accounts.
ContentResolver
setMatchAllSubjectAltNames(boolean matchAllNames)
Sets the flag for the matching behavior for subject alternative names.
X509CertSelector
setMatrix(Matrix matrix)
Completely replace the current matrix with the specified matrix.
Canvas
setMatrix(float dsdx, float dtdx, float dsdy, float dtdy)
Surface
setMax(int max)

Set the range of the progress bar to 0...

AbsSeekBar
setMax(int max)

Set the range of the progress bar to 0...

ProgressBar
setMax(int max)
ProgressDialog
setMax(int max)

Set the range of the progress bar to 0...

RatingBar
setMaxConnectionsPerRoute(HttpParams params, ConnPerRoute connPerRoute)
Sets lookup interface for maximum number of connections allowed per route.
ConnManagerParams
setMaxCRLNumber(BigInteger maxCRL)
Sets the criterion for the maximum CRL number.
X509CRLSelector
setMaxDuration(int max_duration_ms)
Sets the maximum duration (in ms) of the recording session.
MediaRecorder
setMaxEms(int maxems)
Makes the TextView at most this many ems wide
TextView
setMaxFieldSize(int max)
Sets the maximum number of bytes which can be returned for a column value where the column type is one of BINARY, VARBINARY, LONGVARBINARYBINARY, CHAR, VARCHAR, or LONGVARCHAR.
RowSet
setMaxFieldSize(int max)
Sets the maximum number of bytes for ResultSet columns that contain character or binary values.
Statement
setMaxFileSize(long max_filesize_bytes)
Sets the maximum filesize (in bytes) of the recording session.
MediaRecorder
setMaxForRoute(HttpRoute route, int max)
ConnPerRouteBean
setMaxForRoutes(Map<HttpRouteInteger> map)
ConnPerRouteBean
setMaxHeight(int maxHeight)
An optional argument to supply a maximum height for this view.
ImageView
setMaxHeight(int maxHeight)
Makes the TextView at most this many pixels tall
TextView
setMaximumFractionDigits(int value)
Sets the maximum number of fraction digits that are printed when formatting numbers other than BigDecimal and BigInteger.
DecimalFormat
setMaximumFractionDigits(int value)
Sets the maximum number of fraction digits that are printed when formatting.
NumberFormat
setMaximumIntegerDigits(int value)
Sets the maximum number of integer digits that are printed when formatting numbers other than BigDecimal and BigInteger.
DecimalFormat
setMaximumIntegerDigits(int value)
Sets the new maximum count of integer digits that are printed when formatting.
NumberFormat
setMaximumPoolSize(int maximumPoolSize)
Sets the maximum allowed number of threads.
ThreadPoolExecutor
setMaximumSize(long numBytes)
Sets the maximum size the database will grow to.
SQLiteDatabase
setMaxLines(int maxlines)
Makes the TextView at most this many lines tall
TextView
setMaxPathLength(int maxPathLength)
Set the maximum length of a certification path.
PKIXBuilderParameters
setMaxPriority(int newMax)
Configures the maximum allowed priority for a Thread in the receiver and recursively in all its subgroups.
ThreadGroup
setMaxRedirects(int maxRedirects)
ClientParamBean
setMaxRows(int max)
Sets the maximum number of rows which can be held by the RowSet.
RowSet
setMaxRows(int max)
Sets the maximum number of rows that any ResultSet can contain.
Statement
setMaxStatusLineGarbage(int maxStatusLineGarbage)
ConnConnectionParamBean
setMaxTotalConnections(int maxConnections)
ConnManagerParamBean
setMaxTotalConnections(HttpParams params, int maxTotalConnections)
Sets the maximum number of connections allowed.
ConnManagerParams
setMaxWidth(int maxWidth)
An optional argument to supply a maximum width for this view.
ImageView
setMaxWidth(int maxpixels)
Makes the TextView at most this many pixels wide
TextView
setMeasureAllChildren(boolean measureAll)
Determines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring.
FrameLayout
setMeasuredDimension(int measuredWidth, int measuredHeight)

This mehod must be called by onMeasure(int, int) to store the measured width and measured height.

View
(protected)
setMediaController(MediaController controller)
VideoView
setMediaPlayer(MediaController.MediaPlayerControl player)
MediaController
setMessage(int messageId)
Set the message to display using the given resource id.
AlertDialog.Builder
setMessage(CharSequence message)
AlertDialog
setMessage(CharSequence message)
Set the message to display.
AlertDialog.Builder
setMessage(CharSequence message)
ProgressDialog
setMessage(String message)
Sets the raw message.
LogRecord
setMessageDigest(MessageDigest digest)
Sets the message digest which this stream will use.
DigestInputStream
setMessageDigest(MessageDigest digest)
Sets the message digest which this stream will use.
DigestOutputStream
setMessageLogging(Printer printer)
Control logging of messages as they are processed by this Looper.
Looper
setMetaData(RowSetMetaData theMetaData)
Sets RowSetMetaData for this RowSet.
RowSetInternal
setMethod(int value)
Sets the compression method for this ZipEntry.
ZipEntry
setMethod(int method)
Sets the compression method to be used when compressing entry data.
ZipOutputStream
setMethod(String method)
RequestWrapper
setMetric(String metricName, Object obj)
HttpConnectionMetricsImpl
setMicrophoneMute(boolean on)
Sets the microphone mute on or off.
AudioManager
setMillis(long millis)
Sets the time when this event occurred, in milliseconds since 1970.
LogRecord
setMinCRLNumber(BigInteger minCRL)
Sets the criterion for the minimum CRL number.
X509CRLSelector
setMinEms(int minems)
Makes the TextView at least this many ems wide
TextView
setMinHeight(int minHeight)
Makes the TextView at least this many pixels tall
TextView
setMinimalDaysInFirstWeek(int value)
Sets the minimal days in the first week of the year.
Calendar
setMinimalDaysInFirstWeek(int value)
Sets the minimal days in the first week of the year.
GregorianCalendar
setMinimumFontSize(int size)
Set the minimum font size.
WebSettings
setMinimumFractionDigits(int value)
Sets the minimum number of fraction digits that are printed when formatting numbers other than BigDecimal and BigInteger.
DecimalFormat
setMinimumFractionDigits(int value)
Sets the minimum number of fraction digits that are printed when formatting.
NumberFormat
setMinimumHeapSize(long size)
Sets the desired minimum heap size, and returns the old minimum size.
VMRuntime
setMinimumHeight(int minHeight)
Sets the minimum height of the view.
View
setMinimumIntegerDigits(int value)
Sets the minimum number of integer digits that are printed when formatting numbers other than BigDecimal and BigInteger.
DecimalFormat
setMinimumIntegerDigits(int value)
Sets the minimum number of integer digits that are printed when formatting.
NumberFormat
setMinimumLogicalFontSize(int size)
Set the minimum logical font size.
WebSettings
setMinimumWidth(int minWidth)
Sets the minimum width of the view.
View
setMinLines(int minlines)
Makes the TextView at least this many lines tall
TextView
setMinusSign(char value)
Sets the minus sign character.
DecimalFormatSymbols
setMinutes(int theMinutes)
This method is deprecated. This method is deprecated and must not be used. SQL Date values do not have a minutes component.
Date
setMinutes(int minute)
This method is deprecated. use Calendar.set(Calendar.MINUTE, minute)
Date
setMinWidth(int minpixels)
Makes the TextView at least this many pixels wide
TextView
setMode(int mode)
Sets the audio mode.
AudioManager
setMode(int newMode)
Change the mode of the widget.
DialerFilter
setMode(int size)
Set the QuickContact window mode.
QuickContactBadge
setMonetaryDecimalSeparator(char value)
Sets the character which represents the decimal point in a monetary value.
DecimalFormatSymbols
setMonth(int month)
This method is deprecated. use Calendar.set(Calendar.MONTH, month)
Date
setMonth(int i)
This method is deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Month component.
Time
setMonths(String[] data)
Sets the array of strings containing the full names of the months.
DateFormatSymbols
setMovementMethod(MovementMethod movement)
Sets the movement method (arrow key handler) to be used for this TextView.
TextView
setMultiChoiceItems(Cursor cursor, String isCheckedColumn, String labelColumn, DialogInterface.OnMultiChoiceClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setMultiChoiceItems(int itemsId, boolean[] checkedItems, DialogInterface.OnMultiChoiceClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setMultiChoiceItems(CharSequence[] items, boolean[] checkedItems, DialogInterface.OnMultiChoiceClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setMultiplier(int value)
Sets the multiplier which is applied to the number before formatting or after parsing.
DecimalFormat
setMuteArray(boolean[] muteArray, boolean sync)
Modifies the mute flags for the current active segment.
JetPlayer
setMuteFlag(int trackId, boolean muteFlag, boolean sync)
Mutes or unmutes a single track.
JetPlayer
setMuteFlags(int muteFlags, boolean sync)
Modifies the mute flags.
JetPlayer
setName(String name)
Set the friendly Bluetooth name of the local Bluetoth adapter.
BluetoothAdapter
setName(String name)
This method is deprecated. This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.
Plugin
setName(String name)
Changes the name to the specified name.
Rfc822Token
setName(String name)
Sets the name of a TestCase
TestCase
setName(String name)
Sets the name of the suite.
TestSuite
setName(String threadName)
Sets the name of the Thread.
Thread
setName(Principal caller, String name)
Sets the name of this ACL instance.
Acl
setNameConstraints(byte[] bytes)
Sets the criterion for the name constraints.
X509CertSelector
setNamedItem(Node arg)
Adds a node using its nodeName attribute.
NamedNodeMap
setNamedItemNS(Node arg)
Adds a node using its namespaceURI and localName.
NamedNodeMap
setNamespaceAware(boolean value)
Determines whether the factory is configured to deliver parsers that are namespace-aware.
DocumentBuilderFactory
setNamespaceAware(boolean value)
Determines whether the factory is configured to deliver parsers that are namespace-aware.
SAXParserFactory
setNamespaceAware(boolean awareness)
Specifies that the parser produced by this factory will provide support for XML namespaces.
XmlPullParserFactory
setNamespaceDeclUris(boolean value)
Controls whether namespace declaration attributes are placed into the NSDECL namespace by processName().
NamespaceSupport
setNaN(String value)
Sets the string which represents NaN.
DecimalFormatSymbols
setNanos(int n)
Sets the nanosecond value for this Timestamp.
Timestamp
setNavDump(boolean enabled)
Enables dumping the pages navigation cache to a text file.
WebSettings
setNeedClientAuth(boolean need)
Sets whether this engine must require client authentication.
SSLEngine
setNeedClientAuth(boolean need)
Sets whether server-mode connections will be configured to require client authentication.
SSLServerSocket
setNeedClientAuth(boolean need)
Sets whether this connection should require client authentication.
SSLSocket
setNeedInitialFocus(boolean flag)
Tell the WebView whether it needs to set a node to have focus when requestFocus(int, android.graphics.Rect) is called.
WebSettings
setNegativeButton(int textId, DialogInterface.OnClickListener listener)
Set a listener to be invoked when the negative button of the dialog is pressed.
AlertDialog.Builder
setNegativeButton(CharSequence text, DialogInterface.OnClickListener listener)
Set a listener to be invoked when the negative button of the dialog is pressed.
AlertDialog.Builder
setNegativeButtonText(int negativeButtonTextResId)
DialogPreference
setNegativeButtonText(CharSequence negativeButtonText)
Sets the text of the negative button of the dialog.
DialogPreference
setNegativePermissions()
Sets this ACL entry to be negative.
AclEntry
setNegativePrefix(String value)
Sets the prefix which is formatted or parsed before a negative number.
DecimalFormat
setNegativeSuffix(String value)
Sets the suffix which is formatted or parsed after a negative number.
DecimalFormat
setNetworkAvailable(boolean networkUp)
Inform WebView of the network state.
WebView
setNetworkInterface(NetworkInterface netInterface)
Sets the network interface used by this socket.
MulticastSocket
setNetworkPreference(int preference)
ConnectivityManager
setNeutralButton(int textId, DialogInterface.OnClickListener listener)
Set a listener to be invoked when the neutral button of the dialog is pressed.
AlertDialog.Builder
setNeutralButton(CharSequence text, DialogInterface.OnClickListener listener)
Set a listener to be invoked when the neutral button of the dialog is pressed.
AlertDialog.Builder
setNextException(SQLException ex)
Adds the SQLException to the end of this SQLException chain.
SQLException
setNextFocusDownId(int nextFocusDownId)
Set the id of the view to use for the next focus
View
setNextFocusLeftId(int nextFocusLeftId)
Set the id of the view to use for the next focus
View
setNextFocusRightId(int nextFocusRightId)
Set the id of the view to use for the next focus
View
setNextFocusUpId(int nextFocusUpId)
Set the id of the view to use for the next focus
View
setNextPoolable(T element)
VelocityTracker
setNextWarning(SQLWarning w)
Chains a supplied SQLWarning to this SQLWarning.
SQLWarning
setNodeValue(String nodeValue)
Sets the value of this node, depending on its type; see the table above.
Node
setNotificationMarkerPosition(int markerInFrames) AudioRecord
setNotificationMarkerPosition(int markerInFrames)
Sets the position of the notification marker.
AudioTrack
setNotificationUri(ContentResolver cr, Uri notifyUri)
Specifies a content URI to watch for changes.
AbstractCursor
setNotificationUri(ContentResolver cr, Uri uri)
Register to watch a content URI for changes.
Cursor
setNotificationUri(ContentResolver cr, Uri uri)
Register to watch a content URI for changes.
CursorWrapper
setNotifyOnChange(boolean notifyOnChange)
Control whether methods that change the list (add(T), insert(T, int), remove(T), clear()) automatically call notifyDataSetChanged().
ArrayAdapter
setNull(int parameterIndex, int sqlType)
Sets the value of a specified parameter to SQL NULL.
PreparedStatement
setNull(int parameterIndex, int sqlType)
Sets the value of the specified parameter in the RowSet command to SQL NULL.
RowSet
setNull(int paramIndex, int sqlType, String typeName)
Sets the value of a specified parameter to SQL NULL.
PreparedStatement
setNull(int parameterIndex, int sqlType, String typeName)
Sets the value of the specified parameter in the RowSet command to SQL NULL.
RowSet
setNull(String parameterName, int sqlType)
Sets the value of a specified parameter to SQL NULL.
CallableStatement
setNull(String parameterName, int sqlType, String typeName)
Sets the value of a specified parameter to be SQL NULL where the parameter type is either REF or user defined (e.g.
CallableStatement
setNullable(int columnIndex, int nullability)
Sets whether a specified column can contain SQL NULL values.
RowSetMetaData
setNumberFormat(NumberFormat format)
Sets the NumberFormat used by this date format.
DateFormat
setNumColumns(int columnNum)
Set number of Columns
CursorWindow
setNumColumns(int numColumns)
Set the number of columns in the grid
GridView
setNumericShortcut(char numericChar)
Change the numeric shortcut associated with this item.
MenuItem
setNumStars(int numStars)
Sets the number of stars to show.
RatingBar
setObject(int parameterIndex, Object theObject)
Sets the value of a specified parameter using a supplied object.
PreparedStatement
setObject(int parameterIndex, Object theObject)
Sets the value of the specified parameter in the RowSet command to a supplied Java object.
RowSet
setObject(int parameterIndex, Object theObject, int targetSqlType)
Sets the value of a specified parameter using a supplied object.
PreparedStatement
setObject(int parameterIndex, Object theObject, int targetSqlType)
Sets the value of the specified parameter in the RowSet command to a supplied Java object.
RowSet
setObject(int parameterIndex, Object theObject, int targetSqlType, int scale)
Sets the value of a specified parameter using a supplied object.
PreparedStatement
setObject(int parameterIndex, Object theObject, int targetSqlType, int scale)
Sets the value of the specified parameter in the RowSet command to a supplied Java object.
RowSet
setObject(Object value)
Sets the value of the structured type that this Ref references to a supplied object.
Ref
setObject(String parameterName, Object theObject)
Sets the value of a specified parameter using a supplied object.
CallableStatement
setObject(String parameterName, Object theObject, int targetSqlType)
Sets the value of a specified parameter using a supplied object.
CallableStatement
setObject(String parameterName, Object theObject, int targetSqlType, int scale)
Sets the value of a specified parameter using a supplied object.
CallableStatement
setOffset(int newOffset)
Points the iterator at the collation element associated with the character in the source string which is found at the supplied offset.
CollationElementIterator
setOffset(int newValue)
Sets this field's offset in the object.
ObjectStreamField
(protected)
setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener listener)
Register a callback to be invoked when the status of a network stream's buffer has changed.
MediaPlayer
setOnCancelListener(SearchManager.OnCancelListener listener)
Set or clear the callback that will be invoked whenever the search UI is canceled.
SearchManager
setOnCancelListener(DialogInterface.OnCancelListener onCancelListener)
Sets the callback that will be called if the dialog is canceled.
AlertDialog.Builder
setOnCancelListener(DialogInterface.OnCancelListener listener)
Set a listener to be invoked when the dialog is canceled.
Dialog
setOnCheckedChangeListener(CompoundButton.OnCheckedChangeListener listener)
Register a callback to be invoked when the checked state of this button changes.
CompoundButton
setOnCheckedChangeListener(RadioGroup.OnCheckedChangeListener listener)

Register a callback to be invoked when the checked radio button changes in this group.

RadioGroup
setOnChildClickListener(ExpandableListView.OnChildClickListener onChildClickListener)
ExpandableListView
setOnChronometerTickListener(Chronometer.OnChronometerTickListener listener)
Sets the listener to be called when the chronometer changes.
Chronometer
setOnClickListener(View.OnClickListener l)
Register a callback to be invoked when this view is clicked.
AdapterView
setOnClickListener(View.OnClickListener listener)
Register a callback to be invoked when this view is clicked.
AutoCompleteTextView
setOnClickListener(View.OnClickListener l)
Register a callback to be invoked when this view is clicked.
View
setOnClickPendingIntent(int viewId, PendingIntent pendingIntent)
Equivalent to calling setOnClickListener(android.view.View.OnClickListener) to launch the provided PendingIntent.
RemoteViews
setOnCompletionListener(MediaPlayer.OnCompletionListener listener)
Register a callback to be invoked when the end of a media source has been reached during playback.
MediaPlayer
setOnCompletionListener(MediaPlayer.OnCompletionListener l)
Register a callback to be invoked when the end of a media file has been reached during playback.
VideoView
setOnCreateContextMenuListener(View.OnCreateContextMenuListener l)
Register a callback to be invoked when the context menu for this view is being built.
View
setOnDismissListener(SearchManager.OnDismissListener listener)
Set or clear the callback that will be invoked whenever the search UI is dismissed.
SearchManager
setOnDismissListener(DialogInterface.OnDismissListener listener)
Set a listener to be invoked when the dialog is dismissed.
Dialog
setOnDismissListener(PopupWindow.OnDismissListener onDismissListener)
Sets the listener to be called when the window is dismissed.
PopupWindow
setOnDoubleTapListener(GestureDetector.OnDoubleTapListener onDoubleTapListener)
Sets the listener which will be called for double-tap and related gestures.
GestureDetector
setOnDrawerCloseListener(SlidingDrawer.OnDrawerCloseListener onDrawerCloseListener)
Sets the listener that receives a notification when the drawer becomes close.
SlidingDrawer
setOnDrawerOpenListener(SlidingDrawer.OnDrawerOpenListener onDrawerOpenListener)
Sets the listener that receives a notification when the drawer becomes open.
SlidingDrawer
setOnDrawerScrollListener(SlidingDrawer.OnDrawerScrollListener onDrawerScrollListener)
Sets the listener that receives a notification when the drawer starts or ends a scroll.
SlidingDrawer
setOnEditorActionListener(TextView.OnEditorActionListener l)
Set a special listener to be called when an action is performed on the text view.
TextView
setOnErrorListener(MediaPlayer.OnErrorListener listener)
Register a callback to be invoked when an error has happened during an asynchronous operation.
MediaPlayer
setOnErrorListener(MediaPlayer.OnErrorListener l)
Register a callback to be invoked when an error occurs during playback or setup.
VideoView
setOnErrorListener(MediaRecorder.OnErrorListener l)
Register a callback to be invoked when an error occurs while recording.
MediaRecorder
setOneShot(boolean oneShot)
Sets whether the animation should play once or repeat.
AnimationDrawable
setOneShotPreviewCallback(Camera.PreviewCallback cb)
Installs a callback to retrieve a single preview frame, after which the callback is cleared.
Camera
setOnFocusChangeListener(View.OnFocusChangeListener l)
Register a callback to be invoked when focus of this view changed.
View
setOnGroupClickListener(ExpandableListView.OnGroupClickListener onGroupClickListener)
ExpandableListView
setOnGroupCollapseListener(ExpandableListView.OnGroupCollapseListener onGroupCollapseListener)
ExpandableListView
setOnGroupExpandListener(ExpandableListView.OnGroupExpandListener onGroupExpandListener)
ExpandableListView
setOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener listener)
Register a callback to be invoked when a child is added to or removed from this view.
RadioGroup
setOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener listener)
Register a callback to be invoked when a child is added to or removed from this view.
TableLayout
setOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener listener)
Register a callback to be invoked when a child is added to or removed from this view.
TableRow
setOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener listener)
Register a callback to be invoked when a child is added to or removed from this view.
ViewGroup
setOnInflateListener(ViewStub.OnInflateListener inflateListener)
Specifies the inflate listener to be notified after this ViewStub successfully inflated its layout resource.
ViewStub
setOnInfoListener(MediaPlayer.OnInfoListener listener)
Register a callback to be invoked when an info/warning is available.
MediaPlayer
setOnInfoListener(MediaRecorder.OnInfoListener listener)
Register a callback to be invoked when an informational event occurs while recording.
MediaRecorder
setOnItemClickListener(AdapterView.OnItemClickListener listener)
Register a callback to be invoked when an item in this AdapterView has been clicked.
AdapterView
setOnItemClickListener(AdapterView.OnItemClickListener l)

Sets the listener that will be notified when the user clicks an item in the drop down list.

AutoCompleteTextView
setOnItemClickListener(AdapterView.OnItemClickListener l)
Register a callback to be invoked when an item has been clicked and the caller prefers to receive a ListView-style position instead of a group and/or child position.
ExpandableListView
setOnItemClickListener(AdapterView.OnItemClickListener l)

A spinner does not support item click events.

Spinner
setOnItemLongClickListener(AdapterView.OnItemLongClickListener listener)
Register a callback to be invoked when an item in this AdapterView has been clicked and held
AdapterView
setOnItemSelectedListener(AdapterView.OnItemSelectedListener listener)
Register a callback to be invoked when an item in this AdapterView has been selected.
AdapterView
setOnItemSelectedListener(AdapterView.OnItemSelectedListener listener)
Sets a listener to be invoked when an item in the list is selected.
AlertDialog.Builder
setOnItemSelectedListener(AdapterView.OnItemSelectedListener l)

Sets the listener that will be notified when the user selects an item in the drop down list.

AutoCompleteTextView
setOnKeyboardActionListener(KeyboardView.OnKeyboardActionListener listener)
KeyboardView
setOnKeyListener(DialogInterface.OnKeyListener onKeyListener)
Sets the callback that will be called if a key is dispatched to the dialog.
AlertDialog.Builder
setOnKeyListener(DialogInterface.OnKeyListener onKeyListener)
Sets the callback that will be called if a key is dispatched to the dialog.
Dialog
setOnKeyListener(View.OnKeyListener l)
Register a callback to be invoked when a key is pressed in this view.
View
setOnLongClickListener(View.OnLongClickListener l)
Register a callback to be invoked when this view is clicked and held.
View
setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener menuItemClickListener)
Set a custom listener for invocation of this menu item.
MenuItem
setOnPreferenceChangeListener(Preference.OnPreferenceChangeListener onPreferenceChangeListener)
Sets the callback to be invoked when this Preference is changed by the user (but before the internal state has been updated).
Preference
setOnPreferenceClickListener(Preference.OnPreferenceClickListener onPreferenceClickListener)
Sets the callback to be invoked when this Preference is clicked.
Preference
setOnPreparedListener(MediaPlayer.OnPreparedListener listener)
Register a callback to be invoked when the media source is ready for playback.
MediaPlayer
setOnPreparedListener(MediaPlayer.OnPreparedListener l)
Register a callback to be invoked when the media file is loaded and ready to go.
VideoView
setOnRatingBarChangeListener(RatingBar.OnRatingBarChangeListener listener)
Sets the listener to be called when the rating changes.
RatingBar
setOnScrollListener(AbsListView.OnScrollListener l)
Set the listener that will receive notifications every time the list scrolls.
AbsListView
setOnSeekBarChangeListener(SeekBar.OnSeekBarChangeListener l)
Sets a listener to receive notifications of changes to the SeekBar's progress level.
SeekBar
setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener listener)
Register a callback to be invoked when a seek operation has been completed.
MediaPlayer
setOnTabChangedListener(TabHost.OnTabChangeListener l)
Register a callback to be invoked when the selected state of any of the items in this list changes
TabHost
setOnTimeChangedListener(TimePicker.OnTimeChangedListener onTimeChangedListener)
Set the callback that indicates the time has been adjusted by the user.
TimePicker
setOnTouchListener(View.OnTouchListener l)
Register a callback to be invoked when a touch event is sent to this view.
View
setOnUtteranceCompletedListener(TextToSpeech.OnUtteranceCompletedListener listener)
Sets the OnUtteranceCompletedListener that will fire when an utterance completes.
TextToSpeech
setOnVideoSizeChangedListener(MediaPlayer.OnVideoSizeChangedListener listener)
Register a callback to be invoked when the video size is known or updated.
MediaPlayer
setOnZoomInClickListener(View.OnClickListener listener)
ZoomControls
setOnZoomListener(ZoomButtonsController.OnZoomListener listener)
Sets the ZoomButtonsController.OnZoomListener listener that receives callbacks to zoom.
ZoomButtonsController
setOnZoomOutClickListener(View.OnClickListener listener)
ZoomControls
setOOBInline(boolean oobinline)
Sets the state of the SocketOptions.SO_OOBINLINE for this socket.
Socket
setOperatorName(String longName, String shortName, String numeric)
ServiceState
setOption(int optID, Object val)
Sets the value for the specified socket option.
DatagramSocketImpl
setOption(int optID, Object val)
Sets the value for the specified socket option.
SocketImpl
setOption(int optID, Object val)
Sets the value of the specified socket option.
SocketOptions
setOrder(int order)
Sets the order used to compute the delay of each child's animation.
LayoutAnimationController
setOrder(int order)
Sets the order of this Preference with respect to other Preference objects on the same level.
Preference
setOrderedHint(boolean isOrdered)
For internal use, sets the hint about whether this BroadcastReceiver is running in ordered mode.
BroadcastReceiver
setOrderingAsAdded(boolean orderingAsAdded)
Whether to order the Preference children of this group as they are added.
PreferenceGroup
setOrientation(int orientation)
GestureOverlayView
setOrientation(int orientation)
Should the layout be a column or a row.
LinearLayout
setOrientation(int display, int orientation)
set the orientation of the given display.
Surface
setOrientationStyle(int style)
GestureLibrary
setOrientationStyle(int style)
Specify how the gesture library will handle orientation.
GestureStore
setOut(PrintStream newOut)
Sets the standard output stream to the given user defined output stream.
System
setOutAnimation(Context context, int resourceID)
Specifies the animation used to animate a View that exit the screen.
ViewAnimator
setOutAnimation(Animation outAnimation)
Specifies the animation used to animate a View that exit the screen.
ViewAnimator
setOutput(OutputStream os, String encoding)
Set to use binary output stream with given encoding.
XmlSerializer
setOutput(Writer writer)
Set the output to the given writer.
XmlSerializer
setOutputFile(FileDescriptor fd)
Pass in the file descriptor of the file to be written.
MediaRecorder
setOutputFile(String path)
Sets the path of the output file to be produced.
MediaRecorder
setOutputFormat(int output_format)
Sets the format of the output file produced during recording.
MediaRecorder
setOutputStream(OutputStream os)
Sets the output stream this handler writes to.
StreamHandler
(protected)
setOutsideTouchable(boolean touchable)

Controls whether the pop-up will be informed of touch events outside of its window.

PopupWindow
setOwnerActivity(Activity activity)
Sets the Activity that owns this dialog.
Dialog
setPackage(String packageName)
(Usually optional) Set an explicit application package name that limits the components this Intent will resolve to.
Intent
setPackageAssertionStatus(String pname, boolean enable)
Sets the assertion status of the package with the specified name.
ClassLoader
setPackageName(CharSequence packageName)
Sets the package name of the source.
AccessibilityEvent
setPadding(Rect padding)
Sets padding for this shape, defined by a Rect object.
ShapeDrawable
setPadding(int left, int top, int right, int bottom)
Sets the padding.
CheckedTextView
setPadding(int left, int top, int right, int bottom)
Sets padding for the shape.
ShapeDrawable
setPadding(int left, int top, int right, int bottom)
Sets the padding.
TextView
setPadding(int left, int top, int right, int bottom)
Sets the padding.
View
setPadding(int left, int top, int right, int bottom)
Sets the padding.
ViewGroup
setPageSize(long numBytes)
Sets the database page size.
SQLiteDatabase
setPaint(Paint p)
NinePatch
setPaintFlags(int flags)
Sets flags on the Paint being used to display the text and reflows the text if they are different from the old flags.
TextView
setParameter(String name, Object value)
BasicHttpParams
setParameter(String name, Object value)
Does not set a parameter.
ClientParamsStack
setParameter(String name, Object value)
Sets the parameter in the local collection.
DefaultedHttpParams
setParameter(String name, Object value)
Assigns the value to the parameter with the given name.
HttpParams
setParameter(String param, Object value)
This method is deprecated. Use setParameter(AlgorithmParameterSpec)
Signature
setParameter(AlgorithmParameterSpec params)
Sets the specified AlgorithmParameterSpec.
Signature
setParameters(Camera.Parameters params)
Sets the Parameters for pictures from this Camera service.
Camera
setParameters(Object[] parameters)
Sets the parameters.
LogRecord
setParameters(String keyValuePairs)
Sets a variable number of parameter values to audio hardware.
AudioManager
setParameters(String[] names, Object value)
Assigns the value to all the parameter with the given names
BasicHttpParams
setParams(HttpParams params)
Replaces the parameters.
AbstractHttpClient
setParams(HttpParams params)
Provides parameters to be used for the processing of this message.
AbstractHttpMessage
setParams(HttpParams params)
Provides parameters to be used for the processing of this message.
HttpMessage
setParams(HttpParams params)
HttpService
setParcelableData(Parcelable parcelableData)
Sets the Parcelable data of the event.
AccessibilityEvent
setParent(Logger parent)
Sets the parent of this logger in the namespace.
Logger
setParent(ResourceBundle bundle)
Sets the parent resource bundle of this ResourceBundle.
ResourceBundle
(protected)
setParent(XMLReader parent)
Set the parent reader.
XMLFilter
setParent(XMLReader parent)
Set the parent reader.
XMLFilterImpl
setParseBigDecimal(boolean newValue)
Sets the behaviour of the parse method.
DecimalFormat
setParseIntegerOnly(boolean value)
Sets the flag that indicates whether numbers will be parsed as integers.
DecimalFormat
setParseIntegerOnly(boolean value)
Specifies if this number format should parse numbers only as integers or else as any kind of number.
NumberFormat
setPassword(Account account, String password)
Sets the password for the account.
AccountManager
setPassword(boolean isPassword)
Sets if the source is a password field.
AccessibilityEvent
setPassword(char[] password)
Sets the password.
PasswordCallback
setPassword(String password)
Sets the database Password for this RowSet.
RowSet
setPath(Path path, Region clip)
Set the region to the area described by the path and clip.
Region
setPath(Path path, boolean forceClosed)
Assign a new path, or null to have none.
PathMeasure
setPath(String path)
Sets the path attribute.
BasicClientCookie
setPath(String path)
This method is deprecated. This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.
Plugin
setPath(String path)
Sets the path attribute.
SetCookie
setPathEffect(PathEffect effect)
Set or clear the patheffect object.
Paint
setPathPermissions(PathPermission[] permissions)
Change the path-based permission required to read and/or write data in the content provider.
ContentProvider
(protected)
setPathToNames(Collection<List<?>> names)
Sets the criterion for the pathToNames constraint.
X509CertSelector
setPatternSeparator(char value)
Sets the character which separates the positive and negative patterns in a format pattern.
DecimalFormatSymbols
setPercent(char value)
Sets the percent character.
DecimalFormatSymbols
setPerformancePreferences(int connectionTime, int latency, int bandwidth)
Sets performance preferences for connection time, latency and bandwidth.
ServerSocket
setPerformancePreferences(int connectionTime, int latency, int bandwidth)
Sets performance preferences for connectionTime, latency and bandwidth.
Socket
setPerformancePreferences(int connectionTime, int latency, int bandwidth)
Sets performance preference for connection time, latency and bandwidth.
SocketImpl
(protected)
setPerMill(char value)
Sets the per mill sign character.
DecimalFormatSymbols
setPersistent(boolean isPersistent)
Control whether this activity is required to be persistent.
Activity
setPersistent(boolean persistent)
Sets whether this Preference is persistent.
Preference
setPersistentDrawingCache(int drawingCacheToKeep)
Indicates what types of drawing caches should be kept in memory after they have been created.
ViewGroup
setPhone(String phone)
Sets the phone number associated with this address.
Address
setPhotoData(ContentResolver cr, Uri person, byte[] data)
This method is deprecated. see ContactsContract
Contacts.People
setPicture(Picture picture)
Associate a picture with this drawable.
PictureDrawable
setPictureFormat(int pixel_format)
Sets the image format for pictures.
Camera.Parameters
setPictureListener(WebView.PictureListener listener)
Set the Picture listener.
WebView
setPictureSize(int width, int height)
Sets the dimensions for pictures.
Camera.Parameters
setPitch(float pitch)
Sets the speech pitch for the TextToSpeech engine.
TextToSpeech
setPixel(int x, int y, int color)
Write the specified Color into the bitmap (assuming it is mutable) at the x,y coordinate.
Bitmap
setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height)
Replace pixels in the bitmap with the colors in the array.
Bitmap
setPlaybackHeadPosition(int positionInFrames)
Sets the playback head position.
AudioTrack
setPlaybackPositionUpdateListener(AudioTrack.OnPlaybackPositionUpdateListener listener)
Sets the listener the AudioTrack notifies when a previously set marker is reached or for each periodic playback head position update.
AudioTrack
setPlaybackPositionUpdateListener(AudioTrack.OnPlaybackPositionUpdateListener listener, Handler handler)
Sets the listener the AudioTrack notifies when a previously set marker is reached or for each periodic playback head position update.
AudioTrack
setPlaybackRate(int sampleRateInHz)
Sets the playback sample rate for this track.
AudioTrack
setPluginsEnabled(boolean flag)
Tell the WebView to enable plugins.
WebSettings
setPluginsPath(String pluginsPath)
TODO: need to add @Deprecated
WebSettings
setPolicy(Policy policy)
Sets the system wide policy.
Policy
setPolicy(Set<String> policies)
Sets the criterion for the policy constraint.
X509CertSelector
setPolicyMappingInhibited(boolean policyMappingInhibited)
Sets whether policy mapping is to be inhibited.
PKIXParameters
setPolicyQualifiersRejected(boolean policyQualifiersRejected)
Sets whether certificates should be rejected that include policy qualifiers in a certificate policy extension that is marked as critical.
PKIXParameters
setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount)
Set the matrix such that the specified src points would map to the specified dst points.
Matrix
setPopupOffset(int x, int y)
KeyboardView
setPopupParent(View v)
KeyboardView
setPort(int aPort)
Sets the port number of the target host of this datagram packet.
DatagramPacket
setPorts(int[] ports)
Sets the Port attribute.
BasicClientCookie2
setPorts(int[] ports)
Sets the Port attribute.
SetCookie2
setPosition(int x, int y)
Surface
setPositionNotificationPeriod(int periodInFrames) AudioRecord
setPositionNotificationPeriod(int periodInFrames)
Sets the period for the periodic notification event.
AudioTrack
setPositiveButton(int textId, DialogInterface.OnClickListener listener)
Set a listener to be invoked when the positive button of the dialog is pressed.
AlertDialog.Builder
setPositiveButton(CharSequence text, DialogInterface.OnClickListener listener)
Set a listener to be invoked when the positive button of the dialog is pressed.
AlertDialog.Builder
setPositiveButtonText(int positiveButtonTextResId)
DialogPreference
setPositiveButtonText(CharSequence positiveButtonText)
Sets the text of the positive button of the dialog.
DialogPreference
setPositivePrefix(String value)
Sets the prefix which is formatted or parsed before a positive number.
DecimalFormat
setPositiveSuffix(String value)
Sets the suffix which is formatted or parsed after a positive number.
DecimalFormat
setPostalCode(String postalCode)
Sets the postal code of the address to the given String, which may be null.
Address
setPowerRequirement(int level)
Indicates the desired maximum power level.
Criteria
setPrecision(int columnIndex, int thePrecision)
Sets the number of decimal digits for a specified column in the RowSet.
RowSetMetaData
setPreference(String key, String value)
BaseTestRunner
setPreferences(Properties preferences)
BaseTestRunner
(protected)
setPreferenceScreen(PreferenceScreen preferenceScreen)
Sets the root of the preference hierarchy that this activity is showing.
PreferenceActivity
setPreferFirstRepeatedParameter(boolean preferFirstRepeatedParameter)
Set whether or not the first occurrence of a repeated parameter is preferred.
UrlQuerySanitizer
setPrefix(String prefix)
Sets the namespace prefix of this node.
Node
setPrefix(String prefix, String namespace)
Binds the given prefix to the given namespace.
XmlSerializer
setPremises(String premises)
Sets the premises of the address to the given String, which may be null.
Address
setPressed(boolean pressed)
Sets the pressed that for this view.
View
setPreviewCallback(Camera.PreviewCallback cb)
Can be called at any time to instruct the camera to use a callback for each preview frame in addition to displaying it.
Camera
setPreviewDisplay(Surface sv)
Sets a Surface to show a preview of recorded media (video).
MediaRecorder
setPreviewDisplay(SurfaceHolder holder)
Sets the SurfaceHolder to be used for a picture preview.
Camera
setPreviewEnabled(boolean previewEnabled)
Enables or disables the key feedback popup.
KeyboardView
setPreviewFormat(int pixel_format)
Sets the image format for preview pictures.
Camera.Parameters
setPreviewFrameRate(int fps)
Sets the rate at which preview frames are received.
Camera.Parameters
setPreviewSize(int width, int height)
Sets the dimensions for preview pictures.
Camera.Parameters
setPrevNextListeners(View.OnClickListener next, View.OnClickListener prev)
MediaController
setPrincipal(Principal user)
Set the principal for this ACL entry.
AclEntry
setPriority(int priority)
Modify priority of this filter.
IntentFilter
setPriority(int priority)
Sets the priority of the Thread.
Thread
setPriority(int streamID, int priority)
Change stream priority.
SoundPool
setPrivateImeOptions(String type)
Set the private content type of the text, which is the EditorInfo.privateImeOptions field that will be filled in when creating an input connection.
TextView
setPrivateKeyValid(Date privateKeyValid)
Sets the criterion for the validity date of the private key.
X509CertSelector
setProgress(int progress)
Sets the progress for the progress bars in the title.
Activity
setProgress(int progress)

Set the current progress to the specified value.

ProgressBar
setProgress(int value)
ProgressDialog
setProgressBar(int viewId, int max, int progress, boolean indeterminate)
Equivalent to calling ProgressBar.setMax, ProgressBar.setProgress, and ProgressBar.setIndeterminate If indeterminate is true, then the values for max and progress are ignored.
RemoteViews
setProgressBarIndeterminate(boolean indeterminate)
Sets whether the horizontal progress bar in the title should be indeterminate (the circular is always indeterminate).
Activity
setProgressBarIndeterminateVisibility(boolean visible)
Sets the visibility of the indeterminate progress bar in the title.
Activity
setProgressBarVisibility(boolean visible)
Sets the visibility of the progress bar in the title.
Activity
setProgressDrawable(Drawable d)

Define the drawable used to draw the progress bar in progress mode.

ProgressBar
setProgressDrawable(Drawable d)
ProgressDialog
setProgressStyle(int style)
ProgressDialog
setProjectionMap(Map<StringString> columnMap)
Sets the projection map for the query.
SQLiteQueryBuilder
setPrompt(CharSequence prompt)
Sets the prompt to display when the dialog is shown.
Spinner
setPromptId(int promptId)
Sets the prompt to display when the dialog is shown.
Spinner
setPropagationId(Object propagationId)
Sets the propagationId object.
PropertyChangeEvent
setProperties(Properties p)
Sets all system properties.
System
setProperty(String name, Object value)
Set the value of a property.
Driver
setProperty(String name, Object value)
Set a parser property.
ParserAdapter
setProperty(String name, Object value)
Sets a property of the underlying SAX XMLReader.
SAXParser
setProperty(String name, Object value)
Set the value of a property.
XMLFilterImpl
setProperty(String name, Object value)
Set the value of a property.
XMLReader
setProperty(String name, Object value)
Set the value of a property.
XmlPullParser
setProperty(String name, Object value)
Set the value of a property.
XmlSerializer
setProperty(String name, String value)
Maps the specified key to the specified value.
Properties
setProperty(String key, String datnum)
Sets the value of the specified security property.
Security
setProperty(String prop, String value)
Sets the value of a particular system property.
System
setProtocolVersion(ProtocolVersion version)
RequestWrapper
setProvider(String provider)
Sets the name of the provider that generated this fix.
Location
setProximityCorrectionEnabled(boolean enabled)
When enabled, calls to onKey(int, int[]) will include key codes for adjacent keys.
KeyboardView
setProxyAuthenticationHandler(AuthenticationHandler proxyAuthHandler)
AbstractHttpClient
setProxySelector(ProxySelector prosel)
Sets the proxy selector to use.
ProxySelectorRoutePlanner
setPublicId(String publicId)
Set the public identifier for this input source.
InputSource
setPublicId(String publicId)
Set the public identifier for this locator.
LocatorImpl
setPublicKey(PublicKey key)
Sets the specified PublicKey to this Identity.
Identity
setPushLevel(Level newLevel)
Set the push level.
MemoryHandler
setQName(int index, String qName)
Set the qualified name of a specific attribute.
AttributesImpl
setQueryTimeout(int seconds)
Gets the timeout for the driver when a query operation is executed.
RowSet
setQueryTimeout(int seconds)
Sets the timeout, in seconds, for queries - how long the driver will allow for completion of a statement execution.
Statement
setQwertyMode(boolean isQwerty)
Control whether the menu should be running in qwerty mode (alphabetic shortcuts) or 12-key mode (numeric shortcuts).
Menu
setRasterizer(Rasterizer rasterizer)
Set or clear the rasterizer object.
Paint
setRate(int streamID, float rate)
Change playback rate.
SoundPool
setRating(float rating)
Sets the rating (the number of stars filled).
RatingBar
setRawInputType(int type)
Directly change the content type integer of the text view, without modifying any other state.
TextView
setRawOffset(int offset)
Sets the offset for standard time from GMT for this SimpleTimeZone.
SimpleTimeZone
setRawOffset(int offset)
Sets the offset for standard time from GMT for this TimeZone.
TimeZone
setReadOnly()
Marks this file or directory to be read-only as defined by the operating system.
File
setReadOnly()
Marks this PermissionCollection as read only, so that no new permissions can be added to it.
PermissionCollection
setReadOnly()
Prevents from modifications being done to the credentials and Principal sets.
Subject
setReadOnly(boolean readOnly)
Sets this connection to read-only mode.
Connection
setReadOnly(boolean readOnly)
Sets whether the RowSet is read-only or updatable.
RowSet
setReadPermission(String permission)
Change the permission required to read data from the content provider.
ContentProvider
(protected)
setReadTimeout(int timeout)
Sets the timeout value in milliseconds for reading from the input stream of an established connection to the resource.
URLConnection
setReasonPhrase(String reason)
Updates the status line of this response with a new reason phrase.
BasicHttpResponse
setReasonPhrase(String reason)
Updates the status line of this response with a new reason phrase.
HttpResponse
setReceiveBufferSize(int size)
Sets the socket receive buffer size.
DatagramSocket
setReceiveBufferSize(int size)
LocalSocket
setReceiveBufferSize(int size)
Sets the server socket receive buffer size SocketOptions.SO_RCVBUF.
ServerSocket
setReceiveBufferSize(int size)
Sets the receive buffer size of this socket.
Socket
setRecordPositionUpdateListener(AudioRecord.OnRecordPositionUpdateListener listener)
Sets the listener the AudioRecord notifies when a previously set marker is reached or for each periodic record head position update.
AudioRecord
setRecordPositionUpdateListener(AudioRecord.OnRecordPositionUpdateListener listener, Handler handler)
Sets the listener the AudioRecord notifies when a previously set marker is reached or for each periodic record head position update.
AudioRecord
setRectToRect(RectF src, RectF dst, Matrix.ScaleToFit stf)
Set the matrix to the scale and translate values that map the source rectangle to the destination rectangle, returning true if the the result can be represented.
Matrix
setRecyclerListener(AbsListView.RecyclerListener listener)
Sets the recycler listener to be notified whenever a View is set aside in the recycler for later reuse.
AbsListView
setRedirectHandler(RedirectHandler redirectHandler)
AbstractHttpClient
setRedirecting(HttpParams params, boolean value)
HttpClientParams
setRef(int parameterIndex, Ref theRef)
Sets the value of a specified parameter to a supplied REF() value.
PreparedStatement
setRef(int parameterIndex, Ref theRef)
Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Ref.
RowSet
setReferenceCounted(boolean value)
Sets whether this WakeLock is ref counted.
PowerManager.WakeLock
setReferenceCounted(boolean refCounted)
Controls whether this is a reference-counted or non-reference- counted MulticastLock.
WifiManager.MulticastLock
setReferenceCounted(boolean refCounted)
Controls whether this is a reference-counted or non-reference-counted WifiLock.
WifiManager.WifiLock
setRejectedExecutionHandler(RejectedExecutionHandler handler)
Sets a new handler for unexecutable tasks.
ThreadPoolExecutor
setRejectRelativeRedirect(boolean reject)
ClientParamBean
setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
Sets the ConnectionReleaseTrigger callback that can be used to abort an active connection.
AbortableHttpRequest
setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
Sets the ConnectionReleaseTrigger callback that can be used to abort an active connection.
HttpRequestBase
setRemovedCount(int removedCount)
Sets the number of removed characters.
AccessibilityEvent
setRenderer(GLSurfaceView.Renderer renderer)
Set the renderer associated with this view.
GLSurfaceView
setRenderMode(int renderMode)
Set the rendering mode.
GLSurfaceView
setRenderPriority(WebSettings.RenderPriority priority)
Set the priority of the Render thread.
WebSettings
setRepeatCount(int repeatCount)
Sets how many times the animation should be repeated.
Animation
setRepeating(int type, long triggerAtTime, long interval, PendingIntent operation)
Schedule a repeating alarm.
AlarmManager
setRepeatMirror(float repeatCount, boolean mirror)
Set a repeat count (which may be fractional) for the interpolator, and whether the interpolator should mirror its repeats.
Interpolator
setRepeatMode(int repeatMode)
Defines what this animation should do when it reaches the end.
Animation
setRepeatMode(int repeatMode)
Defines what this animation should do when it reaches the end.
AnimationSet
setRequestedOrientation(int requestedOrientation)
Change the desired orientation of this activity.
Activity
setRequestMethod(String method)
Sets the request command which will be sent to the remote HTTP server.
HttpURLConnection
setRequestProperty(String field, String newValue)
Sets the value of the specified request header field.
URLConnection
setResource(int resid)
Change the current system wallpaper to the bitmap in the given resource.
WallpaperManager
setResourceBundle(ResourceBundle resourceBundle)
Sets the resource bundle used to localize the raw message during formatting.
LogRecord
setResourceBundleName(String resourceBundleName)
Sets the name of the resource bundle.
LogRecord
setResponseFactory(HttpResponseFactory responseFactory)
HttpService
setResult(int resultCode)
Call this to set the result that your activity will return to its caller.
Activity
setResult(int resultCode, Intent data)
Call this to set the result that your activity will return to its caller.
Activity
setResult(int code, String data, Bundle extras)
Change all of the result data returned from this broadcasts; only works with broadcasts sent through Context.sendOrderedBroadcast.
BroadcastReceiver
setResultCode(int code)
Change the current result code of this broadcast; only works with broadcasts sent through Context.sendOrderedBroadcast.
BroadcastReceiver
setResultData(String data)
Change the current result data of this broadcast; only works with broadcasts sent through Context.sendOrderedBroadcast.
BroadcastReceiver
setResultExtras(Bundle extras)
Change the current result extras of this broadcast; only works with broadcasts sent through Context.sendOrderedBroadcast.
BroadcastReceiver
setReuseAddress(boolean reuse)
Sets the socket option SocketOptions.SO_REUSEADDR.
DatagramSocket
setReuseAddress(boolean reuse)
Sets the value for the socket option SocketOptions.SO_REUSEADDR.
ServerSocket
setReuseAddress(boolean reuse)
Sets the state of the SocketOptions.SO_REUSEADDR for this socket.
Socket
setReuseStrategy(ConnectionReuseStrategy reuseStrategy)
AbstractHttpClient
setRevocationEnabled(boolean revocationEnabled)
Sets whether the default revocation checking mechanism of the underlying service provider should be used.
PKIXParameters
setRGB2YUV()
Set the matrix to convert RGB to YUV
ColorMatrix
setRingerMode(int ringerMode)
Sets the ringer mode.
AudioManager
setRingtoneType(int type)
Sets the sound type(s) that are shown in the picker.
RingtonePreference
setRoaming(boolean roaming)
ServiceState
setRotate(float degrees)
Set the matrix to rotate about (0,0) by the specified number of degrees.
Matrix
setRotate(float degrees, float px, float py)
Set the matrix to rotate by the specified number of degrees, with a pivot point at (px, py).
Matrix
setRotate(int axis, float degrees)
ColorMatrix
setRotateEulerM(float[] rm, int rmOffset, float x, float y, float z)
Converts Euler angles to a rotation matrix
Matrix
setRotateM(float[] rm, int rmOffset, float a, float x, float y, float z)
Rotates matrix m by angle a (in degrees) around the axis (x, y, z)
Matrix
setRotation(int rotation)
Sets the orientation of the device in degrees.
Camera.Parameters
setRoutePlanner(HttpRoutePlanner routePlanner)
AbstractHttpClient
setRouting(int mode, int routes, int mask)
This method is deprecated. Do not set audio routing directly, use setSpeakerphoneOn(), setBluetoothScoOn() methods instead.
AudioManager
setRowDelay(float rowDelay)
Sets the delay, as a fraction of the animation duration, by which the children's animations are offset from one row to the other.
GridLayoutAnimationController
setRssi(int rssi)
This method is deprecated. Set the signal strength of the cell. NeighboringCellInfo is a one time shot for the neighboring cells based on the radio network type at that moment. It shouldn't be changed after creation.
NeighboringCellInfo
setSansSerifFontFamily(String font)
Set the sans-serif font family name.
WebSettings
setSaturation(float sat)
Set the matrix to affect the saturation of colors.
ColorMatrix
setSaveEnabled(boolean enabled)
Controls whether the saving of this view's state is enabled (that is, whether its onSaveInstanceState() method will be called).
View
setSaveFormData(boolean save)
Store whether the WebView is saving form data.
WebSettings
setSavePassword(boolean save)
Store whether the WebView is saving password.
WebSettings
setSavepoint()
Creates an unnamed Savepoint in the current transaction.
Connection
setSavepoint(String name)
Creates a named Savepoint in the current transaction.
Connection
setScale(float sx, float sy)
Set the matrix to scale by sx and sy.
Matrix
setScale(float rScale, float gScale, float bScale, float aScale)
Set this colormatrix to scale by the specified values.
ColorMatrix
setScale(float sx, float sy, float px, float py)
Set the matrix to scale by sx and sy, with a pivot point at (px, py).
Matrix
setScale(int newScale)
Returns a new BigDecimal instance with the specified scale.
BigDecimal
setScale(int newScale, int roundingMode)
Returns a new BigDecimal instance with the specified scale.
BigDecimal
setScale(int columnIndex, int theScale)
Declares how many decimal digits there should be after a decimal point for the column specified by columnIndex.
RowSetMetaData
setScale(int newScale, RoundingMode roundingMode)
Returns a new BigDecimal instance with the specified scale.
BigDecimal
setScaleType(ImageView.ScaleType scaleType)
Controls how the image should be resized or moved to match the size of this ImageView.
ImageView
setSceneMode(String value)
Sets the scene mode.
Camera.Parameters
setSchemaName(int columnIndex, String theSchemaName)
Sets the schema name for a specified column in the RowSet.
RowSetMetaData
setScreenOnWhilePlaying(boolean screenOn)
Control whether we should use the attached SurfaceHolder to keep the screen on while video playback is occurring.
MediaPlayer
setScrollbarFadingEnabled(boolean fadeScrollbars)
Define whether scrollbars will fade when the view is not scrolling.
View
setScrollBarStyle(int style)

Specify the style of the scrollbars.

View
setScrollBarStyle(int style)

Specify the style of the scrollbars.

WebView
setScrollContainer(boolean isScrollContainer)
Change whether this view is one of the set of scrollable containers in its window.
View
setScroller(Scroller s)
TextView
setScrollIndicators(View up, View down)
AbsListView
setScrollingCacheEnabled(boolean enabled)
Enables or disables the children's drawing cache during a scroll.
AbsListView
setSearchable(int columnIndex, boolean isSearchable)
Sets whether a specified column can be used in a search involving a WHERE clause.
RowSetMetaData
setSecondaryProgress(int secondaryProgress)
Sets the secondary progress for the progress bar in the title.
Activity
setSecondaryProgress(int secondaryProgress)

Set the current secondary progress to the specified value.

ProgressBar
setSecondaryProgress(int secondaryProgress)
ProgressDialog
setSeconds(int second)
This method is deprecated. use Calendar.set(Calendar.SECOND, second)
Date
setSeconds(int theSeconds)
This method is deprecated. This method is deprecated and must not be used. SQL Date values do not have a seconds component.
Date
setSecure(boolean secure)
Sets the secure attribute of the cookie.
BasicClientCookie
setSecure(boolean secure)
Sets the secure attribute of the cookie.
SetCookie
setSecurityManager(SecurityManager sm)
Sets the active security manager.
System
setSeed(byte[] seed)
Reseeds this SecureRandom instance with the specified seed.
SecureRandom
setSeed(long seed)
Modifies the seed a using linear congruential formula presented in The Art of Computer Programming, Volume 2, Section 3.2.1.
Random
setSeed(long seed)
Reseeds this this SecureRandom instance with the eight bytes described by the representation of the given long seed.
SecureRandom
setSelectable(boolean selectable)
Sets whether this Preference is selectable.
Preference
setSelectAllOnFocus(boolean selectAllOnFocus)
Set the TextView so that when it takes focus, all the text is selected.
TextView
setSelected(boolean selected)
Changes the selection state of this view.
ImageView
setSelected(boolean selected)
Changes the selection state of this view.
TextView
setSelected(boolean selected)
Changes the selection state of this view.
View
setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup)
Sets the selection to the specified child.
ExpandableListActivity
setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup)
Sets the selection to the specified child.
ExpandableListView
setSelectedGroup(int groupPosition)
Sets the selection to the specified group.
ExpandableListActivity
setSelectedGroup(int groupPosition)
Sets the selection to the specified group.
ExpandableListView
setSelection(Spannable text, int index)
Move the cursor to offset index.
Selection
setSelection(Spannable text, int start, int stop)
Set the selection anchor to start and the selection edge to stop.
Selection
setSelection(int position)
Sets the currently selected item.
AbsSpinner
setSelection(int position)
Sets the currently selected item.
AdapterView
setSelection(int index) EditText
setSelection(int position)
Sets the currently selected item
GridView
setSelection(int position)
Set the currently selected list item to the specified position with the adapter's data
ListActivity
setSelection(int position)
Sets the currently selected item.
ListView
setSelection(int position, boolean animate)
Jump directly to a specific item in the adapter data.
AbsSpinner
setSelection(int start, int end)
The default implementation changes the selection position in the current editable text.
BaseInputConnection
setSelection(int start, int stop) EditText
setSelection(int start, int end)
Set the selection of the text editor.
InputConnection
setSelection(int start, int end)
Set the selection of the text editor.
InputConnectionWrapper
setSelectionAfterHeaderView()
setSelectionAfterHeaderView set the selection to be the first list item after the header views.
ListView
setSelectionArguments(String[] selectionArgs)
Changes the selection arguments.
SQLiteCursor
setSelectionFromTop(int position, int y)
Sets the selected item and positions the selection y pixels from the top edge of the ListView.
ListView
setSelector(Drawable sel)
AbsListView
setSelector(int resID)
Set a Drawable that should be used to highlight the currently selected item.
AbsListView
setSendBufferSize(int size)
Sets the socket send buffer size.
DatagramSocket
setSendBufferSize(int n)
LocalSocket
setSendBufferSize(int size)
Sets the send buffer size of this socket.
Socket
setSequenceNumber(long sequenceNumber)
Sets the sequence number.
LogRecord
setSequenceType(int type)
GestureLibrary
setSequenceType(int type)
GestureStore
setSerialNumber(BigInteger serialNumber)
Sets the serial number that a certificate must match.
X509CertSelector
setSerifFontFamily(String font)
Set the serif font family name.
WebSettings
setServiceInfo(AccessibilityServiceInfo info)
Sets the AccessibilityServiceInfo that describes this service.
AccessibilityService
setSessionCacheSize(int size)
Sets the size of the session cache for this session context.
SSLSessionContext
setSessionEnabled(InputMethodSession session, boolean enabled)
Take care of enabling or disabling an existing session by calling its AbstractInputMethodSessionImpl.setEnabled() method.
AbstractInputMethodService.AbstractInputMethodImpl
setSessionEnabled(InputMethodSession session, boolean enabled)
Control whether a particular input method session is active.
InputMethod
setSessionTimeout(int seconds)
Sets the timeout for sessions in this context.
SSLSessionContext
setSetting(ContentResolver cr, String account, String key, String value)
This method is deprecated. see ContactsContract
Contacts.Settings
setShader(Shader shader)
Set or clear the shader object.
Paint
setShaderFactory(ShapeDrawable.ShaderFactory fact)
Sets a ShaderFactory to which requests for a Shader object will be made.
ShapeDrawable
setShadowLayer(float radius, float dx, float dy, int color)
Temporary API to expose layer drawing.
Paint
setShadowLayer(float radius, float dx, float dy, int color)
Gives the text a shadow of the specified radius and color, the specified distance from its normal position.
TextView
setShape(Shape s)
Sets the Shape of this ShapeDrawable.
ShapeDrawable
setShape(int shape)
GradientDrawable
setSharedPreferencesMode(int sharedPreferencesMode)
Sets the mode of the SharedPreferences file that preferences managed by this will use.
PreferenceManager
setSharedPreferencesName(String sharedPreferencesName)
Sets the name of the SharedPreferences file that preferences managed by this will use.
PreferenceManager
setShifted(boolean shiftState)
Keyboard
setShifted(boolean shifted)
Sets the state of the shift key of the keyboard, if any.
KeyboardView
setShort(int viewId, String methodName, short value)
Call a method taking one short on a view in the layout for this RemoteViews.
RemoteViews
setShort(int parameterIndex, short theShort)
Sets the value of a specified parameter to a supplied short value.
PreparedStatement
setShort(int parameterIndex, short theShort)
Sets the value of the specified parameter in the RowSet command to a supplied short integer.
RowSet
setShort(Object array, int index, short value)
Set the element of the array at the specified index to the short value.
Array
setShort(Object object, short value)
Sets the value of the field in the specified object to the short value.
Field
setShort(String parameterName, short theShort)
Sets the value of a specified parameter to a supplied short value.
CallableStatement
setShortcut(char numericChar, char alphaChar)
Change both the numeric and alphabetic shortcut associated with this item.
MenuItem
setShortMonths(String[] data)
Sets the array of strings containing the abbreviated names of the months.
DateFormatSymbols
setShortWeekdays(String[] data)
Sets the array of strings containing the abbreviated names of the days of the week.
DateFormatSymbols
setShouldDisableView(boolean shouldDisableView)
Sets whether this Preference should disable its view when it gets disabled.
Preference
setShowDefault(boolean showDefault)
Sets whether to show an item for the default sound/ringtone.
RingtonePreference
setShowGTalkServiceStatus(ContentResolver cr, boolean flag)
Settings.System
setShowSilent(boolean showSilent)
Sets whether to show an item for 'Silent'.
RingtonePreference
setShrinkAllColumns(boolean shrinkAllColumns)

Convenience method to mark all columns as shrinkable.

TableLayout
setSigned(int columnIndex, boolean isSigned)
Sets if a specified column can contain signed numbers.
RowSetMetaData
setSigners(Class<?> c, Object[] signers)
Sets the signers of the specified class.
ClassLoader
(protected)
setSigProvider(String sigProvider)
Sets the name of the preferred signature provider.
PKIXParameters
setSinCos(float sinValue, float cosValue)
Set the matrix to rotate by the specified sine and cosine values.
Matrix
setSinCos(float sinValue, float cosValue, float px, float py)
Set the matrix to rotate by the specified sine and cosine values, with a pivot point at (px, py).
Matrix
setSingleChoiceItems(Cursor cursor, int checkedItem, String labelColumn, DialogInterface.OnClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setSingleChoiceItems(ListAdapter adapter, int checkedItem, DialogInterface.OnClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setSingleChoiceItems(int itemsId, int checkedItem, DialogInterface.OnClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setSingleChoiceItems(CharSequence[] items, int checkedItem, DialogInterface.OnClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
AlertDialog.Builder
setSingleHeader(boolean singleHeader)
CookieSpecParamBean
setSingleLine()
Sets the properties of this field (lines, horizontally scrolling, transformation method) to be for a single-line input.
TextView
setSingleLine(boolean singleLine)
If true, sets the properties of this field (lines, horizontally scrolling, transformation method) to be for a single-line input; if false, restores these to the default conditions.
TextView
setSize(int length)
Sets the size of this vector to the specified size.
Vector
setSize(int width, int height)
GradientDrawable
setSize(int w, int h)
Surface
setSize(long value)
Sets the uncompressed size of this ZipEntry.
ZipEntry
setSizeFromLayout()
Allow the surface to resized based on layout of its container (this is the default).
SurfaceHolder
setSkew(float kx, float ky)
Set the matrix to skew by sx and sy.
Matrix
setSkew(float kx, float ky, float px, float py)
Set the matrix to skew by sx and sy, with a pivot point at (px, py).
Matrix
setSmoothScrollbarEnabled(boolean enabled)
When smooth scrollbar is enabled, the position and size of the scrollbar thumb is computed based on the number of visible pixels in the visible items.
AbsListView
setSmoothScrollingEnabled(boolean smoothScrollingEnabled)
Set whether arrow scrolling will animate its transition.
HorizontalScrollView
setSmoothScrollingEnabled(boolean smoothScrollingEnabled)
Set whether arrow scrolling will animate its transition.
ScrollView
setSocketAddress(SocketAddress sockAddr)
Sets the SocketAddress for this datagram packet.
DatagramPacket
setSocketBufferSize(int socketBufferSize)
HttpConnectionParamBean
setSocketBufferSize(HttpParams params, int size)
HttpConnectionParams
setSocketFactory(SocketImplFactory aFactory)
Sets the server socket implementation factory of this instance.
ServerSocket
setSocketImplFactory(SocketImplFactory fac)
Sets the internal factory for creating socket implementations.
Socket
setSocketTimeout(int timeout)
Sets the socket timeout value.
AbstractClientConnAdapter
setSocketTimeout(int timeout)
Sets the socket timeout value.
HttpConnection
setSocketTimeout(int timeout)
Sets the socket timeout value.
SocketHttpClientConnection
setSocketTimeout(int timeout)
Sets the socket timeout value.
SocketHttpServerConnection
setSoftInputMode(int mode)
Sets the operating mode for the soft input area.
PopupWindow
setSoftInputMode(int mode)
Specify an explicit soft input mode to use for the window, as per WindowManager.LayoutParams.softInputMode.
Window
setSoLinger(boolean on, int timeout)
Sets the state of the SocketOptions.SO_LINGER with the given timeout in seconds.
Socket
setSoTimeout(int timeout)
Sets the timeout period in milliseconds for the receive() method.
DatagramSocket
setSoTimeout(int soTimeout)
HttpConnectionParamBean
setSoTimeout(int n)
LocalSocket
setSoTimeout(int timeout)
Sets the timeout period of this server socket.
ServerSocket
setSoTimeout(int timeout)
Sets the reading timeout in milliseconds for this socket.
Socket
setSoTimeout(HttpParams params, int timeout)
Sets the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
HttpConnectionParams
setSoundEffectsEnabled(boolean soundEffectsEnabled)
Set whether this view should have sound effects enabled for events such as clicking and touching.
View
setSourceClassName(String sourceClassName)
Sets the name of the class that is the source of this log record.
LogRecord
setSourceMethodName(String sourceMethodName)
Sets the name of the method that is the source of this log record.
LogRecord
setSpacing(int spacing)
Sets the spacing between items in a Gallery
Gallery
setSpan(Object what, int start, int end, int flags)
Attach the specified markup object to the range start…end of the text, or move the object to that range if it was already attached elsewhere.
Spannable
setSpan(Object what, int start, int end, int flags)
SpannableString
setSpan(Object what, int start, int end, int flags)
Mark the specified range of text with the specified object.
SpannableStringBuilder
setSpannableFactory(Spannable.Factory factory)
Sets the Factory used to create new Spannables.
TextView
setSpeakerphoneOn(boolean on)
Sets the speakerphone on or off.
AudioManager
setSpecified(int index, boolean value)
Assign a value to the "specified" flag of a specific attribute.
Attributes2Impl
setSpeechRate(float speechRate)
Sets the speech rate for the TextToSpeech engine.
TextToSpeech
setSpeed(float speed)
Sets the speed of this fix, in meters/second.
Location
setSpeedRequired(boolean speedRequired)
Indicates whether the provider must provide speed information.
Criteria
setSSLSocketFactory(SSLSocketFactory sf)
Sets the SSL socket factory for this instance.
HttpsURLConnection
setStackFromBottom(boolean stackFromBottom)
When stack from bottom is set to true, the list fills its content starting from the bottom of the view.
AbsListView
setStackTrace(StackTraceElement[] trace)
Sets the array of stack trace elements.
Throwable
setStaleCheckingEnabled(boolean staleCheckingEnabled)
HttpConnectionParamBean
setStaleCheckingEnabled(HttpParams params, boolean value)
Defines whether stale connection check is to be used.
HttpConnectionParams
setStandardFontFamily(String font)
Set the standard font family name.
WebSettings
setStartElementListener(StartElementListener startElementListener)
Sets a listener for the start of this element.
Element
setStartOffset(long startOffset)
When this animation should start relative to the start time.
Animation
setStartOffset(long startOffset)
When this animation should start relative to the start time.
AnimationSet
setStartPosition(int pos)
Set the start position of cursor window
CursorWindow
setStartRule(int month, int dayOfMonth, int time)
Sets the rule which specifies the start of daylight savings time.
SimpleTimeZone
setStartRule(int month, int day, int dayOfWeek, int time)
Sets the rule which specifies the start of daylight savings time.
SimpleTimeZone
setStartRule(int month, int day, int dayOfWeek, int time, boolean after)
Sets the rule which specifies the start of daylight savings time.
SimpleTimeZone
setStartTime(long startTimeMillis)
When this animation should start.
Animation
setStartTime(long startTimeMillis)
Sets the start time of this animation and all child animations
AnimationSet
setStartYear(int year)
Sets the starting year for daylight savings time in this SimpleTimeZone.
SimpleTimeZone
setState(int newState)
Sets the value of synchronization state.
AbstractQueuedSynchronizer
(protected)
setState(int state)
Sets the initialization state of the instance.
AudioTrack
(protected)
setState(int state)
ServiceState
setState(int[] stateSet)
Specify a set of states for the drawable.
Drawable
setState(Object state)
Assigns a state object to this pool entry.
AbstractPoolEntry
setState(Object state)
AbstractPooledConnAdapter
setState(Object state)
Assigns a state object to this connection.
ManagedClientConnection
setStateInvalid()
Invalidate this object.
CdmaCellLocation
setStateInvalid()
Invalidate this object.
GsmCellLocation
setStateOff()
ServiceState
setStateOutOfService()
ServiceState
setStaticTransformationsEnabled(boolean enabled)
When this property is set to true, this ViewGroup supports static transformations on children; this causes getChildStaticTransformation(View, android.view.animation.Transformation) to be invoked when a child is drawn.
ViewGroup
(protected)
setStatusCode(int code)
Updates the status line of this response with a new status code.
BasicHttpResponse
setStatusCode(int code)
Updates the status line of this response with a new status code.
HttpResponse
setStatusLine(ProtocolVersion ver, int code)
Sets the status line of this response.
BasicHttpResponse
setStatusLine(ProtocolVersion ver, int code)
Sets the status line of this response.
HttpResponse
setStatusLine(ProtocolVersion ver, int code, String reason)
Sets the status line of this response with a reason phrase.
BasicHttpResponse
setStatusLine(ProtocolVersion ver, int code, String reason)
Sets the status line of this response with a reason phrase.
HttpResponse
setStatusLine(StatusLine statusline)
Sets the status line of this response.
BasicHttpResponse
setStatusLine(StatusLine statusline)
Sets the status line of this response.
HttpResponse
setStepSize(float stepSize)
Sets the step size (granularity) of this rating bar.
RatingBar
setStereoVolume(float leftVolume, float rightVolume)
Sets the specified left/right output volume values on the AudioTrack.
AudioTrack
setStopPreviousRingtone(boolean stopPreviousRingtone)
Whether retrieving another Ringtone will stop playing the previously retrieved Ringtone.
RingtoneManager
setStrategy(int strategy)
Sets the compression strategy to be used.
Deflater
setStream(InputStream data)
Change the current system wallpaper to a specific byte stream.
WallpaperManager
setStreamMute(int streamType, boolean state)
Mute or unmute an audio stream.
AudioManager
setStreamSolo(int streamType, boolean state)
Solo or unsolo a particular stream.
AudioManager
setStreamType(int streamType)
Sets the stream type where this ringtone will be played.
Ringtone
setStreamVolume(int streamType, int index, int flags)
Sets the volume index for a particular stream.
AudioManager
setStrength(int value)
Sets the strength value for this collator.
Collator
setStretchAllColumns(boolean stretchAllColumns)

Convenience method to mark all columns as stretchable.

TableLayout
setStretchMode(int stretchMode)
Control how items are stretched to fill their space.
GridView
setStrikeThruText(boolean strikeThruText)
Helper for setFlags(), setting or clearing the STRIKE_THRU_TEXT_FLAG bit
Paint
setString(int parameterIndex, String theString)
Sets the value of a specified parameter to a supplied string.
PreparedStatement
setString(int parameterIndex, String theString)
Sets the value of the specified parameter in the RowSet command to a supplied String.
RowSet
setString(int viewId, String methodName, String value)
Call a method taking one String on a view in the layout for this RemoteViews.
RemoteViews
setString(String string)
Sets the string to split
TextUtils.SimpleStringSplitter
setString(String string)
TextUtils.StringSplitter
setString(String parameterName, String theString)
Sets the value of a specified parameter to a supplied String.
CallableStatement
setString(long pos, String str)
Writes a given Java String to this Clob object at a specified position.
Clob
setString(long pos, String str, int offset, int len)
Writes len characters of a string, starting at a specified character offset, to this Clob.
Clob
setStringConversionColumn(int stringConversionColumn)
Defines the index of the column in the Cursor used to get a String representation of that Cursor.
SimpleCursorAdapter
setStroke(int width, int color)
Set the stroke width and color for the drawable.
GradientDrawable
setStroke(int width, int color, float dashWidth, float dashGap)
GradientDrawable
setStrokeCap(Paint.Cap cap)
Set the paint's Cap.
Paint
setStrokeJoin(Paint.Join join)
Set the paint's Join.
Paint
setStrokeMiter(float miter)
Set the paint's stroke miter value.
Paint
setStrokeWidth(float width)
Set the width for stroking.
Paint
setStyle(Paint.Style style)
Set the paint's style, used for controlling how primitives' geometries are interpreted (except for drawBitmap, which always assumes Fill).
Paint
setSubAdminArea(String subAdminArea)
Sets the sub-administrative area name of the address to the given String, which may be null
Address
setSubject(byte[] subjectDN)
Sets the subject that a certificate must match.
X509CertSelector
setSubject(String subjectDN)
Do not use, use setSubject(byte[]) or setSubject(X500Principal) instead.
X509CertSelector
setSubject(X500Principal subject)
Set the subject that a certificate must match.
X509CertSelector
setSubjectAlternativeNames(Collection<List<?>> names)
Sets the criterion for subject alternative names.
X509CertSelector
setSubjectKeyIdentifier(byte[] subjectKeyIdentifier)
Sets the criterion for the SubjectKeyIdentifier extension.
X509CertSelector
setSubjectPublicKey(byte[] key)
Sets the criterion for the subject public key.
X509CertSelector
setSubjectPublicKey(PublicKey key)
Sets the criterion for the subject public key.
X509CertSelector
setSubjectPublicKeyAlgID(String oid)
Sets the criterion for the subject public key signature algorithm.
X509CertSelector
setSubLocality(String sublocality)
Sets the sub-locality of the address to the given String, which may be null.
Address
setSubpixelText(boolean subpixelText)
Helper for setFlags(), setting or clearing the SUBPIXEL_TEXT_FLAG bit
Paint
setSubThoroughfare(String subthoroughfare)
Sets the sub-thoroughfare name of the address, which may be null.
Address
setSummary(int summaryResId)
Sets the summary for this Preference with a resource ID.
Preference
setSummary(CharSequence summary)
Sets the summary for this Preference with a CharSequence.
Preference
setSummaryOff(int summaryResId)
CheckBoxPreference
setSummaryOff(CharSequence summary)
Sets the summary to be shown when unchecked.
CheckBoxPreference
setSummaryOn(int summaryResId)
CheckBoxPreference
setSummaryOn(CharSequence summary)
Sets the summary to be shown when checked.
CheckBoxPreference
setSupportMultipleWindows(boolean support)
Tell the WebView whether it supports multiple windows.
WebSettings
setSupportZoom(boolean support)
Set whether the WebView supports zoom
WebSettings
setSyncAutomatically(Account account, String authority, boolean sync)
Set whether or not the provider is synced when it receives a network tickle.
ContentResolver
setSystemId(String systemId)
Set the system identifier for this input source.
InputSource
setSystemId(String systemId)
Set the system identifier for this locator.
LocatorImpl
setSystemScope(IdentityScope scope)
Sets the system's scope.
IdentityScope
(protected)
setTableName(int columnIndex, String theTableName)
Sets the table name for a specified column in the RowSet.
RowSetMetaData
setTables(String inTables)
Sets the list of tables to query.
SQLiteQueryBuilder
setTag(int key, Object tag)
Sets a tag associated with this view and a key.
View
setTag(Object tag)
Sets the tag associated with this view.
View
setTarget(Handler target)
Message
setTarget(InputConnection target)
Change the target of the input connection.
InputConnectionWrapper
setTargetAuthenticationHandler(AuthenticationHandler targetAuthHandler)
AbstractHttpClient
setTargetCertConstraints(CertSelector targetCertConstraints)
Sets the constraints that are required for the target certificate.
PKIXParameters
setTargetDensity(Canvas canvas)
Set the density scale at which this drawable will be rendered.
BitmapDrawable
setTargetDensity(Canvas canvas)
Set the density scale at which this drawable will be rendered.
NinePatchDrawable
setTargetDensity(DisplayMetrics metrics)
Set the density scale at which this drawable will be rendered.
BitmapDrawable
setTargetDensity(DisplayMetrics metrics)
Set the density scale at which this drawable will be rendered.
NinePatchDrawable
setTargetDensity(int density)
Set the density at which this drawable will be rendered.
BitmapDrawable
setTargetDensity(int density)
Set the density at which this drawable will be rendered.
NinePatchDrawable
setTargetHeapUtilization(float newTarget)
Sets the current ideal heap utilization, represented as a number between zero and one.
VMRuntime
setTcpNoDelay(boolean tcpNoDelay)
HttpConnectionParamBean
setTcpNoDelay(boolean on)
Sets the state of the SocketOptions.TCP_NODELAY for this socket.
Socket
setTcpNoDelay(HttpParams params, boolean value)
Determines whether Nagle's algorithm is to be used.
HttpConnectionParams
setTest(Test test)
AndroidTestRunner
setTestClassName(String testClassName, String testMethodName)
AndroidTestRunner
setTestProviderEnabled(String provider, boolean enabled)
Sets a mock enabled value for the given provider.
LocationManager
setTestProviderLocation(String provider, Location loc)
Sets a mock location for the given provider.
LocationManager
setTestProviderStatus(String provider, int status, Bundle extras, long updateTime)
Sets mock status values for the given provider.
LocationManager
setText(char[] text, int start, int len)
Sets the TextView to display the specified slice of the specified char array.
TextView
setText(int resid)
TextView
setText(int resId)
Update the text in a Toast that was previously created using one of the makeText() methods.
Toast
setText(int resid, TextView.BufferType type)
TextView
setText(CharSequence text)
Sets the contents of the clipboard to the specified text.
ClipboardManager
setText(CharSequence text)
Sets the text of the next view and switches to the next view.
TextSwitcher
setText(CharSequence text)
Sets the string value of the TextView.
TextView
setText(CharSequence s)
Update the text in a Toast that was previously created using one of the makeText() methods.
Toast
setText(CharSequence text, TextView.BufferType type)
Sets the text that this TextView is to display (see setText(CharSequence)) and also sets whether it is stored in a styleable/spannable buffer and whether it is editable.
EditText
setText(CharSequence text, TextView.BufferType type)
Sets the text that this TextView is to display (see setText(CharSequence)) and also sets whether it is stored in a styleable/spannable buffer and whether it is editable.
TextView
setText(String newText)
Sets the new text string to be analyzed, the current position will be reset to the beginning of this new string, and the old string will be lost.
BreakIterator
setText(String source)
Sets a new source string for iteration, and resets the offset to the beginning of the text.
CollationElementIterator
setText(String text)
Saves the text to the SharedPreferences.
EditTextPreference
setText(String value)
Sets the source string to iterate over.
StringCharacterIterator
setText(CharacterIterator newText)
Sets the new text to be analyzed by the given CharacterIterator.
BreakIterator
setText(CharacterIterator source)
Sets a new source string iterator for iteration, and resets the offset to the beginning of the text.
CollationElementIterator
setTextAlign(Paint.Align align)
Set the paint's text alignment.
Paint
setTextAppearance(Context context, int resid)
Sets the text color, size, style, hint color, and highlight color from the specified TextAppearance resource.
TextView
setTextColor(ColorStateList colors)
Sets the text color.
TextView
setTextColor(int color)
Sets the text color for all the states (normal, selected, focused) to be this color.
TextView
setTextColor(int viewId, int color)
Equivalent to calling setTextColor(int).
RemoteViews
setTextElementListener(TextElementListener elementListener)
Sets start and end text element listeners at the same time.
Element
setTextFilterEnabled(boolean textFilterEnabled)
Enables or disables the type filter window.
AbsListView
setTextKeepState(CharSequence text)
Like setText(CharSequence), except that the cursor position (if any) is retained in the new text.
TextView
setTextKeepState(CharSequence text, TextView.BufferType type)
Like setText(CharSequence, android.widget.TextView.BufferType), except that the cursor position (if any) is retained in the new text.
TextView
setTextOff(CharSequence textOff)
Sets the text for when the button is not in the checked state.
ToggleButton
setTextOn(CharSequence textOn)
Sets the text for when the button is in the checked state.
ToggleButton
setTextScaleX(float scaleX)
Set the paint's horizontal scale factor for text.
Paint
setTextScaleX(float size)
Sets the extent by which text should be stretched horizontally.
TextView
setTextSize(WebSettings.TextSize t)
Set the text size of the page.
WebSettings
setTextSize(float textSize)
Set the paint's text size.
Paint
setTextSize(float size)
Set the default text size to the given value, interpreted as "scaled pixel" units.
TextView
setTextSize(int unit, float size)
Set the default text size to a given unit and value.
TextView
setTextSkewX(float skewX)
Set the paint's horizontal skew factor for text.
Paint
setTextViewText(int viewId, CharSequence text)
Equivalent to calling TextView.setText
RemoteViews
setTheme(int resid)
Set the base theme for this context.
Context
setTheme(int resid)
Set the base theme for this context.
ContextThemeWrapper
setTheme(int resid)
Set the base theme for this context.
ContextWrapper
setTheme(int theme)
You can call this to customize the theme used by your IME's window.
InputMethodService
setTheme(int resid)
Set the base theme for this context.
MockContext
setThoroughfare(String thoroughfare)
Sets the thoroughfare name of the address, which may be null.
Address
setThreadFactory(ThreadFactory threadFactory)
Sets the thread factory used to create new threads.
ThreadPoolExecutor
setThreadID(int threadID)
Sets the ID of the thread originating this log record.
LogRecord
setThreadPriority(int priority)
Set the priority of the calling thread, based on Linux priorities.
Process
setThreadPriority(int tid, int priority)
Set the priority of a thread, based on Linux priorities.
Process
setThreshold(int threshold)

Specifies the minimum number of characters the user has to type in the edit box before the drop down list is shown.

AutoCompleteTextView
setThrown(Throwable thrown)
Sets the Throwable object associated with this log record.
LogRecord
setThumb(Drawable thumb)
Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.
AbsSeekBar
setThumbOffset(int thumbOffset)
Sets the thumb offset that allows the thumb to extend out of the range of the track.
AbsSeekBar
setTileModeX(Shader.TileMode mode)
BitmapDrawable
setTileModeXY(Shader.TileMode xmode, Shader.TileMode ymode)
BitmapDrawable
setTileModeY(Shader.TileMode mode)
BitmapDrawable
setTime(int relativeMilliseconds)
Movie
setTime(int parameterIndex, Time theTime)
Sets the value of a specified parameter to a supplied java.sql.Time value.
PreparedStatement
setTime(int parameterIndex, Time theTime)
Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Time, converting it to an SQL TIME value using the system default Calendar.
RowSet
setTime(int parameterIndex, Time theTime, Calendar cal)
Sets the value of a specified parameter to a supplied java.sql.Time value, using a supplied Calendar.
PreparedStatement
setTime(int parameterIndex, Time theTime, Calendar theCalendar)
Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Time, converting it to an SQL TIME value using a supplied Calendar.
RowSet
setTime(String parameterName, Time theTime)
Sets the value of the parameter named parameterName to the value of the supplied java.sql.Time.
CallableStatement
setTime(String parameterName, Time theTime, Calendar cal)
Sets the value of the parameter named parameterName to the value of the supplied java.sql.Time using the supplied calendar.
CallableStatement
setTime(Date date)
Sets the time of this Calendar.
Calendar
setTime(long theTime)
Sets this date to a date supplied as a milliseconds value.
Date
setTime(long milliseconds)
Sets this Date to the specified millisecond value.
Date
setTime(long time)
Sets the UTC time of this fix, in milliseconds since January 1, 1970.
Location
setTime(long time)
Sets the time for this Time object to the supplied milliseconds value.
Time
setTime(long theTime)
Sets the time represented by this Timestamp object to the supplied time, defined as the number of milliseconds since the Epoch (January 1 1970, 00:00:00.000 GMT).
Timestamp
setTime(long value)
Sets the modification time of this ZipEntry.
ZipEntry
setTimeInMillis(long milliseconds)
Sets the time of this Calendar.
Calendar
setTimeout(long timeout)
ConnManagerParamBean
setTimeout(HttpParams params, long timeout)
Sets the timeout in milliseconds used when retrieving a ManagedClientConnection from the ClientConnectionManager.
ConnManagerParams
setTimestamp(int parameterIndex, Timestamp theTimestamp)
Sets the value of a specified parameter to a supplied java.sql.Timestamp value.
PreparedStatement
setTimestamp(int parameterIndex, Timestamp theTimestamp)
Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp, converting it to an SQL TIMESTAMP value using the system default Calendar.
RowSet
setTimestamp(int parameterIndex, Timestamp theTimestamp, Calendar cal)
Sets the value of a specified parameter to a supplied java.sql.Timestamp value, using the supplied Calendar.
PreparedStatement
setTimestamp(int parameterIndex, Timestamp theTimestamp, Calendar theCalendar)
Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp, converting it to an SQL TIMESTAMP value using a supplied Calendar.
RowSet
setTimestamp(String parameterName, Timestamp theTimestamp)
Sets the value of a specified parameter to a supplied java.sql.Timestamp value.
CallableStatement
setTimestamp(String parameterName, Timestamp theTimestamp, Calendar cal)
Sets the value of a specified parameter to a supplied java.sql.Timestamp value, using the supplied calendar.
CallableStatement
setTimeToLive(int ttl)
Sets the time-to-live (TTL) option for multicast packets sent on this socket.
DatagramSocketImpl
(protected)
setTimeToLive(int ttl)
Sets the time-to-live (TTL) for multicast packets sent on this socket.
MulticastSocket
setTimeZone(String timeZone)
AlarmManager
setTimeZone(TimeZone timezone)
Sets the TimeZone used by this Calendar.
Calendar
setTimeZone(TimeZone timezone)
Sets the time zone of the calendar used by this date format.
DateFormat
Settings()
Settings
Settings.NameValueTable()
Settings.NameValueTable
Settings.Secure()
Settings.Secure
Settings.SettingNotFoundException(String msg)
Settings.SettingNotFoundException
Settings.System()
Settings.System
settingsActivity
Component name of an activity that allows the user to modify the settings for this input method.
int
R.attr
SETTINGS_CLASSNAME
Settings classname to launch when Settings is clicked from All Applications.
Settings.Secure
SETTINGS_CLASSNAME
This constant is deprecated. Use SETTINGS_CLASSNAME instead
Settings.System
setTitle(int titleId)
Change the title associated with this activity.
Activity
setTitle(int titleId)
Set the title using the given resource id.
AlertDialog.Builder
setTitle(int titleId)
Set the title text for this dialog's window.
Dialog
setTitle(int title)
Change the title associated with this item.
MenuItem
setTitle(int titleResId)
Sets the title for this Preference with a resource ID.
Preference
setTitle(CharSequence title)
Change the title associated with this activity.
Activity
setTitle(CharSequence title)
Set the title text for this dialog's window.
AlertDialog
setTitle(CharSequence title)
Set the title displayed in the Dialog.
AlertDialog.Builder
setTitle(CharSequence title)
Set the title text for this dialog's window.
Dialog
setTitle(CharSequence title)
Change the title associated with this item.
MenuItem
setTitle(CharSequence title)
Sets the title for this Preference with a CharSequence.
Preference
setTitle(CharSequence title)
Window
setTitle(CharSequence title)
WindowManager.LayoutParams
setTitleColor(int textColor)
Activity
setTitleColor(int textColor)
Window
setTitleCondensed(CharSequence title)
Change the condensed title associated with this item.
MenuItem
setTo(Resources.Theme other)
Set this theme to hold the same contents as the theme other.
Resources.Theme
setTo(DisplayMetrics o)
DisplayMetrics
setTo(TypedValue other)
TypedValue
setToDefaults()
Set this object to the system defaults.
Configuration
setToDefaults()
DisplayMetrics
setTokenizer(MultiAutoCompleteTextView.Tokenizer t)
Sets the Tokenizer that will be used to determine the relevant range of the text where the user is typing.
MultiAutoCompleteTextView
setToNow()
Sets the time of the given Time object to the current time.
Time
setTouchable(boolean touchable)

Changes the touchability of the popup window.

PopupWindow
setTouchDelegate(TouchDelegate delegate)
Sets the TouchDelegate for this View.
View
setTouchInterceptor(View.OnTouchListener l)
Set a callback for all touch events being dispatched to the popup window.
PopupWindow
setTrafficClass(int value)
Sets the socket option SocketOptions.IP_TOS.
DatagramSocket
setTrafficClass(int value)
Sets the value of the SocketOptions.IP_TOS for this socket.
Socket
setTransactionIsolation(int level)
Sets the transaction isolation level for this Connection.
Connection
setTransactionIsolation(int level)
Sets the target instance's transaction isolation level to one of a discrete set of possible values.
RowSet
setTransactionSuccessful()
Marks the current transaction as successful.
SQLiteDatabase
setTranscriptMode(int mode)
Puts the list or grid into transcript mode.
AbsListView
setTransformationMethod(TransformationMethod method)
Sets the transformation that is applied to the text that this TextView is displaying.
TextView
setTransformationType(int transformationType)
Sets the transformation type.
Transformation
setTranslate(float dx, float dy)
Set the matrix to translate by (dx, dy).
Matrix
setTransparentRegionHint(Region region)
Surface
setTrustAnchors(Set<TrustAnchor> trustAnchors)
Sets the set of trusted certificate authorities.
PKIXParameters
setTTL(byte ttl)
This method is deprecated. Replaced by setTimeToLive(int)
DatagramSocketImpl
(protected)
setTTL(byte ttl)
This method is deprecated. Replaced by setTimeToLive(int)
MulticastSocket
setType(int type)
Sets which type(s) of ringtones will be listed by this.
RingtoneManager
setType(int type)
Sets the type of this RowSet.
RowSet
setType(int type)
Sets the surface's type.
SurfaceHolder
setType(int type)
Set the type of the window, as per the WindowManager.LayoutParams types.
Window
setType(int index, String type)
Set the type of a specific attribute.
AttributesImpl
setType(String type)
Set an explicit MIME data type.
Intent
setTypeface(Typeface typeface)
Set or clear the typeface object.
Paint
setTypeface(Typeface tf)
Sets the typeface and style in which the text should be displayed.
TextView
setTypeface(Typeface tf, int style)
Sets the typeface and style in which the text should be displayed, and turns on the fake bold and italic bits in the Paint if the Typeface that you provided does not have all the bits in the style that you specified.
TextView
setTypeMap(Map<StringClass<?>> map)
Sets the TypeMap for this connection.
Connection
setTypeMap(Map<StringClass<?>> theTypeMap)
Sets the mapping of SQL User Defined Types (UDTs) to Java classes.
RowSet
setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler handler)

Sets the uncaught exception handler.

Thread
setUncertainGestureColor(int color)
GestureOverlayView
setUnderlineText(boolean underlineText)
Helper for setFlags(), setting or clearing the UNDERLINE_TEXT_FLAG bit
Paint
setUnicodeStream(int parameterIndex, InputStream theInputStream, int length)
This method is deprecated. Use setCharacterStream(int, Reader, int)
PreparedStatement
setUnregisteredParameterValueSanitizer(UrlQuerySanitizer.ValueSanitizer sanitizer)
Set the value sanitizer used when processing unregistered parameter values.
UrlQuerySanitizer
setUnselectedAlpha(float unselectedAlpha)
Sets the alpha of items that are not selected in the Gallery.
Gallery
setUp()
Sets up the fixture, for example, open a network connection.
ActivityInstrumentationTestCase
(protected)
setUp()
Sets up the fixture, for example, open a network connection.
ActivityInstrumentationTestCase2
(protected)
setUp()
Sets up the fixture, for example, open a network connection.
ActivityUnitTestCase
(protected)
setUp()
Sets up the fixture, for example, open a network connection.
AndroidTestCase
(protected)
setUp()
This will do the work to instantiate the Application under test.
ApplicationTestCase
(protected)
setUp()
Sets up the fixture, for example, open a network connection.
ProviderTestCase
(protected)
setUp()
Sets up the fixture, for example, open a network connection.
ProviderTestCase2
(protected)
setUp()
This will do the work to instantiate the Service under test.
ServiceTestCase
(protected)
setUp()
Sets up the fixture, for example, open a network connection.
SingleLaunchActivityTestCase
(protected)
setUp()
Sets up the fixture, for example, open a network connection.
SyncBaseInstrumentation
(protected)
setup()

Call setup() before adding tabs if loading TabHost using findViewById().

TabHost
setUp()
Sets up the fixture, for example, open a network connection.
TestCase
(protected)
setup(LocalActivityManager activityGroup)
If you are using setContent(android.content.Intent), this must be called since the activityGroup is needed to launch the local activity.
TabHost
setUpDirectory(File baseDir)
Sets up the temporary directory, but only if one isn't already defined for this process, and only if it is possible (e.g., the directory already exists and is read-write, or the directory can be created).
TemporaryDirectory
setUpDirectory(String baseDir)
Convenience method which is equivalent to setupDirectory(new File(baseDir)).
TemporaryDirectory
setupService()
Create the service under test and attach all injected dependencies (Context, Application) to it.
ServiceTestCase
(protected)
setupSuggestions(String authority, int mode)
In order to use this class, you must extend it, and call this setup function from your constructor.
SearchRecentSuggestionsProvider
(protected)
SETUP_WIZARD_HAS_RUN
Whether the setup wizard has been run before (on first boot), or if it still needs to be run.
Settings.System
setURI(int index, String uri)
Set the Namespace URI of a specific attribute.
AttributesImpl
setUri(int viewId, String methodName, Uri value)
Call a method taking one Uri on a view in the layout for this RemoteViews.
RemoteViews
setURI(URI uri)
HttpRequestBase
setURI(URI uri)
RequestWrapper
setURL(int parameterIndex, URL theURL)
Sets the value of a specified parameter to a supplied java.net.URL.
PreparedStatement
setUrl(String Url)
Sets the public URL associated with this address.
Address
setUrl(String theURL)
Sets the URL used by this RowSet to access the database via a DriverManager.
RowSet
setURL(String parameterName, URL theURL)
Sets the value of a specified parameter to the supplied java.net.URL.
CallableStatement
setURL(URL u, String protocol, String host, int port, String file, String ref)
This method is deprecated. use setURL(URL, String String, int, String, String, String, String, String) instead.
URLStreamHandler
(protected)
setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String file, String query, String ref)
Sets the fields of the URL u to the values of the supplied arguments.
URLStreamHandler
(protected)
setUrlInterceptDisabled(boolean disabled)
This method is deprecated. This class was intended to be used by Gears. Since Gears was deprecated, so is this class.
UrlInterceptRegistry
setURLStreamHandlerFactory(URLStreamHandlerFactory streamFactory)
Sets the URLStreamHandlerFactory which creates protocol specific stream handlers.
URL
setUseCaches(boolean newValue)
Sets the flag indicating whether this connection allows to use caches or not.
URLConnection
setUseClientMode(boolean mode)
Sets whether this engine should act in client (or server) mode when handshaking.
SSLEngine
setUseClientMode(boolean mode)
Sets whether new connections should act in client mode when handshaking.
SSLServerSocket
setUseClientMode(boolean mode)
Sets whether this connection should act in client mode when handshaking.
SSLSocket
setUseDoubleTree(boolean use)
This method is deprecated. This setting controlled a rendering optimization that is no longer present. Setting it now has no effect.
WebSettings
setUseExpectContinue(boolean useExpectContinue)
HttpProtocolParamBean
setUseExpectContinue(HttpParams params, boolean b)
HttpProtocolParams
setUseLevel(boolean useLevel)
GradientDrawable
setUseParentHandlers(boolean notifyParentHandlers)
Sets the flag which indicates whether to use the handlers of this logger's parent, potentially recursively up the namespace.
Logger
setUserAgent(int ua)
This method is deprecated. Please use setUserAgentString instead.
WebSettings
setUserAgent(String userAgent)
HttpProtocolParamBean
setUserAgent(HttpParams params, String useragent)
HttpProtocolParams
setUserAgentString(String ua)
Set the WebView's user-agent string.
WebSettings
setUserData(Account account, String key, String value)
Sets account's userdata named "key" to the specified value.
AccountManager
setUsername(String theUsername)
Sets the Username property for the RowSet, used to authenticate a connection to the database.
RowSet
setUserTokenHandler(UserTokenHandler userTokenHandler)
AbstractHttpClient
setUseWideViewPort(boolean use)
Tell the WebView to use the wide viewport
WebSettings
setValidating(boolean value)
Determines whether the factory is configured to deliver parsers that are validating.
DocumentBuilderFactory
setValidating(boolean value)
Determines whether the factory is configured to deliver parsers that are validating.
SAXParserFactory
setValidating(boolean validating)
Specifies that the parser produced by this factory will be validating (it simply set feature XmlPullParser.FEATURE_VALIDATION to true or false).
XmlPullParserFactory
setValidator(AutoCompleteTextView.Validator validator)
Sets the validator used to perform text validation.
AutoCompleteTextView
setValue(int index, String value)
Set the value of a specific attribute.
AttributesImpl
setValue(String value)
Sets the value of the attribute.
Attr
setValue(String value)
Sets the value
BasicClientCookie
setValue(String value)
Sets the value of the key.
ListPreference
setValue(String value)
SetCookie
setValue(V object)
Sets the value of this entry to the specified value, replacing any existing value.
Map.Entry
setValueAt(int index, E value)
Given an index in the range 0...size()-1, sets a new value for the indexth key-value mapping that this SparseArray stores.
SparseArray
setValueIndex(int index)
Sets the value to the given index from the entry values.
ListPreference
setValues(float[] values)
Copy 9 values from the array into the matrix.
Matrix
setVariablePadding(boolean variable)
A boolean value indicating whether to use the maximum padding value of all frames in the set (false), or to use the padding value of the frame being shown (true).
DrawableContainer.DrawableContainerState
setVersion(int version)
Sets the version of the cookie specification to which this cookie conforms.
BasicClientCookie
setVersion(int version)
Sets the database version.
SQLiteDatabase
setVersion(int version)
Sets the version of the cookie specification to which this cookie conforms.
SetCookie
setVersion(HttpVersion version)
HttpProtocolParamBean
setVersion(HttpParams params, ProtocolVersion version)
Assigns the protocol version to be used by the HTTP methods that this collection of parameters applies to.
HttpProtocolParams
setVerticalCorrection(int verticalOffset)
KeyboardView
setVerticalFadingEdgeEnabled(boolean verticalFadingEdgeEnabled)

Define whether the vertical edges should be faded when this view is scrolled vertically.

View
setVerticalGap(int gap)
Keyboard
(protected)
setVerticalGravity(int verticalGravity)
LinearLayout
setVerticalGravity(int verticalGravity)
RelativeLayout
setVerticalScrollBarEnabled(boolean verticalScrollBarEnabled)

Define whether the vertical scrollbar should be drawn or not.

View
setVerticalScrollbarOverlay(boolean overlay)
Specify whether the vertical scrollbar has overlay style.
WebView
setVerticalSpacing(int verticalSpacing)
Set the amount of vertical (y) spacing to place between each item in the grid.
GridView
setVibrateSetting(int vibrateType, int vibrateSetting)
Sets the setting for when the vibrate type should vibrate.
AudioManager
setVideoEncoder(int video_encoder)
Sets the video encoder to be used for recording.
MediaRecorder
setVideoFrameRate(int rate)
Sets the frame rate of the video to be captured.
MediaRecorder
setVideoPath(String path)
VideoView
setVideoSize(int width, int height)
Sets the width and height of the video to be captured.
MediaRecorder
setVideoSource(int video_source)
Sets the video source to be used for recording.
MediaRecorder
setVideoURI(Uri uri)
VideoView
setView(View view)
Set the view to display in that dialog.
AlertDialog
setView(View view)
Set a custom view to be the contents of the Dialog.
AlertDialog.Builder
setView(View view)
Set the view to show.
Toast
setView(View view, int viewSpacingLeft, int viewSpacingTop, int viewSpacingRight, int viewSpacingBottom)
Set the view to display in that dialog, specifying the spacing to appear around that view.
AlertDialog
setViewBinder(SimpleAdapter.ViewBinder viewBinder)
Sets the binder used to bind data to views.
SimpleAdapter
setViewBinder(SimpleCursorAdapter.ViewBinder viewBinder)
Sets the binder used to bind data to views.
SimpleCursorAdapter
setViewBinder(SimpleCursorTreeAdapter.ViewBinder viewBinder)
Sets the binder used to bind data to views.
SimpleCursorTreeAdapter
setViewImage(ImageView v, int value)
Called by bindView() to set the image for an ImageView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an ImageView.
SimpleAdapter
setViewImage(ImageView v, String value)
Called by bindView() to set the image for an ImageView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an ImageView.
SimpleAdapter
setViewImage(ImageView v, String value)
Called by bindView() to set the image for an ImageView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an ImageView.
SimpleCursorAdapter
setViewImage(ImageView v, String value)
Called by bindView() to set the image for an ImageView.
SimpleCursorTreeAdapter
(protected)
setViewport(int width, int height)
Set the viewport dimensions if this canvas is GL based.
Canvas
setViewResource(int layout)

Sets the layout resource of the item views.

ResourceCursorAdapter
setViewText(TextView v, String text)
Called by bindView() to set the text for a TextView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an TextView.
SimpleAdapter
setViewText(TextView v, String text)
Called by bindView() to set the text for a TextView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an TextView.
SimpleCursorAdapter
setViewText(TextView v, String text)
Called by bindView() to set the text for a TextView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an TextView.
SimpleCursorTreeAdapter
setViewValue(View view, Cursor cursor, int columnIndex)
Binds the Cursor column defined by the specified index to the specified view.
SimpleCursorAdapter.ViewBinder
setViewValue(View view, Cursor cursor, int columnIndex)
Binds the Cursor column defined by the specified index to the specified view.
SimpleCursorTreeAdapter.ViewBinder
setViewValue(View view, Object data, String textRepresentation)
Binds the specified data to the specified view.
SimpleAdapter.ViewBinder
setViewVisibility(int viewId, int visibility)
Equivalent to calling View.setVisibility
RemoteViews
setVirtualHost(HttpHost host)
ClientParamBean
setVisibility(int v)
Set the enabled state of this view.
ProgressBar
setVisibility(int visibility)
Set the enabled state of this view.
SurfaceView
setVisibility(int visibility)
Set the enabled state of this view.
View
setVisibility(int visibility)
When visibility is set to VISIBLE or INVISIBLE, inflate() is invoked and this StubbedView is replaced in its parent by the inflated layout resource.
ViewStub
setVisible(boolean visible)
Control whether this activity's main window is visible.
Activity
setVisible(boolean visible)
Sets the visibility of the menu item.
MenuItem
setVisible(boolean visible)
Sets whether the zoom controls should be visible to the user.
ZoomButtonsController
setVisible(boolean visible, boolean restart)
Set whether this Drawable is visible.
AnimationDrawable
setVisible(boolean visible, boolean restart)
Set whether this Drawable is visible.
ClipDrawable
setVisible(boolean visible, boolean restart)
Set whether this Drawable is visible.
Drawable
setVisible(boolean visible, boolean restart)
Set whether this Drawable is visible.
DrawableContainer
setVisible(boolean visible, boolean restart)
Set whether this Drawable is visible.
InsetDrawable
setVisible(boolean visible, boolean restart)
Set whether this Drawable is visible.
LayerDrawable
setVisible(boolean visible, boolean restart)
Set whether this Drawable is visible.
RotateDrawable
setVisible(boolean visible, boolean restart)
Set whether this Drawable is visible.
ScaleDrawable
setVolume(float leftVolume, float rightVolume)
Sets the volume on this player.
MediaPlayer
setVolume(int streamID, float leftVolume, float rightVolume)
Set stream volume.
SoundPool
setVolumeControlStream(int streamType)
Suggests an audio stream whose volume should be changed by the hardware volume controls.
Activity
setVolumeControlStream(int streamType)
By default, this will use the owner Activity's suggested stream type.
Dialog
setVolumeControlStream(int streamType)
Window
setWaitingThread(WaitingThread waitingThread)
Sets the waiting thread.
WaitingThreadAborter
setWakeMode(Context context, int mode)
Set the low-level power management behavior for this MediaPlayer.
MediaPlayer
setWallpaper(Bitmap bitmap)
This method is deprecated. Use WallpaperManager.set() instead.
Context
setWallpaper(Bitmap bitmap)
This method is deprecated. Use WallpaperManager.set() instead.
ContextWrapper
setWallpaper(Bitmap bitmap)
This method is deprecated. Use WallpaperManager.set() instead.
MockContext
setWallpaper(InputStream data)
This method is deprecated. Use WallpaperManager.set() instead.
Context
setWallpaper(InputStream data)
This method is deprecated. Use WallpaperManager.set() instead.
ContextWrapper
setWallpaper(InputStream data)
This method is deprecated. Use WallpaperManager.set() instead.
MockContext
setWallpaperOffsets(IBinder windowToken, float xOffset, float yOffset)
Set the position of the current wallpaper within any larger space, when that wallpaper is visible behind the given window.
WallpaperManager
setWantClientAuth(boolean want)
Sets whether this engine should request client authentication.
SSLEngine
setWantClientAuth(boolean want)
Sets whether server-mode connections will be configured to request client authentication.
SSLServerSocket
setWantClientAuth(boolean want)
Sets whether this connections should request client authentication.
SSLSocket
setWebChromeClient(WebChromeClient client)
Set the chrome handler.
WebView
setWebView(WebView webview)
Set the WebView to the transportation object.
WebView.WebViewTransport
setWebViewClient(WebViewClient client)
Set the WebViewClient that will receive various notifications and requests.
WebView
setWeekdays(String[] data)
Sets the array of strings containing the full names of the days of the week.
DateFormatSymbols
setWeightSum(float weightSum)
Defines the desired weights sum.
LinearLayout
setWhiteBalance(String value)
Sets the white balance.
Camera.Parameters
setWidgetLayoutResource(int widgetLayoutResId)
Sets The layout for the controllable widget portion of this Preference.
Preference
setWidth(int width)

Change the popup's width MeasureSpec

If the popup is showing, calling this method will take effect only the next time the popup is shown.

PopupWindow
setWidth(int pixels)
Makes the TextView exactly this many pixels wide.
TextView
setWifiEnabled(boolean enabled)
Enable or disable Wi-Fi.
WifiManager
setWillNotCacheDrawing(boolean willNotCacheDrawing)
When a View's drawing cache is enabled, drawing is redirected to an offscreen bitmap.
View
setWillNotDraw(boolean willNotDraw)
If this view doesn't do any drawing on its own, set this flag to allow further optimizations.
View
setWindow(CursorWindow window)
Set a new cursor window to cursor, usually set a remote cursor window
AbstractWindowedCursor
setWindow(CursorWindow window)
Set a new cursor window to cursor, usually set a remote cursor window
SQLiteCursor
setWindowAnimations(int resId)
Specify custom animations to use for the window, as per WindowManager.LayoutParams.windowAnimations.
Window
setWindowLayoutMode(int widthSpec, int heightSpec)

Change the width and height measure specs that are given to the window manager by the popup.

PopupWindow
setWindowManager(WindowManager wm, IBinder appToken, String appName)
Set the window manager for use by this Window to, for example, display panels.
Window
setWiredHeadsetOn(boolean on)
This method is deprecated. Do not use.
AudioManager
setWritePermission(String permission)
Change the permission required to read and write data in the content provider.
ContentProvider
(protected)
setXfermode(Xfermode xfermode)
Set or clear the xfermode object.
Paint
setXIncludeAware(boolean value)
Determines whether the factory is configured to deliver parsers that are XInclude-aware.
DocumentBuilderFactory
setXIncludeAware(boolean value)
Determines whether the factory is configured to deliver parsers that are XInclude-aware.
SAXParserFactory
setXMLVersion(String version)
Assigns the current value of the version property.
Locator2Impl
setYear(int year)
This method is deprecated. use Calendar.set(Calendar.YEAR, year + 1900)
Date
setYear(int i)
This method is deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Year component.
Time
setYUV2RGB()
Set the matrix to convert from YUV to RGB
ColorMatrix
setZAdjustment(int zAdjustment)
Set the Z ordering mode to use while running the animation.
Animation
setZeroDigit(char value)
Sets the character which represents zero.
DecimalFormatSymbols
setZoneStrings(String[][] data)
Sets the two-dimensional array of strings containing the names of the time zones.
DateFormatSymbols
setZoomInEnabled(boolean enabled)
Whether to enable the zoom in control.
ZoomButtonsController
setZoomOutEnabled(boolean enabled)
Whether to enable the zoom out control.
ZoomButtonsController
setZoomSpeed(long speed)
ZoomButton
setZoomSpeed(long speed)
Sets the delay between zoom callbacks as the user holds a zoom button.
ZoomButtonsController
setZoomSpeed(long speed)
ZoomControls
setZOrderMediaOverlay(boolean isMediaOverlay)
Control whether the surface view's surface is placed on top of another regular surface view in the window (but still behind the window itself).
SurfaceView
setZOrderOnTop(boolean onTop)
Control whether the surface view's surface is placed on top of its window.
SurfaceView
SET_ACTIVITY_WATCHER
Allows an application to watch and control how activities are started globally in the system.
Manifest.permission
SET_ALWAYS_FINISH
Allows an application to control whether activities are immediately finished when put in the background.
Manifest.permission
SET_ANIMATION_SCALE
Modify the global animation scaling factor.
Manifest.permission
SET_COOKIE
SM
SET_COOKIE2
SM
SET_DEBUG_APP
Configure an application for debugging.
Manifest.permission
SET_ORIENTATION
Allows low-level access to setting the orientation (actually rotation) of the screen.
Manifest.permission
SET_PREFERRED_APPLICATIONS
Allows an application to modify the list of preferred applications with the PackageManager.addPackageToPreferred() and PackageManager.removePackageFromPreferred() methods.
Manifest.permission
SET_PROCESS_LIMIT
Allows an application to set the maximum number of (not needed) application processes that can be running.
Manifest.permission
SET_TIME_ZONE
Allows applications to set the system time zone
Manifest.permission
SET_WALLPAPER
Allows applications to set the wallpaper
Manifest.permission
SET_WALLPAPER_HINTS
Allows applications to set the wallpaper hints
Manifest.permission
SEVERE
The SEVERE level provides severe failure messages.
Level
severe(String msg)
Logs a message of level Level.SEVERE; the message is transmitted to all subscribed handlers.
Logger
SHA1
The predefined MGF1 parameter specification with an "SHA-1" message digest.
MGF1ParameterSpec
SHA256
The predefined MGF1 parameter specification with an "SHA-256" message digest.
MGF1ParameterSpec
SHA384
The predefined MGF1 parameter specification with an "SHA-384" message digest.
MGF1ParameterSpec
SHA512
The predefined MGF1 parameter specification with an "SHA-512" message digest.
MGF1ParameterSpec
Shader()
Shader
shadowColor
Place a shadow of the specified color behind the text.
int
R.attr
shadowDx
Horizontal offset of the shadow.
int
R.attr
shadowDy
Vertical offset of the shadow.
int
R.attr
shadowRadius
Radius of the shadow.
int
R.attr
shape

Must be one of the following constant values.

int
R.attr
Shape()
Shape
shape(char[] text, int start, int count)
Transforms the encoding of the text, starting from the character at index start and transforming count characters.
NumericShaper
shape(char[] text, int start, int count, int context)
Transforms the encoding of the text, starting from the character at index start and transforming count characters, using the specified context.
NumericShaper
ShapeDrawable()
ShapeDrawable constructor.
ShapeDrawable
ShapeDrawable(Shape s)
Creates a ShapeDrawable with a specified Shape.
ShapeDrawable
ShapeDrawable.ShaderFactory()
ShapeDrawable.ShaderFactory
SHARED
Shared Key authentication (requires static WEP keys)
int
WifiConfiguration.AuthAlgorithm
sharedUserId
Specify the name of a user ID that will be shared between multiple packages.
int
R.attr
sharedUserLabel
Specify a label for the shared user UID of this package.
int
R.attr
shareInterpolator

Must be a boolean value, either "true" or "false".

int
R.attr
SHAVIAN
The "Shavian" Unicode Block.
Character.UnicodeBlock
shiftLeft(int n)
Returns a new BigInteger whose value is this .
BigInteger
shiftRight(int n)
Returns a new BigInteger whose value is this >> n.
BigInteger
SHORT
The format style constant defining the short style.
int
DateFormat
SHORT
The SHORT display name style.
int
TimeZone
Short(String string)
Constructs a new Short from the specified string.
Short
Short(short value)
Constructs a new Short with the specified primitive short value.
Short
ShortBufferException()
Creates a new instance of ShortBufferException.
ShortBufferException
ShortBufferException(String msg)
Creates a new instance of ShortBufferException with the specified message
ShortBufferException
SHORTCUT_MIME_TYPE
MIME type for shortcut validation.
SearchManager
shortValue()
Returns this object's value as a short.
Byte
shortValue()
Returns this object's value as a short.
Double
shortValue()
Returns this object's value as a short.
Float
shortValue()
Returns this object's value as a short.
Integer
shortValue()
Returns this object's value as a short.
Long
shortValue()
Returns this object's value as a short.
Number
shortValue()
Gets the primitive value of this short.
Short
shortValueExact()
Returns this BigDecimal as a short value if it has no fractional part and if its value fits to the short range ([-2^{15}..2^{15}-1]).
BigDecimal
shouldCap(TextKeyListener.Capitalize cap, CharSequence cs, int off)
Returns whether it makes sense to automatically capitalize at the specified position in the specified text, with the specified rules.
TextKeyListener
shouldCommit()
Returns whether the Preference should commit its saved value(s) in getEditor().
Preference
shouldDisableDependents()
Checks whether this preference's dependents should currently be disabled.
CheckBoxPreference
shouldDisableDependents()
Checks whether this preference's dependents should currently be disabled.
EditTextPreference
shouldDisableDependents()
Checks whether this preference's dependents should currently be disabled.
Preference
shouldDisableView
Whether the view of this Preference should be disabled when this Preference is disabled.
int
R.attr
shouldOverrideKeyEvent(WebView view, KeyEvent event)
Give the host application a chance to handle the key event synchronously.
WebViewClient
shouldOverrideUrlLoading(WebView view, String url)
Give the host application a chance to take over the control when a new url is about to be loaded in the current WebView.
WebViewClient
shouldPersist()
Checks whether, at the given time this method is called, this Preference should store/restore its value(s) into the SharedPreferences.
Preference
(protected)
shouldStop()
Checks whether the test run should stop
TestResult
shouldVibrate(int vibrateType)
Returns whether a particular type should vibrate according to user settings and the current ringer mode.
AudioManager
SHOULD_SYNC
This constant is deprecated. see ContactsContract
Contacts.GroupsColumns
SHOULD_SYNC
Whether this group should be synced if the SYNC_EVERYTHING settings is false for this group's account.
ContactsContract.GroupsColumns
SHOULD_SYNC
Depending on the mode defined by the sync-adapter, this flag controls the top-level sync behavior for this data source.
ContactsContract.SettingsColumns
show()
Creates a AlertDialog with the arguments supplied to this builder and show()'s the dialog.
AlertDialog.Builder
show()
Start the dialog and display it on screen.
DatePickerDialog
show()
Start the dialog and display it on screen.
Dialog
show()
Show the controller on screen.
MediaController
show()
Surface
show()
Show the view for the specified duration.
Toast
show()
ZoomControls
show(Context context, CharSequence title, CharSequence message)
ProgressDialog
show(Context context, CharSequence title, CharSequence message, boolean indeterminate)
ProgressDialog
show(Context context, CharSequence title, CharSequence message, boolean indeterminate, boolean cancelable)
ProgressDialog
show(Context context, CharSequence title, CharSequence message, boolean indeterminate, boolean cancelable, DialogInterface.OnCancelListener cancelListener)
ProgressDialog
show(int timeout)
Show the controller on screen.
MediaController
showAsDropDown(View anchor)

Display the content view in a popup window anchored to the bottom-left corner of the anchor view.

PopupWindow
showAsDropDown(View anchor, int xoff, int yoff)

Display the content view in a popup window anchored to the bottom-left corner of the anchor view offset by the specified x and y coordinates.

PopupWindow
showAtLocation(View parent, int gravity, int x, int y)

Display the content view in a popup window at the specified location.

PopupWindow
showContextMenu()
Bring up the context menu for this view.
Gallery
showContextMenu()
Bring up the context menu for this view.
View
showContextMenuForChild(View originalView)
Bring up a context menu for the specified view or its ancestors.
AbsListView
showContextMenuForChild(View originalView)
Bring up a context menu for the specified view or its ancestors.
Gallery
showContextMenuForChild(View originalView)
Bring up a context menu for the specified view or its ancestors.
ViewGroup
showContextMenuForChild(View originalView)
Bring up a context menu for the specified view or its ancestors.
ViewParent
showDefault
Whether to show an item for a default sound.
int
R.attr
showDialog(Bundle state)
Shows the dialog associated with this Preference.
DialogPreference
(protected)
showDialog(int id)
Show a dialog managed by this activity.
Activity
showDropDown()

Displays the drop down on screen.

AutoCompleteTextView
showInputMethodPicker()
InputMethodManager
showNext()
Manually shows the next child.
ViewAnimator
showPrevious()
Manually shows the previous child.
ViewAnimator
showQuickContact(Context context, Rect target, Uri lookupUri, int mode, String[] excludeMimes)
Trigger a dialog that lists the various methods of interacting with the requested Contacts entry.
ContactsContract.QuickContact
showQuickContact(Context context, View target, Uri lookupUri, int mode, String[] excludeMimes)
Trigger a dialog that lists the various methods of interacting with the requested Contacts entry.
ContactsContract.QuickContact
showSilent
Whether to show an item for 'Silent'.
int
R.attr
showSoftInput(View view, int flags)
Synonym for showSoftInput(View, int, ResultReceiver) without a result receiver: explicitly request that the current input method's soft input area be shown to the user, if needed.
InputMethodManager
showSoftInput(View view, int flags, ResultReceiver resultReceiver)
Explicitly request that the current input method's soft input area be shown to the user, if needed.
InputMethodManager
showSoftInput(int flags, ResultReceiver resultReceiver)
Request that any soft input part of the input method be shown to the user.
InputMethod
showSoftInput(int flags, ResultReceiver resultReceiver)
Handle a request by the system to show the soft input area.
InputMethodService.InputMethodImpl
showSoftInputFromInputMethod(IBinder token, int flags)
Show the input method's soft input area, so the user sees the input method window and can interact with it.
InputMethodManager
showStackRaw()
BaseTestRunner
(protected)
showStatusIcon(IBinder imeToken, String packageName, int iconId)
InputMethodManager
showStatusIcon(int iconResId)
InputMethodService
showWindow(boolean showInput)
InputMethodService
SHOW_CLASSLOADER
int
Debug
SHOW_EXPLICIT
Flag for showSoftInput(int, ResultReceiver): this show has been explicitly requested by the user.
int
InputMethod
SHOW_FORCED
Flag for showSoftInput(int, ResultReceiver): this show has been forced to happen by the user.
int
InputMethod
SHOW_FORCED
Flag for showSoftInput(View, int) to indicate that the user has forced the input method open (such as by long-pressing menu) so it should not be closed until they explicitly do so.
int
InputMethodManager
SHOW_FULL_DETAIL
Flags for printLoadedClasses().
int
Debug
SHOW_GTALK_SERVICE_STATUS
Settings.System
SHOW_IMPLICIT
Flag for showSoftInput(View, int) to indicate that this is an implicit request to show the input window, not as the result of a direct request by the user.
int
InputMethodManager
SHOW_INITIALIZED
int
Debug
SHOW_OR_CREATE_CONTACT
This constant is deprecated. see ContactsContract
Contacts.Intents
SHOW_OR_CREATE_CONTACT
Takes as input a data URI with a mailto: or tel: scheme.
ContactsContract.Intents
SHOW_PROCESSES
Control whether the process CPU usage meter should be shown.
Settings.System
SHOW_WEB_SUGGESTIONS
Whether live web suggestions while the user types into search dialogs are enabled.
Settings.System
shrinkColumns
The 0 based index of the columns to shrink.
int
R.attr
shuffle(List<?> list)
Moves every element of the list to a random new position in the list.
Collections
shuffle(List<?> list, Random random)
Moves every element of the list to a random new position in the list using the specified random number generator.
Collections
shutdown()
Shuts down this pool and all associated resources.
AbstractConnPool
shutdown()
AbstractPooledConnAdapter
shutdown()
Shuts down this connection manager and releases allocated resources.
ClientConnectionManager
shutdown()
Shuts down this pool and all associated resources.
ConnPoolByRoute
shutdown()
Force-closes this connection.
DefaultClientConnection
shutdown()
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
ExecutorService
shutdown()
Force-closes this connection.
HttpConnection
shutdown()
Shuts down this worker.
RefQueueWorker
shutdown()
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
ScheduledThreadPoolExecutor
shutdown()
Shuts down this connection manager and releases allocated resources.
SingleClientConnManager
shutdown()
Shuts down the connection in this pool entry.
SingleClientConnManager.PoolEntry
(protected)
shutdown()
Force-closes this connection.
SocketHttpClientConnection
shutdown()
Force-closes this connection.
SocketHttpServerConnection
shutdown()
Releases the resources used by the TextToSpeech engine.
TextToSpeech
shutdown()
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
ThreadPoolExecutor
shutdown()
Shuts down this connection manager and releases allocated resources.
ThreadSafeClientConnManager
shutdownEntry()
Shuts down the entry.
AbstractPoolEntry
(protected)
shutdownInput()
Shuts down the input side of the socket.
LocalSocket
shutdownInput()
Closes the input stream of this socket.
Socket
shutdownInput()
Closes the input channel of this socket.
SocketImpl
(protected)
shutdownNow()
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
ExecutorService
shutdownNow()
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
ScheduledThreadPoolExecutor
shutdownNow()
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
ThreadPoolExecutor
shutdownOutput()
Shuts down the output side of the socket.
LocalSocket
shutdownOutput()
Closes the output stream of this socket.
Socket
shutdownOutput()
Closes the output channel of this socket.
SocketImpl
(protected)
shutdownService()
This will make the necessary calls to stop (or unbind) the Service under test, and call onDestroy().
ServiceTestCase
(protected)
SIGN
This constant stands for the number sign.
NumberFormat.Field
SIGN
Constant that indicates that this Signature instance has been initialized for signing.
int
Signature
sign()
Generates and returns the signature of all updated data.
Signature
sign(byte[] outbuf, int offset, int len)
Generates and stores the signature of all updated data in the provided byte[] at the specified position with the specified length.
Signature
signal()
Moves the longest-waiting thread, if one exists, from the wait queue for this condition to the wait queue for the owning lock.
AbstractQueuedSynchronizer.ConditionObject
signal()
Wakes up one waiting thread.
Condition
signalAll()
Moves all threads from the wait queue for this condition to the wait queue for the owning lock.
AbstractQueuedSynchronizer.ConditionObject
signalAll()
Wakes up all waiting threads.
Condition
SIGNAL_KILL
int
Process
SIGNAL_PERSISTENT_PROCESSES
Allow an application to request that a signal be sent to all persistent processes
Manifest.permission
SIGNAL_QUIT
int
Process
SIGNAL_USR1
int
Process
Signature(byte[] signature)
Create Signature from an existing raw byte array.
Signature
Signature(String text)
Create Signature from a text representation previously returned by toChars() or toCharsString().
Signature
SignatureException()
Constructs a new instance of SignatureException.
SignatureException
SignatureException(String msg)
Constructs a new instance of SignatureException with the given message.
SignatureException
SignatureException(String message, Throwable cause)
Constructs a new instance of SignatureException with the given message and the cause.
SignatureException
SignatureException(Throwable cause)
Constructs a new instance of SignatureException with the cause.
SignatureException
SignatureSpi()
SignatureSpi
SIGNATURE_FIRST_NOT_SIGNED
Signature check result: this is returned by checkSignatures(int, int) if the first package is not signed, but the second is.
int
PackageManager
SIGNATURE_MATCH
Signature check result: this is returned by checkSignatures(int, int) if the two packages have a matching signature.
int
PackageManager
SIGNATURE_NEITHER_SIGNED
Signature check result: this is returned by checkSignatures(int, int) if neither of the two packages is signed.
int
PackageManager
SIGNATURE_NO_MATCH
Signature check result: this is returned by checkSignatures(int, int) if both packages are signed but there is no matching signature.
int
PackageManager
SIGNATURE_SECOND_NOT_SIGNED
Signature check result: this is returned by checkSignatures(int, int) if the second package is not signed, but the first is.
int
PackageManager
SIGNATURE_UNKNOWN_PACKAGE
Signature check result: this is returned by checkSignatures(int, int) if either of the given package names are not valid.
int
PackageManager
SIGNATURE_VERSION
Defines the signature version of the JAR file.
Attributes.Name
SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
Constructs a new instance of SignedObject with the target object, the private key and the engine to compute the signature.
SignedObject
Signer(String name)
Constructs a new instance of Signer with the given name.
Signer
Signer(String name, IdentityScope scope)
Constructs a new instance of Signer with the given name in the given scope.
Signer
signum()
Returns the sign of this BigDecimal.
BigDecimal
signum()
Returns the sign of this BigInteger.
BigInteger
signum(double d)
Returns the signum function of the argument.
Math
signum(double d)
Returns the signum function of the argument.
StrictMath
signum(float f)
Returns the signum function of the argument.
Math
signum(float f)
Returns the signum function of the argument.
StrictMath
signum(int i)
Returns the value of the signum function for the specified integer.
Integer
signum(long lng)
Returns the value of the signum function for the specified long value.
Long
SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to)
Constructor
SimpleAdapter
SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to)
Constructor.
SimpleCursorAdapter
SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, int expandedGroupLayout, String[] groupFrom, int[] groupTo, int childLayout, int lastChildLayout, String[] childFrom, int[] childTo)
Constructor.
SimpleCursorTreeAdapter
SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, int expandedGroupLayout, String[] groupFrom, int[] groupTo, int childLayout, String[] childFrom, int[] childTo)
Constructor.
SimpleCursorTreeAdapter
SimpleCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, String[] groupFrom, int[] groupTo, int childLayout, String[] childFrom, int[] childTo)
Constructor.
SimpleCursorTreeAdapter
SimpleDateFormat()
Constructs a new SimpleDateFormat for formatting and parsing dates and times in the SHORT style for the default locale.
SimpleDateFormat
SimpleDateFormat(String pattern)
Constructs a new SimpleDateFormat using the specified non-localized pattern and the DateFormatSymbols and Calendar for the default locale.
SimpleDateFormat
SimpleDateFormat(String template, DateFormatSymbols value)
Constructs a new SimpleDateFormat using the specified non-localized pattern and DateFormatSymbols and the Calendar for the default locale.
SimpleDateFormat
SimpleDateFormat(String template, Locale locale)
Constructs a new SimpleDateFormat using the specified non-localized pattern and the DateFormatSymbols and Calendar for the specified locale.
SimpleDateFormat
SimpleExpandableListAdapter(Context context, List<? extends Map<String, ?>> groupData, int expandedGroupLayout, int collapsedGroupLayout, String[] groupFrom, int[] groupTo, List<? extends List<? extends Map<String, ?>>> childData, int childLayout, int lastChildLayout, String[] childFrom, int[] childTo)
Constructor
SimpleExpandableListAdapter
SimpleExpandableListAdapter(Context context, List<? extends Map<String, ?>> groupData, int expandedGroupLayout, int collapsedGroupLayout, String[] groupFrom, int[] groupTo, List<? extends List<? extends Map<String, ?>>> childData, int childLayout, String[] childFrom, int[] childTo)
Constructor
SimpleExpandableListAdapter
SimpleExpandableListAdapter(Context context, List<? extends Map<String, ?>> groupData, int groupLayout, String[] groupFrom, int[] groupTo, List<? extends List<? extends Map<String, ?>>> childData, int childLayout, String[] childFrom, int[] childTo)
Constructor
SimpleExpandableListAdapter
SimpleFormatter()
Constructs a new SimpleFormatter.
SimpleFormatter
simpleQueryForLong()
Execute a statement that returns a 1 by 1 table with a numeric value.
SQLiteStatement
simpleQueryForString()
Execute a statement that returns a 1 by 1 table with a text value.
SQLiteStatement
SimpleTimeZone(int offset, String name)
Constructs a SimpleTimeZone with the given base time zone offset from GMT and time zone ID.
SimpleTimeZone
SimpleTimeZone(int offset, String name, int startMonth, int startDay, int startDayOfWeek, int startTime, int endMonth, int endDay, int endDayOfWeek, int endTime)
Constructs a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, and times to start and end the daylight savings time.
SimpleTimeZone
SimpleTimeZone(int offset, String name, int startMonth, int startDay, int startDayOfWeek, int startTime, int endMonth, int endDay, int endDayOfWeek, int endTime, int daylightSavings)
Constructs a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, times to start and end the daylight savings time, and the daylight savings time difference in milliseconds.
SimpleTimeZone
SimpleTimeZone(int offset, String name, int startMonth, int startDay, int startDayOfWeek, int startTime, int startTimeMode, int endMonth, int endDay, int endDayOfWeek, int endTime, int endTimeMode, int daylightSavings)
Construct a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, times to start and end the daylight savings time including a mode specifier, the daylight savings time difference in milliseconds.
SimpleTimeZone
simple_dropdown_item_1line
int
R.layout
simple_expandable_list_item_1
int
R.layout
simple_expandable_list_item_2
int
R.layout
simple_gallery_item
int
R.layout
simple_list_item_1
int
R.layout
simple_list_item_2
int
R.layout
simple_list_item_checked
int
R.layout
simple_list_item_multiple_choice
int
R.layout
simple_list_item_single_choice
int
R.layout
simple_spinner_dropdown_item
int
R.layout
simple_spinner_item
int
R.layout
SIMPLIFIED_CHINESE
Locale constant for zh_CN.
Locale
SIM_STATE_ABSENT
SIM card state: no SIM card is available in the device
int
TelephonyManager
SIM_STATE_NETWORK_LOCKED
SIM card state: Locked: requries a network PIN to unlock
int
TelephonyManager
SIM_STATE_PIN_REQUIRED
SIM card state: Locked: requires the user's SIM PIN to unlock
int
TelephonyManager
SIM_STATE_PUK_REQUIRED
SIM card state: Locked: requires the user's SIM PUK to unlock
int
TelephonyManager
SIM_STATE_READY
SIM card state: Ready
int
TelephonyManager
SIM_STATE_UNKNOWN
SIM card state: Unknown.
int
TelephonyManager
sin(double d)
Returns the closest double approximation of the sine of the argument.
Math
sin(double d)
Returns the closest double approximation of the sine of the argument.
StrictMath
sin(float angle)
Returns the closest float approximation of the sine of the argument.
FloatMath
SingleClientConnManager(HttpParams params, SchemeRegistry schreg)
Creates a new simple connection manager.
SingleClientConnManager
SingleLaunchActivityTestCase(String pkg, Class<T> activityClass)
NOTE: The parameter pkg must refer to the package identifier of the package hosting the activity to be launched, which is specified in the AndroidManifest.xml file.
SingleLaunchActivityTestCase
singleLine
This constant is deprecated. This attribute is deprecated and is replaced by the textMultiLine flag in the inputType attribute. Use caution when altering existing layouts, as the default value of singeLine is false (multi-line mode), but if you specify any value for inputType, the default is single-line mode. (If both singleLine and inputType attributes are found, the inputType flags will override the value of singleLine.)
int
R.attr
SingleLineTransformationMethod()
SingleLineTransformationMethod
singleton(E object)
Returns a set containing the specified element.
Collections
singletonList(E object)
Returns a list containing the specified element.
Collections
singletonMap(K key, V value)
Returns a Map containing the specified key and value.
Collections
SINGLE_COOKIE_HEADER
Parameter for Cookie header formatting.
CookieSpecPNames
sinh(double d)
Returns the closest double approximation of the hyperbolic sine of the argument.
Math
sinh(double d)
Returns the closest double approximation of the hyperbolic sine of the argument.
StrictMath
SINHALA
The "Sinhala" Unicode Block.
Character.UnicodeBlock
sink()
Returns the sink channel of the pipe.
Pipe
SIZE
The number of bits needed to represent a Byte value in two's complement form.
int
Byte
SIZE
The number of bits required to represent a Character value unsigned form.
int
Character
SIZE
Constant for the number of bits needed to represent a double in two's complement form.
int
Double
SIZE
Constant for the number of bits needed to represent a float in two's complement form.
int
Float
SIZE
Constant for the number of bits needed to represent an int in two's complement form.
int
Integer
SIZE
Constant for the number of bits needed to represent a long in two's complement form.
int
Long
SIZE
The size of the file in bytes

Type: INTEGER (long)

MediaStore.MediaColumns
SIZE
The number of bytes in the file identified by the openable URI.
OpenableColumns
SIZE
Constant for the number of bits needed to represent a short in two's complement form.
int
Short
SIZE
The SIZE text attribute.
TextAttribute
size()
Returns a count of how many objects this Collection contains.
AbstractCollection
size()
Returns the number of elements in this map.
AbstractMap
size()
Returns the number of elements in this queue.
ArrayBlockingQueue
size()
Returns the number of elements in this ArrayList.
ArrayList
size()
Returns the number of key/value pairs associated with this Attributes.
Attributes
size()
Returns the number of bits this BitSet has.
BitSet
size()
Returns the number of mappings contained in this Bundle.
Bundle
size()
Returns the total number of bytes written to this stream so far.
ByteArrayOutputStream
size()
Returns the size of this writer, that is the number of characters it stores.
CharArrayWriter
size()
Returns a count of how many objects this Collection contains.
Collection
size()
Returns the number of key-value mappings in this map.
ConcurrentHashMap
size()
Returns the number of elements in this queue.
ConcurrentLinkedQueue
size()
Returns the number of values.
ContentValues
size()
Returns the number of elements in this list.
CopyOnWriteArrayList
size()
Returns the number of elements in this set.
CopyOnWriteArraySet
size()
Returns the total number of bytes written to the target stream so far.
DataOutputStream
size()
Returns a count of how many objects this Collection contains.
DelayQueue
size()
Returns the number of key/value pairs in this dictionary.
Dictionary
size()
Returns the number of elements in this EnumMap.
EnumMap
size()
Returns the size of the file underlying this channel in bytes.
FileChannel
size()
Returns the length of the file lock in bytes.
FileLock
size()
Returns the number of elements in this map.
HashMap
size()
Returns the number of elements in this HashSet.
HashSet
size()
Returns the number of key/value pairs in this Hashtable.
Hashtable
size()
Returns the number of mappings in this IdentityHashMap.
IdentityHashMap
size()
Returns the number of Identity objects in this scope.
IdentityScope
size()
Returns the number of entries stored in this KeyStore.
KeyStore
size()
Returns the number of elements in this queue.
LinkedBlockingQueue
size()
Returns the number of elements in this LinkedList.
LinkedList
size()
Returns the number of elements in this List.
List
size()
Returns the number of mappings in this Map.
Map
size()
Get the number of items in the menu.
Menu
size()
Returns a count of how many objects this Collection contains.
PriorityBlockingQueue
size()
Gets the size of the priority queue.
PriorityQueue
size()
Returns the number of elements in this set.
Set
size()
Returns the number of key-value mappings that this SparseArray currently stores.
SparseArray
size()
Returns the number of key-value mappings that this SparseBooleanArray currently stores.
SparseBooleanArray
size()
Returns the number of key-value mappings that this SparseIntArray currently stores.
SparseIntArray
size()
Always returns zero.
SynchronousQueue
size()
Returns the number of mappings in this map.
TreeMap
size()
Returns the number of elements in this TreeSet.
TreeSet
size()
Returns the number of elements in this vector.
Vector
size()
Returns the number of elements in this map.
WeakHashMap
size()
Returns the number of ZipEntries in this ZipFile.
ZipFile
skew(float sx, float sy)
Preconcat the current matrix with the specified skew.
Canvas
skip(String pattern)
Tries to use the specified string to construct a pattern and then uses the constructed pattern to match input starting from the current position.
Scanner
skip(Pattern pattern)
Tries to use specified pattern to match input starting from the current position.
Scanner
skip(long count)
Skips count number of bytes in this stream.
AssetFileDescriptor.AutoCloseInputStream
skip(long n)
Skips at most n bytes in this stream.
AssetManager.AssetInputStream
skip(long amount)
Skips amount number of bytes in this stream.
BufferedInputStream
skip(long amount)
Skips amount characters in this reader.
BufferedReader
skip(long n)
Skips count number of bytes in this InputStream.
ByteArrayInputStream
skip(long n)
Skips count number of characters in this reader.
CharArrayReader
skip(long nbytes)
Skip up to n bytes of data on the underlying input stream.
CheckedInputStream
skip(long n)
Skips up to n bytes from this input stream.
CipherInputStream
skip(long n)
Skips and discards a number of bytes from the input stream.
ContentLengthInputStream
skip(long count)
Skips count number of bytes in this stream.
FileInputStream
skip(long count)
Skips count number of bytes in this stream.
FilterInputStream
skip(long count)
Skips count characters in this reader.
FilterReader
skip(long nbytes)
Skips up to n bytes of uncompressed data.
InflaterInputStream
skip(long n)
Skips at most n bytes in this stream.
InputStream
skip(long count)
Skips count number of bytes in this stream.
LineNumberInputStream
skip(long count)
Skips count number of characters in this reader.
LineNumberReader
skip(long toSkip)
Skips toSkip bytes on this stream.
ObjectInput
skip(long count)
Skips count bytes in this stream.
PushbackInputStream
skip(long count)
Skips count characters in this reader.
PushbackReader
skip(long count)
Skips amount characters in this reader.
Reader
skip(long n)
Skips n characters in the source string.
StringBufferInputStream
skip(long ns)
Skips amount characters in the source string.
StringReader
skip(long value)
Skips up to the specified number of bytes in the current ZIP entry.
ZipInputStream
skipBytes(int count)
Skips count number of bytes.
DataInput
skipBytes(int count)
Skips count number of bytes in this stream.
DataInputStream
skipBytes(int length)
Skips length bytes on the source stream.
ObjectInputStream
skipBytes(int count)
Skips over count bytes in this file.
RandomAccessFile
skipPast(String to)
Skip characters until past the requested string.
JSONTokener
skippedEntity(String name)
Receive notification of a skipped entity.
ContentHandler
skippedEntity(String name)
Receive notification of a skipped entity.
DefaultHandler
skippedEntity(String name)
Filter a skipped entity event.
XMLFilterImpl
skippedEntity(String name)
Adapt a SAX2 skipped entity event.
XMLReaderAdapter
skipTo(char to)
Skip characters until the next character is the requested character.
JSONTokener
skipWhitespace(CharArrayBuffer buffer, ParserCursor cursor)
Helper to skip whitespace.
BasicLineParser
(protected)
slashSlashComments(boolean flag)
Specifies whether "slash-slash" (C++-style) comments shall be recognized.
StreamTokenizer
slashStarComments(boolean flag)
Specifies whether "slash-star" (C-style) comments shall be recognized.
StreamTokenizer
sleep(long ms)
Waits a given number of milliseconds (of uptimeMillis) before returning.
SystemClock
sleep(long time)
Causes the thread which sent this message to sleep for the given interval of time (given in milliseconds).
Thread
sleep(long timeout)
Performs a Thread.sleep using this unit.
TimeUnit
sleep(long millis, int nanos)
Causes the thread which sent this message to sleep for the given interval of time (given in milliseconds and nanoseconds).
Thread
slice()
Returns a sliced buffer that shares its content with this buffer.
ByteBuffer
slice()
Returns a sliced buffer that shares its content with this buffer.
CharBuffer
slice()
Returns a sliced buffer that shares its content with this buffer.
DoubleBuffer
slice()
Returns a sliced buffer that shares its content with this buffer.
FloatBuffer
slice()
Returns a sliced buffer that shares its content with this buffer.
IntBuffer
slice()
Returns a sliced buffer that shares its content with this buffer.
LongBuffer
slice()
Returns a sliced buffer that shares its content with this buffer.
ShortBuffer
slide_in_left
int
R.anim
slide_out_right
int
R.anim
SlidingDrawer(Context context, AttributeSet attrs)
Creates a new SlidingDrawer from a specified set of attributes defined in XML.
SlidingDrawer
SlidingDrawer(Context context, AttributeSet attrs, int defStyle)
Creates a new SlidingDrawer from a specified set of attributes defined in XML.
SlidingDrawer
smallIcon
smaller icon of the authenticator

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int
R.attr
SMALLINT
The type code that identifies the SQL type SMALLINT.
int
Types
smallScreens
Indicates whether the application supports smaller screen form-factors.
int
R.attr
SMALL_FORM_VARIANTS
The "Small Form Variants" Unicode Block.
Character.UnicodeBlock
smoothScrollbar
When set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen.
int
R.attr
smoothScrollBy(int dx, int dy)
Like scrollBy(int, int), but scroll smoothly instead of immediately.
HorizontalScrollView
smoothScrollBy(int dx, int dy)
Like scrollBy(int, int), but scroll smoothly instead of immediately.
ScrollView
smoothScrollTo(int x, int y)
Like scrollTo(int, int), but scroll smoothly instead of immediately.
HorizontalScrollView
smoothScrollTo(int x, int y)
Like scrollTo(int, int), but scroll smoothly instead of immediately.
ScrollView
SmsMessage()
This constructor is deprecated. Use android.telephony.SmsMessage.
SmsMessage
SmsMessage.SubmitPdu()
This constructor is deprecated. Use android.telephony.SmsMessage.
SmsMessage.SubmitPdu
socket()
Returns the related datagram socket of this channel, which does not define additional public methods to those defined by DatagramSocket.
DatagramChannel
socket()
Return the server-socket assigned this channel, which does not declare any public methods that are not declared in ServerSocket.
ServerSocketChannel
Socket()
Creates a new unconnected socket.
Socket
socket()
Returns the socket assigned to this channel, which does not declare any public methods that are not declared in Socket.
SocketChannel
Socket(String dstName, int dstPort)
Creates a new streaming socket connected to the target host specified by the parameters dstName and dstPort.
Socket
Socket(String hostName, int port, boolean streaming)
This constructor is deprecated. Use Socket(String, int) instead of this for streaming sockets or an appropriate constructor of DatagramSocket for UDP transport.
Socket
Socket(String dstName, int dstPort, InetAddress localAddress, int localPort)
Creates a new streaming socket connected to the target host specified by the parameters dstName and dstPort.
Socket
Socket(InetAddress dstAddress, int dstPort)
Creates a new streaming socket connected to the target host specified by the parameters dstAddress and dstPort.
Socket
Socket(InetAddress addr, int port, boolean streaming)
This constructor is deprecated. Use Socket(InetAddress, int) instead of this for streaming sockets or an appropriate constructor of DatagramSocket for UDP transport.
Socket
Socket(InetAddress dstAddress, int dstPort, InetAddress localAddress, int localPort)
Creates a new streaming socket connected to the target host specified by the parameters dstAddress and dstPort.
Socket
Socket(Proxy proxy)
Creates a new unconnected socket using the given proxy type.
Socket
SocketAddress()
Creates a new SocketAddress instance.
SocketAddress
SocketException()
Constructs a new SocketException instance with its walkback filled in.
SocketException
SocketException(String detailMessage)
Constructs a new SocketException instance with its walkback and message filled in.
SocketException
SocketHandler()
Constructs a SocketHandler object using the properties read by the log manager, including the host name and port number.
SocketHandler
SocketHandler(String host, int port)
Constructs a SocketHandler object using the specified host name and port number together with other properties read by the log manager.
SocketHandler
SocketHttpClientConnection()
SocketHttpClientConnection
SocketHttpServerConnection()
SocketHttpServerConnection
SocketImpl()
Creates a new connection-oriented socket implementation.
SocketImpl
SocketInputBuffer(Socket socket, int buffersize, HttpParams params)
SocketInputBuffer
SocketOutputBuffer(Socket socket, int buffersize, HttpParams params)
SocketOutputBuffer
SocketPermission(String host, String action)
Constructs a new SocketPermission instance.
SocketPermission
SocketTimeoutException()
Creates a new SocketTimeoutException instance with its walkback filled in.
SocketTimeoutException
SocketTimeoutException(String detailMessage)
Creates a new SocketTimeoutException instance with its walkback and message filled in.
SocketTimeoutException
SOCKET_BUFFER_SIZE
Determines the size of the internal socket buffer used to buffer data while receiving / transmitting HTTP messages.
CoreConnectionPNames
SoftReference(T r)
Constructs a new soft reference to the given referent.
SoftReference
SoftReference(T r, ReferenceQueue<? super T> q)
Constructs a new soft reference to the given referent.
SoftReference
SOFT_INPUT_ADJUST_PAN
Adjustment option for softInputMode: set to have a window pan when an input method is shown, so it doesn't need to deal with resizing but just panned by the framework to ensure the current input focus is visible.
int
WindowManager.LayoutParams
SOFT_INPUT_ADJUST_RESIZE
Adjustment option for softInputMode: set to allow the window to be resized when an input method is shown, so that its contents are not covered by the input method.
int
WindowManager.LayoutParams
SOFT_INPUT_ADJUST_UNSPECIFIED
Adjustment option for softInputMode: nothing specified.
int
WindowManager.LayoutParams
SOFT_INPUT_IS_FORWARD_NAVIGATION
Bit for softInputMode: set when the user has navigated forward to the window.
int
WindowManager.LayoutParams
SOFT_INPUT_MASK_ADJUST
Mask for softInputMode of the bits that determine the way that the window should be adjusted to accommodate the soft input window.
int
WindowManager.LayoutParams
SOFT_INPUT_MASK_STATE
Mask for softInputMode of the bits that determine the desired visibility state of the soft input area for this window.
int
WindowManager.LayoutParams
SOFT_INPUT_MODE_CHANGED
int
WindowManager.LayoutParams
SOFT_INPUT_STATE_ALWAYS_HIDDEN
Visibility state for softInputMode: please always hide any soft input area when this window receives focus.
int
WindowManager.LayoutParams
SOFT_INPUT_STATE_ALWAYS_VISIBLE
Visibility state for softInputMode: please always make the soft input area visible when this window receives input focus.
int
WindowManager.LayoutParams
SOFT_INPUT_STATE_HIDDEN
Visibility state for softInputMode: please hide any soft input area when normally appropriate (when the user is navigating forward to your window).
int
WindowManager.LayoutParams
SOFT_INPUT_STATE_UNCHANGED
Visibility state for softInputMode: please don't change the state of the soft input area.
int
WindowManager.LayoutParams
SOFT_INPUT_STATE_UNSPECIFIED
Visibility state for softInputMode: no state has been specified.
int
WindowManager.LayoutParams
SOFT_INPUT_STATE_VISIBLE
Visibility state for softInputMode: please show the soft input area when normally appropriate (when the user is navigating forward to your window).
int
WindowManager.LayoutParams
sort()
Swap top/bottom or left/right if there are flipped (i.e.
Rect
sort()
Swap top/bottom or left/right if there are flipped (i.e.
RectF
sort(byte[] array)
Sorts the specified array in ascending numerical order.
Arrays
sort(byte[] array, int start, int end)
Sorts the specified range in the array in ascending numerical order.
Arrays
sort(char[] array)
Sorts the specified array in ascending numerical order.
Arrays
sort(char[] array, int start, int end)
Sorts the specified range in the array in ascending numerical order.
Arrays
sort(double[] array)
Sorts the specified array in ascending numerical order.
Arrays
sort(double[] array, int start, int end)
Sorts the specified range in the array in ascending numerical order.
Arrays
sort(float[] array)
Sorts the specified array in ascending numerical order.
Arrays
sort(float[] array, int start, int end)
Sorts the specified range in the array in ascending numerical order.
Arrays
sort(int[] array)
Sorts the specified array in ascending numerical order.
Arrays
sort(int[] array, int start, int end)
Sorts the specified range in the array in ascending numerical order.
Arrays
sort(Object[] array)
Sorts the specified array in ascending natural order.
Arrays
sort(Object[] array, int start, int end)
Sorts the specified range in the array in ascending natural order.
Arrays
sort(Comparator<? super T> comparator)
Sorts the content of this adapter using the specified comparator.
ArrayAdapter
sort(List<T> list)
Sorts the specified list in ascending natural order.
Collections
sort(List<T> list, Comparator<? super T> comparator)
Sorts the specified list using the specified comparator.
Collections
sort(long[] array)
Sorts the specified array in ascending numerical order.
Arrays
sort(long[] array, int start, int end)
Sorts the specified range in the array in ascending numerical order.
Arrays
sort(short[] array)
Sorts the specified array in ascending numerical order.
Arrays
sort(short[] array, int start, int end)
Sorts the specified range in the array in ascending numerical order.
Arrays
sort(T[] array, int start, int end, Comparator<? super T> comparator)
Sorts the specified range in the array using the specified Comparator.
Arrays
sort(T[] array, Comparator<? super T> comparator)
Sorts the specified array using the specified Comparator.
Arrays
soundEffectsEnabled
Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching.
int
R.attr
SoundPool(int maxStreams, int streamType, int srcQuality)
Constructor.
SoundPool
SOUND_EFFECTS_ENABLED
Whether the sounds effects (key clicks, lid open ...) are enabled.
Settings.System
SOUND_EFFECTS_ENABLED
View flag indicating whether this view should have sound effects enabled for events such as clicking and touching.
int
View
source()
Returns the source channel of the pipe.
Pipe
SOURCE_ID
String that uniquely identifies this row to its source account.
ContactsContract.SyncColumns
SO_BINDADDR
This option can be used to set one specific interface on a multihomed host on which incoming connections are accepted.
int
SocketOptions
SO_BROADCAST
This option can be used to enable broadcasting on datagram sockets.
int
SocketOptions
SO_KEEPALIVE
This option specifies whether socket implementations can send keepalive messages if no data has been sent for a longer time.
int
SocketOptions
SO_LINGER
Sets SO_LINGER with the specified linger time in seconds.
CoreConnectionPNames
SO_LINGER
This option specifies the behavior of the close() method if there is still some buffered data to be sent while closing the socket.
int
SocketOptions
SO_OOBINLINE
This option specifies whether sending TCP urgent data is supported on this socket or not.
int
SocketOptions
SO_RCVBUF
Buffer size of the incoming channel.
int
SocketOptions
SO_REUSEADDR
This option specifies whether a reuse of a local address is allowed even if an other socket is not yet removed by the operating system.
int
SocketOptions
SO_SNDBUF
Buffer size of the outgoing channel.
int
SocketOptions
SO_TIMEOUT
Defines the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.
CoreConnectionPNames
SO_TIMEOUT
Timeout for blocking operations.
int
SocketOptions
SP
int
HTTP
SPACE_LEGAL
  • Allow space.
int
UrlQuerySanitizer.IllegalCharacterValueSanitizer
SPACE_OK
Allow space (' ') characters.
int
UrlQuerySanitizer.IllegalCharacterValueSanitizer
SPACE_SEPARATOR
Unicode category constant Zs.
byte
Character
spacing

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int
R.attr
SPACING_MODIFIER_LETTERS
The "Spacing Modifier Letters" Unicode Block.
Character.UnicodeBlock
Spannable.Factory()
Spannable.Factory
SpannableString(CharSequence source)
SpannableString
SpannableStringBuilder()
Create a new SpannableStringBuilder with empty contents
SpannableStringBuilder
SpannableStringBuilder(CharSequence text)
Create a new SpannableStringBuilder containing a copy of the specified text, including its spans if any.
SpannableStringBuilder
SpannableStringBuilder(CharSequence text, int start, int end)
Create a new SpannableStringBuilder containing a copy of the specified slice of the specified text, including its spans if any.
SpannableStringBuilder
SpannedString(CharSequence source)
SpannedString
SPAN_COMPOSING
This flag is set on spans that are being used to apply temporary styling information on the composing text of an input method, so that they can be found and removed when the composing text is being replaced.
int
Spanned
SPAN_EXCLUSIVE_EXCLUSIVE
Spans of type SPAN_EXCLUSIVE_EXCLUSIVE do not expand to include text inserted at either their starting or ending point.
int
Spanned
SPAN_EXCLUSIVE_INCLUSIVE
Non-0-length spans of type SPAN_INCLUSIVE_EXCLUSIVE expand to include text inserted at their ending point but not at their starting point.
int
Spanned
SPAN_INCLUSIVE_EXCLUSIVE
Non-0-length spans of type SPAN_INCLUSIVE_EXCLUSIVE expand to include text inserted at their starting point but not at their ending point.
int
Spanned
SPAN_INCLUSIVE_INCLUSIVE
Spans of type SPAN_INCLUSIVE_INCLUSIVE expand to include text inserted at either their starting or ending point.
int
Spanned
SPAN_INTERMEDIATE
This flag will be set for intermediate span changes, meaning there is guaranteed to be another change following it.
int
Spanned
SPAN_MARK_MARK
0-length spans with type SPAN_MARK_MARK behave like text marks: they remain at their original offset when text is inserted at that offset.
int
Spanned
SPAN_MARK_POINT
SPAN_MARK_POINT is a synonym for SPAN_INCLUSIVE_INCLUSIVE.
int
Spanned
SPAN_PARAGRAPH
SPAN_PARAGRAPH behaves like SPAN_INCLUSIVE_EXCLUSIVE (SPAN_MARK_MARK), except that if either end of the span is at the end of the buffer, that end behaves like _POINT instead (so SPAN_INCLUSIVE_INCLUSIVE if it starts in the middle and ends at the end, or SPAN_EXCLUSIVE_INCLUSIVE if it both starts and ends at the end).
int
Spanned
SPAN_POINT_MARK
SPAN_POINT_MARK is a synonym for SPAN_EXCLUSIVE_EXCLUSIVE.
int
Spanned
SPAN_POINT_MARK_MASK
Bitmask of bits that are relevent for controlling point/mark behavior of spans.
int
Spanned
SPAN_POINT_POINT
0-length spans with type SPAN_POINT_POINT behave like cursors: they are pushed forward by the length of the insertion when text is inserted at their offset.
int
Spanned
SPAN_PRIORITY
The bits specified by the SPAN_PRIORITY bitmap determine the order of change notifications -- higher numbers go first.
int
Spanned
SPAN_PRIORITY_SHIFT
The bits numbered just above SPAN_PRIORITY_SHIFT determine the order of change notifications -- higher numbers go first.
int
Spanned
SPAN_USER
The bits specified by the SPAN_USER bitfield are available for callers to use to store scalar data associated with their span object.
int
Spanned
SPAN_USER_SHIFT
The bits numbered SPAN_USER_SHIFT and above are available for callers to use to store scalar data associated with their span object.
int
Spanned
SparseArray()
Creates a new SparseArray containing no mappings.
SparseArray
SparseArray(int initialCapacity)
Creates a new SparseArray containing no mappings that will not require any additional memory allocation to store the specified number of mappings.
SparseArray
SparseBooleanArray()
Creates a new SparseBooleanArray containing no mappings.
SparseBooleanArray
SparseBooleanArray(int initialCapacity)
Creates a new SparseBooleanArray containing no mappings that will not require any additional memory allocation to store the specified number of mappings.
SparseBooleanArray
SparseIntArray()
Creates a new SparseIntArray containing no mappings.
SparseIntArray
SparseIntArray(int initialCapacity)
Creates a new SparseIntArray containing no mappings that will not require any additional memory allocation to store the specified number of mappings.
SparseIntArray
speak(String text, int queueMode, HashMap<StringString> params)
Speaks the string using the specified queuing strategy and speech parameters.
TextToSpeech
SPECIALS
The "Specials" Unicode Block.
Character.UnicodeBlock
SPECIFICATION_TITLE
The Specification-Title attribute defining the title of the extension specification.
Attributes.Name
SPECIFICATION_VENDOR
The Specification-Vendor attribute defining the organization that maintains the extension specification.
Attributes.Name
SPECIFICATION_VERSION
The Specification-Version attribute defining the version of the extension specification.
Attributes.Name
sPhoneNumberMatchFilter
Filters out URL matches that don't have enough digits to be a phone number.
Linkify
sPhoneNumberTransformFilter
Transforms matched phone number text into something suitable to be used in a tel: URL.
Linkify
Spinner(Context context)
Spinner
Spinner(Context context, AttributeSet attrs)
Spinner
Spinner(Context context, AttributeSet attrs, int defStyle)
Spinner
spinnerDropDownItemStyle
Default style for spinner drop down items.
int
R.attr
spinnerItemStyle
Default spinner item style.
int
R.attr
spinnerStyle
Default Spinner style.
int
R.attr
spinner_background
int
R.drawable
spinner_dropdown_background
int
R.drawable
split(CharSequence input)
Splits a given input around occurrences of a regular expression.
Pattern
split(CharSequence inputSeq, int limit)
Splits the given input sequence at occurrences of this Pattern.
Pattern
split(String expr)
Splits this string using the supplied regular expression expr.
String
split(String expr, int max)
Splits this string using the supplied regular expression expr.
String
split(String text, String expression)
String.split() returns [''] when the string to be split is empty.
TextUtils
split(String text, Pattern pattern)
Splits a string on a pattern.
TextUtils
splitText(int offset)
Breaks this node into two nodes at the specified offset, keeping both in the tree as siblings.
Text
sqlEscapeString(String value)
SQL-escape a string.
DatabaseUtils
SQLException()
SQLException
SQLException()
Creates an SQLException object.
SQLException
SQLException(String error)
SQLException
SQLException(String theReason)
Creates an SQLException object.
SQLException
SQLException(String theReason, String theSQLState)
Creates an SQLException object.
SQLException
SQLException(String theReason, String theSQLState, int theErrorCode)
Creates an SQLException object.
SQLException
SQLiteAbortException()
SQLiteAbortException
SQLiteAbortException(String error)
SQLiteAbortException
SQLiteClosable()
SQLiteClosable
SQLiteConstraintException()
SQLiteConstraintException
SQLiteConstraintException(String error)
SQLiteConstraintException
SQLiteCursor(SQLiteDatabase db, SQLiteCursorDriver driver, String editTable, SQLiteQuery query)
Execute a query and provide access to its result set through a Cursor interface.
SQLiteCursor
SQLiteDatabaseCorruptException()
SQLiteDatabaseCorruptException
SQLiteDatabaseCorruptException(String error)
SQLiteDatabaseCorruptException
SQLiteDiskIOException()
SQLiteDiskIOException
SQLiteDiskIOException(String error)
SQLiteDiskIOException
SQLiteDoneException()
SQLiteDoneException
SQLiteDoneException(String error)
SQLiteDoneException
SQLiteException()
SQLiteException
SQLiteException(String error)
SQLiteException
SQLiteFullException()
SQLiteFullException
SQLiteFullException(String error)
SQLiteFullException
SQLiteMisuseException()
SQLiteMisuseException
SQLiteMisuseException(String error)
SQLiteMisuseException
SQLiteOpenHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version)
Create a helper object to create, open, and/or manage a database.
SQLiteOpenHelper
SQLiteQueryBuilder()
SQLiteQueryBuilder
SQLITE_MAX_LIKE_PATTERN_LENGTH
Maximum Length Of A LIKE Or GLOB Pattern The pattern matching algorithm used in the default LIKE and GLOB implementation of SQLite can exhibit O(N^2) performance (where N is the number of characters in the pattern) for certain pathological cases.
int
SQLiteDatabase
SQLPermission(String name)
Creates a new SQLPermission object with the specified name.
SQLPermission
SQLPermission(String name, String actions)
Creates a new SQLPermission object with the specified name.
SQLPermission
sqlStateSQL99
States that the value is an SQL99 SQLSTATE value.
int
DatabaseMetaData
sqlStateXOpen
States that the value is an SQL CLI SQLSTATE value as defined by the X/Open standard.
int
DatabaseMetaData
SQLWarning()
Creates an SQLWarning object.
SQLWarning
SQLWarning(String theReason)
Creates an SQLWarning object.
SQLWarning
SQLWarning(String theReason, String theSQLState)
Creates an SQLWarning object.
SQLWarning
SQLWarning(String theReason, String theSQLState, int theErrorCode)
Creates an SQLWarning object.
SQLWarning
sqrt(double d)
Returns the closest double approximation of the square root of the argument.
Math
sqrt(double d)
Returns the closest double approximation of the square root of the argument.
StrictMath
sqrt(float value)
Returns the closest float approximation of the square root of the argument.
FloatMath
squaredDistanceFrom(int x, int y)
Returns the square of the distance between the center of the key and the given point.
Keyboard.Key
SQUOTE_OK
Allow single quote characters.
int
UrlQuerySanitizer.IllegalCharacterValueSanitizer
src
Sets a drawable as the content of this ImageView.
int
R.attr
SRC_ANCHOR_TYPE
HitTestResult for hitting a HTML::a tag with src=http
int
WebView.HitTestResult
SRC_IMAGE_ANCHOR_TYPE
HitTestResult for hitting a HTML::a tag with src=http + HTML::img
int
WebView.HitTestResult
SSL
SSLSocketFactory
SslCertificate(String issuedTo, String issuedBy, String validNotBefore, String validNotAfter)
Creates a new SSL certificate object
SslCertificate
SslCertificate(X509Certificate certificate)
Creates a new SSL certificate object from an X509 certificate
SslCertificate
SslCertificate.DName(String dName)
Creates a new distinguished name
SslCertificate.DName
SSLCertificateSocketFactory(int socketReadTimeoutForSslHandshake)
Do not use this constructor (will be deprecated).
SSLCertificateSocketFactory
SSLContextSpi()
Creates a new SSLContextSpi instance.
SSLContextSpi
SSLEngineResult(SSLEngineResult.Status status, SSLEngineResult.HandshakeStatus handshakeStatus, int bytesConsumed, int bytesProduced)
Creates a new SSLEngineResult instance with the specified state values.
SSLEngineResult
SSLException(String reason)
Creates a new SSLException with the specified reason.
SSLException
SSLException(String message, Throwable cause)
Creates a new SSLException with the specified message and cause.
SSLException
SSLException(Throwable cause)
Creates a new SSLException with the specified cause.
SSLException
SSLHandshakeException(String reason)
Creates a new SSLHandshakeException with the specified message.
SSLHandshakeException
SSLKeyException(String reason)
Creates a new SSLKeyException with the specified message.
SSLKeyException
SSLPeerUnverifiedException(String reason)
Creates a new SSLPeerUnverifiedException with the specified message.
SSLPeerUnverifiedException
SSLPermission(String name)
Creates a new SSLPermission with the specified name.
SSLPermission
SSLPermission(String name, String actions)
Creates a new SSLPermission with the specified name.
SSLPermission
SSLProtocolException(String reason)
Creates a new SSLProtocolException with the specified message.
SSLProtocolException
SSLSessionBindingEvent(SSLSession session, String name)
Creates a new SSLSessionBindingEvent for the specified session indicating a binding event for the specified name.
SSLSessionBindingEvent
SSLSocketFactory()
Creates a new SSLSocketFactory.
SSLSocketFactory
SSLSocketFactory(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, SecureRandom random, HostNameResolver nameResolver)
SSLSocketFactory
SSLSocketFactory(KeyStore truststore)
SSLSocketFactory
SSLSocketFactory(KeyStore keystore, String keystorePassword)
SSLSocketFactory
SSLSocketFactory(KeyStore keystore, String keystorePassword, KeyStore truststore)
SSLSocketFactory
SSLV2
SSLSocketFactory
Stack()
Constructs a stack with the default size of Vector.
Stack
stackFromBottom
Used by ListView and GridView to stack their content from the bottom.
int
R.attr
StackOverflowError()
Constructs a new StackOverflowError that includes the current stack trace.
StackOverflowError
StackOverflowError(String detailMessage)
Constructs a new StackOverflowError with the current stack trace and the specified detail message.
StackOverflowError
StackTraceElement(String cls, String method, String file, int line)
Constructs a new StackTraceElement for a specified execution point.
StackTraceElement
StaleDataException()
StaleDataException
StaleDataException(String description)
StaleDataException
StaleDexCacheError()
Creates a new exception instance and initializes it with default values.
StaleDexCacheError
StaleDexCacheError(String detailMessage)
Creates a new exception instance and initializes it with a given message.
StaleDexCacheError
STALE_CONNECTION_CHECK
Determines whether stale connection check is to be used.
CoreConnectionPNames
STANDARD_GAP_WIDTH
int
BulletSpan
STANDARD_GRAVITY
Standard gravity (g) on Earth.
float
SensorManager
STANDARD_TIME
The constant for representing a start or end time in standard local time mode, based on timezone's raw offset from GMT; does not include Daylight savings.
int
SimpleTimeZone
STARRED
This constant is deprecated. see ContactsContract
Contacts.PeopleColumns
STARRED
Is the contact starred?

Type: INTEGER (boolean)

ContactsContract.ContactOptionsColumns
starStyle
Default Star style.
int
R.attr
start()
Starts the drawable's animation.
Animatable
start()
Convenience method to start the animation the first time getTransformation(long, Transformation) is invoked.
Animation
start()

Starts the animation, looping if necessary.

AnimationDrawable
start()
Start counting up.
Chronometer
start()
Start the countdown.
CountDownTimer
start()
Create and start a new thread in which to run instrumentation.
Instrumentation
start()
Starts the animation.
LayoutAnimationController
start()
Returns the index of the first character of the text that matched the whole regular expression.
MatchResult
start()
Returns the index of the first character of the text that matched the whole regular expression.
Matcher
start()
MediaController.MediaPlayerControl
start()
Starts or resumes playback.
MediaPlayer
start()
Begins capturing and encoding data to the file specified with setOutputFile().
MediaRecorder
start()
Starts a new process based on the current state of this process builder.
ProcessBuilder
start()
Starts the new Thread of execution.
Thread
start()
VideoView
start(int group)
Returns the index of the first character of the text that matched a given group.
MatchResult
start(int group)
Returns the index of the first character of the text that matched a given group.
Matcher
start(String dexFiles)
Forks a process, makes sure the DEX files are prepared, and returns when everything is finished.
TouchDex
start(Attributes attributes)
Invoked at the beginning of an element.
StartElementListener
startActivity(Intent intent)
Launch a new activity.
Activity
startActivity(Intent intent)
Launch a new activity.
Context
startActivity(Intent intent)
Launch a new activity.
ContextWrapper
startActivity(Intent intent)
Launch a new activity.
MockContext
startActivity(Intent intent, Bundle savedInstanceState, Object lastNonConfigurationInstance)
Start the activity under test, in the same way as if it was started by Context.startActivity(), providing the arguments it supplied.
ActivityUnitTestCase
(protected)
startActivity(String id, Intent intent)
Start a new activity running in the group.
LocalActivityManager
startActivityForResult(Intent intent, int requestCode)
Launch an activity for which you would like a result when it finished.
Activity
startActivityFromChild(Activity child, Intent intent, int requestCode)
This is called when a child activity of this one calls its startActivity(Intent) or startActivityForResult(Intent, int) method.
Activity
startActivityIfNeeded(Intent intent, int requestCode)
A special variation to launch an activity only if a new activity instance is needed to handle the given Intent.
Activity
startActivitySync(Intent intent)
Start a new activity and wait for it to begin running before returning.
Instrumentation
startAllocCounting()
Count the number and aggregate size of memory allocations between two points.
Debug
startAllocCounting()
Instrumentation
startAllocCounting()
Count the number and aggregate size of memory allocations between two points.
VMDebug
startAnimation(Animation animation)
Start the specified animation now.
View
startCacheTransaction()
CacheManager
startCDATA()
Report the start of a CDATA section.
DefaultHandler2
startCDATA()
Report the start of a CDATA section.
LexicalHandler
startColor

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

int
R.attr
startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs)
This method begins an asynchronous delete.
AsyncQueryHandler
startDiscovery()
Start the remote device discovery process.
BluetoothAdapter
startDocument()
Receive notification of the beginning of a document.
ContentHandler
startDocument()
Receive notification of the beginning of the document.
DefaultHandler
startDocument()
Receive notification of the beginning of a document.
DocumentHandler
startDocument()
Receive notification of the beginning of the document.
HandlerBase
startDocument()
Adapter implementation method; do not call.
ParserAdapter
startDocument()
Filter a start document event.
XMLFilterImpl
startDocument()
Start document event.
XMLReaderAdapter
startDocument(String encoding, Boolean standalone)
Write <?xml declaration with encoding (if encoding not null) and standalone flag (if standalone not null) This method can only be called just after setOutput.
XmlSerializer
startDTD(String name, String publicId, String systemId)
Report the start of DTD declarations, if any.
DefaultHandler2
startDTD(String name, String publicId, String systemId)
Report the start of DTD declarations, if any.
LexicalHandler
startElement(String namespace, String localName, String qName)
Calls startElement on the ContentHandler with this driver object as the Attributes implementation.
Driver
(protected)
startElement(String uri, String localName, String qName, Attributes atts)
Receive notification of the beginning of an element.
ContentHandler
startElement(String uri, String localName, String qName, Attributes attributes)
Receive notification of the start of an element.
DefaultHandler
startElement(String uri, String localName, String qName, Attributes atts)
Filter a start element event.
XMLFilterImpl
startElement(String uri, String localName, String qName, Attributes atts)
Adapt a SAX2 start element event.
XMLReaderAdapter
startElement(String name, AttributeList atts)
Receive notification of the beginning of an element.
DocumentHandler
startElement(String name, AttributeList attributes)
Receive notification of the start of an element.
HandlerBase
startElement(String qName, AttributeList qAtts)
Adapter implementation method; do not call.
ParserAdapter
startEmulatorTracing()
Starts sending Dalvik method trace info to the emulator.
VMDebug
startEntity(String name)
Report the beginning of some internal and external XML entities.
DefaultHandler2
startEntity(String name)
Report the beginning of some internal and external XML entities.
LexicalHandler
startFlipping()
Start a timer to cycle through child views
ViewFlipper
startForeground(int id, Notification notification)
Make this service run in the foreground, supplying the ongoing notification to be shown to the user while in this state.
Service
startHandshake()
Starts a new SSL handshake on this connection.
SSLSocket
startHierarchyTracing(String prefix, View view)
Starts tracing the view hierarchy of the specified view.
ViewDebug
startInput(InputConnection inputConnection, EditorInfo info)
This method is called when the application starts to receive text and it is ready for this input method to process received events and send result text back to the application.
InputMethod
startInput(InputConnection ic, EditorInfo attribute)
InputMethodService.InputMethodImpl
startInsert(int token, Object cookie, Uri uri, ContentValues initialValues)
This method begins an asynchronous insert.
AsyncQueryHandler
startInstructionCounting()
Count the number of instructions executed between two points.
VMDebug
startInstrumentation(ComponentName className, String profileFile, Bundle arguments)
Start executing an Instrumentation class.
Context
startInstrumentation(ComponentName className, String profileFile, Bundle arguments)
Start executing an Instrumentation class.
ContextWrapper
startInstrumentation(ComponentName className, String profileFile, Bundle arguments)
Start executing an Instrumentation class.
MockContext
startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
Like startActivity(Intent), but taking a IntentSender to start; see startIntentSenderForResult(IntentSender, int, Intent, int, int, int) for more information.
Activity
startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
Like startActivity(Intent), but taking a IntentSender to start.
Context
startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
Like startActivity(Intent), but taking a IntentSender to start.
ContextWrapper
startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
Like startActivity(Intent), but taking a IntentSender to start.
MockContext
startIntentSenderForResult(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
Like startActivityForResult(Intent, int), but allowing you to use a IntentSender to describe the activity to be started.
Activity
startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) Activity
startInternalChanges()
Start making changes that will not be reported to the client.
ExtractEditText
startLayoutAnimation()
Runs the layout animation.
ViewGroup
startListening()
Start receiving onAppWidgetChanged calls for your AppWidgets.
AppWidgetHost
startManagingCursor(Cursor c)
This method allows the activity to take care of managing the given Cursor's lifecycle for you based on the activity's lifecycle.
Activity
startMethodTracing()
Start method tracing with default log name and buffer size.
Debug
startMethodTracing()
Start method tracing with default name, size, and with 0 flags.
VMDebug
startMethodTracing(String traceName)
Start method tracing, specifying the trace log file name.
Debug
startMethodTracing(String traceName, int bufferSize)
Start method tracing, specifying the trace log file name and the buffer size.
Debug
startMethodTracing(String traceName, int bufferSize, int flags)
Start method tracing, specifying the trace log file name and the buffer size.
Debug
startMethodTracing(String traceFileName, int bufferSize, int flags)
Start method tracing, specifying a file name as well as a default buffer size.
VMDebug
startNativeTracing()
Enable qemu tracing.
Debug
startNextMatchingActivity(Intent intent)
Special version of starting an activity, for use when you are replacing other activity components.
Activity
startNow()
Convenience method to start the animation at the current time in milliseconds.
Animation
startOffset
Delay in milliseconds before the animation runs, once start time is reached.
int
R.attr
startPerformance(PerformanceTestCase.Intermediates intermediates)
Set up to begin performance tests.
PerformanceTestCase
startPerformanceSnapshot()
Instrumentation
startPrefixMapping(String prefix, String uri)
Begin the scope of a prefix-URI Namespace mapping.
ContentHandler
startPrefixMapping(String prefix, String uri)
Receive notification of the start of a Namespace mapping.
DefaultHandler
startPrefixMapping(String prefix, String uri)
Filter a start Namespace prefix mapping event.
XMLFilterImpl
startPrefixMapping(String prefix, String uri)
Adapt a SAX2 start prefix mapping event.
XMLReaderAdapter
startPreview()
Start drawing preview frames to the surface.
Camera
startProfiling()
This method will start profiling if isProfiling() returns true.
Instrumentation
startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy)
This method begins an asynchronous query.
AsyncQueryHandler
startRecording()
Starts recording from the AudioRecord instance.
AudioRecord
startRecyclerTracing(String prefix, View view)
Starts tracing the view recycler of the specified view.
ViewDebug
startScan()
Request a scan for access points.
WifiManager
startScroll(int startX, int startY, int dx, int dy)
Start scrolling by providing a starting point and the distance to travel.
Scroller
startScroll(int startX, int startY, int dx, int dy, int duration)
Start scrolling by providing a starting point and the distance to travel.
Scroller
startSearch(String initialQuery, boolean selectInitialQuery, ComponentName launchActivity, Bundle appSearchData, boolean globalSearch)
Launch search UI.
SearchManager
startSearch(String initialQuery, boolean selectInitialQuery, Bundle appSearchData, boolean globalSearch)
This hook is called to launch the search UI.
Activity
startSelectingText
Menu ID to perform a "start selecting text" operation.
int
R.id
startService(Intent service)
Request that a given application service be started.
Context
startService(Intent service)
Request that a given application service be started.
ContextWrapper
startService(Intent service)
Request that a given application service be started.
MockContext
startService(Intent intent)
Start the service under test, in the same way as if it was started by Context.startService(), providing the arguments it supplied.
ServiceTestCase
(protected)
startsWith(String prefix)
Compares the specified string to this string to determine if the specified string is a prefix.
String
startsWith(String prefix, int start)
Compares the specified string to this string, starting at the specified offset, to determine if the specified string is a prefix.
String
startSync()
startSync() requests sync manager to start sync
CookieSyncManager
startSync(Uri uri, Bundle extras) ContentResolver
startTag(String namespace, String name)
Writes a start tag with the given namespace and name.
XmlSerializer
startTest(Test test)
A test started.
BaseTestRunner
startTest(Test test)
A test started.
TestListener
startTest(Test test)
Informs the result that a test will be started.
TestResult
startTiming(boolean realTime)
PerformanceTestCase.Intermediates
startTone(int toneType)
This method starts the playback of a tone of the specified type.
ToneGenerator
startTone(int toneType, int durationMs)
This method starts the playback of a tone of the specified type for the specified duration.
ToneGenerator
startTracking()
Call this during onKeyDown(int, KeyEvent) to have the system track the key through its final up (possibly including a long press).
KeyEvent
startTracking(KeyEvent event, Object target)
Start tracking the key code associated with the given event.
KeyEvent.DispatcherState
startTransition(int durationMillis)
Begin the second layer on top of the first layer.
TransitionDrawable
startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs)
This method begins an asynchronous update.
AsyncQueryHandler
startUsingNetworkFeature(int networkType, String feature)
Tells the underlying networking system that the caller wants to begin using the named feature.
ConnectivityManager
startWatching()
FileObserver
startYear
The first year (inclusive) i.e.
int
R.attr
START_CONTINUATION_MASK
Bits returned by onStartCommand(Intent, int, int) describing how to continue the service if it is killed.
int
Service
START_DATE
The event start date as the user entered it.
ContactsContract.CommonDataKinds.Event
START_DOCUMENT
Signalize that parser is at the very beginning of the document and nothing was read yet.
int
XmlPullParser
START_FLAG_REDELIVERY
This flag is set in onStartCommand(Intent, int, int) if the Intent is a re-delivery of a previously delivered intent, because the service had previously returned START_REDELIVER_INTENT but had been killed before calling stopSelf(int) for that Intent.
int
Service
START_FLAG_RETRY
This flag is set in onStartCommand(Intent, int, int) if the Intent is a a retry because the original attempt never got to or returned from onStartCommand(Intent, int, int).
int
Service
START_NOT_STICKY
Constant to return from onStartCommand(Intent, int, int): if this service's process is killed while it is started (after returning from onStartCommand(Intent, int, int)), and there are no new start intents to deliver to it, then take the service out of the started state and don't recreate until a future explicit call to Context.startService(Intent).
int
Service
START_ON_FIRST_FRAME
Can be used as the start time to indicate the start time should be the current time when getTransformation(long, Transformation) is invoked for the first animation frame.
int
Animation
START_PUNCTUATION
Unicode category constant Ps.
byte
Character
START_REDELIVER_INTENT
Constant to return from onStartCommand(Intent, int, int): if this service's process is killed while it is started (after returning from onStartCommand(Intent, int, int)), then it will be scheduled for a restart and the last delivered Intent re-delivered to it again via onStartCommand(Intent, int, int).
int
Service
START_STICKY
Constant to return from onStartCommand(Intent, int, int): if this service's process is killed while it is started (after returning from onStartCommand(Intent, int, int)), then leave it in the started state but don't retain this delivered intent.
int
Service
START_STICKY_COMPATIBILITY
Constant to return from onStartCommand(Intent, int, int): compatibility version of START_STICKY that does not guarantee that onStartCommand(Intent, int, int) will be called again after being killed.
int
Service
START_TAG
Returned from getEventType(), next(), nextToken() when a start tag was read.
int
XmlPullParser
star_big_off
int
R.drawable
star_big_on
int
R.drawable
star_off
int
R.drawable
star_on
int
R.drawable
StateListDrawable()
StateListDrawable
stateNotNeeded
Indicates that an Activity does not need to have its freeze state (as returned by onSaveInstanceState(Bundle) retained in order to be restarted.
int
R.attr
StateSet()
StateSet
stateSetMatches(int[] stateSpec, int state)
Return whether the state matches the desired stateSpec.
StateSet
stateSetMatches(int[] stateSpec, int[] stateSet)
Return whether the stateSet matches the desired stateSpec.
StateSet
state_above_anchor
State identifier indicating the popup will be above the anchor.
int
R.attr
state_active
State value for StateListDrawable.
int
R.attr
state_checkable
State identifier indicating that the object may display a check mark.
int
R.attr
state_checked
State identifier indicating that the object is currently checked.
int
R.attr
STATE_EMERGENCY_ONLY
The phone is registered and locked. Only emergency numbers are allowed.
int
ServiceState
state_empty
State identifier indicating the group is empty (has no children).
int
R.attr
state_enabled
State value for StateListDrawable.
int
R.attr
state_expanded
State identifier indicating the group is expanded.
int
R.attr
state_first
State value for StateListDrawable.
int
R.attr
state_focused
State value for StateListDrawable.
int
R.attr
STATE_INITIALIZED
indicates AudioRecord state is ready to be used
int
AudioRecord
STATE_INITIALIZED
State of an AudioTrack that is ready to be used.
int
AudioTrack
STATE_IN_SERVICE
Normal operation condition, the phone is registered with an operator either in home network or in roaming.
int
ServiceState
state_last
State value for StateListDrawable.
int
R.attr
state_long_pressable
State for KeyboardView key preview background

Must be a boolean value, either "true" or "false".

int
R.attr
state_middle
State value for StateListDrawable.
int
R.attr
STATE_NO_STATIC_DATA
State of a successfully initialized AudioTrack that uses static data, but that hasn't received that data yet.
int
AudioTrack
STATE_OFF
Indicates the local Bluetooth adapter is off.
int
BluetoothAdapter
STATE_ON
Indicates the local Bluetooth adapter is on, and ready for use.
int
BluetoothAdapter
STATE_OUT_OF_SERVICE
Phone is not registered with any operator, the phone can be currently searching a new operator to register to, or not searching to registration at all, or registration is denied, or radio signal is not available.
int
ServiceState
STATE_POWER_OFF
Radio of telephony is explictly powered off.
int
ServiceState
state_pressed
State value for StateListDrawable.
int
R.attr
state_selected
State value for StateListDrawable.
int
R.attr
state_single
State value for StateListDrawable.
int
R.attr
STATE_TURNING_OFF
Indicates the local Bluetooth adapter is turning off.
int
BluetoothAdapter
STATE_TURNING_ON
Indicates the local Bluetooth adapter is turning on.
int
BluetoothAdapter
STATE_UNINITIALIZED
indicates AudioRecord state is not successfully initialized.
int
AudioRecord
STATE_UNINITIALIZED
State of an AudioTrack that was not successfully initialized upon creation.
int
AudioTrack
state_window_focused
State value for StateListDrawable.
int
R.attr
StatFs(String path)
Construct a new StatFs for looking at the stats of the filesystem at path.
StatFs
STATIC
The int value representing the static modifier.
int
Modifier
StaticLayout(CharSequence source, TextPaint paint, int width, Layout.Alignment align, float spacingmult, float spacingadd, boolean includepad)
StaticLayout
StaticLayout(CharSequence source, int bufstart, int bufend, TextPaint paint, int outerwidth, Layout.Alignment align, float spacingmult, float spacingadd, boolean includepad)
StaticLayout
StaticLayout(CharSequence source, int bufstart, int bufend, TextPaint paint, int outerwidth, Layout.Alignment align, float spacingmult, float spacingadd, boolean includepad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth)
StaticLayout
STATUS
Contact latest status update.
ContactsContract.StatusColumns
STATUS_BAR
Allows an application to open, close, or disable the status bar and its icons.
Manifest.permission
status_bar_item_app_background
int
R.drawable
status_bar_item_background
int
R.drawable
STATUS_ICON
The resource ID of the icon for the source of the status update.
ContactsContract.StatusColumns
STATUS_LABEL
The resource ID of the label describing the source of the status update, e.g.
ContactsContract.StatusColumns
STATUS_ON_ICC_FREE
Free space (TS 51.011 10.5.3 / 3GPP2 C.S0023 3.4.27).
int
SmsManager
STATUS_ON_ICC_READ
Received and read (TS 51.011 10.5.3 / 3GPP2 C.S0023 3.4.27).
int
SmsManager
STATUS_ON_ICC_SENT
Stored and sent (TS 51.011 10.5.3 / 3GPP2 C.S0023 3.4.27).
int
SmsManager
STATUS_ON_ICC_UNREAD
Received and unread (TS 51.011 10.5.3 / 3GPP2 C.S0023 3.4.27).
int
SmsManager
STATUS_ON_ICC_UNSENT
Stored and unsent (TS 51.011 10.5.3 / 3GPP2 C.S0023 3.4.27).
int
SmsManager
STATUS_ON_SIM_FREE
This constant is deprecated. Use android.telephony.SmsManager.
int
SmsManager
STATUS_ON_SIM_READ
This constant is deprecated. Use android.telephony.SmsManager.
int
SmsManager
STATUS_ON_SIM_SENT
This constant is deprecated. Use android.telephony.SmsManager.
int
SmsManager
STATUS_ON_SIM_UNREAD
This constant is deprecated. Use android.telephony.SmsManager.
int
SmsManager
STATUS_ON_SIM_UNSENT
This constant is deprecated. Use android.telephony.SmsManager.
int
SmsManager
STATUS_RES_PACKAGE
The package containing resources for this status: label and icon.
ContactsContract.StatusColumns
STATUS_TIMESTAMP
The absolute time in milliseconds when the latest status was inserted/updated.
ContactsContract.StatusColumns
stat_notify_call_mute
int
R.drawable
stat_notify_chat
int
R.drawable
stat_notify_error
int
R.drawable
stat_notify_missed_call
int
R.drawable
stat_notify_more
int
R.drawable
stat_notify_sdcard
int
R.drawable
stat_notify_sdcard_prepare
int
R.drawable
stat_notify_sdcard_usb
int
R.drawable
stat_notify_sync
int
R.drawable
stat_notify_sync_noanim
int
R.drawable
stat_notify_voicemail
int
R.drawable
stat_sys_data_bluetooth
int
R.drawable
stat_sys_download
int
R.drawable
stat_sys_download_done
int
R.drawable
stat_sys_headset
int
R.drawable
stat_sys_phone_call
int
R.drawable
stat_sys_phone_call_forward
int
R.drawable
stat_sys_phone_call_on_hold
int
R.drawable
stat_sys_speakerphone
int
R.drawable
stat_sys_upload
int
R.drawable
stat_sys_upload_done
int
R.drawable
stat_sys_vp_phone_call
int
R.drawable
stat_sys_vp_phone_call_on_hold
int
R.drawable
stat_sys_warning
int
R.drawable
STAY_ON_WHILE_PLUGGED_IN
Whether we keep the device on while the device is plugged in.
Settings.System
stepSize
The step size of the rating.
int
R.attr
stop()
Stops the drawable's animation.
Animatable
stop()

Stops the animation.

AnimationDrawable
stop()
Stop a previously played sound.
AsyncPlayer
stop()
Stops recording.
AudioRecord
stop()
Stops playing the audio data.
AudioTrack
stop()
Stop counting up.
Chronometer
stop()
Stops playback after playback has been stopped or paused.
MediaPlayer
stop()
Stops recording.
MediaRecorder
stop()
Stops a playing ringtone.
Ringtone
stop()
Marks that the test run should stop.
TestResult
stop()
Interrupts the current utterance (whether played or rendered to file) and discards other utterances in the queue.
TextToSpeech
stop()
This method is deprecated. because stopping a thread in this manner is unsafe and can leave your application and the VM in an unpredictable state.
Thread
stop()
This method is deprecated. Requires deprecated method Thread.stop().
ThreadGroup
stop(int streamID)
Stop a playback stream.
SoundPool
stop(Throwable throwable)
This method is deprecated. because stopping a thread in this manner is unsafe and can leave your application and the VM in an unpredictable state.
Thread
stopAllocCounting()
Debug
stopAllocCounting()
Instrumentation
stopAllocCounting()
VMDebug
stopEmulatorTracing()
Stops sending Dalvik method trace info to the emulator.
VMDebug
stopFlipping()
No more flips
ViewFlipper
stopForeground(boolean removeNotification)
Remove this service from foreground state, allowing it to be killed if more memory is needed.
Service
stopHierarchyTracing()
Stops the current view hierarchy tracing.
ViewDebug
stopInstructionCounting()
VMDebug
stopListening()
Stop receiving onAppWidgetChanged calls for your AppWidgets.
AppWidgetHost
stopLoading()
Stop the current load.
WebView
stopManagingCursor(Cursor c)
Given a Cursor that was previously given to startManagingCursor(Cursor), stop the activity's management of that cursor.
Activity
stopMethodTracing()
Stop method tracing.
Debug
stopMethodTracing()
Stops method tracing.
VMDebug
stopNativeTracing()
Stop qemu tracing.
Debug
stopPlayback()
VideoView
stopPreview()
Stop drawing preview frames to the surface.
Camera
stopPreviousRingtone()
Stops playing the last Ringtone retrieved from this.
RingtoneManager
stopProfiling()
Stops profiling if isProfiling() returns true.
Instrumentation
stopRecyclerTracing()
Stops the current view recycer tracing.
ViewDebug
stopSearch()
Terminate search UI.
SearchManager
stopSelectingText
Menu ID to perform a "stop selecting text" operation.
int
R.id
stopSelf()
Stop the service, if it was previously started.
Service
stopSelf(int startId)
Old version of stopSelfResult(int) that doesn't return a result.
Service
stopSelfResult(int startId)
Stop the service if the most recent time it was started was startId.
Service
stopService(Intent service)
Request that a given application service be stopped.
Context
stopService(Intent name)
Request that a given application service be stopped.
ContextWrapper
stopService(Intent service)
Request that a given application service be stopped.
MockContext
stopSync()
stopSync() requests sync manager to stop sync.
CookieSyncManager
stopTone()
This method stops the tone currently playing playback.
ToneGenerator
stopUsingNetworkFeature(int networkType, String feature)
Tells the underlying networking system that the caller is finished using the named feature.
ConnectivityManager
stopWatching()
FileObserver
STORAGE
Group of permissions that are related to SD card access.
Manifest.permission_group
store(OutputStream stream, char[] password)
Writes this KeyStore to the specified OutputStream.
KeyStore
store(OutputStream out, String comment)
Stores the mappings in this Properties to the specified OutputStream, putting the specified comment at the beginning.
Properties
store(KeyStore.LoadStoreParameter param)
Stores this KeyStore using the specified LoadStoreParameter.
KeyStore
STORED
Zip entry state: Stored.
int
ZipEntry
STORED
Indicates uncompressed entries.
int
ZipOutputStream
storesLowerCaseIdentifiers()
Determines whether the database treats SQL identifiers that are in mixed case (and unquoted) as case insensitive.
DatabaseMetaData
storesLowerCaseQuotedIdentifiers()
Determines whether the database considers mixed case quoted SQL identifiers as case insensitive and stores them in lower case.
DatabaseMetaData
storesMixedCaseIdentifiers()
Determines whether the database considers mixed case unquoted SQL identifiers as case insensitive and stores them in mixed case.
DatabaseMetaData
storesMixedCaseQuotedIdentifiers()
Determines whether the database considers identifiers as case insensitive if they are mixed case quoted SQL.
DatabaseMetaData
storesUpperCaseIdentifiers()
Determines whether the database considers mixed case unquoted SQL identifiers as case insensitive and stores them in upper case.
DatabaseMetaData
storesUpperCaseQuotedIdentifiers()
Determines whether the database considers mixed case quoted SQL identifiers as case insensitive and stores them in upper case.
DatabaseMetaData
storeToXML(OutputStream os, String comment)
Writes all properties stored in this instance into the OutputStream in XML representation.
Properties
storeToXML(OutputStream os, String comment, String encoding)
Writes all properties stored in this instance into the OutputStream in XML representation.
Properties
streamAbort(InputStream wrapped)
Indicates that the stream is aborted.
BasicEofSensorWatcher
streamAbort(InputStream wrapped)
Indicates that the stream is aborted.
BasicManagedEntity
streamAbort(InputStream wrapped)
Indicates that the stream is aborted.
EofSensorWatcher
streamClosed(InputStream wrapped)
Indicates that the stream is closed.
BasicEofSensorWatcher
streamClosed(InputStream wrapped)
Indicates that the stream is closed.
BasicManagedEntity
streamClosed(InputStream wrapped)
Indicates that the stream is closed.
EofSensorWatcher
StreamCorruptedException()
Constructs a new StreamCorruptedException with its stack trace filled in.
StreamCorruptedException
StreamCorruptedException(String detailMessage)
Constructs a new StreamCorruptedException with its stack trace and detail message filled in.
StreamCorruptedException
StreamHandler()
Constructs a StreamHandler object.
StreamHandler
StreamHandler(OutputStream os, Formatter formatter)
Constructs a StreamHandler object with the supplied output stream and formatter.
StreamHandler
StreamTokenizer(InputStream is)
This constructor is deprecated. Use StreamTokenizer(Reader)
StreamTokenizer
StreamTokenizer(Reader r)
Constructs a new StreamTokenizer with r as source reader.
StreamTokenizer
streamType
Different audio stream types.
int
R.attr
STREAM_ALARM
The audio stream for alarms
int
AudioManager
STREAM_DEFAULT
Use this constant as the value for audioStreamType to request that the default stream type for notifications be used.
int
Notification
STREAM_DTMF
The audio stream for DTMF Tones
int
AudioManager
STREAM_MAGIC
The stream header's magic number.
short
ObjectStreamConstants
STREAM_MUSIC
The audio stream for music playback
int
AudioManager
STREAM_NOTIFICATION
The audio stream for notifications
int
AudioManager
STREAM_RING
The audio stream for the phone ring
int
AudioManager
STREAM_SYSTEM
The audio stream for system sounds
int
AudioManager
STREAM_VERSION
The stream header's version number.
short
ObjectStreamConstants
STREAM_VOICE_CALL
The audio stream for phone calls
int
AudioManager
STREET
Can be street, avenue, road, etc.
ContactsContract.CommonDataKinds.StructuredPostal
stretchColumns
The 0 based index of the columns to stretch.
int
R.attr
stretchMode

Must be one of the following constant values.

int
R.attr
STRETCH_COLUMN_WIDTH
int
GridView
STRETCH_SPACING
int
GridView
STRETCH_SPACING_UNIFORM
int
GridView
STRICT
The int value representing the strict modifier.
int
Modifier
StrictContentLengthStrategy()
StrictContentLengthStrategy
StrictHostnameVerifier()
StrictHostnameVerifier
STRICT_HOSTNAME_VERIFIER
SSLSocketFactory
STRICT_TRANSFER_ENCODING
Defines whether responses with an invalid Transfer-Encoding header should be rejected.
CoreProtocolPNames
STRIKETHROUGH
The STRIKETHROUGH text attribute.
TextAttribute
StrikethroughSpan()
StrikethroughSpan
StrikethroughSpan(Parcel src)
StrikethroughSpan
STRIKETHROUGH_ON
The Constant STRIKETHROUGH_ON indicates a single strikethrough.
TextAttribute
STRIKE_THRU_TEXT_FLAG
bit mask for the flag enabling strike-thru text
int
Paint
String()
Creates an empty string.
String
String(byte[] data)
Converts the byte array to a string using the default encoding as specified by the file.encoding system property.
String
String(byte[] data, int high)
This constructor is deprecated. Use String(byte[]) or String(byte[], String) instead.
String
String(byte[] data, int start, int length)
Converts the byte array to a string using the default encoding as specified by the file.encoding system property.
String
String(byte[] data, int high, int start, int length)
This constructor is deprecated. Use String(byte[], int, int) instead.
String
String(byte[] data, int start, int length, String encoding)
Converts the byte array to a string using the specified encoding.
String
String(byte[] data, String encoding)
Converts the byte array to a string using the specified encoding.
String
String(char[] data)
Initializes this string to contain the characters in the specified character array.
String
String(char[] data, int start, int length)
Initializes this string to contain the specified characters in the character array.
String
String(int[] codePoints, int offset, int count)
Creates a String from the sub-array of Unicode code points.
String
String(String string)
Creates a String that is a copy of the specified string.
String
String(StringBuffer stringbuffer)
Creates a String from the contents of the specified StringBuffer.
String
String(StringBuilder sb)
Creates a String from the contents of the specified StringBuilder.
String
StringBuffer()
Constructs a new StringBuffer using the default capacity which is 16.
StringBuffer
StringBuffer(int capacity)
Constructs a new StringBuffer using the specified capacity.
StringBuffer
StringBuffer(CharSequence cs)
Constructs a StringBuffer and initializes it with the content from the specified CharSequence.
StringBuffer
StringBuffer(String string)
Constructs a new StringBuffer containing the characters in the specified string.
StringBuffer
StringBufferInputStream(String str)
Construct a new StringBufferInputStream with str as source.
StringBufferInputStream
StringBuilder()
Constructs an instance with an initial capacity of 16.
StringBuilder
StringBuilder(int capacity)
Constructs an instance with the specified capacity.
StringBuilder
StringBuilder(CharSequence seq)
Constructs an instance that's initialized with the contents of the specified CharSequence.
StringBuilder
StringBuilder(String str)
Constructs an instance that's initialized with the contents of the specified String.
StringBuilder
StringBuilderPrinter(StringBuilder builder)
Create a new Printer that sends to a StringBuilder object.
StringBuilderPrinter
StringCharacterIterator(String value)
Constructs a new StringCharacterIterator on the specified string.
StringCharacterIterator
StringCharacterIterator(String value, int location)
Constructs a new StringCharacterIterator on the specified string with the current index set to the specified value.
StringCharacterIterator
StringCharacterIterator(String value, int start, int end, int location)
Constructs a new StringCharacterIterator on the specified string with the begin, end and current index set to the specified values.
StringCharacterIterator
StringEntity(String s)
StringEntity
StringEntity(String s, String charset)
StringEntity
stringForQuery(SQLiteDatabase db, String query, String[] selectionArgs)
Utility method to run the query on the db and return the value in the first column of the first row.
DatabaseUtils
stringForQuery(SQLiteStatement prog, String[] selectionArgs)
Utility method to run the pre-compiled query and return the value in the first column of the first row.
DatabaseUtils
stringFromStringAndTOA(String s, int TOA)
Basically: makes sure there's a + in front of a TOA_International number Returns null if s == null
PhoneNumberUtils
StringIndexOutOfBoundsException()
Constructs a new StringIndexOutOfBoundsException that includes the current stack trace.
StringIndexOutOfBoundsException
StringIndexOutOfBoundsException(int index)
Constructs a new StringIndexOutOfBoundsException with the current stack trace and a detail message that is based on the specified invalid index.
StringIndexOutOfBoundsException
StringIndexOutOfBoundsException(String detailMessage)
Constructs a new StringIndexOutOfBoundsException with the current stack trace and the specified detail message.
StringIndexOutOfBoundsException
stringOrSpannedString(CharSequence source)
TextUtils
StringReader(String str)
Construct a new StringReader with str as source.
StringReader
strings
WifiConfiguration.AuthAlgorithm
strings
WifiConfiguration.GroupCipher
strings
WifiConfiguration.KeyMgmt
strings
WifiConfiguration.PairwiseCipher
strings
WifiConfiguration.Protocol
strings
WifiConfiguration.Status
StringTokenizer(String string)
Constructs a new StringTokenizer for the parameter string using whitespace as the delimiter.
StringTokenizer
StringTokenizer(String string, String delimiters)
Constructs a new StringTokenizer for the parameter string using the specified delimiters.
StringTokenizer
StringTokenizer(String string, String delimiters, boolean returnDelimiters)
Constructs a new StringTokenizer for the parameter string using the specified delimiters, returning the delimiters as tokens if the parameter returnDelimiters is true.
StringTokenizer
StringWriter()
Constructs a new StringWriter which has a StringBuffer allocated with the default size of 16 characters.
StringWriter
StringWriter(int initialSize)
Constructs a new StringWriter which has a StringBuffer allocated with a size of initialSize characters.
StringWriter
STRING_CREATOR
Parcel
STRIP
a String representation of strip.
Pack200.Packer
stripAnchor(String url)
Strips the url of the anchor.
URLUtil
stripSeparators(String phoneNumber)
Strips separators from a phone number string.
PhoneNumberUtils
stripTrailingZeros()
Returns a new BigDecimal instance with the same value as this but with a unscaled value where the trailing zeros have been removed.
BigDecimal
STRUCT
The type code that identifies the SQL type STRUCT.
int
Types
StyleSpan(Parcel src)
StyleSpan
StyleSpan(int style)
StyleSpan
STYLE_HORIZONTAL
Creates a ProgressDialog with a horizontal progress bar.
int
ProgressDialog
STYLE_SPINNER
Creates a ProgressDialog with a ciruclar, spinning progress bar.
int
ProgressDialog
SUBCLASS_IMPLEMENTATION_PERMISSION
Permission constant to enable subclassing of ObjectInputStream and ObjectOutputStream.
ObjectStreamConstants
Subject()
The default constructor initializing the sets of public and private credentials and principals with the empty set.
Subject
Subject(boolean readOnly, Set<? extends Principal> subjPrincipals, Set<?> pubCredentials, Set<?> privCredentials)
The constructor for the subject, setting its public and private credentials and principals according to the arguments.
Subject
SubjectDomainCombiner(Subject subject)
Creates a domain combiner for the entity provided in subject.
SubjectDomainCombiner
subList(int start, int end)
Returns a part of consecutive elements of this list as a view.
AbstractList
subList(int fromIndex, int toIndex)
Returns a view of the portion of this list between fromIndex, inclusive, and toIndex, exclusive.
CopyOnWriteArrayList
subList(int start, int end)
Returns a List of the specified portion of this List from the given start index to the end index minus one.
List
subList(int start, int end)
Returns a List of the specified portion of this vector from the start index to one less than the end index.
Vector
subMap(K startKey, K endKey)
Returns a sorted map over a range of this sorted map with all keys greater than or equal to the specified startKey and less than the specified endKey.
SortedMap
subMap(K startKey, K endKey)
Returns a sorted map over a range of this sorted map with all keys greater than or equal to the specified startKey and less than the specified endKey.
TreeMap
submit(Runnable task)
Submits a Runnable task for execution and returns a Future representing that task.
AbstractExecutorService
submit(Runnable task)
Submits a Runnable task for execution and returns a Future representing that task.
ExecutorService
submit(Runnable task)
Submits a Runnable task for execution and returns a Future representing that task.
ScheduledThreadPoolExecutor
submit(Runnable task, T result)
Submits a Runnable task for execution and returns a Future representing that task.
AbstractExecutorService
submit(Runnable task, T result)
Submits a Runnable task for execution and returns a Future representing that task.
ExecutorService
submit(Runnable task, T result)
Submits a Runnable task for execution and returns a Future representing that task.
ScheduledThreadPoolExecutor
submit(Runnable task, V result)
Submits a Runnable task for execution and returns a Future representing that task.
CompletionService
submit(Runnable task, V result)
Submits a Runnable task for execution and returns a Future representing that task.
ExecutorCompletionService
submit(Callable<T> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
AbstractExecutorService
submit(Callable<T> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
ExecutorService
submit(Callable<T> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
ScheduledThreadPoolExecutor
submit(Callable<V> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
CompletionService
submit(Callable<V> task)
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
ExecutorCompletionService
SUBPIXEL_TEXT_FLAG
bit mask for the flag enabling subpixel-text
int
Paint
SUBSCRIBED_FEEDS_READ
Allows an application to allow access the subscribed feeds ContentProvider.
Manifest.permission
SUBSCRIBED_FEEDS_WRITE
Manifest.permission
SubscriptSpan()
SubscriptSpan
SubscriptSpan(Parcel src)
SubscriptSpan
subSequence(int start, int end)
Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.
AlteredCharSequence
subSequence(int start, int end)
Returns a new char buffer representing a sub-sequence of this buffer's current remaining content.
CharBuffer
subSequence(int start, int end)
Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.
CharSequence
subSequence(int start, int end)
Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.
SpannableString
subSequence(int start, int end)
Return a new CharSequence containing a copy of the specified range of this buffer, including the overlapping spans.
SpannableStringBuilder
subSequence(int start, int end)
Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.
SpannedString
subSequence(int start, int end)
Has the same result as the substring function, but is present so that string may implement the CharSequence interface.
String
subSequence(int start, int end)
Returns a CharSequence of the subsequence from the start index to the end index.
StringBuffer
subSequence(int start, int end)
Returns a CharSequence of the subsequence from the start index to the end index.
StringBuilder
subSet(E start, E end)
Returns a SortedSet of the specified portion of this SortedSet which contains elements greater or equal to the start element but less than the end element.
SortedSet
subSet(E start, E end)
Returns a SortedSet of the specified portion of this TreeSet which contains elements greater or equal to the start element but less than the end element.
TreeSet
SUBSTITUTION_PERMISSION
Permission constant to enable object substitution during serialization and deserialization.
ObjectStreamConstants
substring(int start)
Copies a range of characters into a new string.
String
substring(int start)
Returns the String value of the subsequence from the start index to the current end.
StringBuffer
substring(int start)
Returns the String value of the subsequence from the start index to the current end.
StringBuilder
substring(int beginIndex, int endIndex)
CharArrayBuffer
substring(int start, int end)
Copies a range of characters into a new string.
String
substring(int start, int end)
Returns the String value of the subsequence from the start index to the end index.
StringBuffer
substring(int start, int end)
Returns the String value of the subsequence from the start index to the end index.
StringBuilder
substring(CharSequence source, int start, int end)
Create a new String object containing the given range of characters from the source string.
TextUtils
substringData(int offset, int count)
Extracts a range of data from the node.
CharacterData
substringTrimmed(int beginIndex, int endIndex)
CharArrayBuffer
subtract(BigDecimal subtrahend)
Returns a new BigDecimal whose value is this - subtrahend.
BigDecimal
subtract(BigDecimal subtrahend, MathContext mc)
Returns a new BigDecimal whose value is this - subtrahend.
BigDecimal
subtract(BigInteger val)
Returns a new BigInteger whose value is this - val.
BigInteger
SUCCESS
Denotes a successful operation.
int
AudioRecord
SUCCESS
Denotes a successful operation.
int
AudioTrack
SUCCESS
Denotes a successful operation.
int
TextToSpeech
SUCCESS_NO_INFO
Indicates that a batch statement was executed with a successful result, but a count of the number of rows it affected is unavailable.
int
Statement
SUFFIX
The contact's honorific suffix, e.g.
ContactsContract.CommonDataKinds.StructuredName
suggestActionMsg
If you wish to handle an action key while a suggestion is being displayed and selected, there are two ways to handle this.
int
R.attr
suggestActionMsgColumn
If you wish to handle an action key while a suggestion is being displayed and selected, but you do not wish to enable this action key for every suggestion, then you can use this attribute to control it on a suggestion-by-suggestion basis.
int
R.attr
suggestDesiredDimensions(int minimumWidth, int minimumHeight)
For use only by the current home application, to specify the size of wallpaper it would like to use.
WallpaperManager
SUGGEST_COLUMN_FORMAT
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_ICON_1
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_ICON_2
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_INTENT_ACTION
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_INTENT_DATA
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_INTENT_DATA_ID
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_INTENT_EXTRA_DATA
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_QUERY
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_SHORTCUT_ID
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_TEXT_1
Column name for suggestions cursor.
SearchManager
SUGGEST_COLUMN_TEXT_2
Column name for suggestions cursor.
SearchManager
SUGGEST_MIME_TYPE
MIME type for suggestions data.
SearchManager
SUGGEST_NEVER_MAKE_SHORTCUT
Column value for suggestion column SUGGEST_COLUMN_SHORTCUT_ID when a suggestion should not be stored as a shortcut in global search.
SearchManager
SUGGEST_PARAMETER_LIMIT
Query parameter added to suggestion queries to limit the number of suggestions returned.
SearchManager
SUGGEST_URI_PATH_QUERY
Uri path for queried suggestions data.
SearchManager
SUGGEST_URI_PATH_SHORTCUT
Uri path for shortcut validation.
SearchManager
SUITE_METHODNAME
BaseTestRunner
summary
The summary for the Preference in a PreferenceActivity screen.
int
R.attr
summary
int
R.id
summaryColumn
Column in data table that summarizes this data

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.

int
R.attr
summaryOff
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked.
int
R.attr
summaryOn
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked.
int
R.attr
SUMMARY_COUNT
The total number of Contacts that have ContactsContract.CommonDataKinds.GroupMembership in this group.
ContactsContract.GroupsColumns
SUMMARY_WITH_PHONES
The total number of Contacts that have both ContactsContract.CommonDataKinds.GroupMembership in this group, and also have phone numbers.
ContactsContract.GroupsColumns
SumPathEffect(PathEffect first, PathEffect second)
Construct a PathEffect whose effect is to apply two effects, in sequence.
SumPathEffect
SUNDAY
Value of the DAY_OF_WEEK field indicating Sunday.
int
Calendar
SUNDAY
int
Time
superDispatchKeyEvent(KeyEvent event)
Used by custom windows, such as Dialog, to pass the key press event further down the view hierarchy.
Window
superDispatchTouchEvent(MotionEvent event)
Used by custom windows, such as Dialog, to pass the touch screen event further down the view hierarchy.
Window
superDispatchTrackballEvent(MotionEvent event)
Used by custom windows, such as Dialog, to pass the trackball event further down the view hierarchy.
Window
SUPERSCRIPT
The SUPERSCRIPT text attribute.
TextAttribute
SuperscriptSpan()
SuperscriptSpan
SuperscriptSpan(Parcel src)
SuperscriptSpan
SUPERSCRIPTS_AND_SUBSCRIPTS
The "Superscripts and Subscripts" Unicode Block.
Character.UnicodeBlock
SUPERSCRIPT_SUB
The Constant SUPERSCRIPT_SUB indicates a standard subscript.
TextAttribute
SUPERSCRIPT_SUPER
The Constant SUPERSCRIPT_SUPER indicates a standard superscript.
TextAttribute
SUPPLEMENTAL_ARROWS_A
The "Supplemental Arrows-A" Unicode Block.
Character.UnicodeBlock
SUPPLEMENTAL_ARROWS_B
The "Supplemental Arrows-B" Unicode Block.
Character.UnicodeBlock
SUPPLEMENTAL_MATHEMATICAL_OPERATORS
The "Supplemental Mathematical Operators" Unicode Block.
Character.UnicodeBlock
SUPPLEMENTARY_PRIVATE_USE_AREA_A
The "Supplementary Private Use Area-A" Unicode Block.
Character.UnicodeBlock
SUPPLEMENTARY_PRIVATE_USE_AREA_B
The "Supplementary Private Use Area-B" Unicode Block.
Character.UnicodeBlock
SUPPLICANT_CONNECTION_CHANGE_ACTION
Broadcast intent action indicating that a connection to the supplicant has been established (and it is now possible to perform Wi-Fi operations) or the connection to the supplicant has been lost.
WifiManager
SUPPLICANT_STATE_CHANGED_ACTION
Broadcast intent action indicating that the state of establishing a connection to an access point has changed.One extra provides the new SupplicantState.
WifiManager
supportMultipleWindows()
WebSettings
supportsAlterTableWithAddColumn()
Determines whether the database supports ALTER TABLE operation with ADD COLUMN.
DatabaseMetaData
supportsAlterTableWithDropColumn()
Determines whether the database supports ALTER TABLE operation with DROP COLUMN.
DatabaseMetaData
supportsAltitude()
Returns true if the provider is able to provide altitude information, false otherwise.
LocationProvider
supportsANSI92EntryLevelSQL()
Determines whether the database supports the ANSI92 entry level SQL grammar.
DatabaseMetaData
supportsANSI92FullSQL()
Determines whether the database supports the ANSI92 full SQL grammar.
DatabaseMetaData
supportsANSI92IntermediateSQL()
Determines whether the database supports the ANSI92 intermediate SQL Grammar.
DatabaseMetaData
supportsBatchUpdates()
Determines whether the database supports batch updates.
DatabaseMetaData
supportsBearing()
Returns true if the provider is able to provide bearing information, false otherwise.
LocationProvider
supportsCatalogsInDataManipulation()
Determines whether catalog names may be used in data manipulation statements.
DatabaseMetaData
supportsCatalogsInIndexDefinitions()
Determines whether catalog names can be used in index definition statements.
DatabaseMetaData
supportsCatalogsInPrivilegeDefinitions()
Determines whether catalog names can be used in privilege definition statements.
DatabaseMetaData
supportsCatalogsInProcedureCalls()
Determines whether catalog names can be used in procedure call statements.
DatabaseMetaData
supportsCatalogsInTableDefinitions()
Determines whether catalog names may be used in table definition statements.
DatabaseMetaData
supportsColumnAliasing()
Determines whether the database supports column aliasing.
DatabaseMetaData
supportsConvert()
Determines whether the database supports the CONVERT operation between SQL types.
DatabaseMetaData
supportsConvert(int fromType, int toType)
Determines whether the database supports CONVERT operation for two supplied SQL types.
DatabaseMetaData
supportsCoreSQLGrammar()
Determines whether the database supports the Core SQL Grammar for ODBC.
DatabaseMetaData
supportsCorrelatedSubqueries()
Determines whether the database supports correlated sub-queries.
DatabaseMetaData
supportsDataDefinitionAndDataManipulationTransactions()
Determines whether the database allows both data definition and data manipulation statements inside a transaction.
DatabaseMetaData
supportsDataManipulationTransactionsOnly()
Determines whether the database only allows data manipulation statements inside a transaction.
DatabaseMetaData
supportsDifferentTableCorrelationNames()
Determines whether table correlation names are required to be different from the names of the tables, when they are supported.
DatabaseMetaData
supportsExpressionsInOrderBy()
Determines whether expressions in ORDER BY lists are supported.
DatabaseMetaData
supportsExtendedSQLGrammar()
Determines whether the Extended SQL Grammar for ODBC is supported.
DatabaseMetaData
supportsFullOuterJoins()
Determines whether the database supports full nested outer joins.
DatabaseMetaData
supportsGetGeneratedKeys()
Determines whether auto generated keys can be returned when a statement executes.
DatabaseMetaData
supportsGroupBy()
Determines whether the database supports GROUP BY clauses.
DatabaseMetaData
supportsGroupByBeyondSelect()
Determines whether the database supports using a column name in a GROUP BY clause not included in the SELECT statement as long as all of the columns in the SELECT statement are used in the GROUP BY clause.
DatabaseMetaData
supportsGroupByUnrelated()
Determines whether the database supports using a column name in a GROUP BY clause that is not in the SELECT statement.
DatabaseMetaData
supportsIntegrityEnhancementFacility()
Determines whether the database supports SQL Integrity Enhancement Facility.
DatabaseMetaData
supportsLikeEscapeClause()
Determines whether the database supports a LIKE escape clause.
DatabaseMetaData
supportsLimitedOuterJoins()
Determines whether the database provides limited support for outer join operations.
DatabaseMetaData
supportsMinimumSQLGrammar()
Determines whether the database supports Minimum SQL Grammar for ODBC.
DatabaseMetaData
supportsMixedCaseIdentifiers()
Determines whether the database treats mixed case unquoted SQL identifiers as case sensitive storing them in mixed case.
DatabaseMetaData
supportsMixedCaseQuotedIdentifiers()
Determines whether the database considers mixed case quoted SQL identifiers as case sensitive, storing them in mixed case.
DatabaseMetaData
supportsMultipleOpenResults()
Determines whether it is possible for a single CallableStatement to return multiple ResultSets simultaneously.
DatabaseMetaData
supportsMultipleResultSets()
Determines whether retrieving multiple ResultSets from a single call to the execute method is supported.
DatabaseMetaData
supportsMultipleTransactions()
Determines whether multiple simultaneous transactions on different connections are supported.
DatabaseMetaData
supportsNamedParameters()
Determines whether callable statements with named parameters is supported.
DatabaseMetaData
supportsNonNullableColumns()
Determines whether columns in the database can be defined as non-nullable.
DatabaseMetaData
supportsOpenCursorsAcrossCommit()
Determines whether keeping cursors open across commit operations is supported.
DatabaseMetaData
supportsOpenCursorsAcrossRollback()
Determines whether the database can keep cursors open across rollback operations.
DatabaseMetaData
supportsOpenStatementsAcrossCommit()
Determines whether keeping statements open across commit operations is supported.
DatabaseMetaData
supportsOpenStatementsAcrossRollback()
Determines whether keeping statements open across rollback operations is supported.
DatabaseMetaData
supportsOrderByUnrelated()
Determines whether using a column in an ORDER BY clause that is not in the SELECT statement is supported.
DatabaseMetaData
supportsOuterJoins()
Determines whether outer join operations are supported.
DatabaseMetaData
supportsParameter(Object parameter)
Indicates whether this Service supports the specified constructor parameter.
Provider.Service
supportsPositionedDelete()
Determines whether positioned DELETE statements are supported.
DatabaseMetaData
supportsPositionedUpdate()
Determines whether positioned UPDATE statements are supported.
DatabaseMetaData
supportsProcesses()
Determine whether the current environment supports multiple processes.
Process
supportsResultSetConcurrency(int type, int concurrency)
Determines whether there is support for a given concurrency style for the given ResultSet.
DatabaseMetaData
supportsResultSetHoldability(int holdability)
Determines whether the supplied ResultSet holdability mode is supported.
DatabaseMetaData
supportsResultSetType(int type)
Determines whether the supplied ResultSet type is supported.
DatabaseMetaData
supportsSavepoints()
Determines whether savepoints for transactions are supported.
DatabaseMetaData
supportsSchemasInDataManipulation()
Determines whether a schema name may be used in a data manipulation statement.
DatabaseMetaData
supportsSchemasInIndexDefinitions()
Determines whether a schema name may be used in an index definition statement.
DatabaseMetaData
supportsSchemasInPrivilegeDefinitions()
Determines whether a database schema name can be used in a privilege definition statement.
DatabaseMetaData
supportsSchemasInProcedureCalls()
Determines whether a procedure call statement may be contain in a schema name.
DatabaseMetaData
supportsSchemasInTableDefinitions()
Determines whether a schema name can be used in a table definition statement.
DatabaseMetaData
supportsSelectForUpdate()
Determines whether the SELECT FOR UPDATE statement is supported.
DatabaseMetaData
supportsSpeed()
Returns true if the provider is able to provide speed information, false otherwise.
LocationProvider
supportsStatementPooling()
Determines whether statement pooling is supported.
DatabaseMetaData
supportsStoredProcedures()
Determines whether stored procedure calls using the stored procedure escape syntax is supported.
DatabaseMetaData
supportsSubqueriesInComparisons()
Determines whether subqueries in comparison expressions are supported.
DatabaseMetaData
supportsSubqueriesInExists()
Determines whether subqueries in EXISTS expressions are supported.
DatabaseMetaData
supportsSubqueriesInIns()
Determines whether subqueries in IN statements are supported.
DatabaseMetaData
supportsSubqueriesInQuantifieds()
Determines whether subqueries in quantified expressions are supported.
DatabaseMetaData
supportsTableCorrelationNames()
Determines whether the database has table correlation names support.
DatabaseMetaData
supportsTransactionIsolationLevel(int level)
Determines whether a specified transaction isolation level is supported.
DatabaseMetaData
supportsTransactions()
Determines whether transactions are supported.
DatabaseMetaData
supportsUnion()
Determines whether the SQL UNION operation is supported.
DatabaseMetaData
supportsUnionAll()
Determines whether the SQL UNION ALL operation is supported.
DatabaseMetaData
supportsUploading

Must be a boolean value, either "true" or "false".

int
R.attr
supportsUploading()
SyncAdapterType
supportsUrgentData()
Returns whether the socket supports urgent data or not.
SocketImpl
(protected)
supportZoom()
Returns whether the WebView supports zoom
WebSettings
SURACE_FROZEN
This constant is deprecated. use SURFACE_FROZEN instead.
int
Surface
Surface.OutOfResourcesException()
Surface.OutOfResourcesException
Surface.OutOfResourcesException(String name)
Surface.OutOfResourcesException
surfaceChanged(SurfaceHolder holder, int format, int w, int h)
This method is part of the SurfaceHolder.Callback interface, and is not normally called or subclassed by clients of GLSurfaceView.
GLSurfaceView
surfaceChanged(SurfaceHolder holder, int format, int width, int height)
This is called immediately after any structural changes (format or size) have been made to the surface.
SurfaceHolder.Callback
surfaceCreated(SurfaceHolder holder)
This method is part of the SurfaceHolder.Callback interface, and is not normally called or subclassed by clients of GLSurfaceView.
GLSurfaceView
surfaceCreated(SurfaceHolder holder)
This is called immediately after the surface is first created.
SurfaceHolder.Callback
surfaceDestroyed(SurfaceHolder holder)
This method is part of the SurfaceHolder.Callback interface, and is not normally called or subclassed by clients of GLSurfaceView.
GLSurfaceView
surfaceDestroyed(SurfaceHolder holder)
This is called immediately before a surface is being destroyed.
SurfaceHolder.Callback
SurfaceHolder.BadSurfaceTypeException()
SurfaceHolder.BadSurfaceTypeException
SurfaceHolder.BadSurfaceTypeException(String name)
SurfaceHolder.BadSurfaceTypeException
SurfaceView(Context context)
SurfaceView
SurfaceView(Context context, AttributeSet attrs)
SurfaceView
SurfaceView(Context context, AttributeSet attrs, int defStyle)
SurfaceView
SURFACE_BLUR_FREEZE
int
Surface
SURFACE_DITHER
Enable dithering when compositing this surface
int
Surface
SURFACE_FROZEN
Freeze the surface.
int
Surface
SURFACE_HIDDEN
Hide the surface.
int
Surface
SURFACE_TYPE_GPU
This constant is deprecated. this is ignored, this value is set automatically when needed.
int
SurfaceHolder
SURFACE_TYPE_HARDWARE
This constant is deprecated. this is ignored, this value is set automatically when needed.
int
SurfaceHolder
SURFACE_TYPE_NORMAL
Surface type: creates a regular surface, usually in main, non contiguous, cached/buffered RAM.
int
SurfaceHolder
SURFACE_TYPE_PUSH_BUFFERS
Surface type: creates a "push" surface, that is a surface that doesn't owns its buffers.
int
SurfaceHolder
sUrlMatchFilter
Filters out web URL matches that occur after an at-sign (@).
Linkify
SURROGATE
Unicode category constant Cs.
byte
Character
SURROGATES_AREA
This constant is deprecated. As of Java 5, this block has been replaced by HIGH_SURROGATES, HIGH_PRIVATE_USE_SURROGATES and LOW_SURROGATES.
Character.UnicodeBlock
suspend()
This method is deprecated. May cause deadlocks.
Thread
suspend()
This method is deprecated. Requires deprecated method Thread.suspend().
ThreadGroup
swap(List<?> list, int index1, int index2)
Swaps the elements of list list at indices index1 and index2.
Collections
SWAP_COLORS
The SWAP_COLORS text attribute.
TextAttribute
SWAP_COLORS_ON
The Constant SWAP_COLORS_ON indicates a swap of foreground and background.
TextAttribute
SweepGradient(float cx, float cy, int color0, int color1)
A subclass of Shader that draws a sweep gradient around a center point.
SweepGradient
SweepGradient(float cx, float cy, int[] colors, float[] positions)
A subclass of Shader that draws a sweep gradient around a center point.
SweepGradient
SWEEP_GRADIENT
Gradient is a sweep.
int
GradientDrawable
swipeDown()
KeyboardView
(protected)
swipeDown()
Called when the user quickly moves the finger from up to down.
KeyboardView.OnKeyboardActionListener
swipeLeft()
KeyboardView
(protected)
swipeLeft()
Called when the user quickly moves the finger from right to left.
KeyboardView.OnKeyboardActionListener
swipeRight()
KeyboardView
(protected)
swipeRight()
Called when the user quickly moves the finger from left to right.
KeyboardView.OnKeyboardActionListener
swipeUp()
KeyboardView
(protected)
swipeUp()
Called when the user quickly moves the finger from down to up.
KeyboardView.OnKeyboardActionListener
switchInputMethod
Context menu ID for the "Input Method" menu item to being up the input method picker dialog, allowing the user to switch to another input method.
int
R.id
switchInputMethod(String id)
Force switch to a new input method, as identified by id.
InputMethodService
switchTimezone(String timezone)
Convert this time object so the time represented remains the same, but is instead located in a different timezone.
Time
SYMBOL
The symbol of this company as the user entered it.
ContactsContract.CommonDataKinds.Organization
sym_action_call
int
R.drawable
sym_action_chat
int
R.drawable
sym_action_email
int
R.drawable
sym_call_incoming
int
R.drawable
sym_call_missed
int
R.drawable
sym_call_outgoing
int
R.drawable
sym_contact_card
int
R.drawable
sym_def_app_icon
int
R.drawable
sync()
Synchronizes the data of this preference node and its descendants with the back-end preference store.
AbstractPreferences
sync()
sync() forces sync manager to sync now
CookieSyncManager
sync()
Ensures that data which is buffered within the underlying implementation is written out to the appropriate device before returning.
FileDescriptor
sync()
Synchronizes the data of this preference node and its descendants with the back-end preference store.
Preferences
SYNC1
Generic column for use by sync adapters.
ContactsContract.BaseSyncColumns
SYNC1
Generic column for use by sync adapters.
ContactsContract.DataColumns
SYNC2
Generic column for use by sync adapters.
ContactsContract.BaseSyncColumns
SYNC2
Generic column for use by sync adapters.
ContactsContract.DataColumns
SYNC3
Generic column for use by sync adapters.
ContactsContract.BaseSyncColumns
SYNC3
Generic column for use by sync adapters.
ContactsContract.DataColumns
SYNC4
Generic column for use by sync adapters.
ContactsContract.BaseSyncColumns
SYNC4
Generic column for use by sync adapters.
ContactsContract.DataColumns
syncable
Flag indicating whether this content provider would like to participate in data synchronization.
int
R.attr
SyncAdapterType(Parcel source)
SyncAdapterType
SyncAdapterType(String authority, String accountType, boolean userVisible, boolean supportsUploading)
SyncAdapterType
SyncBaseInstrumentation()
SyncBaseInstrumentation
SyncBasicHttpContext(HttpContext parentContext)
SyncBasicHttpContext
SyncFailedException(String detailMessage)
Constructs a new SyncFailedException with its stack trace and detail message filled in.
SyncFailedException
syncFromRamToFlash()
CookieSyncManager
(protected)
SYNCHRONIZED
The int value representing the synchronized modifier.
int
Modifier
synchronizedCollection(Collection<T> collection)
Returns a wrapper on the specified collection which synchronizes all access to the collection.
Collections
synchronizedList(List<T> list)
Returns a wrapper on the specified List which synchronizes all access to the List.
Collections
synchronizedMap(Map<K, V> map)
Returns a wrapper on the specified map which synchronizes all access to the map.
Collections
synchronizedSet(Set<E> set)
Returns a wrapper on the specified set which synchronizes all access to the set.
Collections
synchronizedSortedMap(SortedMap<K, V> map)
Returns a wrapper on the specified sorted map which synchronizes all access to the sorted map.
Collections
synchronizedSortedSet(SortedSet<E> set)
Returns a wrapper on the specified sorted set which synchronizes all access to the sorted set.
Collections
SynchronousQueue()
Creates a SynchronousQueue with nonfair access policy.
SynchronousQueue
SynchronousQueue(boolean fair)
Creates a SynchronousQueue with the specified fairness policy.
SynchronousQueue
syncProvider(Uri uri, String accountName, String authority)
Syncs the specified provider.
SyncBaseInstrumentation
(protected)
SyncResult()
SyncResult
syncSpi()
Synchronizes this node with the backing store.
AbstractPreferences
(protected)
SyncStateContract()
SyncStateContract
SyncStateContract.Constants()
SyncStateContract.Constants
SyncStateContract.Helpers()
SyncStateContract.Helpers
SYNC_ERROR
This constant is deprecated. see ContactsContract
Contacts.PhotosColumns
SYNC_EVERYTHING
This constant is deprecated. see ContactsContract
Contacts.Settings
SYNC_EXTRAS_ACCOUNT
This constant is deprecated. instead use requestSync(android.accounts.Account, String, android.os.Bundle)
ContentResolver
SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS
ContentResolver
SYNC_EXTRAS_EXPEDITED
ContentResolver
SYNC_EXTRAS_FORCE
This constant is deprecated. instead use SYNC_EXTRAS_MANUAL
ContentResolver
SYNC_EXTRAS_INITIALIZE
Set by the SyncManager to request that the SyncAdapter initialize itself for the given account/authority pair.
ContentResolver
SYNC_EXTRAS_MANUAL
ContentResolver
SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS
ContentResolver
SYNC_EXTRAS_UPLOAD
ContentResolver
syntaxError(String message)
Make a JSONException to signal a syntax error.
JSONTokener
SYNTAX_ERR
If an invalid or illegal string is specified.
short
DOMException
synthesizeToFile(String text, HashMap<StringString> params, String filename)
Synthesizes the given text to a file using the specified parameters.
TextToSpeech
SYRIAC
The "Syriac" Unicode Block.
Character.UnicodeBlock
systemNodeForPackage(Class<?> c)
Returns the system preference node for the package of the given class.
Preferences
systemRoot()
Returns the root node of the system preference hierarchy.
Preferences
systemRoot()
Returns the root node of the system preferences hierarchy.
PreferencesFactory
SYSTEM_ALERT_WINDOW
Allows an application to open windows using the type TYPE_SYSTEM_ALERT, shown on top of all other applications.
Manifest.permission
SYSTEM_HIGH_PRIORITY
The filter setPriority(int) value at which system high-priority receivers are placed; that is, receivers that should execute before application code.
int
IntentFilter
SYSTEM_ID
This constant is deprecated. see ContactsContract
Contacts.GroupsColumns
SYSTEM_ID
The ID of this group if it is a System Group, i.e.
ContactsContract.GroupsColumns
SYSTEM_LOW_PRIORITY
The filter setPriority(int) value at which system low-priority receivers are placed; that is, receivers that should execute after application code.
int
IntentFilter
SYSTEM_TOOLS
Group of permissions that are related to system APIs.
Manifest.permission_group
SYSTEM_UID
Defines the UID/GID under which system code runs.
int
Process
SYS_PROP_SETTING_VERSION
Settings.Secure
SYS_PROP_SETTING_VERSION
Settings.System