Example usage for android.text AutoText getSize

List of usage examples for android.text AutoText getSize

Introduction

In this page you can find the example usage for android.text AutoText getSize.

Prototype

public static int getSize(View view) 

Source Link

Document

Returns the size of the auto text dictionary.

Usage

From source file:com.s16.inputmethod.skeyboard.IMESettings.java

@Override
public void onResume() {
    super.onResume();
    int autoTextSize = AutoText.getSize(getListView());
    if (autoTextSize < 1) {
        ((PreferenceGroup) findPreference(PREDICTION_SETTINGS_KEY)).removePreference(mQuickFixes);
    }// w  w w .j av a  2s  . c  o m
    //updateSettingsKeySummary();
    updateLanguageKeySummary();
    updateKeyboardLayoutSummary();
    updateTextSizeSummary();
    updateShowExtendedRowSummary();
}