saves the colors preferences in the sharedpreferences object given . concode_field_sep List<Integer> availableColors concode_elem_sep int[][] combinations concode_elem_sep Context context concode_elem_sep Map<ColorUsage,Integer> colors concode_field_sep int getRes concode_elem_sep ColorDrawable getDrawable concode_elem_sep String getColorAsString concode_elem_sep int getColorByIndex concode_elem_sep int colorIndex concode_elem_sep int getColor concode_elem_sep ColorPreference loadFromPreferences concode_elem_sep ColorPreference setRes concode_elem_sep ColorPreference randomize
ColorPreference function ( SharedPreferences arg0 ) { SharedPreferences . Editor loc0 = arg0 . edit ( ) ; for ( ColorUsage loc1 : colors . keySet ( ) ) { loc0 . putInt ( loc1 . asString ( ) , colorIndex ( getRes ( loc1 ) ) ) ; } loc0 . apply ( ) ; Log . d ( "srini_string" , "srini_string" ) ; return this ; }