Home
last modified time | relevance | path

Searched refs:mEditTypeAdapter (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java71 private EditTypeAdapter mEditTypeAdapter; field in LabeledEditorView
294 mEditTypeAdapter = new EditTypeAdapter(getContext()); in rebuildLabel()
295 mLabel.setAdapter(mEditTypeAdapter); in rebuildLabel()
296 if (mEditTypeAdapter.hasCustomSelection()) { in rebuildLabel()
297 mLabel.setSelection(mEditTypeAdapter.getPosition(CUSTOM_SELECTION)); in rebuildLabel()
303 mLabel.setSelection(mEditTypeAdapter.getPosition(mType)); in rebuildLabel()
364 if (mEditTypeAdapter != null) { in notifyEditorListener()
365 mEditTypeAdapter.notifyDataSetChanged(); in notifyEditorListener()
507 EditType selected = mEditTypeAdapter.getItem(position); in onTypeSelectionChange()
509 if (mEditTypeAdapter.hasCustomSelection() && selected == CUSTOM_SELECTION) { in onTypeSelectionChange()