API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Class android.view.KeyEvent

Added Constructors
KeyEvent(long, long, int, int, int, int, int, int, int) Create a new key event.
 

Removed Methods
boolean isCapPressed()

Returns the pressed state of the CAP meta key.

 

Added Methods
int describeContents()  
int getDeadChar(int, int) Get the character that is produced by putting accent on the character c.
char getDisplayLabel() Get the primary character for this key.
int getFlags() Returns the flags for this key event.
boolean getKeyData(KeyData) Get the characters conversion data for the key event..
char getMatch(char[]) The same as getMatch(chars, 0).
char getMatch(char[], int) If one of the chars in the array can be generated by the keyCode of this key event, return the char; otherwise return '\0'.
char getNumber() Gets the number or symbol associated with the key.
int getUnicodeChar()

Returns the Unicode character that the key would produce.

int getUnicodeChar(int)

Returns the Unicode character that the key would produce.

boolean isPrintingKey() Does the key code of this key produce a glyph?
boolean isShiftPressed()

Returns the pressed state of the SHIFT meta key.

 

Changed Methods
void writeToParcel(Parcel, int) Change in signature from Parcel to (Parcel, int).
 
 

Removed Fields
int KEYCODE_ALT  
int KEYCODE_CAP  
int KEYCODE_NEWLINE  
int META_CAP_ON

This mask is used to check whether the CAP meta key is pressed.

 

Added Fields
int FLAG_WOKE_HERE This mask is set if the device woke because of this key event.
int KEYCODE_ALT_LEFT  
int KEYCODE_ALT_RIGHT  
int KEYCODE_ENTER  
int KEYCODE_MENU  
int KEYCODE_NOTIFICATION  
int KEYCODE_SEARCH  
int KEYCODE_SHIFT_LEFT  
int KEYCODE_SHIFT_RIGHT  
int META_ALT_LEFT_ON

This mask is used to check whether the left ALT meta key is pressed.

int META_ALT_RIGHT_ON

This mask is used to check whether the right the ALT meta key is pressed.

int META_SHIFT_LEFT_ON

This mask is used to check whether the left SHIFT meta key is pressed.

int META_SHIFT_ON

This mask is used to check whether one of the SHIFT meta keys is pressed.

int META_SHIFT_RIGHT_ON

This mask is used to check whether the right SHIFT meta key is pressed.

 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff