@DSSink([DSSinkKind.LOG]) @DSGenerator( tool_name = "Doppelganger", tool_version = "2.0", generated_on = "2013-12-30 12:29:19.771 -0500", hash_original_method = "06AF2B97EC9C8BBE1303A237FE727449", hash_generated_method = "103A7E1B02C228D1981B721CBC7DAC4C" ) fun updateCursor(view: View, left: Int, top: Int, right: Int, bottom: Int) { checkFocus() synchronized(mH) { if (mServedView !== view && (mServedView == null || !mServedView.checkInputConnectionProxy( view )) || mCurrentTextBoxAttribute == null || mCurMethod == null ) { return } mTmpCursorRect.set(left, top, right, bottom) if (!mCursorRect.equals(mTmpCursorRect)) { if (DEBUG) Log.d(TAG, "updateCursor") try { if (DEBUG) Log.v(TAG, "CURSOR CHANGE: $mCurMethod") mCurMethod.updateCursor(mTmpCursorRect) mCursorRect.set(mTmpCursorRect) } catch (e: RemoteException) { Log.w(TAG, "IME died: $mCurId", e) } } } }
Report the current cursor location in its window .