Method Index: B - Android SDK | Android Developers

- Home Startseite ホーム 主页 首頁
- SDK
- Dev Guide Handbuch Guía Guide Guida 開発ガイド 开发人员指南 開發指南
- Reference Referenz Referencia Référence Riferimento リファレンス 参考 參考資料
- Blog ブログ 博客 網誌
- Videos ビデオ
- Community Comunidad Communauté コミュニティ 社区 社群

Android.com

Filter by API Level:

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

## B

back() Back up one character. | JSONTokener
background A drawable to use as the background. int | R.attr
background int | R.id
BACKGROUND The BACKGROUND text attribute. TextAttribute | TextAttribute
BackgroundColorSpan(Parcel src) | BackgroundColorSpan
BackgroundColorSpan(int color) | BackgroundColorSpan
backgroundDimAmount Default background dim amount when a menu, dialog, or something similar pops up. int | R.attr
backgroundDimEnabled Control whether dimming behind the window is enabled. int | R.attr
background_dark int | R.color
BACKGROUND_DATA Whether background data usage is allowed by the user. String | Settings.Secure
background_light int | R.color
BackingStoreException(String s) Constructs a new `BackingStoreException` instance with a detailed exception message. | BackingStoreException
BackingStoreException(Throwable t) Constructs a new `BackingStoreException` instance with a nested `Throwable`. | BackingStoreException
backspace(View view, Editable content, int keyCode, KeyEvent event) Performs the action that happens when you press the DEL key in a TextView. | BaseKeyListener
backupAgent The name of the class implementing `BackupAgent` to manage backup and restore of the application's settings to external storage. int | R.attr
BadPaddingException() Creates a new instance of `BadPaddingException` with no message. | BadPaddingException
BadPaddingException(String msg) Creates a new instance of `BadPaddingException` with a message. | BadPaddingException
BadParcelableException(Exception cause) | BadParcelableException
BadParcelableException(String msg) | BadParcelableException
BASE October 2008: The original, first, version of Android. int | Build.VERSION_CODES
BaseAdapter() | BaseAdapter
BaseExpandableListAdapter() | BaseExpandableListAdapter
BaseInputConnection(View targetView, boolean fullEditor) | BaseInputConnection
baseIsLeftToRight() Returns whether the base level is from left to right. | Bidi
BaseKeyListener() | BaseKeyListener
baselineAlignBottom If true, the image view will be baseline aligned with based on its bottom edge Must be a boolean value, either "`true`" or "`false`". int | R.attr
baselineAligned When set to false, prevents the layout from aligning its children's baselines. int | R.attr
baselineAlignedChildIndex When a linear layout is part of another layout that is baseline aligned, it can specify which of its children to baseline align to (i.e which child TextView). int | R.attr
BaseTestRunner() | BaseTestRunner
baseWireHandle Handle for the first object that gets serialized. int | ObjectStreamConstants
BASE_1_1 February 2009: First Android update, officially called 1.1. int | Build.VERSION_CODES
BASIC Basic authentication scheme as defined in RFC2617 (considered inherently insecure, but most widely supported) String | AuthPolicy
BasicClientCookie(String name, String value) Default Constructor taking a name and a value. | BasicClientCookie
BasicClientCookie2(String name, String value) Default Constructor taking a name and a value. | BasicClientCookie2
BasicCommentHandler() | BasicCommentHandler
BasicCookieStore() Default constructor. | BasicCookieStore
BasicCredentialsProvider() Default constructor. | BasicCredentialsProvider
BasicDomainHandler() | BasicDomainHandler
BasicEofSensorWatcher(ManagedClientConnection conn, boolean reuse) Creates a new watcher for auto-releasing a connection. | BasicEofSensorWatcher
BasicExpiresHandler(String[] datepatterns) | BasicExpiresHandler
BasicHeader(String name, String value) Constructor with name and value | BasicHeader
BasicHeaderElement(String name, String value) Constructor with name and value. | BasicHeaderElement
BasicHeaderElement(String name, String value, NameValuePair[] parameters) Constructor with name, value and parameters. | BasicHeaderElement
BasicHeaderElementIterator(HeaderIterator headerIterator) | BasicHeaderElementIterator
BasicHeaderElementIterator(HeaderIterator headerIterator, HeaderValueParser parser) Creates a new instance of BasicHeaderElementIterator | BasicHeaderElementIterator
BasicHeaderIterator(Header[] headers, String name) Creates a new header iterator. | BasicHeaderIterator
BasicHeaderValueFormatter() | BasicHeaderValueFormatter
BasicHeaderValueParser() | BasicHeaderValueParser
BasicHttpContext() | BasicHttpContext
BasicHttpContext(HttpContext parentContext) | BasicHttpContext
BasicHttpEntity() Creates a new basic entity. | BasicHttpEntity
BasicHttpEntityEnclosingRequest(String method, String uri) | BasicHttpEntityEnclosingRequest
BasicHttpEntityEnclosingRequest(String method, String uri, ProtocolVersion ver) | BasicHttpEntityEnclosingRequest
BasicHttpEntityEnclosingRequest(RequestLine requestline) | BasicHttpEntityEnclosingRequest
BasicHttpParams() | BasicHttpParams
BasicHttpProcessor() | BasicHttpProcessor
BasicHttpRequest(String method, String uri) | BasicHttpRequest
BasicHttpRequest(String method, String uri, ProtocolVersion ver) | BasicHttpRequest
BasicHttpRequest(RequestLine requestline) | BasicHttpRequest
BasicHttpResponse(ProtocolVersion ver, int code, String reason) Creates a response from elements of a status line. | BasicHttpResponse
BasicHttpResponse(StatusLine statusline) Creates a response from a status line. | BasicHttpResponse
BasicHttpResponse(StatusLine statusline, ReasonPhraseCatalog catalog, Locale locale) Creates a new response. | BasicHttpResponse
BasicLineFormatter() | BasicLineFormatter
BasicLineParser() Creates a new line parser for HTTP. | BasicLineParser
BasicLineParser(ProtocolVersion proto) Creates a new line parser for the given HTTP-like protocol. | BasicLineParser
BasicListHeaderIterator(List headers, String name) Creates a new header iterator. | BasicListHeaderIterator
BasicManagedEntity(HttpEntity entity, ManagedClientConnection conn, boolean reuse) Creates a new managed entity that can release a connection. | BasicManagedEntity
BasicMaxAgeHandler() | BasicMaxAgeHandler
BasicNameValuePair(String name, String value) Default Constructor taking a name and a value. | BasicNameValuePair
BasicPathHandler() | BasicPathHandler
BasicPermission(String name) Constructs a new instance of `BasicPermission` with the specified name. | BasicPermission
BasicPermission(String name, String action) Constructs a new instance of `BasicPermission` with the specified name. | BasicPermission
BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue) Creates a new pool entry. | BasicPoolEntry
BasicPoolEntryRef(BasicPoolEntry entry, ReferenceQueue<Object> queue) Creates a new reference to a pool entry. | BasicPoolEntryRef
BasicRequestLine(String method, String uri, ProtocolVersion version) | BasicRequestLine
BasicResponseHandler() | BasicResponseHandler
BasicRouteDirector() | BasicRouteDirector
BasicScheme() Default constructor for the basic authetication scheme. | BasicScheme
BasicSchemeFactory() | BasicSchemeFactory
BasicSecureHandler() | BasicSecureHandler
BasicStatusLine(ProtocolVersion version, int statusCode, String reasonPhrase) Creates a new status line with the given version, status, and reason. | BasicStatusLine
BasicTokenIterator(HeaderIterator headerIterator) Creates a new instance of BasicTokenIterator. | BasicTokenIterator
BasicUserPrincipal(String username) | BasicUserPrincipal
BASIC_LATIN The "Basic Latin" Unicode Block. Character.UnicodeBlock | Character.UnicodeBlock
BatchUpdateException() Creates a default `BatchUpdateException` with the parameters reason, SQLState, and update counts set to `null` and the vendor code set to 0. | BatchUpdateException
BatchUpdateException(int[] updateCounts) Creates a `BatchUpdateException` with the `updateCounts` set to the supplied value. | BatchUpdateException
BatchUpdateException(String reason, int[] updateCounts) Creates a `BatchUpdateException` with the `updateCounts` and `reason` set to the supplied values. | BatchUpdateException
BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts) Creates a `BatchUpdateException` for the case where all relevant information is provided. | BatchUpdateException
BatchUpdateException(String reason, String SQLState, int[] updateCounts) Creates a `BatchUpdateException` with the `reason`, `SQLState` and `updateCounts` set to the supplied values. | BatchUpdateException
BatteryManager() | BatteryManager
BATTERY_HEALTH_DEAD int | BatteryManager
BATTERY_HEALTH_GOOD int | BatteryManager
BATTERY_HEALTH_OVERHEAT int | BatteryManager
BATTERY_HEALTH_OVER_VOLTAGE int | BatteryManager
BATTERY_HEALTH_UNKNOWN int | BatteryManager
BATTERY_HEALTH_UNSPECIFIED_FAILURE int | BatteryManager
BATTERY_PLUGGED_AC Power source is an AC charger. int | BatteryManager
BATTERY_PLUGGED_USB Power source is a USB port. int | BatteryManager
BATTERY_STATS Allows an application to collect battery statistics String | Manifest.permission
BATTERY_STATUS_CHARGING int | BatteryManager
BATTERY_STATUS_DISCHARGING int | BatteryManager
BATTERY_STATUS_FULL int | BatteryManager
BATTERY_STATUS_NOT_CHARGING int | BatteryManager
BATTERY_STATUS_UNKNOWN int | BatteryManager
BC Value for the BC era. int | GregorianCalendar
bearingTo(Location dest) Returns the approximate initial bearing in degrees East of true North when traveling along the shortest path between this location and the given location. | Location
before(Time that) Returns true if the time represented by this Time object occurs before the given time. | Time
before(Object calendar) Returns whether the `Date` specified by this `Calendar` instance is before the `Date` specified by the parameter. | Calendar
before(Timestamp theTimestamp) Returns `true` if this `Timestamp` object is earlier than the supplied timestamp, otherwise returns `false`. | Timestamp
before(Date date) Returns if this `Date` is before the specified Date. | Date
beforeExecute(Thread t, Runnable r) Method invoked prior to executing the given Runnable in the given thread. | ThreadPoolExecutor (protected)
beforeFirst() Moves the cursor to the start of the `ResultSet`, before the first row. | ResultSet
beforeTextChanged(CharSequence s, int start, int count, int after) For our text watcher that is associated with the text filter. | AbsListView
beforeTextChanged(CharSequence s, int start, int count, int after) This method is called to notify you that, within `s`, the `count` characters beginning at `start` are about to be replaced by new text with length `after`. | PasswordTransformationMethod
beforeTextChanged(CharSequence s, int start, int count, int after) This method is called to notify you that, within `s`, the `count` characters beginning at `start` are about to be replaced by new text with length `after`. | PhoneNumberFormattingTextWatcher
beforeTextChanged(CharSequence s, int start, int count, int after) This method is called to notify you that, within `s`, the `count` characters beginning at `start` are about to be replaced by new text with length `after`. | TextWatcher
begin() Indicates the beginning of a code section that includes an I/O operation that is potentially blocking. | AbstractInterruptibleChannel (protected)
begin() Indicates the beginning of a code section that includes an I/O operation that is potentially blocking. | AbstractSelector (protected)
beginBatchEdit() Default implementation does nothing. | BaseInputConnection
beginBatchEdit() Tell the editor that you are starting a batch of editor operations. | InputConnection
beginBatchEdit() Tell the editor that you are starting a batch of editor operations. | InputConnectionWrapper
beginBatchEdit() | TextView
beginBroadcast() Prepare to start making calls to the currently registered callbacks. | RemoteCallbackList
beginHandshake() Initiates a handshake on this engine. | SSLEngine
beginRecording(int width, int height) To record a picture, call beginRecording() and then draw into the Canvas that is returned. | Picture
beginTransaction() Begins a transaction. | SQLiteDatabase
beginTransactionWithListener(SQLiteTransactionListener transactionListener) Begins a transaction. | SQLiteDatabase
BELOW Rule that aligns a child's top edge with another child's bottom edge. int | RelativeLayout
BELOW The touchable region of the View extends below its actual extent. int | TouchDelegate
BENGALI The "Bengali" Unicode Block. Character.UnicodeBlock | Character.UnicodeBlock
BENGALI The Constant BENGALI indicates the BENGALI range and decimal base. int | NumericShaper
BestMatchSpec() | BestMatchSpec
BestMatchSpec(String[] datepatterns, boolean oneHeader) | BestMatchSpec
BestMatchSpecFactory() | BestMatchSpecFactory
bestRowNotPseudo States the best row identifier is NOT a pseudo column. int | DatabaseMetaData
bestRowPseudo States that the best row identifier is a pseudo column. int | DatabaseMetaData
bestRowSession States that the remainder of the current session is used as the scope for the best row identifier. int | DatabaseMetaData
bestRowTemporary States that best row identifier scope lasts only while the row is being used. int | DatabaseMetaData
bestRowTransaction States that the remainder of the current transaction is used as the scope for the best row identifier. int | DatabaseMetaData
bestRowUnknown States that the best row identifier may or may not be a pseudo column. int | DatabaseMetaData
BEST_COMPRESSION Upper bound for the compression level range. int | Deflater
BEST_MATCH The default 'best match' policy. String | CookiePolicy
BEST_SPEED Lower bound for compression level range. int | Deflater
Bidi(char[] text, int textStart, byte[] embeddings, int embStart, int paragraphLength, int flags) Creates a `Bidi` object. | Bidi
Bidi(String paragraph, int flags) Creates a `Bidi` object. | Bidi
Bidi(AttributedCharacterIterator paragraph) Creates a `Bidi` object from the `AttributedCharacterIterator` of a paragraph text. | Bidi
BIDI_EMBEDDING The BIDI_EMBEDDING text attribute key. TextAttribute | TextAttribute
BigDecimal(char[] in) Constructs a new `BigDecimal` instance from a string representation given as a character array. | BigDecimal
BigDecimal(char[] in, int offset, int len) Constructs a new `BigDecimal` instance from a string representation given as a character array. | BigDecimal
BigDecimal(char[] in, int offset, int len, MathContext mc) Constructs a new `BigDecimal` instance from a string representation given as a character array. | BigDecimal
BigDecimal(char[] in, MathContext mc) Constructs a new `BigDecimal` instance from a string representation given as a character array. | BigDecimal
BigDecimal(double val) Constructs a new `BigDecimal` instance from the 64bit double `val`. | BigDecimal
BigDecimal(double val, MathContext mc) Constructs a new `BigDecimal` instance from the 64bit double `val`. | BigDecimal
BigDecimal(int val) Constructs a new `BigDecimal` instance from the given int `val`. | BigDecimal
BigDecimal(int val, MathContext mc) Constructs a new `BigDecimal` instance from the given int `val`. | BigDecimal
BigDecimal(String val) Constructs a new `BigDecimal` instance from a string representation. | BigDecimal
BigDecimal(String val, MathContext mc) Constructs a new `BigDecimal` instance from a string representation. | BigDecimal
BigDecimal(BigInteger val) Constructs a new `BigDecimal` instance from the given big integer `val`. | BigDecimal
BigDecimal(BigInteger unscaledVal, int scale) Constructs a new `BigDecimal` instance from a given unscaled value `unscaledVal` and a given scale. | BigDecimal
BigDecimal(BigInteger unscaledVal, int scale, MathContext mc) Constructs a new `BigDecimal` instance from a given unscaled value `unscaledVal` and a given scale. | BigDecimal
BigDecimal(BigInteger val, MathContext mc) Constructs a new `BigDecimal` instance from the given big integer `val`. | BigDecimal
BigDecimal(long val) Constructs a new `BigDecimal` instance from the given long `val`. | BigDecimal
BigDecimal(long val, MathContext mc) Constructs a new `BigDecimal` instance from the given long `val`. | BigDecimal
BIGINT The type code that identifies the SQL type `BIGINT`. int | Types
BigInteger(byte[] val) Constructs a new `BigInteger` from the given two's complement representation. | BigInteger
BigInteger(int signum, byte[] magnitude) Constructs a new `BigInteger` instance with the given sign and the given magnitude. | BigInteger
BigInteger(int bitLength, int certainty, Random rnd) Constructs a random `BigInteger` instance in the range [0, 2^(bitLength)-1] which is probably prime. | BigInteger
BigInteger(int numBits, Random rnd) Constructs a random non-negative `BigInteger` instance in the range [0, 2^(numBits)-1]. | BigInteger
BigInteger(String val) Constructs a new `BigInteger` instance from the string representation. | BigInteger
BigInteger(String val, int radix) Constructs a new `BigInteger` instance from the string representation. | BigInteger
BIG_ENDIAN This constant represents big endian. ByteOrder | ByteOrder
BINARY The type code that identifies the SQL type `BINARY`. int | Types
binarySearch(byte[] array, byte value) Performs a binary search for the specified element in the specified ascending sorted array. | Arrays
binarySearch(char[] array, char value) Performs a binary search for the specified element in the specified ascending sorted array. | Arrays
binarySearch(double[] array, double value) Performs a binary search for the specified element in the specified ascending sorted array. | Arrays
binarySearch(float[] array, float value) Performs a binary search for the specified element in the specified ascending sorted array. | Arrays
binarySearch(int[] array, int value) Performs a binary search for the specified element in the specified ascending sorted array. | Arrays
binarySearch(Object[] array, Object object) Performs a binary search for the specified element in the specified ascending sorted array. | Arrays
binarySearch(List<? extends Comparable<? super T>> list, T object) Performs a binary search for the specified element in the specified sorted list. | Collections
binarySearch(List<? extends T> list, T object, Comparator<? super T> comparator) Performs a binary search for the specified element in the specified sorted list using the specified comparator. | Collections
binarySearch(long[] array, long value) Performs a binary search for the specified element in the specified ascending sorted array. | Arrays
binarySearch(short[] array, short value) Performs a binary search for the specified element in the specified ascending sorted array. | Arrays
binarySearch(T[] array, T object, Comparator<? super T> comparator) Performs a binary search for the specified element in the specified ascending sorted array using the `Comparator` to compare elements. | Arrays
bind(LocalSocketAddress bindpoint) Binds this socket to an endpoint name. | LocalSocket
bind(ListView listView) Binds a ListView to the preferences contained in this PreferenceScreen via getRootAdapter(). | PreferenceScreen
bind(int index, boolean value) Bind the value to an index. | DatabaseUtils.InsertHelper
bind(int index, byte[] value) Bind the value to an index. | DatabaseUtils.InsertHelper
bind(int index, double value) Bind the value to an index. | DatabaseUtils.InsertHelper
bind(int index, float value) Bind the value to an index. | DatabaseUtils.InsertHelper
bind(int index, int value) Bind the value to an index. | DatabaseUtils.InsertHelper
bind(int index, String value) Bind the value to an index. | DatabaseUtils.InsertHelper
bind(int port, InetAddress addr) Binds the datagram socket to the given localhost/port. | DatagramSocketImpl (protected)
bind(int index, long value) Bind the value to an index. | DatabaseUtils.InsertHelper
bind(InetAddress address, int port) Binds this socket to the specified local host address and port number. | SocketImpl (protected)
bind(Socket socket, HttpParams params) | DefaultHttpClientConnection
bind(Socket socket, HttpParams params) | DefaultHttpServerConnection
bind(Socket socket, HttpParams params) | SocketHttpClientConnection (protected)
bind(Socket socket, HttpParams params) | SocketHttpServerConnection (protected)
bind(SocketAddress localAddr) Binds this socket to the local address and port specified by `localAddr`. | DatagramSocket
bind(SocketAddress localAddr) Binds this server socket to the given local socket address. | ServerSocket
bind(SocketAddress localAddr) Binds this socket to the given local host address and port specified by the SocketAddress `localAddr`. | Socket
bind(SocketAddress localAddr, int backlog) Binds this server socket to the given local socket address. | ServerSocket
bindAppWidgetId(int appWidgetId, ComponentName provider) Set the component for a given appWidgetId. | AppWidgetManager
bindBlob(int index, byte[] value) Bind a byte array value to this statement. | SQLiteProgram
bindChildView(View view, Context context, Cursor cursor, boolean isLastChild) Bind an existing view to the child data pointed to by cursor | CursorTreeAdapter (protected)
bindChildView(View view, Context context, Cursor cursor, boolean isLastChild) Bind an existing view to the child data pointed to by cursor | SimpleCursorTreeAdapter (protected)
bindDouble(int index, double value) Bind a double value to this statement. | SQLiteProgram
bindDouble(int index, double value) Bind a double value to this statement. | SQLiteQuery
Binder() Default constructor initializes the object. | Binder
binderDied() | IBinder.DeathRecipient
BindException() Constructs a new instance with its walkback filled in. | BindException
BindException(String detailMessage) Constructs a new instance with its walkback and message filled in. | BindException
bindGroupView(View view, Context context, Cursor cursor, boolean isExpanded) Bind an existing view to the group data pointed to by cursor. | CursorTreeAdapter (protected)
bindGroupView(View view, Context context, Cursor cursor, boolean isExpanded) Bind an existing view to the group data pointed to by cursor. | SimpleCursorTreeAdapter (protected)
bindInput(InputBinding binding) Bind a new application environment in to the input method, so that it can later start and stop input processing. | InputMethod
bindInput(InputBinding binding) Handle a new input binding, calling InputMethodService.onBindInput() when done. | InputMethodService.InputMethodImpl
bindLong(int index, long value) Bind a long value to this statement. | SQLiteProgram
bindLong(int index, long value) Bind a long value to this statement. | SQLiteQuery
bindNull(int index) Bind null to an index. | DatabaseUtils.InsertHelper
bindNull(int index) Bind a NULL value to this statement. | SQLiteProgram
bindNull(int index) Bind a NULL value to this statement. | SQLiteQuery
bindObjectToProgram(SQLiteProgram prog, int index, Object value) Binds the given Object to the given SQLiteProgram using the proper typing. | DatabaseUtils
bindService(Intent intent) Start the service under test, in the same way as if it was started by Context.bindService(), providing the arguments it supplied. | ServiceTestCase (protected)
bindService(Intent service, ServiceConnection conn, int flags) Connect to an application service, creating it if needed. | Context
bindService(Intent service, ServiceConnection conn, int flags) Connect to an application service, creating it if needed. | ContextWrapper
bindService(Intent service, ServiceConnection conn, int flags) Connect to an application service, creating it if needed. | IsolatedContext
bindService(Intent service, ServiceConnection conn, int flags) Connect to an application service, creating it if needed. | MockContext
bindString(int index, String value) Bind a String value to this statement. | SQLiteProgram
bindString(int index, String value) Bind a String value to this statement. | SQLiteQuery
bindView(View view, Context context, Cursor cursor) Bind an existing view to the data pointed to by cursor | CursorAdapter
bindView(View view, Context context, Cursor cursor) Binds all of the field names passed into the "to" parameter of the constructor with their corresponding cursor columns as specified in the "from" parameter. | SimpleCursorAdapter
BIND_APPWIDGET Allows an application to tell the AppWidget service which application can access AppWidget's data. String | Manifest.permission
BIND_AUTO_CREATE Flag for bindService(Intent, ServiceConnection, int): automatically create the service as long as the binding exists. int | Context
BIND_DEBUG_UNBIND Flag for bindService(Intent, ServiceConnection, int): include debugging help for mismatched calls to unbind. int | Context
BIND_INPUT_METHOD Must be required by input method services, to ensure that only the system can bind to them. String | Manifest.permission
BIT The type code that identifies the SQL type `BIT`. int | Types
bitCount() Use `bitLength(0)` if you want to know the length of the binary value in bits. | BigInteger
bitCount(int i) Counts the number of 1 bits in the specified integer; this is also referred to as population count. | Integer
bitCount(long lng) Counts the number of 1 bits in the specified long value; this is also referred to as population count. | Long
bitLength() Returns the length of the value's two's complement representation without leading zeros for positive numbers / without leading ones for negative values. | BigInteger
BitmapDrawable() This constructor is deprecated. Use BitmapDrawable(Resources) to ensure that the drawable has correctly set its target density. | BitmapDrawable
BitmapDrawable(Resources res) Create an empty drawable, setting initial target density based on the display metrics of the resources. | BitmapDrawable
BitmapDrawable(Resources res, Bitmap bitmap) Create drawable from a bitmap, setting initial target density based on the display metrics of the resources. | BitmapDrawable
BitmapDrawable(Resources res, InputStream is) Create a drawable by decoding a bitmap from the given input stream. | BitmapDrawable
BitmapDrawable(Resources res, String filepath) Create a drawable by opening a given file path and decoding the bitmap. | BitmapDrawable
BitmapDrawable(Bitmap bitmap) This constructor is deprecated. Use BitmapDrawable(Resources, Bitmap) to ensure that the drawable has correctly set its target density. | BitmapDrawable
BitmapDrawable(InputStream is) This constructor is deprecated. Use BitmapDrawable(Resources, java.io.InputStream) to ensure that the drawable has correctly set its target density. | BitmapDrawable
BitmapDrawable(String filepath) This constructor is deprecated. Use BitmapDrawable(Resources, String) to ensure that the drawable has correctly set its target density. | BitmapDrawable
BitmapFactory() | BitmapFactory
BitmapFactory.Options() Create a default Options object, which if left unchanged will give the same result from the decoder as if null were passed. | BitmapFactory.Options
BitmapShader(Bitmap bitmap, Shader.TileMode tileX, Shader.TileMode tileY) Call this to create a new shader that will draw with a bitmap. | BitmapShader
BitSet() Create a new `BitSet` with size equal to 64 bits. | BitSet
BitSet(int nbits) Create a new `BitSet` with size equal to nbits. | BitSet
BLACK int | Color
black int | R.color
BLOB The type code that identifies the SQL type `BLOB`. int | Types
block() Block the current thread until the condition is opened. | ConditionVariable
block(long timeout) Block the current thread until the condition is opened or until timeout milliseconds have passed. | ConditionVariable
blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) Convenience method that makes a blocking call to getAuthToken(Account, String, boolean, AccountManagerCallback, Handler) then extracts and returns the value of KEY_AUTHTOKEN from its result. | AccountManager
blockingLock() Gets the object used for the synchronization of `register` and `configureBlocking`. | AbstractSelectableChannel
blockingLock() Gets the blocking lock which synchronizes the `configureBlocking` and `register` methods. | SelectableChannel
BLOCK_ELEMENTS The "Block Elements" Unicode Block. Character.UnicodeBlock | Character.UnicodeBlock
BLUE int | Color
blue(int color) Return the blue component of a color int. | Color
BLUETOOTH Allows applications to connect to paired bluetooth devices String | Manifest.permission
BluetoothClass.Device() | BluetoothClass.Device
BluetoothClass.Device.Major() | BluetoothClass.Device.Major
BluetoothClass.Service() | BluetoothClass.Service
BLUETOOTH_ADMIN Allows applications to discover and pair bluetooth devices String | Manifest.permission
BLUETOOTH_DISCOVERABILITY Determines whether remote devices may discover and/or connect to this device. String | Settings.System
BLUETOOTH_DISCOVERABILITY_TIMEOUT Bluetooth discoverability timeout. String | Settings.System
BLUETOOTH_GID Defines a secondary group id for access to the bluetooth hardware. int | Process
BLUETOOTH_ON Whether bluetooth is enabled/disabled 0=disabled. String | Settings.Secure
BLUETOOTH_ON This constant is deprecated. Use BLUETOOTH_ON instead String | Settings.System
BlurMaskFilter(float radius, BlurMaskFilter.Blur style) Create a blur maskfilter. | BlurMaskFilter
BOARD The name of the underlying board, like "goldfish". String | Build
BOLD int | Typeface
BOLD_ITALIC int | Typeface
BOND_BONDED Indicates the remote device is bonded (paired). int | BluetoothDevice
BOND_BONDING Indicates bonding (pairing) is in progress with the remote device. int | BluetoothDevice
BOND_NONE Indicates the remote device is not bonded (paired). int | BluetoothDevice
BOOKMARK String | Browser.BookmarkColumns
BOOKMARK The bookmark for the video. String | MediaStore.Video.VideoColumns
BOOKMARKS_URI Uri | Browser
BOOLEAN The type code that identifies the SQL type `BOOLEAN`. int | Types
Boolean(boolean value) Constructs a new `Boolean` with the specified primitive boolean value. | Boolean
Boolean(String string) Constructs a new `Boolean` with its boolean value specified by `string`. | Boolean
booleanValue() Gets the primitive value of this boolean, either `true` or `false`. | Boolean
BOPOMOFO The "Bopomofo" Unicode Block. Character.UnicodeBlock | Character.UnicodeBlock
BOPOMOFO_EXTENDED The "Bopomofo Extended" Unicode Block. Character.UnicodeBlock | Character.UnicodeBlock
BoringLayout(CharSequence source, TextPaint paint, int outerwidth, Layout.Alignment align, float spacingmult, float spacingadd, BoringLayout.Metrics metrics, boolean includepad) | BoringLayout
BoringLayout(CharSequence source, TextPaint paint, int outerwidth, Layout.Alignment align, float spacingmult, float spacingadd, BoringLayout.Metrics metrics, boolean includepad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) | BoringLayout
BoringLayout.Metrics() | BoringLayout.Metrics
BOTTOM Push object to the bottom of its container, not changing its size. int | Gravity
bottom Must be a dimension value, which is a floating point number appended with a unit such as "`14.5sp`". int | R.attr
bottomBright May 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
bottomDark May 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
bottomLeftRadius Must be a dimension value, which is a floating point number appended with a unit such as "`14.5sp`". int | R.attr
bottomMedium May 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
bottomOffset Extra offset for the handle at the bottom of the SlidingDrawer. int | R.attr
bottomRightRadius Must be a dimension value, which is a floating point number appended with a unit such as "`14.5sp`". int | R.attr
bottom_bar int | R.drawable
BounceInterpolator() | BounceInterpolator
BounceInterpolator(Context context, AttributeSet attrs) | BounceInterpolator
bounce_interpolator int | R.anim
BOX_DRAWING The "Box Drawing" Unicode Block. Character.UnicodeBlock | Character.UnicodeBlock
BRAILLE_PATTERNS The "Braille Patterns" Unicode Block. Character.UnicodeBlock | Character.UnicodeBlock
BRAND The brand (e.g., carrier) the software is customized for, if any. String | Build
breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) Measure the text, stopping early if the measured width exceeds maxWidth. | Paint
breakText(CharSequence text, int start, int end, boolean measureForwards, float maxWidth, float[] measuredWidth) Measure the text, stopping early if the measured width exceeds maxWidth. | Paint
breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth) Measure the text, stopping early if the measured width exceeds maxWidth. | Paint
BRICK Required to be able to disable the device (very dangerous!). String | Manifest.permission
bringChildToFront(View child) Change the z order of the child so it's on top of all other children | ViewGroup
bringChildToFront(View child) Change the z order of the child so it's on top of all other children | ViewParent
bringPointIntoView(int offset) Move the point, specified by the offset, into the view if it is needed. | TextView
bringToFront() Change the view's z order in the tree, so it's on top of other sibling views | View
BroadcastReceiver() | BroadcastReceiver
BROADCAST_PACKAGE_REMOVED Allows an application to broadcast a notification that an application package has been removed. String | Manifest.permission
BROADCAST_SMS Allows an application to broadcast an SMS receipt notification String | Manifest.permission
BROADCAST_STICKY Allows an application to broadcast sticky intents. String | Manifest.permission
BROADCAST_WAP_PUSH Allows an application to broadcast a WAP PUSH receipt notification String | Manifest.permission
BrokenBarrierException() Constructs a `BrokenBarrierException` with no specified detail message. | BrokenBarrierException
BrokenBarrierException(String message) Constructs a `BrokenBarrierException` with the specified detail message. | BrokenBarrierException
Browser() | Browser
Browser.BookmarkColumns() | Browser.BookmarkColumns
Browser.SearchColumns() | Browser.SearchColumns
BrowserCompatHostnameVerifier() | BrowserCompatHostnameVerifier
BrowserCompatSpec() Default constructor | BrowserCompatSpec
BrowserCompatSpec(String[] datepatterns) Default constructor | BrowserCompatSpec
BrowserCompatSpecFactory() | BrowserCompatSpecFactory
BROWSER_COMPATIBILITY The policy that provides high degree of compatibilty with common cookie management of popular HTTP agents. String | CookiePolicy
BROWSER_COMPATIBLE_HOSTNAME_VERIFIER X509HostnameVerifier | SSLSocketFactory
browser_link_context_header int | R.layout
btn_default int | R.drawable
btn_default_small int | R.drawable
btn_dialog int | R.drawable
btn_dropdown int | R.drawable
btn_minus int | R.drawable
btn_plus int | R.drawable
btn_radio int | R.drawable
btn_star int | R.drawable
btn_star_big_off int | R.drawable
btn_star_big_on int | R.drawable
BUCKET_DISPLAY_NAME The bucket display name of the image. String | MediaStore.Images.ImageColumns
BUCKET_DISPLAY_NAME The bucket display name of the video. String | MediaStore.Video.VideoColumns
BUCKET_ID The bucket id of the image. String | MediaStore.Images.ImageColumns
BUCKET_ID The bucket id of the video. String | MediaStore.Video.VideoColumns
buffer() | ByteArrayBuffer
buffer() | CharArrayBuffer
BufferedHeader(CharArrayBuffer buffer) Creates a new header from a buffer. | BufferedHeader
BufferedHttpEntity(HttpEntity entity) | BufferedHttpEntity
BufferedInputStream(InputStream in) Constructs a new `BufferedInputStream` on the InputStream `in`. | BufferedInputStream
BufferedInputStream(InputStream in, int size) Constructs a new `BufferedInputStream` on the InputStream `in`. | BufferedInputStream
BufferedOutputStream(OutputStream out) Constructs a new `BufferedOutputStream` on the OutputStream `out`. | BufferedOutputStream
BufferedOutputStream(OutputStream out, int size) Constructs a new `BufferedOutputStream` on the OutputStream `out`. | BufferedOutputStream
BufferedReader(Reader in) Constructs a new BufferedReader on the Reader `in`. | BufferedReader
BufferedReader(Reader in, int size) Constructs a new BufferedReader on the Reader `in`. | BufferedReader
BufferedWriter(Writer out) Constructs a new `BufferedWriter` with `out` as the writer for which to buffer write operations. | BufferedWriter
BufferedWriter(Writer out, int size) Constructs a new `BufferedWriter` with `out` as the writer for which to buffer write operations. | BufferedWriter
BufferOverflowException() Constructs a `BufferOverflowException`. | BufferOverflowException
bufferType Determines the minimum type that getText() will return. int | R.attr
BufferUnderflowException() Constructs a `BufferUnderflowException`. | BufferUnderflowException
BUHID The "Buhid" Unicode Block. Character.UnicodeBlock | Character.UnicodeBlock
Build() | Build
build() Create a ContentProviderOperation from this ContentProviderOperation.Builder. | ContentProviderOperation.Builder
build() Call this method once you've configured your builder as desired. | TestSuiteBuilder
build() Constructs a Uri with the current attributes. | Uri.Builder
build(CertPathParameters params) Builds a certification path with the specified algorithm parameters. | CertPathBuilder
Build.VERSION() | Build.VERSION
Build.VERSION_CODES() | Build.VERSION_CODES
buildDrawingCache() Calling this method is equivalent to calling `buildDrawingCache(false)`. | View
buildDrawingCache(boolean autoScale) Forces the drawing cache to be built if the drawing cache is invalid. | View
buildQuery(String[] projectionIn, String selection, String[] selectionArgs, String groupBy, String having, String sortOrder, String limit) Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. | SQLiteQueryBuilder
buildQueryString(boolean distinct, String tables, String[] columns, String where, String groupBy, String having, String orderBy, String limit) Build an SQL query string from the given clauses. | SQLiteQueryBuilder
buildUnionQuery(String[] subQueries, String sortOrder, String limit) Given a set of subqueries, all of which are SELECT statements, construct a query that returns the union of what those subqueries return. | SQLiteQueryBuilder
buildUnionSubQuery(String typeDiscriminatorColumn, String[] unionColumns, Set<String> columnsPresentInTable, int computedColumnsOffset, String typeDiscriminatorValue, String selection, String[] selectionArgs, String groupBy, String having) Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. | SQLiteQueryBuilder
buildUpon() Constructs a new builder, copying the attributes from this Uri. | Uri
BUILT_IN_KEYBOARD The id of the device's primary built in keyboard is always 0. int | KeyCharacterMap
bulkInsert(Uri uri, ContentValues[] values) Implement this to insert a set of new rows, or the default implementation will iterate over the values and call insert(Uri, ContentValues) on each of them. | ContentProvider
bulkInsert(Uri url, ContentValues[] initialValues) see bulkInsert(Uri, ContentValues[]) | ContentProviderClient
bulkInsert(Uri url, ContentValues[] values) Inserts multiple rows into a table at the given URL. | ContentResolver
BulletSpan() | BulletSpan
BulletSpan(Parcel src) | BulletSpan
BulletSpan(int gapWidth) | BulletSpan
BulletSpan(int gapWidth, int color) | BulletSpan
Bundle() Constructs a new, empty Bundle. | Bundle
Bundle(Bundle b) Constructs a Bundle containing a copy of the mappings from the given Bundle. | Bundle
Bundle(int capacity) Constructs a new, empty Bundle sized to hold the given number of elements. | Bundle
Bundle(ClassLoader loader) Constructs a new, empty Bundle that uses a specific ClassLoader for instantiating Parcelable and Serializable objects. | Bundle
button Drawable used for the button graphic (e.g. int | R.attr
Button(Context context) | Button
Button(Context context, AttributeSet attrs) | Button
Button(Context context, AttributeSet attrs, int defStyle) | Button
BUTTON1 This constant is deprecated. Use BUTTON_POSITIVE int | DialogInterface
button1 int | R.id
BUTTON2 This constant is deprecated. Use BUTTON_NEGATIVE int | DialogInterface
button2 int | R.id
BUTTON3 This constant is deprecated. Use BUTTON_NEUTRAL int | DialogInterface
button3 int | R.id
buttonStyle Normal Button style. int | R.attr
buttonStyleInset Button style to inset into an EditText. int | R.attr
buttonStyleSmall Small Button style. int | R.attr
buttonStyleToggle ToggleButton style. int | R.attr
BUTTON_NEGATIVE The identifier for the negative button. int | DialogInterface
BUTTON_NEUTRAL The identifier for the neutral button. int | DialogInterface
button_onoff_indicator_off int | R.drawable
button_onoff_indicator_on int | R.drawable
BUTTON_POSITIVE The identifier for the positive button. int | DialogInterface
Byte(byte value) Constructs a new `Byte` with the specified primitive byte value. | Byte
Byte(String string) Constructs a new `Byte` from the specified string. | Byte
ByteArrayBuffer(int capacity) | ByteArrayBuffer
ByteArrayEntity(byte[] b) | ByteArrayEntity
ByteArrayInputStream(byte[] buf) Constructs a new `ByteArrayInputStream` on the byte array `buf`. | ByteArrayInputStream
ByteArrayInputStream(byte[] buf, int offset, int length) Constructs a new `ByteArrayInputStream` on the byte array `buf` with the initial position set to `offset` and the number of bytes available set to `offset` + `length`. | ByteArrayInputStream
ByteArrayOutputStream() Constructs a new ByteArrayOutputStream with a default size of 32 bytes. | ByteArrayOutputStream
ByteArrayOutputStream(int size) Constructs a new `ByteArrayOutputStream` with a default size of `size` bytes. | ByteArrayOutputStream
byteAt(int i) | ByteArrayBuffer
bytesConsumed() Returns the number of bytes retrieved from the source buffer(s). | SSLEngineResult
bytesProduced() Returns the number of bytes transferred to the destination buffer(s). | SSLEngineResult
byteValue() Gets the primitive value of this byte. | Byte
byteValue() Returns this object's value as a byte. | Double
byteValue() Returns this object's value as a byte. | Float
byteValue() Returns this object's value as a byte. | Integer
byteValue() Returns this object's value as a byte. | Long
byteValue() Returns this object's value as a byte. | Number
byteValue() Returns this object's value as a byte. | Short
byteValueExact() Returns this `BigDecimal` as a byte value if it has no fractional part and if its value fits to the byte range ([-128..127]). | BigDecimal
BYZANTINE_MUSICAL_SYMBOLS The "Byzantine Musical Symbols" Unicode Block. Character.UnicodeBlock | Character.UnicodeBlock