OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cursorLoader
(Results
1 - 25
of
25
) sorted by null
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
CursorLoaderTest.java
5
import android.support.v4.content.
CursorLoader
;
22
CursorLoader
cursorLoader
= new
CursorLoader
(new Activity(),
29
assertThat(
cursorLoader
.getUri(), equalTo(uri));
30
assertThat(
cursorLoader
.getProjection(), equalTo(projection));
31
assertThat(
cursorLoader
.getSelection(), equalTo(selection));
32
assertThat(
cursorLoader
.getSelectionArgs(), equalTo(selectionArgs));
33
assertThat(
cursorLoader
.getSortOrder(), equalTo(sortOrder));
43
CursorLoader
cursorLoader = new CursorLoader(new Activity())
[
all
...]
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
ShadowCursorLoaderTest.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
...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
BlockedParticipantsData.java
70
final BoundCursorLoader
cursorLoader
= (BoundCursorLoader) loader;
71
Assert.isTrue(isBound(
cursorLoader
.getBindingId()));
78
final BoundCursorLoader
cursorLoader
= (BoundCursorLoader) loader;
79
Assert.isTrue(isBound(
cursorLoader
.getBindingId()));
ContactPickerData.java
95
final BoundCursorLoader
cursorLoader
= (BoundCursorLoader) loader;
96
if (isBound(
cursorLoader
.getBindingId())) {
133
final BoundCursorLoader
cursorLoader
= (BoundCursorLoader) loader;
134
if (isBound(
cursorLoader
.getBindingId())) {
MediaPickerData.java
84
final BoundCursorLoader
cursorLoader
= (BoundCursorLoader) loader;
85
if (isBound(
cursorLoader
.getBindingId())) {
106
final BoundCursorLoader
cursorLoader
= (BoundCursorLoader) loader;
107
if (isBound(
cursorLoader
.getBindingId())) {
PeopleAndOptionsData.java
103
final BoundCursorLoader
cursorLoader
= (BoundCursorLoader) loader;
104
if (isBound(
cursorLoader
.getBindingId())) {
131
final BoundCursorLoader
cursorLoader
= (BoundCursorLoader) loader;
132
if (isBound(
cursorLoader
.getBindingId())) {
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
InMemoryPhoneBook.java
8
import android.support.v4.content.
CursorLoader
;
59
CursorLoader
cursorLoader
= createPhoneBookCursorLoader();
60
cursorLoader
.registerListener(0, this);
61
cursorLoader
.startLoading();
111
private
CursorLoader
createPhoneBookCursorLoader() {
112
return new
CursorLoader
(mContext,
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
ViewNumbersToImportFragment.java
21
import android.content.
CursorLoader
;
93
final
CursorLoader
cursorLoader
=
94
new
CursorLoader
(
101
return
cursorLoader
;
/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
) {
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
GalleryComposerFragment.java
33
import android.support.v4.content.
CursorLoader
;
68
private
CursorLoader
cursorLoader
;
146
return
cursorLoader
= new GalleryCursorLoader(getContext());
271
public
CursorLoader
getCursorLoader() {
272
return
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
) {
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/
PaletteActivity.java
39
import androidx.loader.content.
CursorLoader
;
103
// Start the loader manager to create our
CursorLoader
154
return new
CursorLoader
(
164
public void onLoadFinished(@NonNull Loader<Cursor>
cursorLoader
, Cursor cursor) {
169
public void onLoaderReset(@NonNull Loader<Cursor>
cursorLoader
) {
/packages/apps/Contacts/src/com/android/contacts/list/
JoinContactListAdapter.java
19
import android.content.
CursorLoader
;
68
public void configureLoader(
CursorLoader
cursorLoader
, long directoryId) {
69
JoinContactLoader loader = (JoinContactLoader)
cursorLoader
;
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
ContactsFragment.java
238
ContactsCursorLoader
cursorLoader
= new ContactsCursorLoader(getContext(), hasPhoneNumbers);
239
cursorLoader
.setQuery(query);
240
return
cursorLoader
;
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
MailAppProvider.java
25
import android.content.
CursorLoader
;
89
private final Map<Uri,
CursorLoader
> mCursorLoaderMap = Maps.newHashMap();
91
* When there is more than one {@link
CursorLoader
} we are considered finished only when all
94
private final Map<
CursorLoader
, Boolean> mAccountsLoaded = Maps.newHashMap();
186
for (
CursorLoader
loader : mCursorLoaderMap.values()) {
279
final
CursorLoader
accountsCursorLoader = new
CursorLoader
(getContext(), accountsQueryUri,
287
final
CursorLoader
oldLoader = mCursorLoaderMap.get(accountsQueryUri);
446
final
CursorLoader
cursorLoader
= (CursorLoader)loader
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/
AlarmClockFragment.java
275
public void onLoadFinished(Loader<Cursor>
cursorLoader
, Cursor data) {
377
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
/packages/apps/Email/src/com/android/email/activity/setup/
MailboxSettings.java
24
import android.content.
CursorLoader
;
198
return new
CursorLoader
(MailboxSettings.this, mFoldersUri,
203
public void onLoadFinished(Loader<Cursor>
cursorLoader
, Cursor cursor) {
221
public void onLoaderReset(Loader<Cursor>
cursorLoader
) {
Completed in 1592 milliseconds