FileDocCategorySizeDatePackage
LatinIMESettings.javaAPI DocAndroid 1.5 API1913Wed May 06 22:42:48 BST 2009com.android.inputmethod.latin

LatinIMESettings

public class LatinIMESettings extends android.preference.PreferenceActivity

Fields Summary
private static final String
QUICK_FIXES_KEY
private static final String
SHOW_SUGGESTIONS_KEY
private static final String
PREDICTION_SETTINGS_KEY
private android.preference.CheckBoxPreference
mQuickFixes
private android.preference.CheckBoxPreference
mShowSuggestions
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle icicle)

    
    
        
        super.onCreate(icicle);
        addPreferencesFromResource(R.xml.prefs);
        mQuickFixes = (CheckBoxPreference) findPreference(QUICK_FIXES_KEY);
        mShowSuggestions = (CheckBoxPreference) findPreference(SHOW_SUGGESTIONS_KEY);
    
protected voidonResume()

        super.onResume();
        int autoTextSize = AutoText.getSize(getListView());
        if (autoTextSize < 1) {
            ((PreferenceGroup) findPreference(PREDICTION_SETTINGS_KEY))
                .removePreference(mQuickFixes);
        } else {
            mShowSuggestions.setDependency(QUICK_FIXES_KEY);
        }