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

H

H263
int
MediaRecorder.VideoEncoder
H264
int
MediaRecorder.VideoEncoder
HALFWIDTH_AND_FULLWIDTH_FORMS
The "Halfwidth and Fullwidth Forms" Unicode Block.
Character.UnicodeBlock
halt(int code)
Causes the virtual machine to stop running, and the program to exit.
Runtime
handle
Identifier for the child that represents the drawer's handle.
int
R.attr
handle(Callback[] callbacks)
Handles the actual Callback.
CallbackHandler
handle(HttpRequest request, HttpResponse response, HttpContext context)
HttpRequestHandler
handleBack()
KeyboardView
handleClickEvent(Context context)
Plugin.PreferencesClickHandler
handleDataChanged()
AbsListView
(protected)
handleException(HttpException ex, HttpResponse response)
HttpService
(protected)
handleGetObject(String key)
Returns the named resource from this ResourceBundle, or null if the resource is not found.
ListResourceBundle
handleGetObject(String key)
Returns the named resource from this PropertyResourceBundle, or null if the resource is not found.
PropertyResourceBundle
handleGetObject(String key)
Returns the named resource from this ResourceBundle, or null if the resource is not found.
ResourceBundle
(protected)
handleKeyDown(long state, int keyCode, KeyEvent event)
Handles presses of the meta keys.
MetaKeyKeyListener
handleKeyUp(long state, int keyCode, KeyEvent event)
Handles release of the meta keys.
MetaKeyKeyListener
handleLostEntry(HttpRoute route)
Handles cleaning up for a lost pool entry with the given route.
AbstractConnPool
(protected)
handleLostEntry(HttpRoute route)
Handles cleaning up for a lost pool entry with the given route.
ConnPoolByRoute
(protected)
handleMessage(Message msg)
Subclasses must implement this to receive messages.
AsyncQueryHandler
handleMessage(Message msg)
Subclasses must implement this to receive messages.
AsyncQueryHandler.WorkerHandler
handleMessage(Message msg)
Subclasses must implement this to receive messages.
Handler
handleMessage(Message msg)
Handler.Callback
handleMessage(Message msg)
Subclasses must implement this to receive messages.
HttpAuthHandler
handleMessage(Message msg)
Subclasses must implement this to receive messages.
SslErrorHandler
handleProfiling
Flag indicating that an Instrumentation class wants to take care of starting/stopping profiling itself, rather than relying on the default behavior of profiling the complete time it is running.
int
R.attr
Handler()
Default constructor associates this handler with the queue for the current thread.
Handler
Handler(Handler.Callback callback)
Constructor associates this handler with the queue for the current thread and takes a callback interface in which you can handle messages.
Handler
Handler(Looper looper)
Use the provided queue instead of the default one.
Handler
Handler(Looper looper, Handler.Callback callback)
Use the provided queue instead of the default one and take a callback interface in which to handle messages.
Handler
HandlerBase()
HandlerBase
handleReference(Reference ref)
AbstractConnPool
handleReference(Reference<?> ref)
Invoked when a reference is found on the queue.
RefQueueHandler
handleRequest(HttpServerConnection conn, HttpContext context)
HttpService
handleResponse(HttpResponse response)
Returns the response body as a String if the response was successful (a 2xx status code).
BasicResponseHandler
handleResponse(HttpResponse response)
Processes an HttpResponse and returns some value corresponding to that response.
ResponseHandler
handleResponse(RoutedRequest roureq, HttpResponse response, HttpContext context)
Analyzes a response to check need for a followup.
DefaultRequestDirector
(protected)
HandlerThread(String name)
HandlerThread
HandlerThread(String name, int priority)
Constructs a HandlerThread.
HandlerThread
handleTag(boolean opening, String tag, Editable output, XMLReader xmlReader)
This method will be called whenn the HTML parser encounters a tag that it does not know how to interpret.
Html.TagHandler
handleUpEvent(KeyEvent event)
Handle key up event to stop tracking.
KeyEvent.DispatcherState
HANDLE_AUTHENTICATION
Defines whether authentication should be handled automatically.
ClientPNames
HANDLE_REDIRECTS
Defines whether redirects should be handled automatically

This parameter expects a value of type Boolean.

ClientPNames
handshakeCompleted(HandshakeCompletedEvent event)
The callback method that is invoked when a SSL handshake is completed.
HandshakeCompletedListener
HandshakeCompletedEvent(SSLSocket sock, SSLSession s)
Creates a new HandshakeCompletedEvent with the specified SSL socket and SSL session.
HandshakeCompletedEvent
hand_hour

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
hand_minute

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
HANGUL_COMPATIBILITY_JAMO
The "Hangul Compatibility Jamo" Unicode Block.
Character.UnicodeBlock
HANGUL_JAMO
The "Hangul Jamo" Unicode Block.
Character.UnicodeBlock
HANGUL_SYLLABLES
The "Hangul Syllables" Unicode Block.
Character.UnicodeBlock
HANUNOO
The "Hanunoo" Unicode Block.
Character.UnicodeBlock
hapticFeedbackEnabled
Boolean that controls whether a view should have haptic feedback enabled for events such as long presses.
int
R.attr
HAPTIC_FEEDBACK_ENABLED
Whether the haptic feedback (long presses, ...) are enabled.
Settings.System
HAPTIC_FEEDBACK_ENABLED
View flag indicating whether this view should have haptic feedback enabled for events such as long presses.
int
View
HARDKEYBOARDHIDDEN_NO
int
Configuration
HARDKEYBOARDHIDDEN_UNDEFINED
int
Configuration
HARDKEYBOARDHIDDEN_YES
int
Configuration
HARDWARE
This constant is deprecated. this is ignored, this value is set automatically when needed.
int
Surface
HARDWARE_CONTROLS
Used for permissions that provide direct access to the hardware on the device.
Manifest.permission_group
HARDWARE_TEST
Allows access to hardware peripherals.
Manifest.permission
has(String key)
Determine if the JSONObject contains a specific key.
JSONObject
hasAccuracy()
Returns true if the provider is able to report accuracy information, false otherwise.
Location
hasAction(String action)
Is the given action included in the filter? Note that if the filter does not include any actions, false will always be returned.
IntentFilter
hasAlmanac()
Returns true if the GPS engine has almanac data for the satellite.
GpsSatellite
hasAlpha()
Returns true if the bitmap's config supports per-pixel alpha, and if the pixels may contain non-opaque alpha values.
Bitmap
hasAlpha()
NinePatch
hasAlpha()
Checks whether the Shape is opaque.
Shape
hasAltitude()
Returns true if this fix contains altitude information, false otherwise.
Location
hasAnchoringBounds()
Indicates whether this matcher has anchoring bounds enabled.
Matcher
hasArray()
Indicates whether this buffer is based on a byte array and provides read/write access.
ByteBuffer
hasArray()
Indicates whether this buffer is based on a char array and is read/write.
CharBuffer
hasArray()
Indicates whether this buffer is based on a double array and is read/write.
DoubleBuffer
hasArray()
Indicates whether this buffer is based on a float array and is read/write.
FloatBuffer
hasArray()
Indicates whether this buffer is based on a int array and is read/write.
IntBuffer
hasArray()
Indicates whether this buffer is based on a long array and is read/write.
LongBuffer
hasArray()
Indicates whether this buffer is based on a short array and is read/write.
ShortBuffer
hasAttribute(String name)
Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise.
Element
hasAttributeNS(String namespaceURI, String localName)
Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise.
Element
hasAttributes()
Returns whether this node (if it is an element) has any attributes.
Node
hasBearing()
Returns true if the provider is able to report bearing information, false otherwise.
Location
hasBufferedData()
AbstractSessionInputBuffer
(protected)
hasCategory(String category)
Check if an category exists in the intent.
Intent
hasCategory(String category)
Is the given category included in the filter?
IntentFilter
hasChanged()
GestureStore
hasChanged()
Returns the changed flag for this Observable.
Observable
hasChildNodes()
Returns whether this node has any children.
Node
hasChildren()
Window
hasCode
Indicate whether this application contains code.
int
R.attr
hasContended()
Queries whether any threads have ever contended to acquire this synchronizer; that is if an acquire method has ever blocked.
AbstractQueuedSynchronizer
hasCookies()
Return true if there are stored cookies.
CookieManager
hasDataAuthority(Uri data)
Is the given data authority included in the filter? Note that if the filter does not include any authorities, false will always be returned.
IntentFilter
hasDataPath(String data)
Is the given data path included in the filter? Note that if the filter does not include any paths, false will always be returned.
IntentFilter
hasDataScheme(String scheme)
Is the given data scheme included in the filter? Note that if the filter does not include any scheme, false will always be returned.
IntentFilter
hasDataType(String type)
Is the given data type included in the filter? Note that if the filter does not include any type, false will always be returned.
IntentFilter
hasEnded()

Indicates whether this animation has ended or not.

Animation
hasEphemeris()
Returns true if the GPS engine has ephemeris data for the satellite.
GpsSatellite
hasError()
SyncResult
hasExtension(String extension)
Return true if the given extension has a registered MIME type.
MimeTypeMap
hasExtensions()
Returns whether this CRL entry has extensions.
X509CRLEntry
hasExtra(String name)
Returns true if an extra value is associated with the given name.
Intent
hasFeature(String feature, String version)
Test if the DOM implementation implements a specific feature.
DOMImplementation
hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features)
Checks if the account supports all the specified authenticator specific features.
AbstractAccountAuthenticator
hasFileDescriptors()
Reports whether the bundle contains any parcelled file descriptors.
Bundle
hasFileDescriptors()
Returns true if the Intent's extras contain a parcelled file descriptor.
Intent
hasFileDescriptors()
Report whether the parcel contains any marshalled file descriptors.
Parcel
hasFocus()
Pretend like this view always has focus, so its highlight and cursor will be displayed.
ExtractEditText
hasFocus()
Returns true if this view has focus iteself, or is the ancestor of the view that has focus.
View
hasFocus()
Returns true if this view has or contains focus
ViewGroup
hasFocus()
Returns true if this view has or contains focus
ZoomControls
hasFocusable()
Returns true if this view is focusable or if it contains a reachable View for which hasFocusable() returns true.
View
hasFocusable()
Returns true if this view is focusable or if it contains a reachable View for which hasFocusable() returns true.
ViewGroup
hasFormData()
Find out if there is form data saved.
WebViewDatabase
hasHardError()
SyncResult
hashCode()
Returns the hash code of this list.
AbstractList
hashCode()
Returns the hash code for this object.
AbstractMap
hashCode()
Returns the hash code for this set.
AbstractSet
hashCode()
Returns the hash code value for this AccessControlContext.
AccessControlContext
hashCode()
Returns an integer hash code for this object.
Account
hashCode()
Returns the hash code value for this AllPermission.
AllPermission
hashCode()
Returns the hash code of this annotation.
Annotation
hashCode()
Calculates the hash code for objects of type Attribute.
AttributedCharacterIterator.Attribute
hashCode()
Returns the hash code of this Attributes.
Attributes
hashCode()
Computes a hash code of the name.
Attributes.Name
hashCode()
Returns an integer hash code for this object.
AuthScope
hashCode()
Returns the hashcode of the type only.
AuthenticatorDescription
hashCode()
Returns an integer hash code for this object.
BasicHeaderElement
hashCode()
Returns an integer hash code for this object.
BasicNameValuePair
hashCode()
Returns the hash code value for this BasicPermission.
BasicPermission
hashCode()
Returns an integer hash code for this object.
BasicUserPrincipal
hashCode()
Returns a hash code for this BigDecimal.
BigDecimal
hashCode()
Returns a hash code for this BigInteger.
BigInteger
hashCode()
Computes the hash code for this BitSet.
BitSet
hashCode()
Returns an integer hash code for this object.
BluetoothClass
hashCode()
Returns an integer hash code for this object.
BluetoothDevice
hashCode()
Returns an integer hash code for this boolean.
Boolean
hashCode()
Returns an integer hash code for this object.
Byte
hashCode()
Calculates this buffer's hash code from the remaining chars.
ByteBuffer
hashCode()
Returns an integer hash code for the receiver.
Calendar
hashCode()
Returns an integer hash code for this object.
CdmaCellLocation
hashCode()
Overrides Object.hashCode().
CertPath
hashCode()
Returns an integer hash code for the receiver.
Certificate
hashCode()
Returns an integer hash code for the certificate.
Certificate
hashCode()
Calculates this buffer's hash code from the remaining chars.
CharBuffer
hashCode()
Returns an integer hash code for this object.
Character
hashCode()
Returns the integer hash code for this character subset.
Character.Subset
hashCode()
Gets the hash code of this charset.
Charset
hashCode()
Returns an integer hash code for the receiver.
ChoiceFormat
hashCode()
Returns the hash code value for this CodeSigner.
CodeSigner
hashCode()
Returns the hash code value for this CodeSource.
CodeSource
hashCode()
Returns an integer hash code for the receiver.
CollationKey
hashCode()
Returns an integer hash code for this collator.
Collator
hashCode()
Returns an integer hash code for the receiver.
Collection
hashCode()
Returns an integer hash code for this object.
ComponentName
hashCode()
Returns an integer hash code for this object.
Configuration
hashCode()
Returns an integer hash code for this constructor.
Constructor
hashCode()
Returns an integer hash code for this object.
ContentValues
hashCode()
Returns the hash code value for this list.
CopyOnWriteArrayList
hashCode()
Returns an integer hash code for the receiver.
Date
hashCode()
Returns an integer hash code for this object.
DateFormat
hashCode()
Returns an integer hash code for this object.
DateFormatSymbols
hashCode()
Returns an integer hash code for this object.
DecimalFormat
hashCode()
Returns an integer hash code for this object.
DecimalFormatSymbols
hashCode()
Returns an integer hash code for this object.
Double
hashCode()
Calculates this buffer's hash code from the remaining chars.
DoubleBuffer
hashCode()
Returns the hashcode value for this finite field.
ECFieldF2m
hashCode()
Returns the hashcode value for this finite field.
ECFieldFp
hashCode()
Returns the hashcode of this elliptic curve point.
ECPoint
hashCode()
Returns the hashcode of this elliptic curve.
EllipticCurve
hashCode()
Returns an integer hash code for this object.
Enum
hashCode()
Returns an integer hash code for this field.
Field
hashCode()
Returns an integer hash code for this object.
FieldPosition
hashCode()
Returns an integer hash code for the receiver.
File
hashCode()
Calculates the hash code value for this file permission.
FilePermission
hashCode()
Returns an integer hash code for this object.
Float
hashCode()
Calculates this buffer's hash code from the remaining chars.
FloatBuffer
hashCode()
Returns an integer hash code for the receiver.
GregorianCalendar
hashCode()
Returns an integer hash code for this object.
GsmCellLocation
hashCode()
Returns an integer hash code for this object.
Hashtable
hashCode()
Returns an integer hash code for this object.
HttpHost
hashCode()
Generates a hash code for this route.
HttpRoute
hashCode()
Returns the hash code value for this Identity.
Identity
hashCode()
Gets the hashcode of the represented IP address.
InetAddress
hashCode()
Gets the hashcode of this socket.
InetSocketAddress
hashCode()
Calculates this buffer's hash code from the remaining chars.
IntBuffer
hashCode()
Returns an integer hash code for this object.
Integer
hashCode()
Returns an integer hash code for this object.
Intent.FilterComparison
hashCode()
Returns an integer hash code for this object.
IntentSender
hashCode()
Returns the hash code of this Level object.
Level
hashCode()
Returns the hash code for this List.
List
hashCode()
Returns an integer hash code for the receiver.
Locale
hashCode()
Returns an integer hash code for this object.
Long
hashCode()
Calculates this buffer's hash code from the remaining chars.
LongBuffer
hashCode()
Returns the hash code for this instance.
Manifest
hashCode()
Returns an integer hash code for the receiver.
Map
hashCode()
Returns an integer hash code for the receiver.
Map.Entry
hashCode()
Returns the hash code for this MathContext instance.
MathContext
hashCode()
Returns an integer hash code for this object.
MessageFormat
hashCode()
Returns an integer hash code for this object.
Messenger
hashCode()
Returns an integer hash code for this method.
Method
hashCode()
Obtains a hash code for this object.
MultihomePlainSocketFactory
hashCode()
Returns an integer hash code for this object.
NTCredentials
hashCode()
Returns an integer hash code for this object.
NTUserPrincipal
hashCode()
Gets the hashcode for this NetworkInterface instance.
NetworkInterface
hashCode()
Returns an integer hash code for this object.
NumberFormat
hashCode()
Returns a hash code of this NumericShaper.
NumericShaper
hashCode()
Returns an integer hash code for this object.
Object
hashCode()
Returns an integer hash code for this object.
Package
hashCode()
Compute a hash code using the hash codes of the underlying objects
Pair
hashCode()
Returns an integer hash code for this object.
ParcelUuid
hashCode()
Returns an integer hash code for this object.
ParsePosition
hashCode()
Returns an integer hash code for this object.
PendingIntent
hashCode()
Returns the hash code value for this Permission.
Permission
hashCode()
Obtains a hash code for this object.
PlainSocketFactory
hashCode()
Returns an integer hash code for this object.
Point
hashCode()
Returns the hash code value for this Principal.
Principal
hashCode()
Returns the hash code value for this Permission.
PrivateCredentialPermission
hashCode()
Returns an integer hash code for the receiver.
PropertyPermission
hashCode()
Obtains a hash code consistent with equals(Object).
ProtocolVersion
hashCode()
Gets the hashcode for this Proxy instance.
Proxy
hashCode()
Returns the hash code of this RC2ParameterSpec instance.
RC2ParameterSpec
hashCode()
Returns the hash code of this RC5ParameterSpec instance.
RC5ParameterSpec
hashCode()
Returns an integer hash code for this object.
Rfc822Token
hashCode()
Generates a hash code for this tracked route.
RouteTracker
hashCode()
Returns an integer hash code for this collator.
RuleBasedCollator
hashCode()
Obtains a hash code for this scheme.
Scheme
hashCode()
Returns the hash code of this SecretKeySpec object.
SecretKeySpec
hashCode()
Returns an integer hash code for this object.
ServiceState
hashCode()
Returns the hash code for this set.
Set
hashCode()
Returns an integer hash code for this object.
Short
hashCode()
Calculates this buffer's hash code from the remaining chars.
ShortBuffer
hashCode()
Returns an integer hash code for this object.
Signature
hashCode()
Returns an integer hash code for this object.
SimpleDateFormat
hashCode()
Returns an integer hash code for the receiver.
SimpleTimeZone
hashCode()
Returns the hash value for this SocketPermission instance.
SocketPermission
hashCode()
Returns an integer hash code for this object.
StackTraceElement
hashCode()
Returns an integer hash code for this object.
String
hashCode()
Returns an integer hash code for this object.
StringCharacterIterator
hashCode()
Returns a hash code of this Subject.
Subject
hashCode()
Returns an integer hash code for this object.
SyncAdapterType
hashCode()
Returns an integer hash code for this object.
TestMethod
hashCode()
Returns the hash code value for this Timestamp.
Timestamp
hashCode()
Gets the hashcode value of this URI instance.
URI
hashCode()
Gets the hashcode value of this URL instance.
URL
hashCode()

Returns a hash value for this UUID that is consistent with the equals(Object) method.

UUID
hashCode()
Returns the hash code value for this UnresolvedPermission.
UnresolvedPermission
hashCode()
Hashes the encoded string represention of this Uri consistently with equals(Object).
Uri
hashCode()
Returns an integer hash code for this object.
UsernamePasswordCredentials
hashCode()
Returns an integer hash code for the receiver.
Vector
hashCode()
Returns an integer hash code for this object.
X500Principal
hashCode()
Returns the hashcode of this CRL instance.
X509CRL
hashCode()
Returns the hashcode of this instance.
X509CRLEntry
hashCode()
Returns the hash code for this ZipEntry.
ZipEntry
hashCode(boolean[] array)
Returns a hash code based on the contents of the given array.
Arrays
hashCode(byte[] array)
Returns a hash code based on the contents of the given array.
Arrays
hashCode(char[] array)
Returns a hash code based on the contents of the given array.
Arrays
hashCode(double[] array)
Returns a hash code based on the contents of the given array.
Arrays
hashCode(float[] array)
Returns a hash code based on the contents of the given array.
Arrays
hashCode(int seed, boolean b)
LangUtils
hashCode(int seed, int hashcode)
LangUtils
hashCode(int seed, Object obj)
LangUtils
hashCode(int[] array)
Returns a hash code based on the contents of the given array.
Arrays
hashCode(Object[] array)
Returns a hash code based on the contents of the given array.
Arrays
hashCode(URL url)
Returns the hashcode value for the given URL object.
URLStreamHandler
(protected)
hashCode(long[] array)
Returns a hash code based on the contents of the given array.
Arrays
hashCode(short[] array)
Returns a hash code based on the contents of the given array.
Arrays
HashMap()
Constructs a new empty HashMap instance.
HashMap
HashMap(int capacity)
Constructs a new HashMap instance with the specified capacity.
HashMap
HashMap(int capacity, float loadFactor)
Constructs a new HashMap instance with the specified capacity and load factor.
HashMap
HashMap(Map<? extends K, ? extends V> map)
Constructs a new HashMap instance containing the mappings from the specified map.
HashMap
HashSet()
Constructs a new empty instance of HashSet.
HashSet
HashSet(int capacity)
Constructs a new instance of HashSet with the specified capacity.
HashSet
HashSet(int capacity, float loadFactor)
Constructs a new instance of HashSet with the specified capacity and load factor.
HashSet
HashSet(Collection<? extends E> collection)
Constructs a new instance of HashSet containing the unique elements in the specified collection.
HashSet
Hashtable()
Constructs a new Hashtable using the default capacity and load factor.
Hashtable
Hashtable(int capacity)
Constructs a new Hashtable using the specified capacity and the default load factor.
Hashtable
Hashtable(int capacity, float loadFactor)
Constructs a new Hashtable using the specified capacity and load factor.
Hashtable
Hashtable(Map<? extends K, ? extends V> map)
Constructs a new instance of Hashtable containing the mappings from the specified map.
Hashtable
hasHttpAuthUsernamePassword()
Find out if there are any HTTP authentication passwords saved.
WebViewDatabase
HASH_OFFSET
int
LangUtils
HASH_SEED
int
LangUtils
hasIccCard()
TelephonyManager
hasKey()
Checks whether this Preference has a valid key.
Preference
hasLatitude()
Returns true if a latitude has been assigned to this Address, false otherwise.
Address
hasListeners(String propertyName)
Returns true if there are listeners registered to the property with the given name.
PropertyChangeSupport
hasLongitude()
Returns true if a longitude has been assigned to this Address, false otherwise.
Address
hasMessages(int what)
Check if there are any pending posts of messages with code 'what' in the message queue.
Handler
hasMessages(int what, Object object)
Check if there are any pending posts of messages with code 'what' and whose obj is 'object' in the message queue.
Handler
hasMimeType(String mimeType)
Return true if the given MIME type has an entry in the map.
MimeTypeMap
hasMonetaryCost()
Returns true if the use of this provider may result in a monetary charge to the user, false if use is free.
LocationProvider
hasMoreElements()
Returns whether this Enumeration has more elements.
Enumeration
hasMoreElements()
Returns true if unprocessed tokens remain.
StringTokenizer
hasMoreTokens()
Returns true if unprocessed tokens remain.
StringTokenizer
hasNext()
Indicates whether there is another header element in this iteration.
BasicHeaderElementIterator
hasNext()
Indicates whether there is another header in this iteration.
BasicHeaderIterator
hasNext()
Indicates whether there is another header in this iteration.
BasicListHeaderIterator
hasNext()
Indicates whether there is another token in this iteration.
BasicTokenIterator
hasNext()
Returns whether or not there are more rows to compare using next().
CursorJoiner
hasNext()
Indicates whether there is another header element in this iteration.
HeaderElementIterator
hasNext()
Indicates whether there is another header in this iteration.
HeaderIterator
hasNext()
Returns whether there are more elements to iterate, i.e.
Iterator
hasNext()
Returns whether there are more elements to iterate.
ListIterator
hasNext()
Returns whether this Scanner has one or more tokens remaining to parse.
Scanner
hasNext()
Returns whether there are more elements to iterate, i.e.
TextUtils.SimpleStringSplitter
hasNext()
Indicates whether there is another token in this iteration.
TokenIterator
hasNext(String pattern)
Returns true if this Scanner has one or more tokens remaining to parse and the next token matches a pattern compiled from the given string.
Scanner
hasNext(Pattern pattern)
Returns whether this Scanner has one or more tokens remaining to parse and the next token matches the given pattern.
Scanner
hasNextBigDecimal()
Returns whether the next token can be translated into a valid BigDecimal.
Scanner
hasNextBigInteger()
Returns whether the next token can be translated into a valid BigInteger in the default radix.
Scanner
hasNextBigInteger(int radix)
Returns whether the next token can be translated into a valid BigInteger in the specified radix.
Scanner
hasNextBoolean()
Returns whether the next token can be translated into a valid boolean value.
Scanner
hasNextByte()
Returns whether the next token can be translated into a valid byte value in the default radix.
Scanner
hasNextByte(int radix)
Returns whether the next token can be translated into a valid byte value in the specified radix.
Scanner
hasNextDouble()
Returns whether the next token translated into a valid double value.
Scanner
hasNextFloat()
Returns whether the next token can be translated into a valid float value.
Scanner
hasNextInt()
Returns whether the next token can be translated into a valid int value in the default radix.
Scanner
hasNextInt(int radix)
Returns whether the next token can be translated into a valid int value in the specified radix.
Scanner
hasNextLine()
Returns whether there is a line terminator in the input.
Scanner
hasNextLong()
Returns whether the next token can be translated into a valid long value in the default radix.
Scanner
hasNextLong(int radix)
Returns whether the next token can be translated into a valid long value in the specified radix.
Scanner
hasNextShort()
Returns whether the next token can be translated into a valid short value in the default radix.
Scanner
hasNextShort(int radix)
Returns whether the next token can be translated into a valid short value in the specified radix.
Scanner
hasParameter(String parameter)
Check if a parameter exists in the current sanitized query.
UrlQuerySanitizer
hasPrevious()
Returns whether there are previous elements to iterate.
ListIterator
hasProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor)
Checks whether there likely is a protocol version in a line.
BasicLineParser
hasProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor)
Checks whether there likely is a protocol version in a line.
LineParser
hasQueuedThread(Thread thread)
Queries whether the given thread is waiting to acquire this lock.
ReentrantLock
hasQueuedThread(Thread thread)
Queries whether the given thread is waiting to acquire either the read or write lock.
ReentrantReadWriteLock
hasQueuedThreads()
Queries whether any threads are waiting to acquire.
AbstractQueuedSynchronizer
hasQueuedThreads()
Queries whether any threads are waiting to acquire this lock.
ReentrantLock
hasQueuedThreads()
Queries whether any threads are waiting to acquire the read or write lock.
ReentrantReadWriteLock
hasQueuedThreads()
Queries whether any threads are waiting to acquire.
Semaphore
hasRemaining()
Indicates if there are elements remaining in this buffer, that is if position .
Buffer
hasSameRules(TimeZone zone)
Returns whether the specified TimeZone has the same raw offset as this TimeZone.
SimpleTimeZone
hasSameRules(TimeZone zone)
Returns whether the specified TimeZone has the same raw offset as this TimeZone.
TimeZone
hasSelection()
Return true iff there is a selection inside this text view.
TextView
hasService(int service)
Return true if the specified service class is supported by this class.
BluetoothClass
hasSoftError()
SyncResult
hasSoftInputMode()
Has the app specified their own soft input mode?
Window
(protected)
hasSpeed()
Returns true if this fix contains speed information, false otherwise.
Location
hasStableIds()
Indicated whether the item ids are stable across changes to the underlying data.
Adapter
hasStableIds()
Indicated whether the item ids are stable across changes to the underlying data.
BaseAdapter
hasStableIds()
Indicated whether the item ids are stable across changes to the underlying data.
CursorAdapter
hasStableIds()
CursorTreeAdapter
hasStableIds()
Indicates whether the child and group IDs are stable across changes to the underlying data.
ExpandableListAdapter
hasStableIds()
Indicated whether the item ids are stable across changes to the underlying data.
HeaderViewListAdapter
hasStableIds()
SimpleExpandableListAdapter
hasStarted()

Indicates whether this animation has started or not.

Animation
hasSubMenu()
Check whether this item has an associated sub-menu.
MenuItem
hasSystemFeature(String name)
Check whether the given feature name is one of the available features as returned by getSystemAvailableFeatures().
MockPackageManager
hasSystemFeature(String name)
Check whether the given feature name is one of the available features as returned by getSystemAvailableFeatures().
PackageManager
hasText()
Returns true if the clipboard contains text; false otherwise.
ClipboardManager
hasTextFilter()
Returns if the ListView currently has a text filter.
AbsListView
hasThread()
Checks whether there is a waiting thread in this pool.
RouteSpecificPool
hasThumbnail()
Returns true if the JPEG file has a thumbnail.
ExifInterface
hasTransparentBounds()
Indicates whether this matcher has transparent bounds enabled.
Matcher
hasUnsupportedCriticalExtension()
Returns whether this instance has an extension marked as CRITICAL that it cannot support.
X509Extension
hasUsernamePassword()
Find out if there are any passwords saved.
WebViewDatabase
hasValue(int index)
Determines whether there is an attribute at index.
TypedArray
hasVerticalScrollBar()
Return true if the edit text is currently showing a scroll bar.
ExtractEditText
hasVisibleItems()
Return whether the menu currently has item items that are visible.
Menu
hasWaiters()
Queries whether any threads are waiting on this condition.
AbstractQueuedSynchronizer.ConditionObject
(protected)
hasWaiters(AbstractQueuedSynchronizer.ConditionObject condition)
Queries whether any threads are waiting on the given condition associated with this synchronizer.
AbstractQueuedSynchronizer
hasWaiters(Condition condition)
Queries whether any threads are waiting on the given condition associated with this lock.
ReentrantLock
hasWaiters(Condition condition)
Queries whether any threads are waiting on the given condition associated with the write lock.
ReentrantReadWriteLock
hasWindow()
AbstractWindowedCursor
hasWindowFocus()
Returns true if this activity's main window currently has window focus.
Activity
hasWindowFocus()
Pretend like the window this view is in always has focus, so its highlight and cursor will be displayed.
ExtractEditText
hasWindowFocus()
Returns true if this view is in a window that currently has window focus.
View
HAS_ALPHA_LAYER_SAVE_FLAG
the layer needs to per-pixel alpha
int
Canvas
HAS_PHONE_NUMBER
An indicator of whether this contact has at least one phone number.
ContactsContract.ContactsColumns
headerBackground
Default background for the menu header.
int
R.attr
headerDividersEnabled
When set to false, the ListView will not draw the divider after each header view.
int
R.attr
HeaderGroup()
Constructor for HeaderGroup.
HeaderGroup
headerIterator()
Returns an iterator of all the headers.
AbstractHttpMessage
headerIterator()
Returns an iterator of all the headers.
HttpMessage
headerIterator(String name)
Returns an iterator of the headers with a given name.
AbstractHttpMessage
headerIterator(String name)
Returns an iterator of the headers with a given name.
HttpMessage
HeaderViewListAdapter(ArrayList<ListView.FixedViewInfo> headerViewInfos, ArrayList<ListView.FixedViewInfo> footerViewInfos, ListAdapter adapter)
HeaderViewListAdapter
headMap(K endKey)
Returns a sorted map over a range of this sorted map with all keys that are less than the specified endKey.
SortedMap
headMap(K endKey)
Returns a sorted map over a range of this sorted map with all keys that are less than the specified endKey.
TreeMap
headSet(E end)
Returns a SortedSet of the specified portion of this SortedSet which contains elements less than the end element.
SortedSet
headSet(E end)
Returns a SortedSet of the specified portion of this TreeSet which contains elements which are all less than the end element.
TreeSet
HEALTH
int
BluetoothClass.Device.Major
HEALTH_BLOOD_PRESSURE
int
BluetoothClass.Device
HEALTH_DATA_DISPLAY
int
BluetoothClass.Device
HEALTH_GLUCOSE
int
BluetoothClass.Device
HEALTH_PULSE_OXIMETER
int
BluetoothClass.Device
HEALTH_PULSE_RATE
int
BluetoothClass.Device
HEALTH_THERMOMETER
int
BluetoothClass.Device
HEALTH_UNCATEGORIZED
int
BluetoothClass.Device
HEALTH_WEIGHING
int
BluetoothClass.Device
HEBREW
The "Hebrew" Unicode Block.
Character.UnicodeBlock
HEIGHT
The height of the thumbnail

Type: INTEGER (long)

MediaStore.Images.Thumbnails
HEIGHT
The height of the thumbnail

Type: INTEGER (long)

MediaStore.Video.Thumbnails
height
Makes the TextView be exactly this many pixels tall.
int
R.attr
height()
Movie
height()
Rect
height()
RectF
HEX_INPUT
This private-use character is used to trigger Unicode character input by hex digits.
char
KeyCharacterMap
HIDDEN
Surface is created hidden
int
Surface
hide()
Hide the dialog, but do not dismiss it.
Dialog
hide()
Remove the controller from the screen.
MediaController
hide()
Surface
hide()
ZoomControls
HideReturnsTransformationMethod()
HideReturnsTransformationMethod
hideSoftInput(int flags, ResultReceiver resultReceiver)
Request that any soft input part of the input method be hidden from the user.
InputMethod
hideSoftInput(int flags, ResultReceiver resultReceiver)
Handle a request by the system to hide the soft input area.
InputMethodService.InputMethodImpl
hideSoftInputFromInputMethod(IBinder token, int flags)
Close/hide the input method's soft input area, so the user no longer sees it or can interact with it.
InputMethodManager
hideSoftInputFromWindow(IBinder windowToken, int flags)
Synonym for {@link #hideSoftInputFromWindow(IBinder, int, ResultReceiver) without a result: request to hide the soft input window from the context of the window that is currently accepting input.
InputMethodManager
hideSoftInputFromWindow(IBinder windowToken, int flags, ResultReceiver resultReceiver)
Request to hide the soft input window from the context of the window that is currently accepting input.
InputMethodManager
hideStatusIcon()
InputMethodService
hideStatusIcon(IBinder imeToken)
InputMethodManager
hideWindow()
InputMethodService
HIDE_IMPLICIT_ONLY
Flag for hideSoftInputFromWindow(IBinder, int) to indicate that the soft input window should only be hidden if it was not explicitly shown by the user.
int
InputMethodManager
HIDE_NOT_ALWAYS
Flag for hideSoftInputFromWindow(IBinder, int) to indicate that the soft input window should normally be hidden, unless it was originally shown with SHOW_FORCED.
int
InputMethodManager
HIERARCHY_REQUEST_ERR
If any node is inserted somewhere it doesn't belong
short
DOMException
highestOneBit(int i)
Determines the highest (leftmost) bit of the specified integer that is 1 and returns the bit mask value for that bit.
Integer
highestOneBit(long lng)
Determines the highest (leftmost) bit of the specified long value that is 1 and returns the bit mask value for that bit.
Long
HIGH_PRIVATE_USE_SURROGATES
The "High Private Use Surrogates" Unicode Block.
Character.UnicodeBlock
HIGH_SURROGATES
The "High Surrogates" Unicode Block.
Character.UnicodeBlock
hint
Hint text to display when the text is empty.
int
R.attr
hint
int
R.id
HIRAGANA
The "Hiragana" Unicode Block.
Character.UnicodeBlock
HISTORY_PROJECTION
Browser
HISTORY_PROJECTION_BOOKMARK_INDEX
int
Browser
HISTORY_PROJECTION_DATE_INDEX
int
Browser
HISTORY_PROJECTION_FAVICON_INDEX
int
Browser
HISTORY_PROJECTION_ID_INDEX
int
Browser
HISTORY_PROJECTION_TITLE_INDEX
int
Browser
HISTORY_PROJECTION_URL_INDEX
int
Browser
HISTORY_PROJECTION_VISITS_INDEX
int
Browser
hitEnd()
Indicates whether the last match hit the end of the input.
Matcher
holdsLock(Object object)
Indicates whether the current Thread has a monitor lock on the specified object.
Thread
HOLD_CURSORS_OVER_COMMIT
A constant used to indicate that a ResultSet object must not be closed when the method Connection.commit is invoked.
int
ResultSet
HORIZONTAL
int
ClipDrawable
HORIZONTAL
int
LinearLayout
horizontalDivider
Default horizontal divider between rows of menu items.
int
R.attr
horizontalGap
Default horizontal gap between keys

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

int
R.attr
HorizontalScrollView(Context context)
HorizontalScrollView
HorizontalScrollView(Context context, AttributeSet attrs)
HorizontalScrollView
HorizontalScrollView(Context context, AttributeSet attrs, int defStyle)
HorizontalScrollView
horizontalSpacing

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

int
R.attr
HORIZONTAL_GRAVITY_MASK
Binary mask to get the horizontal gravity of a gravity.
int
Gravity
HOST
Build
host
Specify a URI authority host that is handled, as per IntentFilter.addDataAuthority().
int
R.attr
hostsEqual(URL url1, URL url2)
Compares two URL objects whether they refer to the same host.
URLStreamHandler
(protected)
HOUR
Field number for get and set indicating the hour of the morning or afternoon.
int
Calendar
HOUR
This designator indicates the hour of the day in 12 hour format.
char
DateFormat
HOUR
int
Time
HOUR0
Marks the hour part of a date (0-11).
DateFormat.Field
HOUR0_FIELD
The FieldPosition selector for 'z' field alignment, corresponds to the ZONE_OFFSET and DST_OFFSET fields.
int
DateFormat
HOUR1
Marks the hour part of a date (1-12).
DateFormat.Field
HOUR1_FIELD
FieldPosition selector for 'h' field alignment, corresponding to the HOUR field.
int
DateFormat
HOUR_IN_MILLIS
long
DateUtils
HOUR_MINUTE_24
This is not actually the preferred 24-hour date format in all locales.
DateUtils
HOUR_OF_DAY
Field number for get and set indicating the hour of the day.
int
Calendar
HOUR_OF_DAY
This designator indicates the hour of the day in 24 hour format.
char
DateFormat
HOUR_OF_DAY0
Marks the hour of the day part of a date (0-11).
DateFormat.Field
HOUR_OF_DAY0_FIELD
The FieldPosition selector for 'H' field alignment, corresponds to the HOUR_OF_DAY field.
int
DateFormat
HOUR_OF_DAY1
Marks the hour of the day part of a date (1-12).
DateFormat.Field
HOUR_OF_DAY1_FIELD
The FieldPosition selector for 'k' field alignment, corresponds to the HOUR_OF_DAY field.
int
DateFormat
HSVToColor(float[] hsv)
Convert HSV components to an ARGB color.
Color
HSVToColor(int alpha, float[] hsv)
Convert HSV components to an ARGB color.
Color
HT
int
HTTP
htmlEncode(String s)
Html-encode the string.
TextUtils
HTTP
The protocol name.
HttpVersion
HttpAbstractParamBean(HttpParams params)
HttpAbstractParamBean
HttpConnectionMetricsImpl(HttpTransportMetrics inTransportMetric, HttpTransportMetrics outTransportMetric)
HttpConnectionMetricsImpl
HttpConnectionParamBean(HttpParams params)
HttpConnectionParamBean
HttpDateGenerator()
HttpDateGenerator
HttpDelete()
HttpDelete
HttpDelete(String uri)
HttpDelete
HttpDelete(URI uri)
HttpDelete
HttpEntityEnclosingRequestBase()
HttpEntityEnclosingRequestBase
HttpEntityWrapper(HttpEntity wrapped)
Creates a new entity wrapper.
HttpEntityWrapper
httpErrorBadUrl
Displayed when a web request failed because the URL isn't in a valid form.
int
R.string
httpErrorUnsupportedScheme
Displayed when a web request failed because the protocol of the server is not supported.
int
R.string
HttpException()
Creates a new HttpException with a null detail message.
HttpException
HttpException(String message)
Creates a new HttpException with the specified detail message.
HttpException
HttpException(String message, Throwable cause)
Creates a new HttpException with the specified detail message and cause.
HttpException
HttpGet()
HttpGet
HttpGet(String uri)
HttpGet
HttpGet(URI uri)
HttpGet
HttpHead()
HttpHead
HttpHead(String uri)
HttpHead
HttpHead(URI uri)
HttpHead
HttpHost(String hostname)
Creates a new HttpHost, with default scheme and port.
HttpHost
HttpHost(String hostname, int port)
Creates a new HttpHost, with default scheme.
HttpHost
HttpHost(String hostname, int port, String scheme)
Creates a new HttpHost, specifying all values.
HttpHost
HttpHost(HttpHost httphost)
Copy constructor for HttpHost.
HttpHost
HttpHostConnectException(HttpHost host, ConnectException cause)
HttpHostConnectException
HttpOptions()
HttpOptions
HttpOptions(String uri)
HttpOptions
HttpOptions(URI uri)
HttpOptions
HttpPost()
HttpPost
HttpPost(String uri)
HttpPost
HttpPost(URI uri)
HttpPost
HttpProtocolParamBean(HttpParams params)
HttpProtocolParamBean
HttpPut()
HttpPut
HttpPut(String uri)
HttpPut
HttpPut(URI uri)
HttpPut
HttpRequestBase()
HttpRequestBase
HttpRequestExecutor()
Create a new request executor.
HttpRequestExecutor
HttpRequestHandlerRegistry()
HttpRequestHandlerRegistry
HttpRequestParser(SessionInputBuffer buffer, LineParser parser, HttpRequestFactory requestFactory, HttpParams params)
HttpRequestParser
HttpRequestWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)
HttpRequestWriter
HttpResponseException(int statusCode, String s)
HttpResponseException
HttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)
HttpResponseParser
HttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)
HttpResponseWriter
HttpRetryException(String detail, int code)
Creates a new HttpRetryException instance with the specified response code and the given detail message.
HttpRetryException
HttpRetryException(String detail, int code, String location)
Creates a new HttpRetryException instance with the specified response code, the given detail message and the value of the location field from the response header.
HttpRetryException
HttpRoute(HttpHost target)
Creates a new direct insecure route.
HttpRoute
HttpRoute(HttpHost target, InetAddress local, boolean secure)
Creates a new direct route.
HttpRoute
HttpRoute(HttpHost target, InetAddress local, HttpHost proxy, boolean secure)
Creates a new route through a proxy.
HttpRoute
HttpRoute(HttpHost target, InetAddress local, HttpHost proxy, boolean secure, RouteInfo.TunnelType tunnelled, RouteInfo.LayerType layered)
Creates a new route with at most one proxy.
HttpRoute
HttpRoute(HttpHost target, InetAddress local, HttpHost[] proxies, boolean secure, RouteInfo.TunnelType tunnelled, RouteInfo.LayerType layered)
Creates a new route with all attributes specified explicitly.
HttpRoute
HttpService(HttpProcessor proc, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory)
Create a new HTTP service.
HttpService
HttpTrace()
HttpTrace
HttpTrace(String uri)
HttpTrace
HttpTrace(URI uri)
HttpTrace
HttpTransportMetricsImpl()
HttpTransportMetricsImpl
HttpVersion(int major, int minor)
Create an HTTP protocol version designator.
HttpVersion
HTTP_0_9
HTTP protocol version 0.9
HttpVersion
HTTP_1_0
HTTP protocol version 1.0
HttpVersion
HTTP_1_1
HTTP protocol version 1.1
HttpVersion
HTTP_ACCEPTED
Numeric status code, 202: Accepted
int
HttpURLConnection
HTTP_BAD_GATEWAY
Numeric status code, 502: Bad Gateway
int
HttpURLConnection
HTTP_BAD_METHOD
Numeric status code, 405: Bad Method
int
HttpURLConnection
HTTP_BAD_REQUEST
Numeric status code, 400: Bad Request
int
HttpURLConnection
HTTP_CLIENT_TIMEOUT
Numeric status code, 408: Client Timeout
int
HttpURLConnection
HTTP_CONFLICT
Numeric status code, 409: Conflict
int
HttpURLConnection
HTTP_CONNECTION
ExecutionContext
HTTP_CONTENT_CHARSET
Defines the charset to be used per default for encoding content body.
CoreProtocolPNames
HTTP_CREATED
Numeric status code, 201: Created
int
HttpURLConnection
HTTP_ELEMENT_CHARSET
Defines the charset to be used for encoding HTTP protocol elements.
CoreProtocolPNames
HTTP_ENTITY_TOO_LARGE
Numeric status code, 413: Entity too large
int
HttpURLConnection
HTTP_FORBIDDEN
Numeric status code, 403: Forbidden
int
HttpURLConnection
HTTP_GATEWAY_TIMEOUT
Numeric status code, 504: Gateway timeout
int
HttpURLConnection
HTTP_GONE
Numeric status code, 410: Gone
int
HttpURLConnection
HTTP_INTERNAL_ERROR
Numeric status code, 500: Internal error
int
HttpURLConnection
HTTP_LENGTH_REQUIRED
Numeric status code, 411: Length required
int
HttpURLConnection
HTTP_MOVED_PERM
Numeric status code, 301 Moved permanently
int
HttpURLConnection
HTTP_MOVED_TEMP
Numeric status code, 302: Moved temporarily
int
HttpURLConnection
HTTP_MULT_CHOICE
Numeric status code, 300: Multiple choices
int
HttpURLConnection
HTTP_NOT_ACCEPTABLE
Numeric status code, 406: Not acceptable
int
HttpURLConnection
HTTP_NOT_AUTHORITATIVE
Numeric status code, 203: Not authoritative
int
HttpURLConnection
HTTP_NOT_FOUND
Numeric status code, 404: Not found
int
HttpURLConnection
HTTP_NOT_IMPLEMENTED
Numeric status code, 501: Not implemented
int
HttpURLConnection
HTTP_NOT_MODIFIED
Numeric status code, 304: Not modified
int
HttpURLConnection
HTTP_NO_CONTENT
Numeric status code, 204: No content
int
HttpURLConnection
HTTP_OK
Numeric status code, 200: OK
int
HttpURLConnection
HTTP_PARTIAL
Numeric status code, 206: Partial
int
HttpURLConnection
HTTP_PAYMENT_REQUIRED
Numeric status code, 402: Payment required
int
HttpURLConnection
HTTP_PRECON_FAILED
Numeric status code, 412: Precondition failed
int
HttpURLConnection
HTTP_PROXY
Host name and port for a user-selected proxy.
Settings.Secure
HTTP_PROXY
This constant is deprecated. Use HTTP_PROXY instead
Settings.System
HTTP_PROXY_AUTH
Numeric status code, 407: Proxy authentication required
int
HttpURLConnection
HTTP_PROXY_HOST
ExecutionContext
HTTP_REQUEST
ExecutionContext
HTTP_REQ_SENT
ExecutionContext
HTTP_REQ_TOO_LONG
Numeric status code, 414: Request too long
int
HttpURLConnection
HTTP_RESET
Numeric status code, 205: Reset
int
HttpURLConnection
HTTP_RESPONSE
ExecutionContext
HTTP_SEE_OTHER
Numeric status code, 303: See other
int
HttpURLConnection
HTTP_SEPARATORS
The HTTP separator characters.
BasicTokenIterator
HTTP_SERVER_ERROR
This constant is deprecated. Use HTTP_INTERNAL_ERROR
int
HttpURLConnection
HTTP_TARGET_HOST
ExecutionContext
HTTP_UNAUTHORIZED
Numeric status code, 401: Unauthorized
int
HttpURLConnection
HTTP_UNAVAILABLE
Numeric status code, 503: Unavailable
int
HttpURLConnection
HTTP_UNSUPPORTED_TYPE
Numeric status code, 415: Unsupported type
int
HttpURLConnection
HTTP_USE_PROXY
Numeric status code, 305: Use proxy
int
HttpURLConnection
HTTP_VERSION
Numeric status code, 505: Version not supported
int
HttpURLConnection
HUFFMAN_ONLY
Possible value for compression strategy.
int
Deflater
hypot(double x, double y)
Returns sqrt(x2+ y2).
Math
hypot(double x, double y)
Returns sqrt(x2+ y2).
StrictMath