Lines Matching refs:preference
9 import android.preference.Preference;
10 import android.preference.PreferenceActivity;
17 public void onStarted(Preference preference, boolean reading); in onStarted() argument
18 public void onFinished(Preference preference, boolean reading); in onFinished() argument
19 public void onError(Preference preference, int error); in onError() argument
20 public void onException(Preference preference, CommandException exception); in onException() argument
150 public void onStarted(Preference preference, boolean reading) { in onStarted() argument
152 if (DBG) Log.d(LOG_TAG, "onStarted, preference=" + preference.getKey() in onStarted()
154 mBusyList.add(preference.getKey()); in onStarted()
167 public void onFinished(Preference preference, boolean reading) { in onFinished() argument
169 if (DBG) Log.d(LOG_TAG, "onFinished, preference=" + preference.getKey() in onFinished()
171 mBusyList.remove(preference.getKey()); in onFinished()
180 preference.setEnabled(true); in onFinished()
184 public void onError(Preference preference, int error) { in onError() argument
186 if (DBG) Log.d(LOG_TAG, "onError, preference=" + preference.getKey() + ", error=" + error); in onError()
191 preference.setEnabled(false); in onError()
195 public void onException(Preference preference, CommandException exception) { in onException() argument
197 onError(preference, FDN_CHECK_FAILURE); in onException()
199 onError(preference, RADIO_OFF_ERROR); in onException()
201 preference.setEnabled(false); in onException()
202 onError(preference, EXCEPTION_ERROR); in onException()