private void init(android.content.Context context) { android.content.res.Resources res = context.getResources(); mShiftIcon = res.getDrawable([email protected]_keyboard_shift); mShiftLockIcon = res.getDrawable([email protected]_keyboard_shift_locked ); sSpacebarVerticalCorrection = res.getDimensionPixelOffset([email protected] .password_keyboard_spacebar_vertical_correction); }