HomeSort by relevance Sort by last modified time
    Searched refs:cursorLoader (Results 1 - 20 of 20) 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...]
  /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/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/
PhoneBook.java 25 import android.content.CursorLoader;
177 CursorLoader cursorLoader = new CursorLoader(mContext);
178 cursorLoader.setUri(Uri.withAppendedPath(
181 cursorLoader.setProjection(CONTACT_ID_PROJECTION);
182 cursorLoader.registerListener(0, new LoadCompleteListener(this, number, listener));
183 cursorLoader.startLoading();
  /packages/apps/Dialer/src/com/android/dialer/filterednumber/
ViewNumbersToImportFragment.java 21 import android.content.CursorLoader;
97 final CursorLoader cursorLoader = new CursorLoader(
104 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) {
  /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/Support7Demos/src/com/example/android/supportv7/graphics/
PaletteActivity.java 30 import android.support.v4.content.CursorLoader;
100 // Start the loader manager to create our CursorLoader
150 return new CursorLoader(
160 public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) {
165 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) {
  /packages/apps/Contacts/src/com/android/contacts/list/
JoinContactListAdapter.java 19 import android.content.CursorLoader;
71 public void configureLoader(CursorLoader cursorLoader, long directoryId) {
72 JoinContactLoader loader = (JoinContactLoader) cursorLoader;
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmClockFragment.java 182 public void onLoadFinished(Loader<Cursor> cursorLoader, final Cursor data) {
218 public void onLoaderReset(Loader<Cursor> 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/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 2420 milliseconds