OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:notepad
(Results
1 - 7
of
7
) sorted by null
/development/samples/NotePad/tests/src/com/example/android/notepad/
NotePadActivityTest.java
17
package com.example.android.
notepad
;
20
import com.example.android.
notepad
.NotesList;
NotePadProviderTest.java
17
package com.example.android.
notepad
;
49
Uri.withAppendedPath(
NotePad
.Notes.CONTENT_URI, "invalid");
101
super(NotePadProvider.class,
NotePad
.AUTHORITY);
151
NotePad
.Notes.TABLE_NAME, // the table name for the insert
152
NotePad
.Notes.COLUMN_NAME_TITLE, // column set to null if empty values map
165
String mimeType = mMockResolver.getType(
NotePad
.Notes.CONTENT_URI);
166
assertEquals(
NotePad
.Notes.CONTENT_TYPE, mimeType);
169
mimeType = mMockResolver.getType(
NotePad
.Notes.LIVE_FOLDER_URI);
170
assertEquals(
NotePad
.Notes.CONTENT_TYPE, mimeType);
173
Uri noteIdUri = ContentUris.withAppendedId(
NotePad
.Notes.CONTENT_ID_URI_BASE, 1)
[
all
...]
/development/samples/NotePad/src/com/example/android/notepad/
NotePad.java
17
package com.example.android.
notepad
;
28
public final class
NotePad
{
29
public static final String AUTHORITY = "com.google.provider.
NotePad
";
32
private
NotePad
() {
TitleEditor.java
17
package com.example.android.
notepad
;
43
public static final String EDIT_TITLE_ACTION = "com.android.
notepad
.action.EDIT_TITLE";
47
NotePad
.Notes._ID, // 0
48
NotePad
.Notes.COLUMN_NAME_TITLE, // 1
174
values.put(
NotePad
.Notes.COLUMN_NAME_TITLE, newTitle);
NotePadProvider.java
17
package com.example.android.
notepad
;
19
import com.example.android.
notepad
.
NotePad
;
77
NotePad
.Notes._ID, // Projection position 0, the note's id
78
NotePad
.Notes.COLUMN_NAME_NOTE, // Projection position 1, the note's content
79
NotePad
.Notes.COLUMN_NAME_TITLE, // Projection position 2, the note's title
115
sUriMatcher.addURI(
NotePad
.AUTHORITY, "notes", NOTES);
119
sUriMatcher.addURI(
NotePad
.AUTHORITY, "notes/#", NOTE_ID);
130
sNotesProjectionMap.put(
NotePad
.Notes._ID,
NotePad
.Notes._ID)
[
all
...]
NotesList.java
17
package com.example.android.
notepad
;
60
NotePad
.Notes._ID, // 0
61
NotePad
.Notes.COLUMN_NAME_TITLE, // 1
89
intent.setData(
NotePad
.Notes.CONTENT_URI);
109
String[] dataColumns = {
NotePad
.Notes.COLUMN_NAME_TITLE } ;
138
* mimeTYpe
NotePad
.Notes.CONTENT_TYPE. If they do this, the code in onCreateOptionsMenu()
246
* this triggers the NoteEditor activity in the
NotePad
application.
261
* In effect, this starts the NoteEditor Activity in
NotePad
.
269
* In effect, this starts the NoteEditor Activity in
NotePad
.
468
NotePad
.Notes.DEFAULT_SORT_ORDER // Use the default sort order
[
all
...]
NoteEditor.java
17
package com.example.android.
notepad
;
43
import com.example.android.
notepad
.
NotePad
.Notes;
60
NotePad
.Notes._ID,
61
NotePad
.Notes.COLUMN_NAME_TITLE,
62
NotePad
.Notes.COLUMN_NAME_NOTE
421
if (uri != null &&
NotePad
.Notes.CONTENT_ITEM_TYPE.equals(cr.getType(uri))) {
436
int colNoteIndex = orig.getColumnIndex(
NotePad
.Notes.COLUMN_NAME_NOTE);
437
int colTitleIndex = orig.getColumnIndex(
NotePad
.Notes.COLUMN_NAME_TITLE);
468
values.put(
NotePad
.Notes.COLUMN_NAME_MODIFICATION_DATE, System.currentTimeMillis())
[
all
...]
Completed in 4703 milliseconds