Home
last modified time | relevance | path

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

/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNotepadv3.java39 private NotesDbAdapter mDbHelper;
47 mDbHelper = new NotesDbAdapter(this); in onCreate()
59 String[] from = new String[]{NotesDbAdapter.KEY_TITLE}; in fillData()
118 i.putExtra(NotesDbAdapter.KEY_ROWID, id); in onListItemClick()
119 i.putExtra(NotesDbAdapter.KEY_TITLE, c.getString( in onListItemClick()
120 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_TITLE))); in onListItemClick()
121 i.putExtra(NotesDbAdapter.KEY_BODY, c.getString( in onListItemClick()
122 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); in onListItemClick()
132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult()
133 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult()
[all …]
DNoteEdit.java46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onCreate()
47 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onCreate()
48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onCreate()
63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate()
64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate()
66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); in onCreate()
DNotesDbAdapter.java37 public class NotesDbAdapter { class
87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter
100 public NotesDbAdapter open() throws SQLException { in open()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNotepadv2.java39 private NotesDbAdapter mDbHelper;
47 mDbHelper = new NotesDbAdapter(this); in onCreate()
59 String[] from = new String[]{NotesDbAdapter.KEY_TITLE}; in fillData()
118 i.putExtra(NotesDbAdapter.KEY_ROWID, id); in onListItemClick()
119 i.putExtra(NotesDbAdapter.KEY_TITLE, c.getString( in onListItemClick()
120 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_TITLE))); in onListItemClick()
121 i.putExtra(NotesDbAdapter.KEY_BODY, c.getString( in onListItemClick()
122 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); in onListItemClick()
132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult()
133 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult()
[all …]
DNoteEdit.java46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onCreate()
47 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onCreate()
48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onCreate()
63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate()
64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate()
66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); in onCreate()
DNotesDbAdapter.java37 public class NotesDbAdapter { class
87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter
100 public NotesDbAdapter open() throws SQLException { in open()
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNoteEdit.java31 private NotesDbAdapter mDbHelper;
36 mDbHelper = new NotesDbAdapter(this); in onCreate()
48 (Long) savedInstanceState.getSerializable(NotesDbAdapter.KEY_ROWID); in onCreate()
51 mRowId = extras != null ? extras.getLong(NotesDbAdapter.KEY_ROWID) in onCreate()
72 note.getColumnIndexOrThrow(NotesDbAdapter.KEY_TITLE))); in populateFields()
74 note.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); in populateFields()
82 outState.putSerializable(NotesDbAdapter.KEY_ROWID, mRowId); in onSaveInstanceState()
DNotepadv3.java39 private NotesDbAdapter mDbHelper;
46 mDbHelper = new NotesDbAdapter(this); in onCreate()
57 String[] from = new String[]{NotesDbAdapter.KEY_TITLE}; in fillData()
114 i.putExtra(NotesDbAdapter.KEY_ROWID, id); in onListItemClick()
DNotesDbAdapter.java37 public class NotesDbAdapter { class
87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter
100 public NotesDbAdapter open() throws SQLException { in open()
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
DNotepadv1.java30 private NotesDbAdapter mDbHelper;
37 mDbHelper = new NotesDbAdapter(this); in onCreate()
70 String[] from = new String[] { NotesDbAdapter.KEY_TITLE }; in fillData()
DNotesDbAdapter.java37 public class NotesDbAdapter { class
87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter
100 public NotesDbAdapter open() throws SQLException { in open()
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
DNotepadv2.java38 private NotesDbAdapter mDbHelper;
46 mDbHelper = new NotesDbAdapter(this); in onCreate()
57 String[] from = new String[]{NotesDbAdapter.KEY_TITLE}; in fillData()
DNotesDbAdapter.java37 public class NotesDbAdapter { class
87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter
100 public NotesDbAdapter open() throws SQLException { in open()
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
DNotesDbAdapter.java37 public class NotesDbAdapter { class
87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter
100 public NotesDbAdapter open() throws SQLException { in open()