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

K

KANBUN
The "Kanbun" Unicode Block.
Character.UnicodeBlock
KANGXI_RADICALS
The "Kangxi Radicals" Unicode Block.
Character.UnicodeBlock
KANNADA
The "Kannada" Unicode Block.
Character.UnicodeBlock
KANNADA
The Constant KANNADA indicates the KANNADA range and decimal base.
int
NumericShaper
KATAKANA
The "Katakana" Unicode Block.
Character.UnicodeBlock
KATAKANA_PHONETIC_EXTENSIONS
The "Katakana Phonetic Extensions" Unicode Block.
Character.UnicodeBlock
KEEP
a String representation for keep.
Pack200.Packer
KEEP
a String representation of keep.
Pack200.Unpacker
keepAlive(HttpResponse response, HttpContext context)
Decides whether a connection can be kept open after a request.
ConnectionReuseStrategy
keepAlive(HttpResponse response, HttpContext context)
Decides whether a connection can be kept open after a request.
DefaultConnectionReuseStrategy
keepAlive(HttpResponse response, HttpContext context)
Decides whether a connection can be kept open after a request.
NoConnectionReuseStrategy
keepScreenOn
Controls whether the view's window should keep the screen on while visible.
int
R.attr
KEEP_CURRENT_RESULT
Passing this constant to getMoreResults implies that the current ResultSet object should not be closed.
int
Statement
KEEP_FILE_ORDER
decide if all elements shall transmit in their original order.
Pack200.Packer
KEEP_SCREEN_ON
View flag indicating that the screen should remain on while the window containing this view is visible to the user.
int
View
KEY
This constant is deprecated. see ContactsContract
Contacts.SettingsColumns
key
The key to store the Preference value.
int
R.attr
key(String s)
Append a key.
JSONStringer
KeyAgreementSpi()
Creates a new KeyAgreementSpi instance.
KeyAgreementSpi
keyAt(int index)
Given an index in the range 0...size()-1, returns the key from the indexth key-value mapping that this SparseArray stores.
SparseArray
keyAt(int index)
Given an index in the range 0...size()-1, returns the key from the indexth key-value mapping that this SparseBooleanArray stores.
SparseBooleanArray
keyAt(int index)
Given an index in the range 0...size()-1, returns the key from the indexth key-value mapping that this SparseIntArray stores.
SparseIntArray
keyBackground
Image for the key.
int
R.attr
Keyboard(Context context, int xmlLayoutResId)
Creates a keyboard from the given xml key layout file.
Keyboard
Keyboard(Context context, int xmlLayoutResId, int modeId)
Creates a keyboard from the given xml key layout file.
Keyboard
Keyboard(Context context, int layoutTemplateResId, CharSequence characters, int columns, int horizontalPadding)

Creates a blank keyboard from the given resource file and populates it with the specified characters in left-to-right, top-to-bottom fashion, using the specified number of columns.

Keyboard
Keyboard.Key(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser)
Create a key with the given top-left coordinate and extract its attributes from the XML parser.
Keyboard.Key
Keyboard.Key(Keyboard.Row parent)
Create an empty key with no attributes.
Keyboard.Key
Keyboard.Row(Resources res, Keyboard parent, XmlResourceParser parser)
Keyboard.Row
Keyboard.Row(Keyboard parent)
Keyboard.Row
KEYBOARDHIDDEN_NO
int
Configuration
KEYBOARDHIDDEN_UNDEFINED
int
Configuration
KEYBOARDHIDDEN_YES
int
Configuration
keyboardMode
Mode of the keyboard.
int
R.attr
keyboardView
View ID of the KeyboardView within an input method's input area.
int
R.id
KeyboardView(Context context, AttributeSet attrs)
KeyboardView
KeyboardView(Context context, AttributeSet attrs, int defStyle)
KeyboardView
KEYBOARD_12KEY
int
Configuration
KEYBOARD_NOKEYS
int
Configuration
KEYBOARD_QWERTY
int
Configuration
KEYBOARD_UNDEFINED
int
Configuration
KeyCharacterMap.KeyData()
KeyCharacterMap.KeyData
keycode
This enum provides the same keycode values as can be found in KeyEvent

Must be one of the following constant values.

int
R.attr
KEYCODE_0
int
KeyEvent
KEYCODE_1
int
KeyEvent
KEYCODE_2
int
KeyEvent
KEYCODE_3
int
KeyEvent
KEYCODE_4
int
KeyEvent
KEYCODE_5
int
KeyEvent
KEYCODE_6
int
KeyEvent
KEYCODE_7
int
KeyEvent
KEYCODE_8
int
KeyEvent
KEYCODE_9
int
KeyEvent
KEYCODE_A
int
KeyEvent
KEYCODE_ALT
int
Keyboard
KEYCODE_ALT_LEFT
int
KeyEvent
KEYCODE_ALT_RIGHT
int
KeyEvent
KEYCODE_APOSTROPHE
int
KeyEvent
KEYCODE_AT
int
KeyEvent
KEYCODE_B
int
KeyEvent
KEYCODE_BACK
int
KeyEvent
KEYCODE_BACKSLASH
int
KeyEvent
KEYCODE_C
int
KeyEvent
KEYCODE_CALL
int
KeyEvent
KEYCODE_CAMERA
int
KeyEvent
KEYCODE_CANCEL
int
Keyboard
KEYCODE_CLEAR
int
KeyEvent
KEYCODE_COMMA
int
KeyEvent
KEYCODE_D
int
KeyEvent
KEYCODE_DEL
int
KeyEvent
KEYCODE_DELETE
int
Keyboard
KEYCODE_DONE
int
Keyboard
KEYCODE_DPAD_CENTER
int
KeyEvent
KEYCODE_DPAD_DOWN
int
KeyEvent
KEYCODE_DPAD_LEFT
int
KeyEvent
KEYCODE_DPAD_RIGHT
int
KeyEvent
KEYCODE_DPAD_UP
int
KeyEvent
KEYCODE_E
int
KeyEvent
KEYCODE_ENDCALL
int
KeyEvent
KEYCODE_ENTER
int
KeyEvent
KEYCODE_ENVELOPE
int
KeyEvent
KEYCODE_EQUALS
int
KeyEvent
KEYCODE_EXPLORER
int
KeyEvent
KEYCODE_F
int
KeyEvent
KEYCODE_FOCUS
int
KeyEvent
KEYCODE_G
int
KeyEvent
KEYCODE_GRAVE
int
KeyEvent
KEYCODE_H
int
KeyEvent
KEYCODE_HEADSETHOOK
int
KeyEvent
KEYCODE_HOME
int
KeyEvent
KEYCODE_I
int
KeyEvent
KEYCODE_J
int
KeyEvent
KEYCODE_K
int
KeyEvent
KEYCODE_L
int
KeyEvent
KEYCODE_LEFT_BRACKET
int
KeyEvent
KEYCODE_M
int
KeyEvent
KEYCODE_MEDIA_FAST_FORWARD
int
KeyEvent
KEYCODE_MEDIA_NEXT
int
KeyEvent
KEYCODE_MEDIA_PLAY_PAUSE
int
KeyEvent
KEYCODE_MEDIA_PREVIOUS
int
KeyEvent
KEYCODE_MEDIA_REWIND
int
KeyEvent
KEYCODE_MEDIA_STOP
int
KeyEvent
KEYCODE_MENU
int
KeyEvent
KEYCODE_MINUS
int
KeyEvent
KEYCODE_MODE_CHANGE
int
Keyboard
KEYCODE_MUTE
int
KeyEvent
KEYCODE_N
int
KeyEvent
KEYCODE_NOTIFICATION
int
KeyEvent
KEYCODE_NUM
int
KeyEvent
KEYCODE_O
int
KeyEvent
KEYCODE_P
int
KeyEvent
KEYCODE_PERIOD
int
KeyEvent
KEYCODE_PLUS
int
KeyEvent
KEYCODE_POUND
int
KeyEvent
KEYCODE_POWER
int
KeyEvent
KEYCODE_Q
int
KeyEvent
KEYCODE_R
int
KeyEvent
KEYCODE_RIGHT_BRACKET
int
KeyEvent
KEYCODE_S
int
KeyEvent
KEYCODE_SEARCH
int
KeyEvent
KEYCODE_SEMICOLON
int
KeyEvent
KEYCODE_SHIFT
int
Keyboard
KEYCODE_SHIFT_LEFT
int
KeyEvent
KEYCODE_SHIFT_RIGHT
int
KeyEvent
KEYCODE_SLASH
int
KeyEvent
KEYCODE_SOFT_LEFT
int
KeyEvent
KEYCODE_SOFT_RIGHT
int
KeyEvent
KEYCODE_SPACE
int
KeyEvent
KEYCODE_STAR
int
KeyEvent
KEYCODE_SYM
int
KeyEvent
KEYCODE_T
int
KeyEvent
KEYCODE_TAB
int
KeyEvent
KEYCODE_U
int
KeyEvent
KEYCODE_UNKNOWN
int
KeyEvent
KEYCODE_V
int
KeyEvent
KEYCODE_VOLUME_DOWN
int
KeyEvent
KEYCODE_VOLUME_UP
int
KeyEvent
KEYCODE_W
int
KeyEvent
KEYCODE_X
int
KeyEvent
KEYCODE_Y
int
KeyEvent
KEYCODE_Z
int
KeyEvent
keyEdgeFlags
Key edge flags

Must be one or more (separated by '|') of the following constant values.

int
R.attr
KeyEvent(KeyEvent origEvent)
Make an exact copy of an existing key event.
KeyEvent
KeyEvent(KeyEvent origEvent, long eventTime, int newRepeat)
This constructor is deprecated. Use changeTimeRepeat(KeyEvent, long, int) instead.
KeyEvent
KeyEvent(int action, int code)
Create a new key event.
KeyEvent
KeyEvent(long time, String characters, int device, int flags)
Create a new key event for a string of characters.
KeyEvent
KeyEvent(long downTime, long eventTime, int action, int code, int repeat)
Create a new key event.
KeyEvent
KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState)
Create a new key event.
KeyEvent
KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int device, int scancode)
Create a new key event.
KeyEvent
KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int device, int scancode, int flags)
Create a new key event.
KeyEvent
KeyEvent.DispatcherState()
KeyEvent.DispatcherState
KeyException()
Constructs a new instance of KeyException.
KeyException
KeyException(String msg)
Constructs a new instance of KeyException with the given message.
KeyException
KeyException(String message, Throwable cause)
Constructs a new instance of KeyException with the given message and the cause.
KeyException
KeyException(Throwable cause)
Constructs a new instance of KeyException with the cause.
KeyException
KeyFactorySpi()
KeyFactorySpi
keyFor(String name)
Converts a name to a "key" that can be used for grouping, sorting and searching.
MediaStore.Audio
keyFor(Selector selector)
Gets this channel's selection key for the specified selector.
AbstractSelectableChannel
keyFor(Selector sel)
Gets this channel's selection key for the specified selector.
SelectableChannel
KeyGeneratorSpi()
Creates a new KeyGeneratorSpi instance.
KeyGeneratorSpi
KEYGUARD_SERVICE
Use with getSystemService(String) to retrieve a NotificationManager for controlling keyguard.
Context
keyHeight
Default height of a key, in pixels or percentage of display width

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

int
R.attr
keyIcon
The icon to display on the key instead of the label

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
keyLabel
The label to display on the key

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

int
R.attr
KeyManagementException()
Constructs a new instance of KeyManagementException.
KeyManagementException
KeyManagementException(String msg)
Constructs a new instance of KeyManagementException with the given message.
KeyManagementException
KeyManagementException(String message, Throwable cause)
Constructs a new instance of KeyManagementException with the given message and the cause.
KeyManagementException
KeyManagementException(Throwable cause)
Constructs a new instance of KeyManagementException with the cause.
KeyManagementException
KeyManagerFactorySpi()
Creates a new KeyManagerFactorySpi instance.
KeyManagerFactorySpi
keyOutputText
The string of characters to output when this key is pressed

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

int
R.attr
KeyPair(PublicKey publicKey, PrivateKey privateKey)
Constructs a new instance of KeyPair with a public key and the corresponding private key.
KeyPair
KeyPairGeneratorSpi()
Constructs a new instance of KeyPairGeneratorSpi.
KeyPairGeneratorSpi
keyPreviewHeight
Height of the key press feedback popup.
int
R.attr
keyPreviewLayout
Layout resource for key press feedback.
int
R.attr
keyPreviewOffset
Vertical offset of the key press feedback from the key.
int
R.attr
KeyRep(KeyRep.Type type, String algorithm, String format, byte[] encoded)
Constructs a new instance of KeyRep with the specified arguments.
KeyRep
keys()
Returns all preference keys stored in this node or an empty array if no key was found.
AbstractPreferences
keys()
Returns an enumeration of the keys in this table.
ConcurrentHashMap
keys()
Returns an enumeration on the keys of this dictionary.
Dictionary
keys()
Returns an enumeration on the keys of this Hashtable instance.
Hashtable
keys()
Get an enumeration of the keys of the JSONObject.
JSONObject
keys()
Returns all preference keys stored in this node or an empty array if no key was found.
Preferences
keys()
Gets the set of registered keys.
Selector
keySet()
Returns a set of the keys contained in this map.
AbstractMap
keySet()
Returns a Set containing all the keys found in this Attributes.
Attributes
keySet()
Returns a Set containing the Strings used as keys in this Bundle.
Bundle
keySet()
Returns a Set view of the keys contained in this map.
ConcurrentHashMap
keySet()
Returns a set of the keys contained in this EnumMap.
EnumMap
keySet()
Returns a set of the keys contained in this map.
HashMap
keySet()
Returns a set of the keys contained in this Hashtable.
Hashtable
keySet()
Returns a set of the keys contained in this map.
IdentityHashMap
keySet()
Returns a set of the keys contained in this Map.
Map
keySet()
Returns a set of the keys contained in this Hashtable.
Provider
keySet()
Returns a set of the keys contained in this map.
TreeMap
keySet()
Returns a set of the keys contained in this map.
WeakHashMap
keysSpi()
Returns an array of all preference keys of this node or an empty array if no preferences have been found.
AbstractPreferences
(protected)
KeyStore.CallbackHandlerProtection(CallbackHandler handler)
Constructs a new instance of CallbackHandlerProtection with the CallbackHandler.
KeyStore.CallbackHandlerProtection
KeyStore.PasswordProtection(char[] password)
Constructs a new instance of PasswordProtection with a password.
KeyStore.PasswordProtection
KeyStore.PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)
Constructs a new instance of PrivateKeyEntry with the given PrivateKey and the provided certificate chain.
KeyStore.PrivateKeyEntry
KeyStore.SecretKeyEntry(SecretKey secretKey)
Constructs a new instance of SecretKeyEntry with the given SecretKey.
KeyStore.SecretKeyEntry
KeyStore.TrustedCertificateEntry(Certificate trustCertificate)
Constructs a new instance of TrustedCertificateEntry with the given Certificate.
KeyStore.TrustedCertificateEntry
KeyStoreBuilderParameters(KeyStore.Builder builder)
Creates a new KeyStoreBuilderParameters with the specified key store builder.
KeyStoreBuilderParameters
KeyStoreBuilderParameters(List parameters)
Creates a new KeyStoreBuilderParameters with the specified list of KeyStore.Builders.
KeyStoreBuilderParameters
KeyStoreException()
Constructs a new instance of KeyStoreException.
KeyStoreException
KeyStoreException(String msg)
Constructs a new instance of KeyStoreException with the given message.
KeyStoreException
KeyStoreException(String message, Throwable cause)
Constructs a new instance of KeyStoreException with the given message and the cause.
KeyStoreException
KeyStoreException(Throwable cause)
Constructs a new instance of KeyStoreException with the cause.
KeyStoreException
KeyStoreSpi()
KeyStoreSpi
keyTextColor
Color to use for the label in a key

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

int
R.attr
keyTextSize
Size of the text for character keys.
int
R.attr
keyWidth
Default width of a key, in pixels or percentage of display width

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

int
R.attr
KEY_ACCOUNTS
AccountManager
KEY_ACCOUNT_AUTHENTICATOR_RESPONSE
AccountManager
KEY_ACCOUNT_MANAGER_RESPONSE
AccountManager
KEY_ACCOUNT_NAME
AccountManager
KEY_ACCOUNT_TYPE
AccountManager
KEY_AUTHENTICATOR_TYPES
AccountManager
KEY_AUTHTOKEN
AccountManager
KEY_AUTH_FAILED_MESSAGE
AccountManager
KEY_AUTH_TOKEN_LABEL
AccountManager
KEY_BOOLEAN_RESULT
AccountManager
KEY_ERROR_CODE
AccountManager
KEY_ERROR_MESSAGE
AccountManager
KEY_HAS_SET_DEFAULT_VALUES
PreferenceManager
KEY_INTENT
AccountManager
KEY_LOCATION_CHANGED
Key used for a Bundle extra holding a Location value when a location change is broadcast using a PendingIntent.
LocationManager
KEY_PARAM_STREAM
Parameter key to specify the audio stream type to be used when speaking text or playing back a file.
TextToSpeech.Engine
KEY_PARAM_UTTERANCE_ID
Parameter key to identify an utterance in the TextToSpeech.OnUtteranceCompletedListener after text has been spoken, a file has been played back or a silence duration has elapsed.
TextToSpeech.Engine
KEY_PASSWORD
AccountManager
KEY_PROVIDER_ENABLED
Key used for a Bundle extra holding an Boolean status value when a provider enabled/disabled event is broadcast using a PendingIntent.
LocationManager
KEY_PROXIMITY_ENTERING
Key used for the Bundle extra holding a boolean indicating whether a proximity alert is entering (true) or exiting (false)..
LocationManager
KEY_STATUS_CHANGED
Key used for a Bundle extra holding an Integer status value when a status change is broadcast using a PendingIntent.
LocationManager
KEY_USERDATA
AccountManager
KHMER
The "Khmer" Unicode Block.
Character.UnicodeBlock
KHMER
The Constant KHMER indicates the KHMER range and decimal base.
int
NumericShaper
KHMER_SYMBOLS
The "Khmer Symbols" Unicode Block.
Character.UnicodeBlock
kill()
Disable this callback list.
RemoteCallbackList
killAfterRestore
Whether the application in question should be terminated after its settings have been restored.
int
R.attr
killProcess(int pid)
Kill the process with the given PID.
Process
KIND
This constant is deprecated. see ContactsContract
Contacts.ContactMethodsColumns
KIND
The kind of the thumbnail

Type: INTEGER (One of the values below)

MediaStore.Images.Thumbnails
KIND
The kind of the thumbnail

Type: INTEGER (One of the values below)

MediaStore.Video.Thumbnails
KIND_ALL_COUNTS
int
VMDebug
KIND_EMAIL
This constant is deprecated. see ContactsContract
int
Contacts
KIND_GLOBAL_ALLOCATED_BYTES
int
VMDebug
KIND_GLOBAL_ALLOCATED_OBJECTS
int
VMDebug
KIND_GLOBAL_EXT_ALLOCATED_BYTES
int
VMDebug
KIND_GLOBAL_EXT_ALLOCATED_OBJECTS
int
VMDebug
KIND_GLOBAL_EXT_FREED_BYTES
int
VMDebug
KIND_GLOBAL_EXT_FREED_OBJECTS
int
VMDebug
KIND_GLOBAL_FREED_BYTES
int
VMDebug
KIND_GLOBAL_FREED_OBJECTS
int
VMDebug
KIND_GLOBAL_GC_INVOCATIONS
int
VMDebug
KIND_IM
This constant is deprecated. see ContactsContract
int
Contacts
KIND_ORGANIZATION
This constant is deprecated. see ContactsContract
int
Contacts
KIND_PHONE
This constant is deprecated. see ContactsContract
int
Contacts
KIND_POSTAL
This constant is deprecated. see ContactsContract
int
Contacts
KIND_THREAD_ALLOCATED_BYTES
int
VMDebug
KIND_THREAD_ALLOCATED_OBJECTS
int
VMDebug
KIND_THREAD_EXT_ALLOCATED_BYTES
int
VMDebug
KIND_THREAD_EXT_ALLOCATED_OBJECTS
int
VMDebug
KIND_THREAD_EXT_FREED_BYTES
int
VMDebug
KIND_THREAD_EXT_FREED_OBJECTS
int
VMDebug
KIND_THREAD_FREED_BYTES
int
VMDebug
KIND_THREAD_FREED_OBJECTS
int
VMDebug
KIND_THREAD_GC_INVOCATIONS
int
VMDebug
KOREA
Locale constant for ko_KR.
Locale
KOREAN
Locale constant for ko.
Locale