Method Index: O - 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 _

O

OAEPParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, PSource pSrc)
Creates a new OAEPParameterSpec instance with the specified message digest algorithm name, mask generation function (mgf) algorithm name, parameters for the mgf algorithm and the source of the label L.
OAEPParameterSpec
object()
Begin appending a new object.
JSONStringer
Object()
Constructs a new instance of Object.
Object
ObjectInputStream(InputStream input)
Constructs a new ObjectInputStream that reads from the InputStream input.
ObjectInputStream
ObjectInputStream.GetField()
ObjectInputStream.GetField
ObjectOutputStream(OutputStream output)
Constructs a new ObjectOutputStream that writes to the OutputStream output.
ObjectOutputStream
ObjectOutputStream.PutField()
ObjectOutputStream.PutField
ObjectStreamField(String name, Class<?> cl)
Constructs an ObjectStreamField with the specified name and type.
ObjectStreamField
ObjectStreamField(String name, Class<?> cl, boolean unshared)
Constructs an ObjectStreamField with the specified name, type and the indication if it is unshared.
ObjectStreamField
OBJECT_TRANSFER
int
BluetoothClass.Service
Observable()
Observable
Observable()
Constructs a new Observable object.
Observable
obtain()
Returns a cached instance if such is available or a new one is instantiated.
AccessibilityEvent
obtain()
Return a new Message instance from the global pool.
Message
obtain()
Retrieve a new Parcel object from the pool.
Parcel
obtain()
Retrieve a new VelocityTracker object to watch the velocity of a motion.
VelocityTracker
obtain(Handler h)
Same as obtain(), but sets the value for the target member on the Message returned.
Message
obtain(Handler h, int what)
Same as obtain(), but sets the values for both target and what members on the Message.
Message
obtain(Handler h, int what, int arg1, int arg2)
Same as obtain(), but sets the values of the target, what, arg1, and arg2 members.
Message
obtain(Handler h, int what, int arg1, int arg2, Object obj)
Same as obtain(), but sets the values of the target, what, arg1, arg2, and obj members.
Message
obtain(Handler h, int what, Object obj)
Same as obtain(), but sets the values of the target, what, and obj members.
Message
obtain(Handler h, Runnable callback)
Same as obtain(Handler), but assigns a callback Runnable on the Message that is returned.
Message
obtain(Message orig)
Same as obtain(), but copies the values of an existing message (including its target) into the new one.
Message
obtain(MotionEvent o)
Create a new MotionEvent, copying from an existing one.
MotionEvent
obtain(int eventType)
Returns a cached instance if such is available or a new one is instantiated with type property set.
AccessibilityEvent
obtain(int obj)
Parcel
(protected)
obtain(long downTime, long eventTime, int action, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags)
Create a new MotionEvent, filling in all of the basic values that define the motion.
MotionEvent
obtain(long downTime, long eventTime, int action, float x, float y, int metaState)
Create a new MotionEvent, filling in a subset of the basic motion values.
MotionEvent
obtain(long downTime, long eventTime, int action, int pointers, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags)
Create a new MotionEvent, filling in all of the basic values that define the motion.
MotionEvent
obtainAttributes(AttributeSet set, int[] attrs)
Retrieve a set of basic attribute values from an AttributeSet, not performing styling of them using a theme and/or style resources.
MockResources
obtainAttributes(AttributeSet set, int[] attrs)
Retrieve a set of basic attribute values from an AttributeSet, not performing styling of them using a theme and/or style resources.
Resources
obtainMessage()
Returns a new Message from the global message pool.
Handler
obtainMessage(int what)
Same as obtainMessage(), except that it also sets the what member of the returned Message.
Handler
obtainMessage(int what, int arg1, int arg2)
Same as obtainMessage(), except that it also sets the what, arg1 and arg2 members of the returned Message.
Handler
obtainMessage(int what, int arg1, int arg2, Object obj)
Same as obtainMessage(), except that it also sets the what, obj, arg1,and arg2 values on the returned Message.
Handler
obtainMessage(int what, Object obj)
Same as obtainMessage(), except that it also sets the what and obj members of the returned Message.
Handler
obtainNoHistory(MotionEvent o)
Create a new MotionEvent, copying from an existing one, but not including any historical point information.
MotionEvent
obtainStyledAttributes(AttributeSet set, int[] attrs)
Retrieve styled attribute information in this Context's theme.
Context
obtainStyledAttributes(AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes)
Retrieve styled attribute information in this Context's theme.
Context
obtainStyledAttributes(AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes)
Return a StyledAttributes holding the attribute values in set that are listed in attrs.
Resources.Theme
obtainStyledAttributes(int resid, int[] attrs)
Retrieve styled attribute information in this Context's theme.
Context
obtainStyledAttributes(int resid, int[] attrs)
Return a StyledAttributes holding the values defined by the style resource resid which are listed in attrs.
Resources.Theme
obtainStyledAttributes(int[] attrs)
Retrieve styled attribute information in this Context's theme.
Context
obtainStyledAttributes(int[] attrs)
Return a StyledAttributes holding the values defined by Theme which are listed in attrs.
Resources.Theme
obtainTypedArray(int id)
Return an array of heterogeneous values.
MockResources
obtainTypedArray(int id)
Return an array of heterogeneous values.
Resources
OCTET_STREAM_TYPE
Content type definitions
HTTP
OCTOBER
Value of the MONTH field indicating the tenth month of the year.
int
Calendar
of(char c)
Gets the constant for the Unicode block that contains the specified character.
Character.UnicodeBlock
of(E e)
Creates a new enum set, containing only the specified element.
EnumSet
of(E e1, E e2)
Creates a new enum set, containing only the specified elements.
EnumSet
of(E e1, E e2, E e3)
Creates a new enum set, containing only the specified elements.
EnumSet
of(E e1, E e2, E e3, E e4)
Creates a new enum set, containing only the specified elements.
EnumSet
of(E e1, E e2, E e3, E e4, E e5)
Creates a new enum set, containing only the specified elements.
EnumSet
of(E start, E... others)
Creates a new enum set, containing only the specified elements.
EnumSet
of(int codePoint)
Gets the constant for the Unicode block that contains the specified Unicode code point.
Character.UnicodeBlock
ofCalendarField(int calendarField)
Returns the DateFormat.Field instance for the given calendar field.
DateFormat.Field
OFF
The OFF level provides no logging messages.
Level
offer(E e)
Inserts the specified element at the tail of this queue if it is possible to do so immediately without exceeding the queue's capacity, returning true upon success and false if this queue is full.
ArrayBlockingQueue
offer(E e)
Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions, returning true upon success and false if no space is currently available.
BlockingQueue
offer(E e)
Inserts the specified element at the tail of this queue.
ConcurrentLinkedQueue
offer(E e)
Inserts the specified element into this delay queue.
DelayQueue
offer(E e)
Inserts the specified element at the tail of this queue if it is possible to do so immediately without exceeding the queue's capacity, returning true upon success and false if this queue is full.
LinkedBlockingQueue
offer(E o)
Inserts the specified element into the queue provided that the condition allows such an operation.
LinkedList
offer(E e)
Inserts the specified element into this priority queue.
PriorityBlockingQueue
offer(E o)
Inserts the element to the priority queue.
PriorityQueue
offer(E o)
Inserts the specified element into the queue provided that the condition allows such an operation.
Queue
offer(E e)
Inserts the specified element into this queue, if another thread is waiting to receive it.
SynchronousQueue
offer(E e, long timeout, TimeUnit unit)
Inserts the specified element at the tail of this queue, waiting up to the specified wait time for space to become available if the queue is full.
ArrayBlockingQueue
offer(E e, long timeout, TimeUnit unit)
Inserts the specified element into this queue, waiting up to the specified wait time if necessary for space to become available.
BlockingQueue
offer(E e, long timeout, TimeUnit unit)
Inserts the specified element into this delay queue.
DelayQueue
offer(E e, long timeout, TimeUnit unit)
Inserts the specified element at the tail of this queue, waiting if necessary up to the specified wait time for space to become available.
LinkedBlockingQueue
offer(E e, long timeout, TimeUnit unit)
Inserts the specified element into this priority queue.
PriorityBlockingQueue
offer(E o, long timeout, TimeUnit unit)
Inserts the specified element into this queue, waiting if necessary up to the specified wait time for another thread to receive it.
SynchronousQueue
OFFICE_LOCATION
The office location of this organization.
ContactsContract.CommonDataKinds.Organization
OFFLINE
Presence Status definition
int
Contacts.PresenceColumns
OFFLINE
Presence Status definition
int
ContactsContract.StatusColumns
offset(float dx, float dy)
Offset the path by (dx,dy), returning true on success
Path
offset(float dx, float dy)
PointF
offset(float dx, float dy)
Offset the rectangle by adding dx to its left and right coordinates, and adding dy to its top and bottom coordinates.
RectF
offset(float dx, float dy, Path dst)
Offset the path by (dx,dy), returning true on success
Path
offset(int dx, int dy)
Offset the point's coordinates by dx, dy
Point
offset(int dx, int dy)
Offset the rectangle by adding dx to its left and right coordinates, and adding dy to its top and bottom coordinates.
Rect
offsetByCodePoints(char[] seq, int start, int count, int index, int codePointOffset)
Determines the index in a subsequence of the specified character array that is offset codePointOffset code points from index.
Character
offsetByCodePoints(int index, int codePointOffset)
Returns the index within this object that is offset from index by codePointOffset code points.
String
offsetByCodePoints(int index, int codePointOffset)
Returns the index that is offset codePointOffset code points from index.
StringBuffer
offsetByCodePoints(int index, int codePointOffset)
Returns the index that is offset codePointOffset code points from index.
StringBuilder
offsetByCodePoints(CharSequence seq, int index, int codePointOffset)
Determines the index in the specified character sequence that is offset codePointOffset code points from index.
Character
offsetDescendantRectToMyCoords(View descendant, Rect rect)
Offset a rectangle that is in a descendant's coordinate space into our coordinate space.
ViewGroup
offsetLeftAndRight(int offset)
Offset this view's horizontal location by the specified amount of pixels.
View
offsetLocation(float deltaX, float deltaY)
Adjust this event's location.
MotionEvent
offsetRectIntoDescendantCoords(View descendant, Rect rect)
Offset a rectangle that is in our coordinate space into an ancestor's coordinate space.
ViewGroup
offsetTo(float newLeft, float newTop)
Offset the rectangle to a specific (left, top) position, keeping its width and height the same.
RectF
offsetTo(int newLeft, int newTop)
Offset the rectangle to a specific (left, top) position, keeping its width and height the same.
Rect
offsetTopAndBottom(int offset)
Offset this view's vertical location by the specified number of pixels.
View
OGHAM
The "Ogham" Unicode Block.
Character.UnicodeBlock
ok
Preference framework strings.
int
R.string
ok(char[] accept, char c)
NumberKeyListener
(protected)
OLD_ITALIC
The "Old Italic" Unicode Block.
Character.UnicodeBlock
on(boolean on)
Enables or disables the digest function (default is on).
DigestInputStream
on(boolean on)
Enables or disables the digest function (default is on).
DigestOutputStream
onAccessibilityEvent(AccessibilityEvent event)
Callback for AccessibilityEvents.
AccessibilityService
onAccountsUpdated(Account[] accounts)
This invoked when the AccountMonitor starts up and whenever the account set changes.
OnAccountsUpdateListener
onAccuracyChanged(Sensor sensor, int accuracy)
Called when the accuracy of a sensor has changed.
SensorEventListener
onAccuracyChanged(int sensor, int accuracy)
Called when the accuracy of a sensor has changed.
OrientationListener
onAccuracyChanged(int sensor, int accuracy)
Called when the accuracy of a sensor has changed.
SensorListener
onActive()
Window
(protected)
onActivityDestroy()
See Activity's onDestroy.
DialogPreference
onActivityDestroy()
See Activity's onDestroy.
PreferenceManager.OnActivityDestroyListener
onActivityResult(int requestCode, int resultCode, Intent data)
Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it.
Activity
(protected)
onActivityResult(int requestCode, int resultCode, Intent data)
Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it.
PreferenceActivity
(protected)
onActivityResult(int requestCode, int resultCode, Intent data)
See Activity's onActivityResult.
PreferenceManager.OnActivityResultListener
onActivityResult(int requestCode, int resultCode, Intent data)
See Activity's onActivityResult.
RingtonePreference
onActivityStop()
See Activity's onStop.
PreferenceManager.OnActivityStopListener
onAddEditTextToDialogView(View dialogView, EditText editText)
Adds the EditText widget of this preference to the dialog's view.
EditTextPreference
(protected)
onAllReferencesReleased()
CursorWindow
(protected)
onAllReferencesReleased()
SQLiteClosable
(protected)
onAllReferencesReleased()
SQLiteDatabase
(protected)
onAllReferencesReleased()
SQLiteProgram
(protected)
onAllReferencesReleasedFromContainer()
SQLiteClosable
(protected)
onAllReferencesReleasedFromContainer()
SQLiteProgram
(protected)
onAnimationEnd()
Invoked by a parent ViewGroup to notify the end of the animation currently associated with this view.
View
(protected)
onAnimationEnd()
Invoked by a parent ViewGroup to notify the end of the animation currently associated with this view.
ViewGroup
(protected)
onAnimationEnd(Animation animation)

Notifies the end of the animation.

Animation.AnimationListener
onAnimationRepeat(Animation animation)

Notifies the repetition of the animation.

Animation.AnimationListener
onAnimationStart()
Invoked by a parent ViewGroup to notify the start of the animation currently associated with this view.
View
(protected)
onAnimationStart()
Invoked by a parent ViewGroup to notify the start of the animation currently associated with this view.
ViewGroup
(protected)
onAnimationStart(Animation animation)

Notifies the start of the animation.

Animation.AnimationListener
onApplyThemeResource(Resources.Theme theme, int resid, boolean first)
Called by setTheme(int) and getTheme() to apply a theme resource to the current Theme object.
Activity
(protected)
onApplyThemeResource(Resources.Theme theme, int resid, boolean first)
Called by setTheme(int) and getTheme() to apply a theme resource to the current Theme object.
ContextThemeWrapper
(protected)
onAppPrivateCommand(String action, Bundle data)
InputMethodService
onAttachedToActivity()
Called when the Preference hierarchy has been attached to the PreferenceActivity.
Preference
(protected)
onAttachedToActivity()
Called when the Preference hierarchy has been attached to the PreferenceActivity.
PreferenceGroup
(protected)
onAttachedToHierarchy(PreferenceManager preferenceManager)
Called when this Preference has been attached to a Preference hierarchy.
Preference
(protected)
onAttachedToHierarchy(PreferenceManager preferenceManager)
Called when this Preference has been attached to a Preference hierarchy.
RingtonePreference
(protected)
onAttachedToWindow()
This is called when the view is attached to a window.
AbsListView
(protected)
onAttachedToWindow()
Called when the main window associated with the activity has been attached to the window manager.
Activity
onAttachedToWindow()
This is called when the view is attached to a window.
AnalogClock
(protected)
onAttachedToWindow()
This is called when the view is attached to a window.
AutoCompleteTextView
(protected)
onAttachedToWindow()
Called when the window has been attached to the window manager.
Dialog
onAttachedToWindow()
This is called when the view is attached to a window.
DigitalClock
(protected)
onAttachedToWindow()
This is called when the view is attached to a window.
SurfaceView
(protected)
onAttachedToWindow()
This is called when the view is attached to a window.
TabHost
(protected)
onAttachedToWindow()
This is called when the view is attached to a window.
TextView
(protected)
onAttachedToWindow()
This is called when the view is attached to a window.
View
(protected)
onAttachedToWindow()
This is called when the view is attached to a window.
WebView
(protected)
onAttachedToWindow()
Called when the window has been attached to the window manager.
Window.Callback
onAutoFocus(boolean success, Camera camera)
Callback for the camera auto focus.
Camera.AutoFocusCallback
onBackPressed()
Called when the activity has detected the user's press of the back key.
Activity
onBackPressed()
Called when the dialog has detected the user's press of the back key.
Dialog
onBegin()
Called immediately after the transaction begins.
SQLiteTransactionListener
onBeginBatchEdit()
Called by the framework in response to a request to begin a batch of edit operations through a call to link beginBatchEdit().
TextView
onBind(Intent intent)
Return the communication channel to the service.
AbstractInputMethodService
onBind(Intent intent)
Implement to return the implementation of the internal accessibility service interface.
AccessibilityService
onBind(Intent intent)
Return the communication channel to the service.
IntentService
onBind(Intent intent)
Return the communication channel to the service.
Service
onBindDialogView(View view)
Binds views in the content View of the dialog to data.
DialogPreference
(protected)
onBindDialogView(View view)
Binds views in the content View of the dialog to data.
EditTextPreference
(protected)
onBindInput()
Called when a new client has bound to the input method.
InputMethodService
onBindView(View view)
Binds the created View to the data for this Preference.
CheckBoxPreference
(protected)
onBindView(View view)
Binds the created View to the data for this Preference.
Preference
(protected)
onBoundsChange(Rect bounds)
Override this in your subclass to change appearance if you recognize the specified state.
BitmapDrawable
(protected)
onBoundsChange(Rect bounds)
Override this in your subclass to change appearance if you recognize the specified state.
ClipDrawable
(protected)
onBoundsChange(Rect bounds)
Override this in your subclass to change appearance if you recognize the specified state.
Drawable
(protected)
onBoundsChange(Rect bounds)
Override this in your subclass to change appearance if you recognize the specified state.
DrawableContainer
(protected)
onBoundsChange(Rect r)
Override this in your subclass to change appearance if you recognize the specified state.
GradientDrawable
(protected)
onBoundsChange(Rect bounds)
Override this in your subclass to change appearance if you recognize the specified state.
InsetDrawable
(protected)
onBoundsChange(Rect bounds)
Override this in your subclass to change appearance if you recognize the specified state.
LayerDrawable
(protected)
onBoundsChange(Rect bounds)
Override this in your subclass to change appearance if you recognize the specified state.
RotateDrawable
(protected)
onBoundsChange(Rect bounds)
Override this in your subclass to change appearance if you recognize the specified state.
ScaleDrawable
(protected)
onBoundsChange(Rect bounds)
Override this in your subclass to change appearance if you recognize the specified state.
ShapeDrawable
(protected)
onBufferingUpdate(MediaPlayer mp, int percent)
Called to update status in buffering a media stream.
MediaPlayer.OnBufferingUpdateListener
onCallbackDied(E callback)
Old version of onCallbackDied(E, Object) that does not provide a cookie.
RemoteCallbackList
onCallbackDied(E callback, Object cookie)
Called when the process hosting a callback in the list has gone away.
RemoteCallbackList
onCallForwardingIndicatorChanged(boolean cfi)
Callback invoked when the call-forwarding indicator changes.
PhoneStateListener
onCallStateChanged(int state, String incomingNumber)
Callback invoked when device call state changes.
PhoneStateListener
onCancel()
This method will be called when the search UI is canceled.
SearchManager.OnCancelListener
onCancel(DialogInterface dialog)
This method will be invoked when the dialog is canceled.
DialogInterface.OnCancelListener
onCancel(DialogInterface dialog)
This method is deprecated. This method is an obsolete internal implementation detail. Do not use.
SearchManager
onCancelled()
Runs on the UI thread after cancel(boolean) is invoked.
AsyncTask
(protected)
onCellLocationChanged(CellLocation location)
Callback invoked when device cell location changes.
PhoneStateListener
onChange(boolean selfChange)
Subclasses must call this method when they finish committing updates to notify all observers.
AbstractCursor
(protected)
onChange(boolean selfChange)
This method is called when a change occurs to the cursor that is being observed.
AbstractCursor.SelfContentObserver
onChange(boolean selfChange)
This method is called when a change occurs to the cursor that is being observed.
ContentObserver
onChanged()
This method is called when the entire data set has changed, most likely through a call to requery() on a Cursor.
AlphabetIndexer
onChanged()
This method is called when the entire data set has changed, most likely through a call to requery() on a Cursor.
DataSetObserver
onCheckedChanged(CompoundButton buttonView, boolean isChecked)
Called when the checked state of a compound button has changed.
CompoundButton.OnCheckedChangeListener
onCheckedChanged(RadioGroup group, int checkedId)

Called when the checked radio button has changed.

RadioGroup.OnCheckedChangeListener
onCheckIsTextEditor()
Check whether the called view is a text editor, in which case it would make sense to automatically display a soft input window for it.
TextView
onCheckIsTextEditor()
Check whether the called view is a text editor, in which case it would make sense to automatically display a soft input window for it.
View
onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id)
Override this for receiving callbacks when a child has been clicked.
ExpandableListActivity
onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id)
Callback method to be invoked when a child in this expandable list has been clicked.
ExpandableListView.OnChildClickListener
onChildTitleChanged(Activity childActivity, CharSequence title)
Activity
(protected)
onChildTitleChanged(Activity childActivity, CharSequence title)
TabActivity
(protected)
onChildViewAdded(View parent, View child)
Called when a new child is added to a parent view.
ViewGroup.OnHierarchyChangeListener
onChildViewAdded(View parent, View child)
Called when a new child is added to a parent view.
WebView
onChildViewRemoved(View parent, View child)
Called when a child is removed from a parent view.
ViewGroup.OnHierarchyChangeListener
onChildViewRemoved(View p, View child)
Called when a child is removed from a parent view.
WebView
onChronometerTick(Chronometer chronometer)
Notification that the chronometer has changed.
Chronometer.OnChronometerTickListener
onClick
Name of the method in this View's context to invoke when the view is clicked.
int
R.attr
onClick()
Processes a click on the preference.
CheckBoxPreference
(protected)
onClick()
Processes a click on the preference.
DialogPreference
(protected)
onClick()
Processes a click on the preference.
Preference
(protected)
onClick()
Processes a click on the preference.
PreferenceScreen
(protected)
onClick()
Processes a click on the preference.
RingtonePreference
(protected)
onClick(DialogInterface dialog, int which)
This method will be invoked when a button in the dialog is clicked.
DatePickerDialog
onClick(DialogInterface dialog, int which)
This method will be invoked when a button in the dialog is clicked.
DialogInterface.OnClickListener
onClick(DialogInterface dialog, int which)
This method will be invoked when a button in the dialog is clicked.
DialogPreference
onClick(DialogInterface dialog, int which)
This method will be invoked when a button in the dialog is clicked.
Spinner
onClick(DialogInterface dialog, int which)
This method will be invoked when a button in the dialog is clicked.
TimePickerDialog
onClick(DialogInterface dialog, int which, boolean isChecked)
This method will be invoked when an item in the dialog is clicked.
DialogInterface.OnMultiChoiceClickListener
onClick(View v)
Handles clicks on the Cancel button.
CharacterPickerDialog
onClick(View widget)
Performs the click action associated with this span.
ClickableSpan
onClick(View v)
Called when a view has been clicked.
QuickContactBadge
onClick(View widget)
Performs the click action associated with this span.
URLSpan
onClick(View v)
Called when a view has been clicked.
View.OnClickListener
onCloseWindow(WebView window)
Notify the host application to close the given WebView and remove it from the view system if necessary.
WebChromeClient
onCommit()
Called immediately before commiting the transaction.
SQLiteTransactionListener
onCommitCompletion(CompletionInfo completion)
Called by the framework in response to a text completion from the current input method, provided by it calling InputConnection.commitCompletion().
AutoCompleteTextView
onCommitCompletion(CompletionInfo text)
Called by the framework in response to a text completion from the current input method, provided by it calling InputConnection.commitCompletion().
TextView
onCompletion(MediaPlayer mp)
Called when the end of a media source is reached during playback.
MediaPlayer.OnCompletionListener
onComputeInsets(InputMethodService.Insets outInsets)
Compute the interesting insets into your UI.
InputMethodService
onConfigurationChanged(Configuration newConfig)
Called by the system when the device configuration changes while your activity is running.
Activity
onConfigurationChanged(Configuration newConfig)
Called by the system when the device configuration changes while your component is running.
Application
onConfigurationChanged(Configuration newConfig)
Called by the system when the device configuration changes while your component is running.
ComponentCallbacks
onConfigurationChanged(Configuration newConfig)
Called by the system when the device configuration changes while your component is running.
ContentProvider
onConfigurationChanged(Configuration newConfig)
Take care of handling configuration changes.
InputMethodService
onConfigurationChanged(Configuration newConfig)
Called by the system when the device configuration changes while your component is running.
MockApplication
onConfigurationChanged(Configuration newConfig)
Called by the system when the device configuration changes while your component is running.
Service
onConfigurationChanged(Configuration newConfig)
Should be called when the configuration is changed.
Window
onConfigureWindow(Window win, boolean isFullscreen, boolean isCandidatesOnly)
Update the given window's parameters for the given mode.
InputMethodService
onContentChanged()
This hook is called whenever the content view of the screen changes (due to a call to Window.setContentView or Window.addContentView).
Activity
onContentChanged()
Called when the ContentObserver on the cursor receives a change notification.
CursorAdapter
(protected)
onContentChanged()
This hook is called whenever the content view of the screen changes (due to a call to Window.setContentView or Window.addContentView).
Dialog
onContentChanged()
Updates the screen state (current list and other views) when the content changes.
ExpandableListActivity
onContentChanged()
Updates the screen state (current list and other views) when the content changes.
ListActivity
onContentChanged()
Updates the screen state (current list and other views) when the content changes.
PreferenceActivity
onContentChanged()
Updates the screen state (current list and other views) when the content changes.
TabActivity
onContentChanged()
This hook is called whenever the content view of the screen changes (due to a call to Window.setContentView or Window.addContentView).
Window.Callback
onContextItemSelected(MenuItem item)
This hook is called whenever an item in a context menu is selected.
Activity
onContextItemSelected(MenuItem item)
Dialog
onContextMenuClosed(Menu menu)
This hook is called whenever the context menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected).
Activity
onContextMenuClosed(Menu menu)
Dialog
onCreate()
Called when the application is starting, before any other application objects have been created.
Application
onCreate()
Called when the provider is being started.
ContentProvider
onCreate()
Called by the system when the service is first created.
InputMethodService
onCreate()
Called by the system when the service is first created.
IntentService
onCreate()
Called when the application is starting, before any other application objects have been created.
MockApplication
onCreate()
This method is provided for use by the ContentResolver.
SearchRecentSuggestionsProvider
onCreate()
Called by the system when the service is first created.
Service
onCreate(SQLiteDatabase db)
Called when the database is created for the first time.
SQLiteOpenHelper
onCreate(Bundle icicle)
Retreives the AccountAuthenticatorResponse from either the intent of the icicle, if the icicle is non-zero.
AccountAuthenticatorActivity
(protected)
onCreate(Bundle savedInstanceState)
Called when the activity is starting.
Activity
(protected)
onCreate(Bundle savedInstanceState)
Called when the activity is starting.
ActivityGroup
(protected)
onCreate(Bundle savedInstanceState)
Similar to onCreate(Bundle), you should initialized your dialog in this method, including calling setContentView(View).
AlertDialog
(protected)
onCreate(Bundle savedInstanceState)
Called when the activity is starting.
AliasActivity
(protected)
onCreate(Bundle savedInstanceState)
Similar to onCreate(Bundle), you should initialized your dialog in this method, including calling setContentView(View).
CharacterPickerDialog
(protected)
onCreate(Bundle savedInstanceState)
Similar to onCreate(Bundle), you should initialized your dialog in this method, including calling setContentView(View).
Dialog
(protected)
onCreate(Bundle arguments)
Called when the instrumentation is starting, before any application code has been loaded.
Instrumentation
onCreate(Bundle arguments)
Called when the instrumentation is starting, before any application code has been loaded.
InstrumentationTestRunner
onCreate(Bundle icicle)
Called when the activity is starting.
LauncherActivity
(protected)
onCreate(Bundle savedInstanceState)
Called when the activity is starting.
PreferenceActivity
(protected)
onCreate(Bundle savedInstanceState)
Similar to onCreate(Bundle), you should initialized your dialog in this method, including calling setContentView(View).
ProgressDialog
(protected)
onCreateCandidatesView()
Create and return the view hierarchy used to show candidates.
InputMethodService
onCreateContextMenu(ContextMenu menu)
Views should implement this if the view itself is going to add items to the context menu.
TextView
(protected)
onCreateContextMenu(ContextMenu menu)
Views should implement this if the view itself is going to add items to the context menu.
View
(protected)
onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
Called when a context menu for the view is about to be shown.
Activity
onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
Called when the context menu for this view is being built.
Dialog
onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
Override this to populate the context menu when an item is long pressed.
ExpandableListActivity
onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
Called when the context menu for this view is being built.
View.OnCreateContextMenuListener
onCreateDescription()
Generate a new description for this activity.
Activity
onCreateDialog(int id)
Callback for creating dialogs that are managed (saved and restored) for you by the activity.
Activity
(protected)
onCreateDialogView()
Creates the content view for the dialog (if a custom content view is required).
DialogPreference
(protected)
onCreateDrawableState(int extraSpace)
Generate the new Drawable state for this view.
AbsListView
(protected)
onCreateDrawableState(int extraSpace)
Generate the new Drawable state for this view.
CheckedTextView
(protected)
onCreateDrawableState(int extraSpace)
Generate the new Drawable state for this view.
CompoundButton
(protected)
onCreateDrawableState(int extraSpace)
Generate the new Drawable state for this view.
ImageView
onCreateDrawableState(int extraSpace)
Generate the new Drawable state for this view.
View
(protected)
onCreateDrawableState(int extraSpace)
Generate the new Drawable state for this view.
ViewGroup
(protected)
onCreateExtractTextView()
Called by the framework to create the layout for showing extacted text.
InputMethodService
onCreateInputConnection(EditorInfo outAttrs)
Return an InputConnection for editing of the filter text.
AbsListView
onCreateInputConnection(EditorInfo outAttrs)
Create a new InputConnection for an InputMethod to interact with the view.
TextView
onCreateInputConnection(EditorInfo outAttrs)
Create a new InputConnection for an InputMethod to interact with the view.
View
onCreateInputMethodInterface()
Called by the framework during initialization, when the InputMethod interface for this service needs to be created.
AbstractInputMethodService
onCreateInputMethodInterface()
Implement to return our standard InputMethodService.InputMethodImpl.
InputMethodService
onCreateInputMethodSessionInterface()
Called by the framework when a new InputMethodSession interface is needed for a new client of the input method.
AbstractInputMethodService
onCreateInputMethodSessionInterface()
Implement to return our standard InputMethodService.InputMethodSessionImpl.
InputMethodService
onCreateInputView()
Create and return the view hierarchy used for the input area (such as a soft keyboard).
InputMethodService
onCreateOptionsMenu(Menu menu)
Initialize the contents of the Activity's standard options menu.
Activity
onCreateOptionsMenu(Menu menu)
It is usually safe to proxy this call to the owner activity's onCreateOptionsMenu(Menu) if the client desires the same menu for this Dialog.
Dialog
onCreatePanelMenu(int featureId, Menu menu)
Default implementation of onCreatePanelMenu(int, Menu) for activities.
Activity
onCreatePanelMenu(int featureId, Menu menu)
Initialize the contents of the menu for panel 'featureId'.
Dialog
onCreatePanelMenu(int featureId, Menu menu)
Initialize the contents of the menu for panel 'featureId'.
Window.Callback
onCreatePanelView(int featureId)
Default implementation of onCreatePanelView(int) for activities.
Activity
onCreatePanelView(int featureId)
Instantiate the view to display in the panel for 'featureId'.
Dialog
onCreatePanelView(int featureId)
Instantiate the view to display in the panel for 'featureId'.
Window.Callback
onCreateRootAdapter()
Creates the root adapter.
PreferenceScreen
(protected)
onCreateThumbnail(Bitmap outBitmap, Canvas canvas)
Generate a new thumbnail for this activity.
Activity
onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget)
Called to create the AppWidgetHostView. Override to return a custom subclass if you need it.
AppWidgetHost
(protected)
onCreateView(ViewGroup parent)
Creates the View to be shown for this Preference in the PreferenceActivity.
Preference
(protected)
onCreateView(String name, Context context, AttributeSet attrs)
Stub implementation of onCreateView(String, Context, AttributeSet) used when inflating with the LayoutInflater returned by getSystemService(String).
Activity
onCreateView(String name, Context context, AttributeSet attrs)
Hook you can supply that is called when inflating from a LayoutInflater.
LayoutInflater.Factory
onCreateView(String name, AttributeSet attrs)
This routine is responsible for creating the correct subclass of View given the xml element name.
LayoutInflater
(protected)
onCreateWindow(WebView view, boolean dialog, boolean userGesture, Message resultMsg)
Request the host application to create a new Webview.
WebChromeClient
onDataActivity(int direction)
Callback invoked when data activity state changes.
PhoneStateListener
onDataConnectionStateChanged(int state)
Callback invoked when connection state changes.
PhoneStateListener
onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth)
DatePicker.OnDateChangedListener
onDateChanged(DatePicker view, int year, int month, int day)
DatePickerDialog
onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth)
DatePickerDialog.OnDateSetListener
onDeleteComplete(int token, Object cookie, int result)
Called when an asynchronous delete is completed.
AsyncQueryHandler
(protected)
onDeleted(Context context, int[] appWidgetIds)
Called in response to the ACTION_APPWIDGET_DELETED broadcast when one or more AppWidget instances have been deleted. Override this method to implement your own AppWidget functionality.
AppWidgetProvider
onDependencyChanged(Preference dependency, boolean disableDependent)
Called when the dependency changes.
Preference
onDestroy()
Perform any final cleanup before an activity is destroyed.
Activity
(protected)
onDestroy()
Perform any final cleanup before an activity is destroyed.
ActivityGroup
(protected)
onDestroy()
Called by the system to notify a Service that it is no longer used and is being removed.
InputMethodService
onDestroy()
Called when the instrumented application is stopping, after all of the normal application cleanup has occurred.
Instrumentation
onDestroy()
Called by the system to notify a Service that it is no longer used and is being removed.
IntentService
onDestroy()
Perform any final cleanup before an activity is destroyed.
PreferenceActivity
(protected)
onDestroy()
Called by the system to notify a Service that it is no longer used and is being removed.
Service
onDetachedFromWindow()
This is called when the view is detached from a window.
AbsListView
(protected)
onDetachedFromWindow()
Called when the main window associated with the activity has been detached from the window manager.
Activity
onDetachedFromWindow()
This is called when the view is detached from a window.
AnalogClock
(protected)
onDetachedFromWindow()
This is called when the view is detached from a window.
AutoCompleteTextView
(protected)
onDetachedFromWindow()
This is called when the view is detached from a window.
Chronometer
(protected)
onDetachedFromWindow()
Called when the window has been attached to the window manager.
Dialog
onDetachedFromWindow()
This is called when the view is detached from a window.
DigitalClock
(protected)
onDetachedFromWindow()
This method is used as part of the View class and is not normally called or subclassed by clients of GLSurfaceView.
GLSurfaceView
(protected)
onDetachedFromWindow()
This is called when the view is detached from a window.
GestureOverlayView
(protected)
onDetachedFromWindow()
This is called when the view is detached from a window.
KeyboardView
onDetachedFromWindow()
This is called when the view is detached from a window.
Spinner
(protected)
onDetachedFromWindow()
This is called when the view is detached from a window.
SurfaceView
(protected)
onDetachedFromWindow()
This is called when the view is detached from a window.
TabHost
(protected)
onDetachedFromWindow()
This is called when the view is detached from a window.
TextView
(protected)
onDetachedFromWindow()
This is called when the view is detached from a window.
View
(protected)
onDetachedFromWindow()
This is called when the view is detached from a window.
WebView
(protected)
onDetachedFromWindow()
Called when the window has been attached to the window manager.
Window.Callback
onDialogClosed(boolean positiveResult)
Called when the dialog is dismissed and should be used to save data to the SharedPreferences.
DialogPreference
(protected)
onDialogClosed(boolean positiveResult)
Called when the dialog is dismissed and should be used to save data to the SharedPreferences.
EditTextPreference
(protected)
onDialogClosed(boolean positiveResult)
Called when the dialog is dismissed and should be used to save data to the SharedPreferences.
ListPreference
(protected)
onDisabled(Context context)
Called in response to the ACTION_APPWIDGET_DISABLED broadcast, which is sent when the last AppWidget instance for this provider is deleted. Override this method to implement your own AppWidget functionality.
AppWidgetProvider
onDismiss()
Called when this popup window is dismissed.
PopupWindow.OnDismissListener
onDismiss()
This method will be called when the search UI is dismissed.
SearchManager.OnDismissListener
onDismiss(DialogInterface dialog)
This method will be invoked when the dialog is dismissed.
DialogInterface.OnDismissListener
onDismiss(DialogInterface dialog)
This method will be invoked when the dialog is dismissed.
DialogPreference
onDismiss(DialogInterface dialog)
This method will be invoked when the dialog is dismissed.
PreferenceScreen
onDismiss(DialogInterface dialog)
This method is deprecated. This method is an obsolete internal implementation detail. Do not use.
SearchManager
onDisplayCompletions(CompletionInfo[] completions)
Called when the application has reported auto-completion candidates that it would like to have the input method displayed.
InputMethodService
onDoubleTap(MotionEvent e)
Notified when a double-tap occurs.
GestureDetector.OnDoubleTapListener
onDoubleTap(MotionEvent e)
Notified when a double-tap occurs.
GestureDetector.SimpleOnGestureListener
onDoubleTapEvent(MotionEvent e)
Notified when an event within a double-tap gesture occurs, including the down, move, and up events.
GestureDetector.OnDoubleTapListener
onDoubleTapEvent(MotionEvent e)
Notified when an event within a double-tap gesture occurs, including the down, move, and up events.
GestureDetector.SimpleOnGestureListener
onDown(MotionEvent e)
Notified when a tap occurs with the down MotionEvent that triggered it.
Gallery
onDown(MotionEvent e)
Notified when a tap occurs with the down MotionEvent that triggered it.
GestureDetector.OnGestureListener
onDown(MotionEvent e)
Notified when a tap occurs with the down MotionEvent that triggered it.
GestureDetector.SimpleOnGestureListener
onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength)
Notify the host application that a file should be downloaded
DownloadListener
onDraw(Canvas canvas)
Implement this to do your drawing.
AbsSeekBar
(protected)
onDraw(Canvas canvas)
Implement this to do your drawing.
AnalogClock
(protected)
onDraw(Canvas canvas)
Implement this to do your drawing.
CheckedTextView
(protected)
onDraw(Canvas canvas)
Implement this to do your drawing.
CompoundButton
(protected)
onDraw(Canvas canvas)
Implement this to do your drawing.
ImageView
(protected)
onDraw(Canvas canvas)
Implement this to do your drawing.
KeyboardView
onDraw(Canvas canvas)
Implement this to do your drawing.
ProgressBar
(protected)
onDraw(Canvas canvas)
Implement this to do your drawing.
TextView
(protected)
onDraw(Canvas canvas)
Implement this to do your drawing.
View
(protected)
onDraw(Canvas canvas)
Implement this to do your drawing.
WebView
(protected)
onDraw(Shape shape, Canvas canvas, Paint paint)
Called from the drawable's draw() method after the canvas has been set to draw the shape at (0,0).
ShapeDrawable
(protected)
onDrawerClosed()
Invoked when the drawer becomes fully closed.
SlidingDrawer.OnDrawerCloseListener
onDrawerOpened()
Invoked when the drawer becomes fully open.
SlidingDrawer.OnDrawerOpenListener
onDrawFrame(GL10 gl)
Called to draw the current frame.
GLSurfaceView.Renderer
ONE
The constant one as a BigDecimal.
BigDecimal
ONE
The BigInteger constant 1.
BigInteger
onEditorAction(TextView v, int actionId, KeyEvent event)
Called when an action is being performed.
TextView.OnEditorActionListener
onEditorAction(int actionCode)
Called when an attached input method calls InputConnection.performEditorAction() for this text view.
TextView
onEnabled(Context context)
Called in response to the ACTION_APPWIDGET_ENABLED broadcast when the a AppWidget for this provider is instantiated. Override this method to implement your own AppWidget functionality.
AppWidgetProvider
onEndBatchEdit()
Called by the framework in response to a request to end a batch of edit operations through a call to link endBatchEdit().
TextView
onError(MediaPlayer mp, int what, int extra)
Called to indicate an error.
MediaPlayer.OnErrorListener
onError(MediaRecorder mr, int what, int extra)
Called when an error occurs while recording.
MediaRecorder.OnErrorListener
onError(int error, Camera camera)
Callback for camera errors.
Camera.ErrorCallback
onError(int errorCode, String errorMessage)
AccountAuthenticatorResponse
oneshot
If true, the animation will only run a single time and then stop.
int
R.attr
onEvaluateFullscreenMode()
Override this to control when the input method should run in fullscreen mode.
InputMethodService
onEvaluateInputViewShown()
Override this to control when the soft input area should be shown to the user.
InputMethodService
onEvent(int event, String path)
FileObserver
onExceededDatabaseQuota(String url, String databaseIdentifier, long currentQuota, long estimatedSize, long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater)
Tell the client that the database quota for the origin has been exceeded.
WebChromeClient
onException(Object obj, Throwable e)
This is called whenever the system captures an unhandled exception that was thrown by the application.
Instrumentation
onExtractedCursorMovement(int dx, int dy)
This is called when the user has performed a cursor movement in the extracted text view, when it is running in fullscreen mode.
InputMethodService
onExtractedSelectionChanged(int start, int end)
This is called when the user has moved the cursor in the extracted text view, when running in fullsreen mode.
InputMethodService
onExtractedTextClicked()
This is called when the user has clicked on the extracted text view, when running in fullscreen mode.
InputMethodService
onExtractingInputChanged(EditorInfo ei)
This is called when, while currently displayed in extract mode, the current input target changes.
InputMethodService
onExtractTextContextMenuItem(int id)
This is called when the user has selected a context menu item from the extracted text view, when running in fullscreen mode.
InputMethodService
onFilterComplete(int count)

Notifies the end of a filtering operation.

AbsListView
onFilterComplete(int count)

Notifies the end of a filtering operation.

AutoCompleteTextView
onFilterComplete(int count)

Notifies the end of a filtering operation.

Filter.FilterListener
onFinish()
Callback fired when the time is up.
CountDownTimer
onFinishCandidatesView(boolean finishingInput)
Called when the candidates view is being hidden from the user.
InputMethodService
onFinished(SyncResult result)
SyncContext
onFinishInflate()
Finalize inflating a view from XML.
DialerFilter
(protected)
onFinishInflate()
Finalize inflating a view from XML.
ListView
(protected)
onFinishInflate()
Finalize inflating a view from XML.
MediaController
onFinishInflate()
Finalize inflating a view from XML.
RadioGroup
(protected)
onFinishInflate()
Finalize inflating a view from XML.
SlidingDrawer
(protected)
onFinishInflate()
Finalize inflating a view from XML.
ToggleButton
(protected)
onFinishInflate()
Finalize inflating a view from XML.
TwoLineListItem
(protected)
onFinishInflate()
Finalize inflating a view from XML.
View
(protected)
onFinishInput()
Called to inform the input method that text input has finished in the last editor.
InputMethodService
onFinishInputView(boolean finishingInput)
Called when the input view is being hidden from the user.
InputMethodService
onFinishTemporaryDetach()
Called after onStartTemporaryDetach() when the container is done changing the view.
TextView
onFinishTemporaryDetach()
Called after onStartTemporaryDetach() when the container is done changing the view.
View
onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
Notified of a fling event when it occurs with the initial on down MotionEvent and the matching up MotionEvent.
Gallery
onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
Notified of a fling event when it occurs with the initial on down MotionEvent and the matching up MotionEvent.
GestureDetector.OnGestureListener
onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
Notified of a fling event when it occurs with the initial on down MotionEvent and the matching up MotionEvent.
GestureDetector.SimpleOnGestureListener
onFocusChange(View v, boolean hasFocus)
Called when the focus state of a view has changed.
TabWidget
onFocusChange(View v, boolean hasFocus)
Called when the focus state of a view has changed.
View.OnFocusChangeListener
onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect)
This method is called when the TextView that uses this TransformationMethod gains or loses focus.
PasswordTransformationMethod
onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect)
This method is called when the TextView that uses this TransformationMethod gains or loses focus.
ReplacementTransformationMethod
onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect)
This method is called when the TextView that uses this TransformationMethod gains or loses focus.
TransformationMethod
onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect)
Called by the view system when the focus state of this view changes.
AbsListView
(protected)
onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect)
Called by the view system when the focus state of this view changes.
AutoCompleteTextView
(protected)
onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect)
Only show the icon view when focused, if there is one.
DialerFilter
(protected)
onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect)
Called by the view system when the focus state of this view changes.
Gallery
(protected)
onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect)
Called by the view system when the focus state of this view changes.
GridView
(protected)
onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect)
Called by the view system when the focus state of this view changes.
ListView
(protected)
onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect)
Called by the view system when the focus state of this view changes.
TextView
(protected)
onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect)
Called by the view system when the focus state of this view changes.
View
(protected)
onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect)
Called by the view system when the focus state of this view changes.
WebView
(protected)
onFormResubmission(WebView view, Message dontResend, Message resend)
As the host application if the browser should resend data as the requested page was a result of a POST.
WebViewClient
onGeolocationPermissionsHidePrompt()
Instructs the client to hide the Geolocation permissions prompt.
WebChromeClient
onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback)
Instructs the client to show a prompt to ask the user to set the Geolocation permission state for the specified origin.
WebChromeClient
onGesture(GestureOverlayView overlay, MotionEvent event)
GestureOverlayView.OnGestureListener
onGestureCancelled(GestureOverlayView overlay, MotionEvent event)
GestureOverlayView.OnGestureListener
onGestureEnded(GestureOverlayView overlay, MotionEvent event)
GestureOverlayView.OnGestureListener
onGesturePerformed(GestureOverlayView overlay, Gesture gesture)
GestureOverlayView.OnGesturePerformedListener
onGestureStarted(GestureOverlayView overlay, MotionEvent event)
GestureOverlayView.OnGestureListener
onGesturingEnded(GestureOverlayView overlay)
GestureOverlayView.OnGesturingListener
onGesturingStarted(GestureOverlayView overlay)
GestureOverlayView.OnGesturingListener
onGetDefaultValue(TypedArray a, int index)
Called when a Preference is being inflated and the default value attribute needs to be read.
CheckBoxPreference
(protected)
onGetDefaultValue(TypedArray a, int index)
Called when a Preference is being inflated and the default value attribute needs to be read.
EditTextPreference
(protected)
onGetDefaultValue(TypedArray a, int index)
Called when a Preference is being inflated and the default value attribute needs to be read.
ListPreference
(protected)
onGetDefaultValue(TypedArray a, int index)
Called when a Preference is being inflated and the default value attribute needs to be read.
Preference
(protected)
onGetDefaultValue(TypedArray a, int index)
Called when a Preference is being inflated and the default value attribute needs to be read.
RingtonePreference
(protected)
onGlobalFocusChanged(View oldFocus, View newFocus)
Callback method to be invoked when the focus changes in the view tree.
ViewTreeObserver.OnGlobalFocusChangeListener
onGlobalFocusChanged(View oldFocus, View newFocus)
This method is deprecated. WebView should not have implemented ViewTreeObserver.OnGlobalFocusChangeListener. This method does nothing now.
WebView
onGlobalLayout()
Callback method to be invoked when the global layout state or the visibility of views within the view tree changes
AbsListView
onGlobalLayout()
Callback method to be invoked when the global layout state or the visibility of views within the view tree changes
ViewTreeObserver.OnGlobalLayoutListener
onGpsStatusChanged(int event)
Called to report changes in the GPS status.
GpsStatus.Listener
onGroupClick(ExpandableListView parent, View v, int groupPosition, long id)
Callback method to be invoked when a group in this expandable list has been clicked.
ExpandableListView.OnGroupClickListener
onGroupCollapse(int groupPosition)
Override this for receiving callbacks when a group has been collapsed.
ExpandableListActivity
onGroupCollapse(int groupPosition)
Callback method to be invoked when a group in this expandable list has been collapsed.
ExpandableListView.OnGroupCollapseListener
onGroupCollapsed(int groupPosition)
Called when a group is collapsed.
BaseExpandableListAdapter
onGroupCollapsed(int groupPosition)
Called when a group is collapsed.
CursorTreeAdapter
onGroupCollapsed(int groupPosition)
Called when a group is collapsed.
ExpandableListAdapter
onGroupExpand(int groupPosition)
Override this for receiving callbacks when a group has been expanded.
ExpandableListActivity
onGroupExpand(int groupPosition)
Callback method to be invoked when a group in this expandable list has been expanded.
ExpandableListView.OnGroupExpandListener
onGroupExpanded(int groupPosition)
Called when a group is expanded.
BaseExpandableListAdapter
onGroupExpanded(int groupPosition)
Called when a group is expanded.
ExpandableListAdapter
onHandleIntent(Intent intent)
Invoked on the Handler thread with the Intent that is passed to onStart(Intent, int).
IntentService
(protected)
onInflate(ViewStub stub, View inflated)
Invoked after a ViewStub successfully inflated its layout resource.
ViewStub.OnInflateListener
onInfo(MediaPlayer mp, int what, int extra)
Called to indicate an info or a warning.
MediaPlayer.OnInfoListener
onInfo(MediaRecorder mr, int what, int extra)
Called when an error occurs while recording.
MediaRecorder.OnInfoListener
onInit(int status)
Called to signal the completion of the TextToSpeech engine initialization.
TextToSpeech.OnInitListener
onInitializeInterface()
This is a hook that subclasses can use to perform initialization of their interface.
InputMethodService
onInsertComplete(int token, Object cookie, Uri uri)
Called when an asynchronous insert is completed.
AsyncQueryHandler
(protected)
onInterceptTouchEvent(MotionEvent ev)
Implement this method to intercept all touch screen motion events.
AbsListView
onInterceptTouchEvent(MotionEvent ev)
Implement this method to intercept all touch screen motion events.
HorizontalScrollView
onInterceptTouchEvent(MotionEvent ev)
Implement this method to intercept all touch screen motion events.
ScrollView
onInterceptTouchEvent(MotionEvent event)
Implement this method to intercept all touch screen motion events.
SlidingDrawer
onInterceptTouchEvent(MotionEvent ev)
Implement this method to intercept all touch screen motion events.
ViewGroup
onInterrupt()
Callback for interrupting the accessibility feedback.
AccessibilityService
onInvalidated()
This method is called when the entire data becomes invalid, most likely through a call to deactivate() or close() on a Cursor.
AlphabetIndexer
onInvalidated()
This method is called when the entire data becomes invalid, most likely through a call to deactivate() or close() on a Cursor.
DataSetObserver
onInvalidCharacter(char c)
Called whenever we encounter an invalid character.
LoginFilter
onItemClick(AdapterView parent, View view, int position, long id)
Handles clicks on the character buttons.
CharacterPickerDialog
onItemClick(AdapterView parent, View view, int position, long id)
PreferenceScreen
onItemClick(AdapterView<?> parent, View view, int position, long id)
Callback method to be invoked when an item in this AdapterView has been clicked.
AdapterView.OnItemClickListener
onItemLongClick(AdapterView<?> parent, View view, int position, long id)
Callback method to be invoked when an item in this view has been clicked and held.
AdapterView.OnItemLongClickListener
onItemSelected(AdapterView<?> parent, View view, int position, long id)
Callback method to be invoked when an item in this view has been selected.
AdapterView.OnItemSelectedListener
onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value)
Callback for when the JET engine generates a new event.
JetPlayer.OnJetEventListener
onJetNumQueuedSegmentUpdate(JetPlayer player, int nbSegments)
Callback for when JET's number of queued segments is updated.
JetPlayer.OnJetEventListener
onJetPauseUpdate(JetPlayer player, int paused)
Callback for when JET pause state is updated.
JetPlayer.OnJetEventListener
onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount)
Callback for when JET's currently playing segment's userID is updated.
JetPlayer.OnJetEventListener
onJsAlert(WebView view, String url, String message, JsResult result)
Tell the client to display a javascript alert dialog.
WebChromeClient
onJsBeforeUnload(WebView view, String url, String message, JsResult result)
Tell the client to display a dialog to confirm navigation away from the current page.
WebChromeClient
onJsConfirm(WebView view, String url, String message, JsResult result)
Tell the client to display a confirm dialog to the user.
WebChromeClient
onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result)
Tell the client to display a prompt dialog to the user.
WebChromeClient
onKey(DialogInterface dialog, int keyCode, KeyEvent event)
Called when a key is dispatched to a dialog.
DialogInterface.OnKeyListener
onKey(View v, int keyCode, KeyEvent event)
Called when a key is dispatched to a view.
View.OnKeyListener
onKey(int primaryCode, int[] keyCodes)
Send a key press to the listener.
KeyboardView.OnKeyboardActionListener
onKeyDown(View view, Editable content, int keyCode, KeyEvent event)
Handles presses of the meta keys.
BaseKeyListener
onKeyDown(View view, Editable text, int keyCode, KeyEvent event)
If the key listener wants to handle this key, return true, otherwise return false and the caller (i.e.
KeyListener
onKeyDown(View view, Editable content, int keyCode, KeyEvent event)
Handles presses of the meta keys.
MetaKeyKeyListener
onKeyDown(View view, Editable content, int keyCode, KeyEvent event)
Handles presses of the meta keys.
MultiTapKeyListener
onKeyDown(View view, Editable content, int keyCode, KeyEvent event)
Handles presses of the meta keys.
NumberKeyListener
onKeyDown(View view, Editable content, int keyCode, KeyEvent event)
Handles presses of the meta keys.
QwertyKeyListener
onKeyDown(View view, Editable content, int keyCode, KeyEvent event)
Handles presses of the meta keys.
TextKeyListener
onKeyDown(TextView widget, Spannable buffer, int keyCode, KeyEvent event)
ArrowKeyMovementMethod
onKeyDown(TextView widget, Spannable buffer, int keyCode, KeyEvent event)
LinkMovementMethod
onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event)
MovementMethod
onKeyDown(TextView widget, Spannable buffer, int keyCode, KeyEvent event)
ScrollingMovementMethod
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
AbsListView
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
AbsSeekBar
onKeyDown(int keyCode, KeyEvent event)
Called when a key was pressed down and not handled by any of the views inside of the activity.
Activity
onKeyDown(int keyCode, KeyEvent event)
A key was pressed down.
AlertDialog
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
AutoCompleteTextView
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
DialerFilter
onKeyDown(int keyCode, KeyEvent event)
A key was pressed down.
Dialog
onKeyDown(int keyCode, KeyEvent event)
Handles left, right, and clicking
Gallery
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
GridView
onKeyDown(int keyCode, KeyEvent event)
Override this to intercept key down events before they are processed by the application.
InputMethodService
onKeyDown(int keyCode, KeyEvent event)
Called when a key down event has occurred.
KeyEvent.Callback
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
ListView
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
TextView
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
VideoView
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
View
onKeyDown(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform press of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released, if the view is enabled and clickable.
WebView
onKeyguardExitResult(boolean success)
KeyguardManager.OnKeyguardExitResult
onKeyLongPress(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyLongPress(): always returns false (doesn't handle the event).
Activity
onKeyLongPress(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyLongPress(): always returns false (doesn't handle the event).
Dialog
onKeyLongPress(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyLongPress(): always returns false (doesn't handle the event).
InputMethodService
onKeyLongPress(int keyCode, KeyEvent event)
Called when a long press has occurred.
KeyEvent.Callback
onKeyLongPress(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyLongPress(): always returns false (doesn't handle the event).
View
onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle the event).
Activity
onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle the event).
Dialog
onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle the event).
GridView
onKeyMultiple(int keyCode, int count, KeyEvent event)
Override this to intercept special key multiple events before they are processed by the application.
InputMethodService
onKeyMultiple(int keyCode, int count, KeyEvent event)
Called when multiple down/up pairs of the same key have occurred in a row.
KeyEvent.Callback
onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle the event).
ListView
onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle the event).
TextView
onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle the event).
View
onKeyOther(View view, Editable content, KeyEvent event)
Base implementation handles ACTION_MULTIPLE KEYCODE_UNKNOWN by inserting the event's text into the content.
BaseKeyListener
onKeyOther(View view, Editable text, KeyEvent event)
If the key listener wants to other kinds of key events, return true, otherwise return false and the caller (i.e.
KeyListener
onKeyOther(View view, Editable content, KeyEvent event)
Base implementation handles ACTION_MULTIPLE KEYCODE_UNKNOWN by inserting the event's text into the content.
TextKeyListener
onKeyOther(TextView view, Spannable text, KeyEvent event)
If the key listener wants to other kinds of key events, return true, otherwise return false and the caller (i.e.
ArrowKeyMovementMethod
onKeyOther(TextView view, Spannable text, KeyEvent event)
If the key listener wants to other kinds of key events, return true, otherwise return false and the caller (i.e.
MovementMethod
onKeyOther(TextView view, Spannable text, KeyEvent event)
If the key listener wants to other kinds of key events, return true, otherwise return false and the caller (i.e.
ScrollingMovementMethod
onKeyPreIme(int keyCode, KeyEvent event)
Handle a key event before it is processed by any input method associated with the view hierarchy.
AutoCompleteTextView
onKeyPreIme(int keyCode, KeyEvent event)
Handle a key event before it is processed by any input method associated with the view hierarchy.
View
onKeyShortcut(int keyCode, KeyEvent event)
Called when an unhandled key shortcut event occurs.
TextView
onKeyShortcut(int keyCode, KeyEvent event)
Called when an unhandled key shortcut event occurs.
View
onKeyUp(View view, Editable text, int keyCode, KeyEvent event)
If the key listener wants to handle this key release, return true, otherwise return false and the caller (i.e.
KeyListener
onKeyUp(View view, Editable content, int keyCode, KeyEvent event)
Handles release of the meta keys.
MetaKeyKeyListener
onKeyUp(View view, Editable content, int keyCode, KeyEvent event)
Handles release of the meta keys.
TextKeyListener
onKeyUp(TextView widget, Spannable buffer, int keyCode, KeyEvent event)
ArrowKeyMovementMethod
onKeyUp(TextView widget, Spannable buffer, int keyCode, KeyEvent event)
LinkMovementMethod
onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event)
MovementMethod
onKeyUp(TextView widget, Spannable buffer, int keyCode, KeyEvent event)
ScrollingMovementMethod
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
AbsListView
onKeyUp(int keyCode, KeyEvent event)
Called when a key was released and not handled by any of the views inside of the activity.
Activity
onKeyUp(int keyCode, KeyEvent event)
A key was released.
AlertDialog
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
AutoCompleteTextView
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
DialerFilter
onKeyUp(int keyCode, KeyEvent event)
A key was released.
Dialog
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
Gallery
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
GridView
onKeyUp(int keyCode, KeyEvent event)
Override this to intercept key up events before they are processed by the application.
InputMethodService
onKeyUp(int keyCode, KeyEvent event)
Called when a key up event has occurred.
KeyEvent.Callback
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
ListView
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
TextView
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
View
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
WebView
onKeyUp(int keyCode, KeyEvent event)
Default implementation of KeyEvent.Callback.onKeyMultiple(): perform clicking of the view when KEYCODE_DPAD_CENTER or KEYCODE_ENTER is released.
ZoomButton
onLayout(boolean changed, int l, int t, int r, int b)
Subclasses should NOT override this method but layoutChildren() instead.
AbsListView
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
AbsoluteLayout
(protected)
onLayout(boolean changed, int left, int top, int right, int bottom)
Called from layout when this view should assign a size and position to each of its children.
AdapterView
(protected)
onLayout(boolean changed, int left, int top, int right, int bottom)
Called from layout when this view should assign a size and position to each of its children.
FrameLayout
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
Gallery
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
HorizontalScrollView
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
LinearLayout
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
RelativeLayout
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
ScrollView
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
SlidingDrawer
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
Spinner
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
TableLayout
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
TableRow
(protected)
onLayout(boolean changed, int left, int top, int right, int bottom)
Called from layout when this view should assign a size and position to each of its children.
View
(protected)
onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
ViewGroup
(protected)
onLevelChange(int level)
Override this in your subclass to change appearance if you vary based on level.
ClipDrawable
(protected)
onLevelChange(int level)
Override this in your subclass to change appearance if you vary based on level.
Drawable
(protected)
onLevelChange(int level)
Override this in your subclass to change appearance if you vary based on level.
DrawableContainer
(protected)
onLevelChange(int level)
Override this in your subclass to change appearance if you vary based on level.
GradientDrawable
(protected)
onLevelChange(int level)
Override this in your subclass to change appearance if you vary based on level.
LayerDrawable
(protected)
onLevelChange(int level)
Override this in your subclass to change appearance if you vary based on level.
LevelListDrawable
(protected)
onLevelChange(int level)
Override this in your subclass to change appearance if you vary based on level.
RotateDrawable
(protected)
onLevelChange(int level)
Override this in your subclass to change appearance if you vary based on level.
ScaleDrawable
(protected)
onListItemClick(ListView l, View v, int position, long id)
This method will be called when an item in the list is selected.
LauncherActivity
(protected)
onListItemClick(ListView l, View v, int position, long id)
This method will be called when an item in the list is selected.
ListActivity
(protected)
onLoadClass(Class clazz)
Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.
LayoutInflater.Filter
onLoadClass(Class clazz)
Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.
RemoteViews
onLoadResource(WebView view, String url)
Notify the host application that the WebView will load the resource specified by the given url.
WebViewClient
onLocationChanged(Location location)
Called when the location has changed.
LocationListener
onLongClick(View v)
Called when a view has been clicked and held.
View.OnLongClickListener
onLongClick(View v)
Called when a view has been clicked and held.
ZoomButton
onLongPress(Keyboard.Key popupKey)
Called when a key is long pressed.
KeyboardView
(protected)
onLongPress(MotionEvent e)
Notified when a long press occurs with the initial on down MotionEvent that trigged it.
Gallery
onLongPress(MotionEvent e)
Notified when a long press occurs with the initial on down MotionEvent that trigged it.
GestureDetector.OnGestureListener
onLongPress(MotionEvent e)
Notified when a long press occurs with the initial on down MotionEvent that trigged it.
GestureDetector.SimpleOnGestureListener
onLooperPrepared()
Call back method that can be explicitly over ridden if needed to execute some setup before Looper loops.
HandlerThread
(protected)
onLowMemory()
This is called when the overall system is running low on memory, and would like actively running process to try to tighten their belt.
Activity
onLowMemory()
This is called when the overall system is running low on memory, and would like actively running process to try to tighten their belt.
Application
onLowMemory()
This is called when the overall system is running low on memory, and would like actively running process to try to tighten their belt.
ComponentCallbacks
onLowMemory()
This is called when the overall system is running low on memory, and would like actively running process to try to tighten their belt.
ContentProvider
onLowMemory()
This is called when the overall system is running low on memory, and would like actively running process to try to tighten their belt.
Service
onMalformedInput(CodingErrorAction newAction)
Sets this decoder's action on malformed input errors.
CharsetDecoder
onMalformedInput(CodingErrorAction newAction)
Sets this encoder's action on malformed input error.
CharsetEncoder
onMarkerReached(AudioRecord recorder)
Called on the listener to notify it that the previously set marker has been reached by the recording head.
AudioRecord.OnRecordPositionUpdateListener
onMarkerReached(AudioTrack track)
Called on the listener to notify it that the previously set marker has been reached by the playback head.
AudioTrack.OnPlaybackPositionUpdateListener
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

AbsListView
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

AbsSeekBar
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

AbsSpinner
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

AbsoluteLayout
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

AnalogClock
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

FrameLayout
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

GridView
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

HorizontalScrollView
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

ImageView
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

KeyboardView
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

LinearLayout
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

ListView
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

ProgressBar
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

RatingBar
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

RelativeLayout
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

ScrollView
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

SlidingDrawer
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

SurfaceView
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

TableLayout
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

TableRow
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

TextView
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

VideoView
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

View
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

ViewStub
(protected)
onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

WebView
(protected)
onMediaScannerConnected()
Called to notify the client when a connection to the MediaScanner service has been established.
MediaScannerConnection.MediaScannerConnectionClient
onMenuItemClick(MenuItem item)
Called when a menu item has been invoked.
MenuItem.OnMenuItemClickListener
onMenuItemSelected(int featureId, MenuItem item)
Default implementation of onMenuItemSelected(int, MenuItem) for activities.
Activity
onMenuItemSelected(int featureId, MenuItem item)
Called when a panel's menu item has been selected by the user.
Dialog
onMenuItemSelected(int featureId, MenuItem item)
Called when a panel's menu item has been selected by the user.
Window.Callback
onMenuOpened(int featureId, Menu menu)
Called when a panel's menu is opened by the user.
Activity
onMenuOpened(int featureId, Menu menu)
Called when a panel's menu is opened by the user.
Dialog
onMenuOpened(int featureId, Menu menu)
Called when a panel's menu is opened by the user.
Window.Callback
onMessageWaitingIndicatorChanged(boolean mwi)
Callback invoked when the message-waiting indicator changes.
PhoneStateListener
onModeChange(int oldMode, int newMode)
Called right after the mode changes to give subclasses the option to restyle, etc.
DialerFilter
(protected)
onMove(int oldPosition, int newPosition)
This function is called every time the cursor is successfully scrolled to a new position, giving the subclass a chance to update any state it may have.
AbstractCursor
onMove(int oldPosition, int newPosition)
This function is called every time the cursor is successfully scrolled to a new position, giving the subclass a chance to update any state it may have.
CrossProcessCursor
onMove(int oldPosition, int newPosition)
This function is called every time the cursor is successfully scrolled to a new position, giving the subclass a chance to update any state it may have.
MergeCursor
onMove(int oldPosition, int newPosition)
This function is called every time the cursor is successfully scrolled to a new position, giving the subclass a chance to update any state it may have.
SQLiteCursor
onMovedToScrapHeap(View view)
Indicates that the specified View was moved into the recycler's scrap heap.
AbsListView.RecyclerListener
onNewIntent(Intent intent)
This is called for activities that set launchMode to "singleTop" in their package, or if a client used the FLAG_ACTIVITY_SINGLE_TOP flag when calling startActivity(Intent).
Activity
(protected)
onNewIntent(Intent intent)
This is called for activities that set launchMode to "singleTop" in their package, or if a client used the FLAG_ACTIVITY_SINGLE_TOP flag when calling startActivity(Intent).
PreferenceActivity
(protected)
onNewPicture(WebView view, Picture picture)
Notify the listener that the picture has changed.
WebView.PictureListener
onNmeaReceived(long timestamp, String nmea)
GpsStatus.NmeaListener
onNothingSelected(AdapterView<?> parent)
Callback method to be invoked when the selection disappears from this view.
AdapterView.OnItemSelectedListener
onOpen(SQLiteDatabase db)
Called when the database has been opened.
SQLiteOpenHelper
onOptionsItemSelected(MenuItem item)
This hook is called whenever an item in your options menu is selected.
Activity
onOptionsItemSelected(MenuItem item)
Dialog
onOptionsMenuClosed(Menu menu)
This hook is called whenever the options menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected).
Activity
onOptionsMenuClosed(Menu menu)
Dialog
onOrientationChanged(int orientation)
Called when the orientation of the device has changed.
OrientationEventListener
onOrientationChanged(int orientation)
Look at onOrientationChanged(int) for method description and usage
OrientationListener
onPageFinished(WebView view, String url)
Notify the host application that a page has finished loading.
WebViewClient
onPageStarted(WebView view, String url, Bitmap favicon)
Notify the host application that a page has started loading.
WebViewClient
onPanelClosed(int featureId, Menu menu)
Default implementation of onPanelClosed(int, Menu) for activities.
Activity
onPanelClosed(int featureId, Menu menu)
Called when a panel is being closed.
Dialog
onPanelClosed(int featureId, Menu menu)
Called when a panel is being closed.
Window.Callback
onPause()
Called as part of the activity lifecycle when an activity is going into the background, but has not (yet) been killed.
Activity
(protected)
onPause()
Called as part of the activity lifecycle when an activity is going into the background, but has not (yet) been killed.
ActivityGroup
(protected)
onPause()
Inform the view that the activity is paused.
GLSurfaceView
onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider, SyncResult syncResult)
Perform a sync for this account.
AbstractThreadedSyncAdapter
onPeriodicNotification(AudioRecord recorder)
Called on the listener to periodically notify it that the record head has reached a multiple of the notification period.
AudioRecord.OnRecordPositionUpdateListener
onPeriodicNotification(AudioTrack track)
Called on the listener to periodically notify it that the playback head has reached a multiple of the notification period.
AudioTrack.OnPlaybackPositionUpdateListener
onPictureTaken(byte[] data, Camera camera)
Callback for when a picture is taken.
Camera.PictureCallback
onPostCreate(Bundle savedInstanceState)
Called when activity start-up is complete (after onStart() and onRestoreInstanceState(Bundle) have been called).
Activity
(protected)
onPostCreate(Bundle icicle)
Called when activity start-up is complete (after onStart() and onRestoreInstanceState(Bundle) have been called).
TabActivity
(protected)
onPostExecute(Result result)
Runs on the UI thread after doInBackground(Params...).
AsyncTask
(protected)
onPostResume()
Called when activity resume is complete (after onResume() has been called).
Activity
(protected)
onPreDraw()
Callback method to be invoked when the view tree is about to be drawn.
TextView
onPreDraw()
Callback method to be invoked when the view tree is about to be drawn.
ViewTreeObserver.OnPreDrawListener
onPreExecute()
Runs on the UI thread before doInBackground(Params...).
AsyncTask
(protected)
onPreferenceChange(Preference preference, Object newValue)
Called when a Preference has been changed by the user.
Preference.OnPreferenceChangeListener
onPreferenceClick(Preference preference)
Called when a Preference has been clicked.
Preference.OnPreferenceClickListener
onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference)
PreferenceActivity
onPrepareAddPreference(Preference preference)
Prepares a Preference to be added to the group.
PreferenceCategory
(protected)
onPrepareAddPreference(Preference preference)
Prepares a Preference to be added to the group.
PreferenceGroup
(protected)
onPrepared(MediaPlayer mp)
Called when the media file is ready for playback.
MediaPlayer.OnPreparedListener
onPrepareDialog(int id, Dialog dialog)
Provides an opportunity to prepare a managed dialog before it is being shown.
Activity
(protected)
onPrepareDialogBuilder(AlertDialog.Builder builder)
Prepares the dialog builder to be shown when the preference is clicked.
DialogPreference
(protected)
onPrepareDialogBuilder(AlertDialog.Builder builder)
Prepares the dialog builder to be shown when the preference is clicked.
ListPreference
(protected)
onPrepareForRemoval()
Called when this Preference is being removed from the hierarchy.
Preference
(protected)
onPrepareForRemoval()
Called when this Preference is being removed from the hierarchy.
PreferenceGroup
(protected)
onPrepareOptionsMenu(Menu menu)
Prepare the Screen's standard options menu to be displayed.
Activity
onPrepareOptionsMenu(Menu menu)
It is usually safe to proxy this call to the owner activity's onPrepareOptionsMenu(Menu) if the client desires the same menu for this Dialog.
Dialog
onPreparePanel(int featureId, View view, Menu menu)
Default implementation of onPreparePanel(int, View, Menu) for activities.
Activity
onPreparePanel(int featureId, View view, Menu menu)
Prepare a panel to be displayed.
Dialog
onPreparePanel(int featureId, View view, Menu menu)
Prepare a panel to be displayed.
Window.Callback
onPrepareRingtonePickerIntent(Intent ringtonePickerIntent)
Prepares the intent to launch the ringtone picker.
RingtonePreference
(protected)
onPress(int primaryCode)
Called when the user presses a key.
KeyboardView.OnKeyboardActionListener
onPressed()
Informs the key that it has been pressed, in case it needs to change its appearance or state.
Keyboard.Key
onPreviewFrame(byte[] data, Camera camera)
The callback that delivers the preview frames.
Camera.PreviewCallback
onPrivateIMECommand(String action, Bundle data)
Called by the framework in response to a private command from the current method, provided by it calling InputConnection.performPrivateCommand().
TextView
onProgressChanged(WebView view, int newProgress)
Tell the host application the current progress of loading a page.
WebChromeClient
onProgressChanged(SeekBar seekBar, int progress, boolean fromUser)
Notification that the progress level has changed.
SeekBar.OnSeekBarChangeListener
onProgressUpdate(Progress... values)
Runs on the UI thread after publishProgress(Progress...) is invoked.
AsyncTask
(protected)
onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget)
Called when the AppWidget provider for a AppWidget has been upgraded to a new apk.
AppWidgetHost
(protected)
onProviderDisabled(String provider)
Called when the provider is disabled by the user.
LocationListener
onProviderEnabled(String provider)
Called when the provider is enabled by the user.
LocationListener
onQueryComplete(int token, Object cookie, Cursor cursor)
Called when an asynchronous query is completed.
AsyncQueryHandler
(protected)
onQueryPackageManager(Intent queryIntent)
Perform query on package manager for list items.
LauncherActivity
(protected)
onRatingChanged(RatingBar ratingBar, float rating, boolean fromUser)
Notification that the rating has changed.
RatingBar.OnRatingBarChangeListener
onRebind(Intent intent)
Called when new clients have connected to the service, after it had previously been notified that all had disconnected in its onUnbind(Intent).
Service
onReceive(Context context, Intent intent)
Implements onReceive(Context, Intent) to dispatch calls to the various other methods on AppWidgetProvider.
AppWidgetProvider
onReceive(Context context, Intent intent)
This method is called when the BroadcastReceiver is receiving an Intent broadcast.
BroadcastReceiver
onReceivedError(WebView view, int errorCode, String description, String failingUrl)
Report an error to the host application.
WebViewClient
onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm)
Notify the host application to handle an authentication request.
WebViewClient
onReceivedIcon(WebView view, Bitmap icon)
Notify the host application of a new favicon for the current page.
WebChromeClient
onReceivedIcon(String url, Bitmap icon)
Called when the icon has been retrieved from the database and the result is non-null.
WebIconDatabase.IconListener
onReceivedTitle(WebView view, String title)
Notify the host application of a change in the document title.
WebChromeClient
onReceiveResult(int resultCode, Bundle resultData)
Override to receive results delivered to this object.
ResultReceiver
(protected)
onRelease(int primaryCode)
Called when the user releases a key.
KeyboardView.OnKeyboardActionListener
onReleased(boolean inside)
Changes the pressed state of the key.
Keyboard.Key
onRequestContinued()
AccountAuthenticatorResponse
onRequestFocus(WebView view)
Request display and focus for this WebView.
WebChromeClient
onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect)
When looking for focus in children of a scroll view, need to be a little more careful not to give focus to something that is scrolled off screen.
HorizontalScrollView
(protected)
onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect)
When looking for focus in children of a scroll view, need to be a little more careful not to give focus to something that is scrolled off screen.
ScrollView
(protected)
onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect)
Look for a descendant to call requestFocus() on.
ViewGroup
(protected)
onResize(float width, float height)
Callback method called when resize(float, float) is executed.
PathShape
(protected)
onResize(float width, float height)
Callback method called when resize(float, float) is executed.
RectShape
(protected)
onResize(float w, float h)
Callback method called when resize(float, float) is executed.
RoundRectShape
(protected)
onResize(float width, float height)
Callback method called when resize(float, float) is executed.
Shape
(protected)
onRestart()
Called after onStop() when the current activity is being re-displayed to the user (the user has navigated back to it).
Activity
(protected)
onRestoreInstanceState(Bundle savedInstanceState)
This method is called after onStart() when the activity is being re-initialized from a previously saved state, given here in state.
Activity
(protected)
onRestoreInstanceState(Bundle savedInstanceState)
Restore the state of the dialog from a previously saved bundle.
DatePickerDialog
onRestoreInstanceState(Bundle savedInstanceState)
Restore the state of the dialog from a previously saved bundle.
Dialog
onRestoreInstanceState(Bundle state)
Ensures the expandable list view has been created before Activity restores all of the view states.
ExpandableListActivity
(protected)
onRestoreInstanceState(Bundle state)
Ensures the list view has been created before Activity restores all of the view states.
ListActivity
(protected)
onRestoreInstanceState(Bundle state)
Ensures the list view has been created before Activity restores all of the view states.
PreferenceActivity
(protected)
onRestoreInstanceState(Bundle state)
This method is called after onStart() when the activity is being re-initialized from a previously saved state, given here in state.
TabActivity
(protected)
onRestoreInstanceState(Bundle savedInstanceState)
Restore the state of the dialog from a previously saved bundle.
TimePickerDialog
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
AbsListView
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
AbsSpinner
onRestoreInstanceState(Parcelable state)
Hook allowing a Preference to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
CheckBoxPreference
(protected)
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
CompoundButton
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
DatePicker
(protected)
onRestoreInstanceState(Parcelable state)
Hook allowing a Preference to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
DialogPreference
(protected)
onRestoreInstanceState(Parcelable state)
Hook allowing a Preference to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
EditTextPreference
(protected)
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
ExpandableListView
onRestoreInstanceState(Parcelable state)
Hook allowing a Preference to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
ListPreference
(protected)
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
ListView
onRestoreInstanceState(Parcelable state)
Hook allowing a Preference to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
Preference
(protected)
onRestoreInstanceState(Parcelable state)
Hook allowing a Preference to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
PreferenceScreen
(protected)
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
ProgressBar
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
TextView
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
TimePicker
(protected)
onRestoreInstanceState(Parcelable state)
Hook allowing a view to re-apply a representation of its internal state that had previously been generated by onSaveInstanceState().
View
(protected)
onRestoreRingtone()
Called when the chooser is about to be shown and the current ringtone should be marked.
RingtonePreference
(protected)
onResult(Bundle result)
AccountAuthenticatorResponse
onResume()
Called after onRestoreInstanceState(Bundle), onRestart(), or onPause(), for your activity to start interacting with the user.
Activity
(protected)
onResume()
Called after onRestoreInstanceState(Bundle), onRestart(), or onPause(), for your activity to start interacting with the user.
ActivityGroup
(protected)
onResume()
Inform the view that the activity is resumed.
GLSurfaceView
onRetainNonConfigurationInstance()
Called by the system, as part of destroying an activity due to a configuration change, when it is known that a new instance will immediately be created for the new configuration.
Activity
onRollback()
Called if the transaction is about to be rolled back.
SQLiteTransactionListener
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
AbsListView
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
AbsSpinner
onSaveInstanceState()
Hook allowing a Preference to generate a representation of its internal state that can later be used to create a new instance with that same state.
CheckBoxPreference
(protected)
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
CompoundButton
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
DatePicker
(protected)
onSaveInstanceState()
Saves the state of the dialog into a bundle.
DatePickerDialog
onSaveInstanceState()
Saves the state of the dialog into a bundle.
Dialog
onSaveInstanceState()
Hook allowing a Preference to generate a representation of its internal state that can later be used to create a new instance with that same state.
DialogPreference
(protected)
onSaveInstanceState()
Hook allowing a Preference to generate a representation of its internal state that can later be used to create a new instance with that same state.
EditTextPreference
(protected)
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
ExpandableListView
onSaveInstanceState()
Hook allowing a Preference to generate a representation of its internal state that can later be used to create a new instance with that same state.
ListPreference
(protected)
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
ListView
onSaveInstanceState()
Hook allowing a Preference to generate a representation of its internal state that can later be used to create a new instance with that same state.
Preference
(protected)
onSaveInstanceState()
Hook allowing a Preference to generate a representation of its internal state that can later be used to create a new instance with that same state.
PreferenceScreen
(protected)
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
ProgressBar
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
TextView
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
TimePicker
(protected)
onSaveInstanceState()
Saves the state of the dialog into a bundle.
TimePickerDialog
onSaveInstanceState()
Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.
View
(protected)
onSaveInstanceState(Bundle outState)
Saves the AccountAuthenticatorResponse in the instance state.
AccountAuthenticatorActivity
(protected)
onSaveInstanceState(Bundle outState)
Called to retrieve per-instance state from an activity before being killed so that the state can be restored in onCreate(Bundle) or onRestoreInstanceState(Bundle) (the Bundle populated by this method will be passed to both).
Activity
(protected)
onSaveInstanceState(Bundle outState)
Called to retrieve per-instance state from an activity before being killed so that the state can be restored in onCreate(Bundle) or onRestoreInstanceState(Bundle) (the Bundle populated by this method will be passed to both).
ActivityGroup
(protected)
onSaveInstanceState(Bundle outState)
Called to retrieve per-instance state from an activity before being killed so that the state can be restored in onCreate(Bundle) or onRestoreInstanceState(Bundle) (the Bundle populated by this method will be passed to both).
PreferenceActivity
(protected)
onSaveInstanceState(Bundle outState)
Called to retrieve per-instance state from an activity before being killed so that the state can be restored in onCreate(Bundle) or onRestoreInstanceState(Bundle) (the Bundle populated by this method will be passed to both).
TabActivity
(protected)
onSaveRingtone(Uri ringtoneUri)
Called when a ringtone is chosen.
RingtonePreference
(protected)
onScaleChanged(WebView view, float oldScale, float newScale)
Notify the host application that the scale applied to the WebView has changed.
WebViewClient
onScanCompleted(String path, Uri uri)
Called to notify the client when the media scanner has finished scanning a file.
MediaScannerConnection.MediaScannerConnectionClient
onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
Notified when a scroll occurs with the initial on down MotionEvent and the current move MotionEvent.
Gallery
onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
Notified when a scroll occurs with the initial on down MotionEvent and the current move MotionEvent.
GestureDetector.OnGestureListener
onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
Notified when a scroll occurs with the initial on down MotionEvent and the current move MotionEvent.
GestureDetector.SimpleOnGestureListener
onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount)
Callback method to be invoked when the list or grid has been scrolled.
AbsListView.OnScrollListener
onScrollChanged()
Callback method to be invoked when something in the view tree has been scrolled.
ViewTreeObserver.OnScrollChangedListener
onScrollChanged(int l, int t, int oldl, int oldt)
This is called in response to an internal scroll in this view (i.e., the view scrolled its own contents).
SurfaceView
(protected)
onScrollChanged(int l, int t, int oldl, int oldt)
This is called in response to an internal scroll in this view (i.e., the view scrolled its own contents).
View
(protected)
onScrollChanged(int l, int t, int oldl, int oldt)
This is called in response to an internal scroll in this view (i.e., the view scrolled its own contents).
WebView
(protected)
onScrollEnded()
Invoked when the user stops dragging/flinging the drawer's handle.
SlidingDrawer.OnDrawerScrollListener
onScrollStarted()
Invoked when the user starts dragging/flinging the drawer's handle.
SlidingDrawer.OnDrawerScrollListener
onScrollStateChanged(AbsListView view, int scrollState)
Callback method to be invoked while the list view or grid view is being scrolled.
AbsListView.OnScrollListener
onSearchRequested()
This hook is called when the user signals the desire to start a search.
Activity
onSearchRequested()
This hook is called when the user signals the desire to start a search.
Dialog
onSearchRequested()
Called when the user signals the desire to start a search.
Window.Callback
onSeekComplete(MediaPlayer mp)
Called to indicate the completion of a seek operation.
MediaPlayer.OnSeekCompleteListener
onSelectionChanged(int selStart, int selEnd)
Report to the underlying text editor about selection changes.
ExtractEditText
(protected)
onSelectionChanged(int selStart, int selEnd)
This method is called when the selection has changed, in case any subclasses would like to know.
TextView
(protected)
onSendFinished(PendingIntent pendingIntent, Intent intent, int resultCode, String resultData, Bundle resultExtras)
Called when a send operation as completed.
PendingIntent.OnFinished
onSendFinished(IntentSender IntentSender, Intent intent, int resultCode, String resultData, Bundle resultExtras)
Called when a send operation as completed.
IntentSender.OnFinished
onSensorChanged(SensorEvent event)
Called when sensor values have changed.
SensorEventListener
onSensorChanged(int sensor, float[] values)

Called when sensor values have changed.

OrientationListener
onSensorChanged(int sensor, float[] values)

Called when sensor values have changed.

SensorListener
onServiceConnected()
This method is a part of the AccessibilityService lifecycle and is called after the system has successfully bound to the service.
AccessibilityService
(protected)
onServiceConnected(ComponentName className, IBinder service)
Part of the ServiceConnection interface.
MediaScannerConnection
onServiceConnected(ComponentName name, IBinder service)
Called when a connection to the Service has been established, with the IBinder of the communication channel to the Service.
ServiceConnection
onServiceDisconnected(ComponentName className)
Part of the ServiceConnection interface.
MediaScannerConnection
onServiceDisconnected(ComponentName name)
Called when a connection to the Service has been lost.
ServiceConnection
onServiceStateChanged(ServiceState serviceState)
Callback invoked when device service state changes.
PhoneStateListener
onSetAlpha(int alpha)
Invoked if there is a Transform that involves alpha.
ImageButton
(protected)
onSetAlpha(int alpha)
Invoked if there is a Transform that involves alpha.
ImageView
(protected)
onSetAlpha(int alpha)
Invoked if there is a Transform that involves alpha.
View
(protected)
onSetContentView()
Override to call setContentView() with your own content view to customize the list layout.
LauncherActivity
(protected)
onSetInitialValue(boolean restoreValue, Object defaultValue)
Implement this to set the initial value of the Preference.
CheckBoxPreference
(protected)
onSetInitialValue(boolean restoreValue, Object defaultValue)
Implement this to set the initial value of the Preference.
EditTextPreference
(protected)
onSetInitialValue(boolean restoreValue, Object defaultValue)
Implement this to set the initial value of the Preference.
ListPreference
(protected)
onSetInitialValue(boolean restorePersistedValue, Object defaultValue)
Implement this to set the initial value of the Preference.
Preference
(protected)
onSetInitialValue(boolean restorePersistedValue, Object defaultValueObj)
Implement this to set the initial value of the Preference.
RingtonePreference
(protected)
onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key)
Called when a shared preference is changed, added, or removed.
SharedPreferences.OnSharedPreferenceChangeListener
onShowInputRequested(int flags, boolean configChange)
The system has decided that it may be time to show your input method.
InputMethodService
onShowPress(MotionEvent e)
The user has performed a down MotionEvent and not performed a move or up yet.
Gallery
onShowPress(MotionEvent e)
The user has performed a down MotionEvent and not performed a move or up yet.
GestureDetector.OnGestureListener
onShowPress(MotionEvent e)
The user has performed a down MotionEvent and not performed a move or up yet.
GestureDetector.SimpleOnGestureListener
onShutter()
Can be used to play a shutter sound as soon as the image has been captured, but before the data is available.
Camera.ShutterCallback
onSignalStrengthChanged(int asu)
This method is deprecated. see #onSignalStrengthsChanged
PhoneStateListener
onSingleTapConfirmed(MotionEvent e)
Notified when a single-tap occurs.
GestureDetector.OnDoubleTapListener
onSingleTapConfirmed(MotionEvent e)
Notified when a single-tap occurs.
GestureDetector.SimpleOnGestureListener
onSingleTapUp(MotionEvent e)
Notified when a tap occurs with the up MotionEvent that triggered it.
Gallery
onSingleTapUp(MotionEvent e)
Notified when a tap occurs with the up MotionEvent that triggered it.
GestureDetector.OnGestureListener
onSingleTapUp(MotionEvent e)
Notified when a tap occurs with the up MotionEvent that triggered it.
GestureDetector.SimpleOnGestureListener
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
AbsListView
(protected)
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
AbsSeekBar
(protected)
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
AnalogClock
(protected)
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
FrameLayout
(protected)
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
HorizontalScrollView
(protected)
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
KeyboardView
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
ProgressBar
(protected)
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
ScrollView
(protected)
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
SurfaceView
(protected)
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
TabWidget
(protected)
onSizeChanged(int w, int h, int oldw, int oldh)
This is called during layout when the size of this view has changed.
View
(protected)
onSizeChanged(int w, int h, int ow, int oh)
This is called during layout when the size of this view has changed.
WebView
(protected)
onSpanAdded(Spannable s, Object what, int start, int end)
This method is called to notify you that the specified object has been attached to the specified range of the text.
MultiTapKeyListener
onSpanAdded(Spannable text, Object what, int start, int end)
This method is called to notify you that the specified object has been attached to the specified range of the text.
SpanWatcher
onSpanAdded(Spannable s, Object what, int start, int end)
This method is called to notify you that the specified object has been attached to the specified range of the text.
TextKeyListener
onSpanChanged(Spannable buf, Object what, int s, int e, int start, int stop)
This method is called to notify you that the specified object has been relocated from the range ostart…oend to the new range nstart…nend of the text.
MultiTapKeyListener
onSpanChanged(Spannable text, Object what, int ostart, int oend, int nstart, int nend)
This method is called to notify you that the specified object has been relocated from the range ostart…oend to the new range nstart…nend of the text.
SpanWatcher
onSpanChanged(Spannable s, Object what, int start, int end, int st, int en)
This method is called to notify you that the specified object has been relocated from the range ostart…oend to the new range nstart…nend of the text.
TextKeyListener
onSpanRemoved(Spannable s, Object what, int start, int end)
This method is called to notify you that the specified object has been detached from the specified range of the text.
MultiTapKeyListener
onSpanRemoved(Spannable text, Object what, int start, int end)
This method is called to notify you that the specified object has been detached from the specified range of the text.
SpanWatcher
onSpanRemoved(Spannable s, Object what, int start, int end)
This method is called to notify you that the specified object has been detached from the specified range of the text.
TextKeyListener
onStart()
Called after onCreate(Bundle) — or after onRestart() when the activity had been stopped, but is now again being displayed to the user.
Activity
(protected)
onStart()
Called when the dialog is starting.
Dialog
(protected)
onStart()
Method where the instrumentation thread enters execution.
Instrumentation
onStart()
Method where the instrumentation thread enters execution.
InstrumentationTestRunner
onStart()
Called when we start processing filter.
LoginFilter
onStart()
Called when the dialog is starting.
ProgressDialog
onStart(Intent intent, int startId)
This method is deprecated. Implement onStartCommand(Intent, int, int) instead.
IntentService
onStart(Intent intent, int startId)
This method is deprecated. Implement onStartCommand(Intent, int, int) instead.
Service
onStartCandidatesView(EditorInfo info, boolean restarting)
Called when only the candidates view has been shown for showing processing as the user enters text through a hard keyboard.
InputMethodService
onStartCommand(Intent intent, int flags, int startId)
Called by the system every time a client explicitly starts the service by calling startService(Intent), providing the arguments it supplied and a unique integer token representing the start request.
IntentService
onStartCommand(Intent intent, int flags, int startId)
Called by the system every time a client explicitly starts the service by calling startService(Intent), providing the arguments it supplied and a unique integer token representing the start request.
Service
onStartInput(EditorInfo attribute, boolean restarting)
Called to inform the input method that text input has started in an editor.
InputMethodService
onStartInputView(EditorInfo info, boolean restarting)
Called when the input view is being shown and input has started on a new editor.
InputMethodService
onStartTemporaryDetach()
This is called when a container is going to temporarily detach a child that currently has focus, with ViewGroup.detachViewFromParent.
TextView
onStartTemporaryDetach()
This is called when a container is going to temporarily detach a child that currently has focus, with ViewGroup.detachViewFromParent.
View
onStartTrackingTouch(SeekBar seekBar)
Notification that the user has started a touch gesture.
SeekBar.OnSeekBarChangeListener
onStateChange(int[] state)
Override this in your subclass to change appearance if you recognize the specified state.
ClipDrawable
(protected)
onStateChange(int[] state)
Override this in your subclass to change appearance if you recognize the specified state.
Drawable
(protected)
onStateChange(int[] state)
Override this in your subclass to change appearance if you recognize the specified state.
DrawableContainer
(protected)
onStateChange(int[] state)
Override this in your subclass to change appearance if you recognize the specified state.
InsetDrawable
(protected)
onStateChange(int[] state)
Override this in your subclass to change appearance if you recognize the specified state.
LayerDrawable
(protected)
onStateChange(int[] state)
Override this in your subclass to change appearance if you recognize the specified state.
RotateDrawable
(protected)
onStateChange(int[] state)
Override this in your subclass to change appearance if you recognize the specified state.
ScaleDrawable
(protected)
onStateChange(int[] stateSet)
Override this in your subclass to change appearance if you recognize the specified state.
StateListDrawable
(protected)
onStatusChanged(int which)
SyncStatusObserver
onStatusChanged(String provider, int status, Bundle extras)
Called when the provider status changes.
LocationListener
onStop()
Called when you are no longer visible to the user.
Activity
(protected)
onStop()
Called when you are no longer visible to the user.
ActivityGroup
(protected)
onStop()
Called to tell you that you're stopping.
Dialog
(protected)
onStop()
Called when we're done processing filter
LoginFilter
onStop()
Called when you are no longer visible to the user.
PreferenceActivity
(protected)
onStop()
Called to tell you that you're stopping.
ProgressDialog
(protected)
onStopTrackingTouch(SeekBar seekBar)
Notification that the user has finished a touch gesture.
SeekBar.OnSeekBarChangeListener
onSurfaceChanged(GL10 gl, int width, int height)
Called when the surface changed size.
GLSurfaceView.Renderer
onSurfaceCreated(GL10 gl, EGLConfig config)
Called when the surface is created or recreated.
GLSurfaceView.Renderer
onSyncInit()
CookieSyncManager
(protected)
onTabChanged(String tabId)
TabHost.OnTabChangeListener
onTakeFocus(TextView view, Spannable text, int dir)
ArrowKeyMovementMethod
onTakeFocus(TextView view, Spannable text, int dir)
LinkMovementMethod
onTakeFocus(TextView widget, Spannable text, int direction)
MovementMethod
onTakeFocus(TextView widget, Spannable text, int dir)
ScrollingMovementMethod
onTerminate()
Called when the application is stopping.
Application
onTerminate()
Called when the application is stopping.
MockApplication
onText(CharSequence text)
Sends a sequence of characters to the listener.
KeyboardView.OnKeyboardActionListener
onTextChanged(CharSequence s, int start, int before, int count)
For our text watcher that is associated with the text filter.
AbsListView
onTextChanged(CharSequence s, int start, int before, int count)
This method is called to notify you that, within s, the count characters beginning at start have just replaced old text that had length before.
PasswordTransformationMethod
onTextChanged(CharSequence s, int start, int before, int count)
This method is called to notify you that, within s, the count characters beginning at start have just replaced old text that had length before.
PhoneNumberFormattingTextWatcher
onTextChanged(CharSequence text, int start, int before, int after)
This method is called when the text is changed, in case any subclasses would like to know.
TextView
(protected)
onTextChanged(CharSequence s, int start, int before, int count)
This method is called to notify you that, within s, the count characters beginning at start have just replaced old text that had length before.
TextWatcher
onTextContextMenuItem(int id)
Called when a context menu option for the text view is selected.
ExtractEditText
onTextContextMenuItem(int id)
Called when a context menu option for the text view is selected.
TextView
onTick(long millisUntilFinished)
Callback fired on regular interval.
CountDownTimer
onTimeChanged(TimePicker view, int hourOfDay, int minute)
TimePicker.OnTimeChangedListener
onTimeChanged(TimePicker view, int hourOfDay, int minute)
TimePickerDialog
onTimeSet(TimePicker view, int hourOfDay, int minute)
TimePickerDialog.OnTimeSetListener
onTitleChanged(CharSequence title, int color)
Activity
(protected)
onTooManyRedirects(WebView view, Message cancelMsg, Message continueMsg)
Notify the host application that there have been an excessive number of HTTP redirects.
WebViewClient
onTouch(View v, MotionEvent event)
Called when a touch event is dispatched to a view.
View.OnTouchListener
onTouchEvent(MotionEvent ev)
Implement this method to handle touch screen motion events.
AbsListView
onTouchEvent(MotionEvent event)
Implement this method to handle touch screen motion events.
AbsSeekBar
onTouchEvent(MotionEvent event)
Called when a touch screen event was not handled by any of the views under it.
Activity
onTouchEvent(MotionEvent event)
Called when a touch screen event was not handled by any of the views under it.
Dialog
onTouchEvent(MotionEvent event)
Implement this method to handle touch screen motion events.
Gallery
onTouchEvent(MotionEvent ev)
Analyzes the given motion event and if applicable triggers the appropriate callbacks on the GestureDetector.OnGestureListener supplied.
GestureDetector
onTouchEvent(MotionEvent ev)
Implement this method to handle touch screen motion events.
HorizontalScrollView
onTouchEvent(MotionEvent me)
Implement this method to handle touch screen motion events.
KeyboardView
onTouchEvent(MotionEvent ev)
Implement this method to handle touch screen motion events.
ListView
onTouchEvent(MotionEvent event)
Implement this method to handle touch screen motion events.
MediaController
onTouchEvent(MotionEvent ev)
Implement this method to handle touch screen motion events.
ScrollView
onTouchEvent(MotionEvent event)
Implement this method to handle touch screen motion events.
SlidingDrawer
onTouchEvent(MotionEvent event)
Implement this method to handle touch screen motion events.
TextView
onTouchEvent(MotionEvent event)
Will forward touch events to the delegate view if the event is within the bounds specified in the constructor.
TouchDelegate
onTouchEvent(MotionEvent ev)
Implement this method to handle touch screen motion events.
VideoView
onTouchEvent(MotionEvent event)
Implement this method to handle touch screen motion events.
View
onTouchEvent(MotionEvent ev)
Implement this method to handle touch screen motion events.
WebView
onTouchEvent(MotionEvent event)
Implement this method to handle touch screen motion events.
ZoomButton
onTouchEvent(MotionEvent event)
Implement this method to handle touch screen motion events.
ZoomControls
onTouchEvent(TextView widget, Spannable buffer, MotionEvent event)
ArrowKeyMovementMethod
onTouchEvent(TextView widget, Spannable buffer, MotionEvent event)
LinkMovementMethod
onTouchEvent(TextView widget, Spannable text, MotionEvent event)
MovementMethod
onTouchEvent(TextView widget, Spannable buffer, MotionEvent event)
ScrollingMovementMethod
onTouchEvent(TextView widget, Spannable buffer, MotionEvent event)
Handles touch events for dragging.
Touch
onTouchModeChanged(boolean isInTouchMode)
Callback method to be invoked when the touch mode changes.
AbsListView
onTouchModeChanged(boolean isInTouchMode)
Callback method to be invoked when the touch mode changes.
TabHost
onTouchModeChanged(boolean isInTouchMode)
Callback method to be invoked when the touch mode changes.
ViewTreeObserver.OnTouchModeChangeListener
onTrackballEvent(MotionEvent event)
AbstractInputMethodService
onTrackballEvent(MotionEvent event)
Called when the trackball was moved and not handled by any of the views inside of the activity.
Activity
onTrackballEvent(MotionEvent event)
Called when the trackball was moved and not handled by any of the views inside of the activity.
Dialog
onTrackballEvent(MotionEvent event)
InputMethodService
onTrackballEvent(MotionEvent ev)
Implement this method to handle trackball motion events.
MediaController
onTrackballEvent(MotionEvent event)
Implement this method to handle trackball motion events.
TextView
onTrackballEvent(MotionEvent ev)
Implement this method to handle trackball motion events.
VideoView
onTrackballEvent(MotionEvent event)
Implement this method to handle trackball motion events.
View
onTrackballEvent(MotionEvent ev)
Implement this method to handle trackball motion events.
WebView
onTrackballEvent(TextView widget, Spannable text, MotionEvent event)
ArrowKeyMovementMethod
onTrackballEvent(TextView widget, Spannable text, MotionEvent event)
MovementMethod
onTrackballEvent(TextView widget, Spannable text, MotionEvent event)
ScrollingMovementMethod
onTransact(int code, Parcel data, Parcel reply, int flags)
Default implementation is a stub that returns false.
Binder
(protected)
onUnbind(Intent intent)
Called when all clients have disconnected from a particular interface published by the service.
Service
onUnbindInput()
Called when the previous bound client is no longer associated with the input method.
InputMethodService
onUnhandledKeyEvent(WebView view, KeyEvent event)
Notify the host application that a key was not handled by the WebView.
WebViewClient
onUnmappableCharacter(CodingErrorAction newAction)
Sets this decoder's action on unmappable character errors.
CharsetDecoder
onUnmappableCharacter(CodingErrorAction newAction)
Sets this encoder's action on unmappable character error.
CharsetEncoder
onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds)
Called in response to the ACTION_APPWIDGET_UPDATE broadcast when this AppWidget provider is being asked to provide RemoteViews for a set of AppWidgets. Override this method to implement your own AppWidget functionality.
AppWidgetProvider
onUpdateComplete(int token, Object cookie, int result)
Called when an asynchronous update is completed.
AsyncQueryHandler
(protected)
onUpdateCursor(Rect newCursor)
Called when the application has reported a new location of its text cursor.
InputMethodService
onUpdateExtractedText(int token, ExtractedText text)
Called when the application has reported new extracted text to be shown due to changes in its current text state.
InputMethodService
onUpdateExtractingViews(EditorInfo ei)
Called when the fullscreen-mode extracting editor info has changed, to update the state of its UI such as the action buttons shown.
InputMethodService
onUpdateExtractingVisibility(EditorInfo ei)
Called when the fullscreen-mode extracting editor info has changed, to determine whether the extracting (extract text and candidates) portion of the UI should be shown.
InputMethodService
onUpdateSelection(int oldSelStart, int oldSelEnd, int newSelStart, int newSelEnd, int candidatesStart, int candidatesEnd)
Called when the application has reported a new selection region of the text.
InputMethodService
onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
Called when the database needs to be upgraded.
SQLiteOpenHelper
onUserInteraction()
Called whenever a key, touch, or trackball event is dispatched to the activity.
Activity
onUserLeaveHint()
Called as part of the activity lifecycle when an activity is about to go into the background as the result of user choice.
Activity
(protected)
onUtteranceCompleted(String utteranceId)
Called to signal the completion of the synthesis of the utterance that was identified with the string parameter.
TextToSpeech.OnUtteranceCompletedListener
onVideoSizeChanged(MediaPlayer mp, int width, int height)
Called to indicate the video size
MediaPlayer.OnVideoSizeChangedListener
onVisibilityChanged(boolean visible)
Called when the zoom controls' visibility changes.
ZoomButtonsController.OnZoomListener
onWindowAttributesChanged(WindowManager.LayoutParams params)
This is called whenever the current window attributes change.
Activity
onWindowAttributesChanged(WindowManager.LayoutParams params)
This is called whenever the current window attributes change.
Dialog
onWindowAttributesChanged(WindowManager.LayoutParams attrs)
This is called whenever the current window attributes change.
Window.Callback
onWindowFocusChanged(boolean hasWindowFocus)
Called when the window containing this view gains or loses focus.
AbsListView
onWindowFocusChanged(boolean hasFocus)
Called when the current Window of the activity gains or loses focus.
Activity
onWindowFocusChanged(boolean hasWindowFocus)
Called when the window containing this view gains or loses focus.
AutoCompleteTextView
onWindowFocusChanged(boolean hasFocus)
This hook is called whenever the window focus changes.
Dialog
onWindowFocusChanged(boolean hasWindowFocus)
Called when the window containing this view gains or loses focus.
TextView
onWindowFocusChanged(boolean hasWindowFocus)
Called when the window containing this view gains or loses focus.
View
onWindowFocusChanged(boolean hasWindowFocus)
Called when the window containing this view gains or loses focus.
WebView
onWindowFocusChanged(boolean hasFocus)
This hook is called whenever the window focus changes.
Window.Callback
onWindowHidden()
Called when the input method window has been hidden from the user, after previously being visible.
InputMethodService
onWindowShown()
Called when the input method window has been shown to the user, after previously not being visible.
InputMethodService
onWindowVisibilityChanged(int visibility)
Called when the window containing has change its visibility (between GONE, INVISIBLE, and VISIBLE).
Chronometer
(protected)
onWindowVisibilityChanged(int visibility)
Called when the window containing has change its visibility (between GONE, INVISIBLE, and VISIBLE).
SurfaceView
(protected)
onWindowVisibilityChanged(int visibility)
Called when the window containing has change its visibility (between GONE, INVISIBLE, and VISIBLE).
View
(protected)
onZoom(boolean zoomIn)
Called when the owner view needs to be zoomed.
ZoomButtonsController.OnZoomListener
ON_AFTER_RELEASE
When this wake lock is released, poke the user activity timer so the screen stays on for a little longer.
int
PowerManager
op(Rect rect, Region region, Region.Op op)
Set this region to the result of performing the Op on the specified rect and region.
Region
op(Rect r, Region.Op op)
Perform the specified Op on this region and the specified rect.
Region
op(Region region1, Region region2, Region.Op op)
Set this region to the result of performing the Op on the specified regions.
Region
op(Region region, Region.Op op)
Perform the specified Op on this region and the specified region.
Region
op(int left, int top, int right, int bottom, Region.Op op)
Perform the specified Op on this region and the specified rect.
Region
OPAQUE
System chooses an opaque format (no alpha bits required)
int
PixelFormat
opaquePart(String opaquePart)
Encodes and sets the given opaque scheme-specific-part.
Uri.Builder
OPEN
File was opened
int
FileObserver
OPEN
Open System authentication (required for WPA/WPA2)
int
WifiConfiguration.AuthAlgorithm
open()
Returns a new Camera object.
Camera
open()
Open the condition, and release all threads that are blocked.
ConditionVariable
open()
Creates an opened and not-connected datagram channel.
DatagramChannel
open()
Initializes a pipe.
Pipe
open()
The factory method for selector.
Selector
open()
Creates an open and unbound server-socket channel.
ServerSocketChannel
open()
Opens the drawer immediately.
SlidingDrawer
open()
Creates an open and unconnected socket channel.
SocketChannel
open(File file, int mode)
Create a new ParcelFileDescriptor accessing a given file.
ParcelFileDescriptor
open(String fileName)
Open an asset using ACCESS_STREAMING mode.
AssetManager
open(String path)
Open a the icon database and store the icons in the given path.
WebIconDatabase
open(String fileName, int accessMode)
Open an asset using an explicit access mode, returning an InputStream to read its contents.
AssetManager
open(SocketAddress address)
Creates a socket channel and connects it to a socket address.
SocketChannel
open(HttpRoute route, HttpContext context, HttpParams params)
Opens the underlying connection.
AbstractPoolEntry
open(HttpRoute route, HttpContext context, HttpParams params)
AbstractPooledConnAdapter
open(HttpRoute route, HttpContext context, HttpParams params)
Opens this connection according to the given route.
ManagedClientConnection
openAssetFile(Uri uri, String mode)
This is like openFile(Uri, String), but can be implemented by providers that need to be able to return sub-sections of files, often assets inside of their .apk.
ContentProvider
openAssetFile(Uri url, String mode) ContentProviderClient
openAssetFileDescriptor(Uri uri, String mode)
Open a raw file descriptor to access data under a "content:" URI.
ContentResolver
openCompleted(boolean secure, HttpParams params)
Signals that the connection has been successfully open.
DefaultClientConnection
openCompleted(boolean secure, HttpParams params)
Signals that the connection has been successfully open.
OperatedClientConnection
openConnection()
Opens a connection to the remote resource specified by this URL.
URL
openConnection(Proxy proxy)
Opens a connection to the remote resource specified by this URL.
URL
openConnection(URL u)
Establishes a new connection to the resource specified by the URL u.
URLStreamHandler
(protected)
openConnection(URL u, Proxy proxy)
Establishes a new connection to the resource specified by the URL u using the given proxy.
URLStreamHandler
(protected)
openConnection(OperatedClientConnection conn, HttpHost target, InetAddress local, HttpContext context, HttpParams params)
Opens a connection to the given target host.
ClientConnectionOperator
openConnection(OperatedClientConnection conn, HttpHost target, InetAddress local, HttpContext context, HttpParams params)
Opens a connection to the given target host.
DefaultClientConnectionOperator
openContactPhotoInputStream(ContentResolver cr, Uri person)
This method is deprecated. see ContactsContract
Contacts.People
openContactPhotoInputStream(ContentResolver cr, Uri contactUri)
Opens an InputStream for the contacts's default photo and returns the photo as a byte stream.
ContactsContract.Contacts
openContextMenu(View view)
Programmatically opens the context menu for a particular view.
Activity
openContextMenu(View view)
Dialog
openDatabase(String path, SQLiteDatabase.CursorFactory factory, int flags)
Open the database according to the flags OPEN_READWRITE OPEN_READONLY CREATE_IF_NECESSARY and/or NO_LOCALIZED_COLLATORS.
SQLiteDatabase
openDatagramChannel()
Creates a new open DatagramChannel.
SelectorProvider
openFd(String fileName)
AssetManager
openFile(Uri uri, String mode)
Open a file blob associated with a content URI.
ContentProvider
openFile(Uri url, String mode) ContentProviderClient
openFileDescriptor(Uri uri, String mode)
Open a raw file descriptor to access data under a "content:" URI.
ContentResolver
openFileHelper(Uri uri, String mode)
Convenience for subclasses that wish to implement openFile(Uri, String) by looking up a column named "_data" at the given URI.
ContentProvider
(protected)
openFileInput(String name)
Open a private file associated with this Context's application package for reading.
Context
openFileInput(String name)
Open a private file associated with this Context's application package for reading.
ContextWrapper
openFileInput(String name)
Open a private file associated with this Context's application package for reading.
MockContext
openFileInput(String name)
Open a private file associated with this Context's application package for reading.
RenamingDelegatingContext
openFileOutput(String name, int mode)
Open a private file associated with this Context's application package for writing.
Context
openFileOutput(String name, int mode)
Open a private file associated with this Context's application package for writing.
ContextWrapper
openFileOutput(String name, int mode)
Open a private file associated with this Context's application package for writing.
MockContext
openFileOutput(String name, int mode)
Open a private file associated with this Context's application package for writing.
RenamingDelegatingContext
opening(Socket sock, HttpHost target)
Signals that this connection is in the process of being open.
DefaultClientConnection
opening(Socket sock, HttpHost target)
Signals that this connection is in the process of being open.
OperatedClientConnection
openInputStream(Uri uri)
Open a stream on to the content associated with a content URI.
ContentResolver
openNonAssetFd(int cookie, String fileName)
AssetManager
openNonAssetFd(String fileName)
AssetManager
openOptionsMenu()
Programmatically opens the options menu.
Activity
openOptionsMenu()
Dialog
openOrCreateDatabase(File file, SQLiteDatabase.CursorFactory factory)
Equivalent to openDatabase(file.getPath(), factory, CREATE_IF_NECESSARY).
SQLiteDatabase
openOrCreateDatabase(String path, SQLiteDatabase.CursorFactory factory)
Equivalent to openDatabase(path, factory, CREATE_IF_NECESSARY).
SQLiteDatabase
openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory)
Open a new private SQLiteDatabase associated with this Context's application package.
Context
openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory)
Open a new private SQLiteDatabase associated with this Context's application package.
ContextWrapper
openOrCreateDatabase(String file, int mode, SQLiteDatabase.CursorFactory factory)
Open a new private SQLiteDatabase associated with this Context's application package.
MockContext
openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory)
Open a new private SQLiteDatabase associated with this Context's application package.
RenamingDelegatingContext
openOutputStream(Uri uri) ContentResolver
openOutputStream(Uri uri, String mode)
Open a stream on to the content associated with a content URI.
ContentResolver
openPanel(int featureId, KeyEvent event)
Window
openPipe()
Creates a new Pipe.
SelectorProvider
openRawResource(int id)
Open a data stream for reading a raw resource.
MockResources
openRawResource(int id)
Open a data stream for reading a raw resource.
Resources
openRawResource(int id, TypedValue value)
Open a data stream for reading a raw resource.
Resources
openRawResourceFd(int id)
Open a file descriptor for reading a raw resource.
MockResources
openRawResourceFd(int id)
Open a file descriptor for reading a raw resource.
Resources
openSelector()
Creates a new selector.
SelectorProvider
openServerSocketChannel()
Creates a new open ServerSocketChannel.
SelectorProvider
openSocketChannel()
Create a new open SocketChannel.
SelectorProvider
openStream()
Opens an InputStream to read the resource referred by this URL.
URL
openXmlResourceParser(int cookie, String fileName)
Retrieve a parser for a compiled XML file.
AssetManager
openXmlResourceParser(String fileName)
Retrieve a parser for a compiled XML file.
AssetManager
OPEN_DELETE
Delete zip file when closed.
int
ZipFile
OPEN_FAILURE
The error code indicating a failure when opening an output stream.
int
ErrorManager
OPEN_READ
Open zip file for read.
int
ZipFile
OPEN_READONLY
Flag for openDatabase(String, SQLiteDatabase.CursorFactory, int) to open the database for reading only.
int
SQLiteDatabase
OPEN_READWRITE
Flag for openDatabase(String, SQLiteDatabase.CursorFactory, int) to open the database for reading and writing. If the disk is full, this may fail even before you actually write anything.
int
SQLiteDatabase
OperationApplicationException()
OperationApplicationException
OperationApplicationException(int numSuccessfulYieldPoints)
OperationApplicationException
OperationApplicationException(String message)
OperationApplicationException
OperationApplicationException(String message, int numSuccessfulYieldPoints)
OperationApplicationException
OperationApplicationException(String message, Throwable cause)
OperationApplicationException
OperationApplicationException(Throwable cause)
OperationApplicationException
OperationCanceledException()
OperationCanceledException
OperationCanceledException(String message)
OperationCanceledException
OperationCanceledException(String message, Throwable cause)
OperationCanceledException
OperationCanceledException(Throwable cause)
OperationCanceledException
opt(int index)
Get the optional object value associated with an index.
JSONArray
opt(String key)
Get an optional value associated with a key.
JSONObject
optBoolean(int index)
Get the optional boolean value associated with an index.
JSONArray
optBoolean(int index, boolean defaultValue)
Get the optional boolean value associated with an index.
JSONArray
optBoolean(String key)
Get an optional boolean associated with a key.
JSONObject
optBoolean(String key, boolean defaultValue)
Get an optional boolean associated with a key.
JSONObject
optDouble(int index)
Get the optional double value associated with an index.
JSONArray
optDouble(int index, double defaultValue)
Get the optional double value associated with an index.
JSONArray
optDouble(String key)
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number.
JSONObject
optDouble(String key, double defaultValue)
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
JSONObject
OPTICAL_CHARACTER_RECOGNITION
The "Optical Character Recognition" Unicode Block.
Character.UnicodeBlock
optInt(int index)
Get the optional int value associated with an index.
JSONArray
optInt(int index, int defaultValue)
Get the optional int value associated with an index.
JSONArray
optInt(String key)
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number.
JSONObject
optInt(String key, int defaultValue)
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
JSONObject
optJSONArray(int index)
Get the optional JSONArray associated with an index.
JSONArray
optJSONArray(String key)
Get an optional JSONArray associated with a key.
JSONObject
optJSONObject(int index)
Get the optional JSONObject associated with an index.
JSONArray
optJSONObject(String key)
Get an optional JSONObject associated with a key.
JSONObject
optLong(int index)
Get the optional long value associated with an index.
JSONArray
optLong(int index, long defaultValue)
Get the optional long value associated with an index.
JSONArray
optLong(String key)
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number.
JSONObject
optLong(String key, long defaultValue)
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
JSONObject
optString(int index)
Get the optional string value associated with an index.
JSONArray
optString(int index, String defaultValue)
Get the optional string associated with an index.
JSONArray
optString(String key)
Get an optional string associated with a key.
JSONObject
optString(String key, String defaultValue)
Get an optional string associated with a key.
JSONObject
OP_ACCEPT
Interest set mask bit for socket-accept operations.
int
SelectionKey
OP_ADD_DOUBLE
int
Opcodes
OP_ADD_DOUBLE_2ADDR
int
Opcodes
OP_ADD_FLOAT
int
Opcodes
OP_ADD_FLOAT_2ADDR
int
Opcodes
OP_ADD_INT
int
Opcodes
OP_ADD_INT_2ADDR
int
Opcodes
OP_ADD_INT_LIT16
int
Opcodes
OP_ADD_INT_LIT8
int
Opcodes
OP_ADD_LONG
int
Opcodes
OP_ADD_LONG_2ADDR
int
Opcodes
OP_AGET
int
Opcodes
OP_AGET_BOOLEAN
int
Opcodes
OP_AGET_BYTE
int
Opcodes
OP_AGET_CHAR
int
Opcodes
OP_AGET_OBJECT
int
Opcodes
OP_AGET_SHORT
int
Opcodes
OP_AGET_WIDE
int
Opcodes
OP_AND_INT
int
Opcodes
OP_AND_INT_2ADDR
int
Opcodes
OP_AND_INT_LIT16
int
Opcodes
OP_AND_INT_LIT8
int
Opcodes
OP_AND_LONG
int
Opcodes
OP_AND_LONG_2ADDR
int
Opcodes
OP_APUT
int
Opcodes
OP_APUT_BOOLEAN
int
Opcodes
OP_APUT_BYTE
int
Opcodes
OP_APUT_CHAR
int
Opcodes
OP_APUT_OBJECT
int
Opcodes
OP_APUT_SHORT
int
Opcodes
OP_APUT_WIDE
int
Opcodes
OP_ARRAY_LENGTH
int
Opcodes
OP_CHECK_CAST
int
Opcodes
OP_CMPG_DOUBLE
int
Opcodes
OP_CMPG_FLOAT
int
Opcodes
OP_CMPL_DOUBLE
int
Opcodes
OP_CMPL_FLOAT
int
Opcodes
OP_CMP_LONG
int
Opcodes
OP_CONNECT
Interest set mask bit for socket-connect operations.
int
SelectionKey
OP_CONST
int
Opcodes
OP_CONST_16
int
Opcodes
OP_CONST_4
int
Opcodes
OP_CONST_CLASS
int
Opcodes
OP_CONST_HIGH16
int
Opcodes
OP_CONST_STRING
int
Opcodes
OP_CONST_STRING_JUMBO
int
Opcodes
OP_CONST_WIDE
int
Opcodes
OP_CONST_WIDE_16
int
Opcodes
OP_CONST_WIDE_32
int
Opcodes
OP_CONST_WIDE_HIGH16
int
Opcodes
OP_DIV_DOUBLE
int
Opcodes
OP_DIV_DOUBLE_2ADDR
int
Opcodes
OP_DIV_FLOAT
int
Opcodes
OP_DIV_FLOAT_2ADDR
int
Opcodes
OP_DIV_INT
int
Opcodes
OP_DIV_INT_2ADDR
int
Opcodes
OP_DIV_INT_LIT16
int
Opcodes
OP_DIV_INT_LIT8
int
Opcodes
OP_DIV_LONG
int
Opcodes
OP_DIV_LONG_2ADDR
int
Opcodes
OP_DOUBLE_TO_FLOAT
int
Opcodes
OP_DOUBLE_TO_INT
int
Opcodes
OP_DOUBLE_TO_LONG
int
Opcodes
OP_EXECUTE_INLINE
int
Opcodes
OP_FILLED_NEW_ARRAY
int
Opcodes
OP_FILLED_NEW_ARRAY_RANGE
int
Opcodes
OP_FILL_ARRAY_DATA
int
Opcodes
OP_FLOAT_TO_DOUBLE
int
Opcodes
OP_FLOAT_TO_INT
int
Opcodes
OP_FLOAT_TO_LONG
int
Opcodes
OP_GOTO
int
Opcodes
OP_GOTO_16
int
Opcodes
OP_GOTO_32
int
Opcodes
OP_IF_EQ
int
Opcodes
OP_IF_EQZ
int
Opcodes
OP_IF_GE
int
Opcodes
OP_IF_GEZ
int
Opcodes
OP_IF_GT
int
Opcodes
OP_IF_GTZ
int
Opcodes
OP_IF_LE
int
Opcodes
OP_IF_LEZ
int
Opcodes
OP_IF_LT
int
Opcodes
OP_IF_LTZ
int
Opcodes
OP_IF_NE
int
Opcodes
OP_IF_NEZ
int
Opcodes
OP_IGET
int
Opcodes
OP_IGET_BOOLEAN
int
Opcodes
OP_IGET_BYTE
int
Opcodes
OP_IGET_CHAR
int
Opcodes
OP_IGET_OBJECT
int
Opcodes
OP_IGET_OBJECT_QUICK
int
Opcodes
OP_IGET_QUICK
int
Opcodes
OP_IGET_SHORT
int
Opcodes
OP_IGET_WIDE
int
Opcodes
OP_IGET_WIDE_QUICK
int
Opcodes
OP_INSTANCE_OF
int
Opcodes
OP_INT_TO_BYTE
int
Opcodes
OP_INT_TO_CHAR
int
Opcodes
OP_INT_TO_DOUBLE
int
Opcodes
OP_INT_TO_FLOAT
int
Opcodes
OP_INT_TO_LONG
int
Opcodes
OP_INT_TO_SHORT
int
Opcodes
OP_INVOKE_DIRECT
int
Opcodes
OP_INVOKE_DIRECT_EMPTY
int
Opcodes
OP_INVOKE_DIRECT_RANGE
int
Opcodes
OP_INVOKE_INTERFACE
int
Opcodes
OP_INVOKE_INTERFACE_RANGE
int
Opcodes
OP_INVOKE_STATIC
int
Opcodes
OP_INVOKE_STATIC_RANGE
int
Opcodes
OP_INVOKE_SUPER
int
Opcodes
OP_INVOKE_SUPER_QUICK
int
Opcodes
OP_INVOKE_SUPER_QUICK_RANGE
int
Opcodes
OP_INVOKE_SUPER_RANGE
int
Opcodes
OP_INVOKE_VIRTUAL
int
Opcodes
OP_INVOKE_VIRTUAL_QUICK
int
Opcodes
OP_INVOKE_VIRTUAL_QUICK_RANGE
int
Opcodes
OP_INVOKE_VIRTUAL_RANGE
int
Opcodes
OP_IPUT
int
Opcodes
OP_IPUT_BOOLEAN
int
Opcodes
OP_IPUT_BYTE
int
Opcodes
OP_IPUT_CHAR
int
Opcodes
OP_IPUT_OBJECT
int
Opcodes
OP_IPUT_OBJECT_QUICK
int
Opcodes
OP_IPUT_QUICK
int
Opcodes
OP_IPUT_SHORT
int
Opcodes
OP_IPUT_WIDE
int
Opcodes
OP_IPUT_WIDE_QUICK
int
Opcodes
OP_LONG_TO_DOUBLE
int
Opcodes
OP_LONG_TO_FLOAT
int
Opcodes
OP_LONG_TO_INT
int
Opcodes
OP_MONITOR_ENTER
int
Opcodes
OP_MONITOR_EXIT
int
Opcodes
OP_MOVE
int
Opcodes
OP_MOVE_16
int
Opcodes
OP_MOVE_EXCEPTION
int
Opcodes
OP_MOVE_FROM16
int
Opcodes
OP_MOVE_OBJECT
int
Opcodes
OP_MOVE_OBJECT_16
int
Opcodes
OP_MOVE_OBJECT_FROM16
int
Opcodes
OP_MOVE_RESULT
int
Opcodes
OP_MOVE_RESULT_OBJECT
int
Opcodes
OP_MOVE_RESULT_WIDE
int
Opcodes
OP_MOVE_WIDE
int
Opcodes
OP_MOVE_WIDE_16
int
Opcodes
OP_MOVE_WIDE_FROM16
int
Opcodes
OP_MUL_DOUBLE
int
Opcodes
OP_MUL_DOUBLE_2ADDR
int
Opcodes
OP_MUL_FLOAT
int
Opcodes
OP_MUL_FLOAT_2ADDR
int
Opcodes
OP_MUL_INT
int
Opcodes
OP_MUL_INT_2ADDR
int
Opcodes
OP_MUL_INT_LIT16
int
Opcodes
OP_MUL_INT_LIT8
int
Opcodes
OP_MUL_LONG
int
Opcodes
OP_MUL_LONG_2ADDR
int
Opcodes
OP_NEG_DOUBLE
int
Opcodes
OP_NEG_FLOAT
int
Opcodes
OP_NEG_INT
int
Opcodes
OP_NEG_LONG
int
Opcodes
OP_NEW_ARRAY
int
Opcodes
OP_NEW_INSTANCE
int
Opcodes
OP_NOP
int
Opcodes
OP_NOT_INT
int
Opcodes
OP_NOT_LONG
int
Opcodes
OP_OR_INT
int
Opcodes
OP_OR_INT_2ADDR
int
Opcodes
OP_OR_INT_LIT16
int
Opcodes
OP_OR_INT_LIT8
int
Opcodes
OP_OR_LONG
int
Opcodes
OP_OR_LONG_2ADDR
int
Opcodes
OP_PACKED_SWITCH
int
Opcodes
OP_READ
Interesting operation mask bit for read operations.
int
SelectionKey
OP_REM_DOUBLE
int
Opcodes
OP_REM_DOUBLE_2ADDR
int
Opcodes
OP_REM_FLOAT
int
Opcodes
OP_REM_FLOAT_2ADDR
int
Opcodes
OP_REM_INT
int
Opcodes
OP_REM_INT_2ADDR
int
Opcodes
OP_REM_INT_LIT16
int
Opcodes
OP_REM_INT_LIT8
int
Opcodes
OP_REM_LONG
int
Opcodes
OP_REM_LONG_2ADDR
int
Opcodes
OP_RETURN
int
Opcodes
OP_RETURN_OBJECT
int
Opcodes
OP_RETURN_VOID
int
Opcodes
OP_RETURN_WIDE
int
Opcodes
OP_RSUB_INT
int
Opcodes
OP_RSUB_INT_LIT8
int
Opcodes
OP_SGET
int
Opcodes
OP_SGET_BOOLEAN
int
Opcodes
OP_SGET_BYTE
int
Opcodes
OP_SGET_CHAR
int
Opcodes
OP_SGET_OBJECT
int
Opcodes
OP_SGET_SHORT
int
Opcodes
OP_SGET_WIDE
int
Opcodes
OP_SHL_INT
int
Opcodes
OP_SHL_INT_2ADDR
int
Opcodes
OP_SHL_INT_LIT8
int
Opcodes
OP_SHL_LONG
int
Opcodes
OP_SHL_LONG_2ADDR
int
Opcodes
OP_SHR_INT
int
Opcodes
OP_SHR_INT_2ADDR
int
Opcodes
OP_SHR_INT_LIT8
int
Opcodes
OP_SHR_LONG
int
Opcodes
OP_SHR_LONG_2ADDR
int
Opcodes
OP_SPARSE_SWITCH
int
Opcodes
OP_SPUT
int
Opcodes
OP_SPUT_BOOLEAN
int
Opcodes
OP_SPUT_BYTE
int
Opcodes
OP_SPUT_CHAR
int
Opcodes
OP_SPUT_OBJECT
int
Opcodes
OP_SPUT_SHORT
int
Opcodes
OP_SPUT_WIDE
int
Opcodes
OP_SUB_DOUBLE
int
Opcodes
OP_SUB_DOUBLE_2ADDR
int
Opcodes
OP_SUB_FLOAT
int
Opcodes
OP_SUB_FLOAT_2ADDR
int
Opcodes
OP_SUB_INT
int
Opcodes
OP_SUB_INT_2ADDR
int
Opcodes
OP_SUB_LONG
int
Opcodes
OP_SUB_LONG_2ADDR
int
Opcodes
OP_THROW
int
Opcodes
OP_UNUSED_3e
int
Opcodes
OP_UNUSED_3f
int
Opcodes
OP_UNUSED_40
int
Opcodes
OP_UNUSED_41
int
Opcodes
OP_UNUSED_42
int
Opcodes
OP_UNUSED_43
int
Opcodes
OP_UNUSED_73
int
Opcodes
OP_UNUSED_79
int
Opcodes
OP_UNUSED_7A
int
Opcodes
OP_UNUSED_E3
int
Opcodes
OP_UNUSED_E4
int
Opcodes
OP_UNUSED_E5
int
Opcodes
OP_UNUSED_E6
int
Opcodes
OP_UNUSED_E7
int
Opcodes
OP_UNUSED_E8
int
Opcodes
OP_UNUSED_E9
int
Opcodes
OP_UNUSED_EA
int
Opcodes
OP_UNUSED_EB
int
Opcodes
OP_UNUSED_EC
int
Opcodes
OP_UNUSED_ED
int
Opcodes
OP_UNUSED_EF
int
Opcodes
OP_UNUSED_F1
int
Opcodes
OP_UNUSED_FC
int
Opcodes
OP_UNUSED_FD
int
Opcodes
OP_UNUSED_FE
int
Opcodes
OP_UNUSED_FF
int
Opcodes
OP_USHR_INT
int
Opcodes
OP_USHR_INT_2ADDR
int
Opcodes
OP_USHR_INT_LIT8
int
Opcodes
OP_USHR_LONG
int
Opcodes
OP_USHR_LONG_2ADDR
int
Opcodes
OP_WRITE
Interest set mask bit for write operations.
int
SelectionKey
OP_XOR_INT
int
Opcodes
OP_XOR_INT_2ADDR
int
Opcodes
OP_XOR_INT_LIT16
int
Opcodes
OP_XOR_INT_LIT8
int
Opcodes
OP_XOR_LONG
int
Opcodes
OP_XOR_LONG_2ADDR
int
Opcodes
or(BigInteger val)
Returns a new BigInteger whose value is this | val.
BigInteger
or(BitSet bs)
Performs the logical OR of this BitSet with another BitSet.
BitSet
order
The order for the Preference (lower values are to be ordered first).
int
R.attr
order()
Returns the byte order used by this buffer when converting bytes from/to other primitive types.
ByteBuffer
order()
Returns the byte order used by this buffer when converting chars from/to bytes.
CharBuffer
order()
Returns the byte order used by this buffer when converting doubles from/to bytes.
DoubleBuffer
order()
Returns the byte order used by this buffer when converting floats from/to bytes.
FloatBuffer
order()
Returns the byte order used by this buffer when converting ints from/to bytes.
IntBuffer
order()
Returns the byte order used by this buffer when converting longs from/to bytes.
LongBuffer
order()
Returns the byte order used by this buffer when converting shorts from/to bytes.
ShortBuffer
order(ByteOrder byteOrder)
Sets the byte order of this buffer.
ByteBuffer
orderInCategory
The order within the category applied to all items within this group.
int
R.attr
orderingFromXml
Whether to order the Preference under this group as they appear in the XML file.
int
R.attr
ORDER_NORMAL
Distributes the animation delays in the order in which view were added to their view group.
int
LayoutAnimationController
ORDER_RANDOM
Randomly distributes the animation delays.
int
LayoutAnimationController
ORDER_REVERSE
Distributes the animation delays in the reverse order in which view were added to their view group.
int
LayoutAnimationController
ordinal()
Returns the position of the enum constant in the declaration.
Enum
ordinaryChar(int ch)
Specifies that the character ch shall be treated as an ordinary character by this tokenizer.
StreamTokenizer
ordinaryChars(int low, int hi)
Specifies that the characters in the range from low to hi shall be treated as an ordinary character by this tokenizer.
StreamTokenizer
organizationTypes
Organization types from android.provider.Contacts.
int
R.array
ORIENTATION
The orientation for the image expressed as degrees.
MediaStore.Images.ImageColumns
orientation
Standard orientation constant.
int
R.attr
OrientationEventListener(Context context)
Creates a new OrientationEventListener.
OrientationEventListener
OrientationEventListener(Context context, int rate)
Creates a new OrientationEventListener.
OrientationEventListener
OrientationListener(Context context)
Creates a new OrientationListener.
OrientationListener
OrientationListener(Context context, int rate)
Creates a new OrientationListener.
OrientationListener
ORIENTATION_FLIP_HORIZONTAL
int
ExifInterface
ORIENTATION_FLIP_VERTICAL
int
ExifInterface
ORIENTATION_HORIZONTAL
int
GestureOverlayView
ORIENTATION_HORIZONTAL
int
SlidingDrawer
ORIENTATION_INVARIANT
int
GestureStore
ORIENTATION_LANDSCAPE
int
Configuration
ORIENTATION_NORMAL
int
ExifInterface
ORIENTATION_PORTRAIT
int
Configuration
ORIENTATION_ROTATE_180
int
ExifInterface
ORIENTATION_ROTATE_270
int
ExifInterface
ORIENTATION_ROTATE_90
int
ExifInterface
ORIENTATION_SENSITIVE
int
GestureStore
ORIENTATION_SQUARE
int
Configuration
ORIENTATION_TRANSPOSE
int
ExifInterface
ORIENTATION_TRANSVERSE
int
ExifInterface
ORIENTATION_UNDEFINED
int
Configuration
ORIENTATION_UNDEFINED
int
ExifInterface
ORIENTATION_UNKNOWN
Returned from onOrientationChanged when the device orientation cannot be determined (typically when the device is in a close to flat position).
int
OrientationEventListener
ORIENTATION_UNKNOWN
Returned from onOrientationChanged when the device orientation cannot be determined (typically when the device is in a close to flat position).
int
OrientationListener
ORIENTATION_VERTICAL
int
GestureOverlayView
ORIENTATION_VERTICAL
int
SlidingDrawer
ORIGIN_SERVER
Defines the content of the Server header.
CoreProtocolPNames
ORIYA
The "Oriya" Unicode Block.
Character.UnicodeBlock
ORIYA
The Constant ORIYA indicates the ORIYA range and decimal base.
int
NumericShaper
orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far)
Computes an orthographic projection matrix.
Matrix
OSMANYA
The "Osmanya" Unicode Block.
Character.UnicodeBlock
OTHER
The type code that identifies that the SQL type is database specific and is mapped to a Java object, accessed via the methods getObject and setObject.
int
Types
othersDeletesAreVisible(int type)
Determines whether deletes made by others are visible, for a specified ResultSet type.
DatabaseMetaData
othersInsertsAreVisible(int type)
Determines whether inserts made by others are visible, for a specified ResultSet type.
DatabaseMetaData
othersUpdatesAreVisible(int type)
Determines whether updates made by others are visible, for a specified ResultSet type.
DatabaseMetaData
OTHER_LETTER
Unicode category constant Lo.
byte
Character
OTHER_NUMBER
Unicode category constant No.
byte
Character
OTHER_PUNCTUATION
Unicode category constant Po.
byte
Character
OTHER_SYMBOL
Unicode category constant So.
byte
Character
OTHER_WHITESPACE_OK
Allow whitespace characters other than space.
int
UrlQuerySanitizer.IllegalCharacterValueSanitizer
out
FileDescriptor representing standard out.
FileDescriptor
out
Default output stream.
System
out()
Returns the output destination of the Formatter.
Formatter
outAnimation

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
OUTGOING_TYPE
int
CallLog.Calls
OutOfMemoryError()
Constructs a new OutOfMemoryError that includes the current stack trace.
OutOfMemoryError
OutOfMemoryError(String detailMessage)
Constructs a new OutOfMemoryError with the current stack trace and the specified detail message.
OutOfMemoryError
output(byte[] b)
Wire
output(byte[] b, int off, int len)
Wire
output(int b)
Wire
output(InputStream outstream)
Wire
output(String s)
Wire
OutputStream()
Default constructor.
OutputStream
OutputStreamWriter(OutputStream out)
Constructs a new OutputStreamWriter using out as the target stream to write converted characters to.
OutputStreamWriter
OutputStreamWriter(OutputStream out, String enc)
Constructs a new OutputStreamWriter using out as the target stream to write converted characters to and enc as the character encoding.
OutputStreamWriter
OutputStreamWriter(OutputStream out, Charset cs)
Constructs a new OutputStreamWriter using out as the target stream to write converted characters to and cs as the character encoding.
OutputStreamWriter
OutputStreamWriter(OutputStream out, CharsetEncoder enc)
Constructs a new OutputStreamWriter using out as the target stream to write converted characters to and enc as the character encoder.
OutputStreamWriter
OUT_OF_SERVICE
int
LocationProvider
OVAL
Shape is an ellipse
int
GradientDrawable
OvalShape()
OvalShape constructor.
OvalShape
OVERFLOW
Result object used to indicate that the output buffer does not have enough space available to store the result of the encoding/decoding.
CoderResult
OverlappingFileLockException()
Constructs a OverlappingFileLockException.
OverlappingFileLockException
overlaps(long start, long length)
Indicates if the receiver's lock region overlaps the region described in the parameter list.
FileLock
overlayHorizontalScrollbar()
Return whether horizontal scrollbar has overlay style
WebView
overlayVerticalScrollbar()
Return whether vertical scrollbar has overlay style
WebView
overrideParamter(String name, String value)
DigestScheme
overridePendingTransition(int enterAnim, int exitAnim)
Call immediately after one of the flavors of startActivity(Intent) or finish() to specify an explicit transition animation to perform next.
Activity
OvershootInterpolator()
OvershootInterpolator
OvershootInterpolator(Context context, AttributeSet attrs)
OvershootInterpolator
OvershootInterpolator(float tension)
OvershootInterpolator
overshoot_interpolator
int
R.anim
ownDeletesAreVisible(int type)
Determines whether a ResultSet can see its own deletes, for a specified ResultSet type.
DatabaseMetaData
ownInsertsAreVisible(int type)
Determines whether a ResultSet can see its own inserts, for a specified ResultSet type.
DatabaseMetaData
owns(AbstractQueuedSynchronizer.ConditionObject condition)
Queries whether the given ConditionObject uses this synchronizer as its lock.
AbstractQueuedSynchronizer
ownUpdatesAreVisible(int type)
Determines whether a ResultSet can see its own updates, for a specified ResultSet type.
DatabaseMetaData