Home
last modified time | relevance | path

Searched refs:ContentPager (Results 1 – 16 of 16) sorted by relevance

/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/
DContentPagerTest.java19 import static androidx.contentpager.content.ContentPager.createArgs;
41 import androidx.contentpager.content.ContentPager.ContentCallback;
61 private ContentPager mPager;
71 mPager = new ContentPager(mResolver, mRunner); in setUp()
100 ContentPager.CURSOR_DISPOSITION_PAGED, in testRelaysProviderPagedResults()
101 extras.getInt(ContentPager.CURSOR_DISPOSITION, -1)); in testRelaysProviderPagedResults()
114 extras.getInt(ContentPager.Stats.EXTRA_PROVIDER_PAGED)); in testRelaysProviderPagedResults()
117 extras.getInt(ContentPager.Stats.EXTRA_RESOLVED_QUERIES)); in testRelaysProviderPagedResults()
120 extras.getInt(ContentPager.Stats.EXTRA_TOTAL_QUERIES)); in testRelaysProviderPagedResults()
150 ContentPager.CURSOR_DISPOSITION_REPAGED, in testLimitsPagedResultsToWindowSize()
[all …]
DQueryTest.java26 import androidx.contentpager.content.ContentPager.ContentCallback;
50 ContentPager.createArgs(0, 10), in testDistinctIdsForDifferentUris()
57 ContentPager.createArgs(0, 10), in testDistinctIdsForDifferentUris()
69 ContentPager.createArgs(0, 10), in testDistinctIdsForDifferentPagingArgs()
76 ContentPager.createArgs(10, 10), in testDistinctIdsForDifferentPagingArgs()
DLoaderQueryRunnerTest.java19 import static androidx.contentpager.content.ContentPager.createArgs;
28 import androidx.contentpager.content.ContentPager.ContentCallback;
29 import androidx.contentpager.content.ContentPager.QueryRunner;
DTestQueryRunner.java26 public final class TestQueryRunner implements ContentPager.QueryRunner {
DTestQueryCallback.java36 final class TestQueryCallback implements ContentPager.QueryRunner.Callback {
/frameworks/support/content/api_legacy/
D27.0.0.txt3 public class ContentPager {
4 …ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.Que…
5 …ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.Que…
7 …oid.os.Bundle, android.os.CancellationSignal, android.support.content.ContentPager.ContentCallback…
21 public static abstract interface ContentPager.ContentCallback {
25 …public static abstract class ContentPager.CursorDisposition implements java.lang.annotation.Annota…
28 public static abstract interface ContentPager.QueryRunner {
31 …act void query(android.support.content.Query, android.support.content.ContentPager.QueryRunner.Cal…
34 public static abstract interface ContentPager.QueryRunner.Callback {
39 public final class LoaderQueryRunner implements android.support.content.ContentPager.QueryRunner {
[all …]
D28.0.0-alpha1.txt3 public class ContentPager {
4 …ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.Que…
5 …ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.Que…
7 …oid.os.Bundle, android.os.CancellationSignal, android.support.content.ContentPager.ContentCallback…
21 public static abstract interface ContentPager.ContentCallback {
25 …public static abstract class ContentPager.CursorDisposition implements java.lang.annotation.Annota…
28 public static abstract interface ContentPager.QueryRunner {
31 …act void query(android.support.content.Query, android.support.content.ContentPager.QueryRunner.Cal…
34 public static abstract interface ContentPager.QueryRunner.Callback {
39 public final class LoaderQueryRunner implements android.support.content.ContentPager.QueryRunner {
[all …]
D27.1.0.txt3 public class ContentPager {
4 …ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.Que…
5 …ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.Que…
7 …oid.os.Bundle, android.os.CancellationSignal, android.support.content.ContentPager.ContentCallback…
21 public static abstract interface ContentPager.ContentCallback {
25 …public static abstract class ContentPager.CursorDisposition implements java.lang.annotation.Annota…
28 public static abstract interface ContentPager.QueryRunner {
31 …act void query(android.support.content.Query, android.support.content.ContentPager.QueryRunner.Cal…
34 public static abstract interface ContentPager.QueryRunner.Callback {
39 public final class LoaderQueryRunner implements android.support.content.ContentPager.QueryRunner {
[all …]
Dcurrent.txt3 public class ContentPager {
4 …ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.Que…
5 …ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.Que…
7 …oid.os.Bundle, android.os.CancellationSignal, android.support.content.ContentPager.ContentCallback…
21 public static abstract interface ContentPager.ContentCallback {
25 …public static abstract class ContentPager.CursorDisposition implements java.lang.annotation.Annota…
28 public static abstract interface ContentPager.QueryRunner {
31 …act void query(android.support.content.Query, android.support.content.ContentPager.QueryRunner.Cal…
34 public static abstract interface ContentPager.QueryRunner.Callback {
39 public final class LoaderQueryRunner implements android.support.content.ContentPager.QueryRunner {
[all …]
/frameworks/support/content/api/
Dcurrent.txt3 public class ContentPager {
4 …ctor public ContentPager(android.content.ContentResolver, androidx.contentpager.content.ContentPag…
5 …ctor public ContentPager(android.content.ContentResolver, androidx.contentpager.content.ContentPag…
7 ….Bundle, android.os.CancellationSignal, androidx.contentpager.content.ContentPager.ContentCallback…
21 public static abstract interface ContentPager.ContentCallback {
25 …public static abstract class ContentPager.CursorDisposition implements java.lang.annotation.Annota…
28 public static abstract interface ContentPager.QueryRunner {
31 …ry(androidx.contentpager.content.Query, androidx.contentpager.content.ContentPager.QueryRunner.Cal…
34 public static abstract interface ContentPager.QueryRunner.Callback {
39 …public final class LoaderQueryRunner implements androidx.contentpager.content.ContentPager.QueryRu…
[all …]
/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/
DContentPagerDemoActivity.java30 import androidx.contentpager.content.ContentPager;
31 import androidx.contentpager.content.ContentPager.ContentCallback;
51 private ContentPager mPager;
62 ContentPager.QueryRunner runner = new LoaderQueryRunner(this, getLoaderManager()); in onCreate()
63 mPager = new ContentPager(getContentResolver(), runner); in onCreate()
152 private final ContentPager mPager;
158 private Adapter(ContentPager pager, int pageSize) {
175 mPager.query(mUri, null, ContentPager.createArgs(offset, mPageSize), null, this);
215 return extras.getInt(ContentPager.EXTRA_TOTAL_COUNT, -1);
/frameworks/support/content/src/main/java/androidx/contentpager/content/
DContentPager.java146 public class ContentPager { class
152 ContentPager.CURSOR_DISPOSITION_COPIED,
153 ContentPager.CURSOR_DISPOSITION_PAGED,
154 ContentPager.CURSOR_DISPOSITION_REPAGED,
155 ContentPager.CURSOR_DISPOSITION_WRAPPED
211 public ContentPager(ContentResolver resolver, QueryRunner queryRunner) { in ContentPager() method in ContentPager
227 public ContentPager( in ContentPager() method in ContentPager
249 ContentPager.this.onCursorReady(query, cursor); in ContentPager()
506 ContentPager.QUERY_ARG_OFFSET, in buildExtras()
507 ContentPager.QUERY_ARG_LIMIT in buildExtras()
[all …]
DQuery.java52 private final ContentPager.ContentCallback mCallback;
59 @NonNull ContentPager.ContentCallback callback) { in Query()
71 this.mOffset = args.getInt(ContentPager.QUERY_ARG_OFFSET, -1); in Query()
72 this.mLimit = args.getInt(ContentPager.QUERY_ARG_LIMIT, -1); in Query()
110 @NonNull ContentPager.ContentCallback getCallback() { in getCallback()
DLoaderQueryRunner.java35 public final class LoaderQueryRunner implements ContentPager.QueryRunner {
DInMemoryCursor.java99 mExtras = ContentPager.buildExtras(cursor.getExtras(), cursor.getCount(), disposition); in InMemoryCursor()
/frameworks/support/jetifier/jetifier/core/src/main/resources/
Ddefault.generated.config2667 "android/support/content/ContentPager": "androidx/contentpager/content/ContentPager",