Home | History | Annotate | Download | only in editor

Lines Matching refs:Editor

17 package com.android.contacts.editor;
20 import com.android.contacts.editor.Editor.EditorListener;
110 public void onDeleteRequested(Editor editor) {
111 // If there is only 1 editor in the section, then don't allow the user to delete it.
112 // Just clear the fields in the editor.
114 editor.clearAllFields();
116 // Otherwise it's okay to delete this {@link Editor}
117 editor.deleteEditor();
191 "Cannot allocate editor with layout resource ID " +
198 if (view instanceof Editor) {
199 Editor editor = (Editor) view;
200 editor.setDeletable(true);
201 editor.setValues(mKind, entry, mState, mReadOnly, mViewIdGenerator);
202 editor.setEditorListener(this);
242 * {@link Editor}s, so there is only max 1 empty {@link Editor} view at a time.
247 // If there is more than 1 empty editor, then remove it from the list of editors.
251 // this {@link View}, then remove this empty editor.
260 * Returns a list of empty editor views in this section.
266 if (((Editor) view).isEmpty()) {
287 if (!((Editor) view).isEmpty()) {