/**@class android.inputmethodservice.KeyboardView implements android.view.View.OnClickListener @extends android.view.View A view that renders a virtual {@link android.inputmethodservice.Keyboard}. It handles rendering of keys and detecting key presses and touch movements. @attr ref android.R.styleable#KeyboardView_keyBackground @attr ref android.R.styleable#KeyboardView_keyPreviewLayout @attr ref android.R.styleable#KeyboardView_keyPreviewOffset @attr ref android.R.styleable#KeyboardView_keyPreviewHeight @attr ref android.R.styleable#KeyboardView_labelTextSize @attr ref android.R.styleable#KeyboardView_keyTextSize @attr ref android.R.styleable#KeyboardView_keyTextColor @attr ref android.R.styleable#KeyboardView_verticalCorrection @attr ref android.R.styleable#KeyboardView_popupLayout @deprecated This class is deprecated because this is just a convenient UI widget class that application developers can re-implement on top of existing public APIs. If you have already depended on this class, consider copying the implementation from AOSP into your project or re-implementing a similar widget by yourselves */ var KeyboardView = { /** */ setOnKeyboardActionListener : function( ) {}, /**Attaches a keyboard to this view. The keyboard can be switched at any time and the view will re-layout itself to accommodate the keyboard. @param {Object {Keyboard}} keyboard the keyboard to display in this view @see #getKeyboard() @param keyboard the keyboard to display in this view */ setKeyboard : function( ) {}, /**Returns the current keyboard being displayed by this view. @return {Object {android.inputmethodservice.Keyboard}} the currently attached keyboard @see #setKeyboard(Keyboard) */ getKeyboard : function( ) {}, /**Sets the state of the shift key of the keyboard, if any. @param {Boolean} shifted whether or not to enable the state of the shift key @return {Boolean} true if the shift key state changed, false if there was no change @see KeyboardView#isShifted() */ setShifted : function( ) {}, /**Returns the state of the shift key of the keyboard, if any. @return {Boolean} true if the shift is in a pressed state, false otherwise. If there is no shift key on the keyboard or there is no keyboard attached, it returns false. @see KeyboardView#setShifted(boolean) */ isShifted : function( ) {}, /**Enables or disables the key feedback popup. This is a popup that shows a magnified version of the depressed key. By default the preview is enabled. @param {Boolean} previewEnabled whether or not to enable the key feedback popup @see #isPreviewEnabled() */ setPreviewEnabled : function( ) {}, /**Returns the enabled state of the key feedback popup. @return {Boolean} whether or not the key feedback popup is enabled @see #setPreviewEnabled(boolean) */ isPreviewEnabled : function( ) {}, /** */ setVerticalCorrection : function( ) {}, /** */ setPopupParent : function( ) {}, /** */ setPopupOffset : function( ) {}, /**When enabled, calls to {@link android.inputmethodservice.KeyboardView.OnKeyboardActionListener#onKey} will include key codes for adjacent keys. When disabled, only the primary key code will be reported. @param {Boolean} enabled whether or not the proximity correction is enabled */ setProximityCorrectionEnabled : function( ) {}, /**Returns true if proximity correction is enabled. */ isProximityCorrectionEnabled : function( ) {}, /**Popup keyboard close button clicked. @hide */ onClick : function( ) {}, /** */ onMeasure : function( ) {}, /** */ onSizeChanged : function( ) {}, /** */ onDraw : function( ) {}, /**Requests a redraw of the entire keyboard. Calling {@link #invalidate} is not sufficient because the keyboard renders the keys to an off-screen buffer and an invalidate() only draws the cached buffer. @see #invalidateKey(int) */ invalidateAllKeys : function( ) {}, /**Invalidates a key so that it will be redrawn on the next repaint. Use this method if only one key is changing it's content. Any changes that affect the position or size of the key may not be honored. @param {Number} keyIndex the index of the key in the attached {@link Keyboard}. @see #invalidateAllKeys */ invalidateKey : function( ) {}, /** */ onHoverEvent : function( ) {}, /** */ onTouchEvent : function( ) {}, /** */ closing : function( ) {}, /** */ onDetachedFromWindow : function( ) {}, /** */ handleBack : function( ) {}, };