OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cursorLoader
(Results
1 - 11
of
11
) sorted by null
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
CursorLoaderTest.java
6
import android.support.v4.content.
CursorLoader
;
21
CursorLoader
cursorLoader
= new
CursorLoader
(RuntimeEnvironment.application,
28
assertThat(
cursorLoader
.getUri()).isEqualTo(uri);
29
assertThat(
cursorLoader
.getProjection()).isEqualTo(projection);
30
assertThat(
cursorLoader
.getSelection()).isEqualTo(selection);
31
assertThat(
cursorLoader
.getSelectionArgs()).isEqualTo(selectionArgs);
32
assertThat(
cursorLoader
.getSortOrder()).isEqualTo(sortOrder);
42
CursorLoader
cursorLoader = new CursorLoader(RuntimeEnvironment.application)
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/content/
ChangedContacts.java
23
import android.content.
CursorLoader
;
169
private
CursorLoader
getChangeLoader() {
181
return new
CursorLoader
(this, ContactsContract.Data.CONTENT_URI, projection,
186
private
CursorLoader
getDeleteLoader() {
196
return new
CursorLoader
(this, ContactsContract.DeletedContacts.CONTENT_URI, projection,
202
public void onLoadFinished(Loader<Cursor>
cursorLoader
, Cursor data) {
206
switch (
cursorLoader
.getId()) {
242
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
244
switch (
cursorLoader
.getId()) {
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
MainActivity.java
27
import android.support.v4.content.
CursorLoader
;
173
return new
CursorLoader
(this, SmsQuery.CONTENT_URI, SmsQuery.PROJECTION, null, null,
180
public void onLoadFinished(Loader<Cursor>
cursorLoader
, Cursor cursor) {
181
if (
cursorLoader
.getId() == SmsQuery.TOKEN && cursor != null) {
188
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
/developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/
ContactablesLoaderCallbacks.java
21
import android.content.
CursorLoader
;
69
return new
CursorLoader
(
141
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
/developers/samples/android/content/contacts/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/
ContactablesLoaderCallbacks.java
21
import android.content.
CursorLoader
;
69
return new
CursorLoader
(
141
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
ContactablesLoaderCallbacks.java
21
import android.content.
CursorLoader
;
69
return new
CursorLoader
(
141
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
EntryListFragment.java
31
import android.support.v4.content.
CursorLoader
;
215
return new
CursorLoader
(getActivity(), // Context
228
public void onLoadFinished(Loader<Cursor>
cursorLoader
, Cursor cursor) {
239
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
EntryListFragment.java
31
import android.support.v4.content.
CursorLoader
;
215
return new
CursorLoader
(getActivity(), // Context
228
public void onLoadFinished(Loader<Cursor>
cursorLoader
, Cursor cursor) {
239
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
/development/samples/NotePad/src/com/example/android/notepad/
NotesList.java
26
import android.content.
CursorLoader
;
119
null, // The cursor is set by
CursorLoader
when loaded
462
return new
CursorLoader
(
473
public void onLoadFinished(Loader<Cursor>
cursorLoader
, Cursor cursor) {
478
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
NoteEditor.java
27
import android.content.
CursorLoader
;
552
return new
CursorLoader
(
563
public void onLoadFinished(Loader<Cursor>
cursorLoader
, Cursor cursor) {
590
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {}
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
EntryListFragment.java
31
import android.support.v4.content.
CursorLoader
;
215
return new
CursorLoader
(getActivity(), // Context
228
public void onLoadFinished(Loader<Cursor>
cursorLoader
, Cursor cursor) {
239
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
Completed in 550 milliseconds