void function ( int arg0 , int [ ] arg1 ) { if ( arg1 . length < 2 ) return ; if ( arg1 [ 0 ] > 0 && arg1 [ 1 ] > 0 && arg1 [ 0 ] != arg0 && arg1 [ 1 ] == arg0 ) { arg1 [ 1 ] = arg1 [ 0 ] ; arg1 [ 0 ] = arg0 ; } }
swaps the first and second values in the codes array if the primary code is not the first value in the array but the second . this happens when the preferred key is not the key that the user released the finger on . concode_field_sep StringBuilder mTypedWord concode_elem_sep String mPreferredWord concode_elem_sep boolean mAutoCapitalized concode_elem_sep int mCapsCount concode_elem_sep ArrayList<int[]> mCodes concode_elem_sep boolean mIsFirstCharCapitalized concode_field_sep void add concode_elem_sep CharSequence getTypedWord concode_elem_sep boolean isAllUpperCase concode_elem_sep void deleteLast concode_elem_sep void setFirstCharCapitalized concode_elem_sep CharSequence getPreferredWord concode_elem_sep boolean isMostlyCaps concode_elem_sep void setAutoCapitalized concode_elem_sep int[] getCodesAt concode_elem_sep boolean isFirstCharCapitalized concode_elem_sep int size concode_elem_sep void reset concode_elem_sep void setPreferredWord concode_elem_sep boolean isAutoCapitalized