Lines Matching refs:preference
9 import android.preference.Preference;
10 import android.preference.PreferenceActivity;
17 public void onStarted(Preference preference, boolean reading);
18 public void onFinished(Preference preference, boolean reading);
19 public void onError(Preference preference, int error);
20 public void onException(Preference preference, CommandException exception);
134 public void onStarted(Preference preference, boolean reading) {
136 if (DBG) Log.d(LOG_TAG, "onStarted, preference=" + preference.getKey()
138 mBusyList.add(preference.getKey());
151 public void onFinished(Preference preference, boolean reading) {
153 if (DBG) Log.d(LOG_TAG, "onFinished, preference=" + preference.getKey()
155 mBusyList.remove(preference.getKey());
164 preference.setEnabled(true);
168 public void onError(Preference preference, int error) {
170 if (DBG) Log.d(LOG_TAG, "onError, preference=" + preference.getKey() + ", error=" + error);
175 preference.setEnabled(false);
179 public void onException(Preference preference, CommandException exception) {
181 onError(preference, FDN_CHECK_FAILURE);
183 preference.setEnabled(false);
184 onError(preference, EXCEPTION_ERROR);