HomeSort by relevance Sort by last modified time
    Searched full:loader (Results 76 - 100 of 2011) sorted by null

1 2 34 5 6 7 8 91011>>

  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DefaultContactListAdapter.java 51 public void configureLoader(CursorLoader loader, long directoryId) {
52 if (loader instanceof ProfileAndContactsLoader) {
53 ((ProfileAndContactsLoader) loader).setLoadProfile(shouldIncludeProfile());
66 loader.setUri(Contacts.CONTENT_URI);
67 loader.setProjection(getProjection(false));
68 loader.setSelection("0");
79 loader.setUri(builder.build());
80 loader.setProjection(getProjection(true));
83 configureUri(loader, directoryId, filter);
84 loader.setProjection(getProjection(false))
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/data/
MediaPickerData.java 21 import android.content.Loader;
61 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) {
70 Assert.fail("Unknown loader id for gallery picker!");
74 LogUtil.w(LogUtil.BUGLE_TAG, "Loader created after unbinding the media picker");
83 public void onLoadFinished(final Loader<Cursor> loader, final Cursor data) {
84 final BoundCursorLoader cursorLoader = (BoundCursorLoader) loader;
86 switch (loader.getId()) {
93 Assert.fail("Unknown loader id for gallery picker!");
97 LogUtil.w(LogUtil.BUGLE_TAG, "Loader finished after unbinding the media picker")
    [all...]
PeopleAndOptionsData.java 21 import android.content.Loader;
68 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) {
89 Assert.fail("Unknown loader id for PeopleAndOptionsFragment!");
93 LogUtil.w(LogUtil.BUGLE_TAG, "Loader created after unbinding PeopleAndOptionsFragment");
102 public void onLoadFinished(final Loader<Cursor> loader, final Cursor data) {
103 final BoundCursorLoader cursorLoader = (BoundCursorLoader) loader;
105 switch (loader.getId()) {
117 Assert.fail("Unknown loader id for PeopleAndOptionsFragment!");
122 "Loader finished after unbinding PeopleAndOptionsFragment")
    [all...]
BlockedParticipantsData.java 21 import android.content.Loader;
54 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) {
68 public void onLoadFinished(final Loader<Cursor> loader, final Cursor cursor) {
69 Assert.isTrue(loader.getId() == BLOCKED_PARTICIPANTS_LOADER);
70 final BoundCursorLoader cursorLoader = (BoundCursorLoader) loader;
76 public void onLoaderReset(final Loader<Cursor> loader) {
77 Assert.isTrue(loader.getId() == BLOCKED_PARTICIPANTS_LOADER);
78 final BoundCursorLoader cursorLoader = (BoundCursorLoader) loader;
    [all...]
SettingsData.java 21 import android.content.Loader;
131 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) {
133 Loader<Cursor> loader = null; local
138 loader = new BoundCursorLoader(bindingId, mContext,
145 LogUtil.w(LogUtil.BUGLE_TAG, "Creating self loader after unbinding");
147 return loader;
151 public void onLoadFinished(final Loader<Cursor> generic, final Cursor data) {
152 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
155 if (isBound(loader.getBindingId()))
165 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
    [all...]
ConversationData.java 21 import android.content.Loader;
184 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) {
186 Loader<Cursor> loader = null; local
193 loader = new BoundCursorLoader(bindingId, mContext, uri,
196 LogUtil.w(TAG, "Creating messages loader after unbinding mConversationId = " +
199 return loader;
203 public void onLoadFinished(final Loader<Cursor> generic, final Cursor data) {
204 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
207 if (isBound(loader.getBindingId()))
231 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
252 Loader<Cursor> loader = null; local
272 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
320 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
355 Loader<Cursor> loader = null; local
373 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
387 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
406 Loader<Cursor> loader = null; local
426 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
441 final BoundCursorLoader loader = (BoundCursorLoader) generic; local
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
CacheExpirationTest.java 52 WatchedCreatorLoader loader = new WatchedCreatorLoader(); local
57 .build(loader);
58 checkExpiration(cache, loader, ticker, removalListener);
64 WatchedCreatorLoader loader = new WatchedCreatorLoader(); local
69 .build(loader);
70 checkExpiration(cache, loader, ticker, removalListener);
73 private void checkExpiration(LoadingCache<String, Integer> cache, WatchedCreatorLoader loader,
81 loader.reset();
83 assertFalse("Creator should not have been called @#" + i, loader.wasCalled());
101 WatchedCreatorLoader loader = new WatchedCreatorLoader() local
113 WatchedCreatorLoader loader = new WatchedCreatorLoader(); local
188 CacheLoader<Integer, AtomicInteger> loader = new CacheLoader<Integer, AtomicInteger>() { local
215 WatchedCreatorLoader loader = new WatchedCreatorLoader(); local
227 WatchedCreatorLoader loader = new WatchedCreatorLoader(); local
239 WatchedCreatorLoader loader = new WatchedCreatorLoader(); local
252 IdentityLoader<Integer> loader = identityLoader(); local
304 IdentityLoader<Integer> loader = identityLoader(); local
351 IdentityLoader<Integer> loader = identityLoader(); local
    [all...]
  /cts/tests/tests/jni/src/android/jni/cts/
ClassLoaderHelper.java 44 ClassLoader loader = getClass().getClassLoader(); local
45 return nativeGetHashCode(loader, loader.getClass());
48 private native int nativeGetHashCode(ClassLoader loader, Class<?> classLoaderClass);
  /external/freetype/src/autofit/
afloader.h 57 af_loader_init( AF_Loader loader,
62 af_loader_reset( AF_Loader loader,
68 af_loader_done( AF_Loader loader ); variable
72 af_loader_load_glyph( AF_Loader loader,
  /external/javassist/sample/evolve/
DemoLoader.java 6 * DemoLoader is a class loader for running a program including
7 * an updatable class. This simple loader allows only a single
32 Loader cl = new Loader();
  /external/lldb/test/unittest2/
collector.py 3 from unittest2.loader import defaultTestLoader
  /external/mesa3d/src/gallium/drivers/radeon/
.gitignore 18 loader
  /external/mesa3d/src/gallium/include/state_tracker/
drisw_api.h 10 * This callback struct is intended for the winsys to call the loader.
  /external/owasp/sanitizer/tools/findbugs/doc/
pluginStructure.txt 24 plugin loader
  /frameworks/base/media/tests/players/
README 5 The class TestPlayerStub uses the dynamic loader to load any of them.
  /frameworks/base/test-runner/src/junit/runner/
ReloadingTestSuiteLoader.java 4 * A TestSuite loader that can reload classes.
  /packages/apps/Contacts/src/com/android/contacts/
ViewNotificationService.java 21 import android.content.Loader;
22 import android.content.Loader.OnLoadCompleteListener;
43 // We simply need to start a Loader here. When its done, it will send out the
48 public void onLoadComplete(Loader<Contact> loader, Contact data) {
50 loader.reset();
52 Log.e(TAG, "Error reseting loader", e);
  /packages/apps/Gallery2/src/com/android/photos/
AlbumSetFragment.java 22 import android.content.Loader;
71 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
73 MediaSetLoader loader = new MediaSetLoader(getActivity()); local
74 mAdapter.setDrawableFactory(loader);
75 mLoaderCompatShim = loader;
76 return loader;
80 public void onLoadFinished(Loader<Cursor> loader,
87 public void onLoaderReset(Loader<Cursor> loader) {
    [all...]
PhotoSetFragment.java 22 import android.content.Loader;
82 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
84 MediaItemsLoader loader = new MediaItemsLoader(getActivity()); local
85 mLoaderCompatShim = loader;
87 return loader;
91 public void onLoadFinished(Loader<Cursor> loader,
98 public void onLoaderReset(Loader<Cursor> loader) {
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
LeaveBehindData.java 47 private LeaveBehindData(Parcel arg, ClassLoader loader) {
48 data = arg.readParcelable(loader);
49 op = arg.readParcelable(loader);
62 public LeaveBehindData createFromParcel(Parcel source, ClassLoader loader) {
63 return new LeaveBehindData(source, loader);
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ProxyTest.java 31 private final ClassLoader loader = getClass().getClassLoader(); field in class:ProxyTest
40 * Make sure the proxy's class loader fails if it cannot see the class
71 Proxy.newProxyInstance(loader, new Class[] {ReturnsInt.class, ReturnsFloat.class},
80 Proxy.newProxyInstance(loader, new Class[] {ReturnsInt.class, ReturnsInteger.class},
89 Proxy.newProxyInstance(loader, new Class[] {ReturnsInt.class, ReturnsVoid.class},
98 Proxy.newProxyInstance(loader, new Class[] {ReturnsInteger.class, ReturnsString.class },
106 Proxy.newProxyInstance(loader, new Class[] {ReturnsString.class, ReturnsCharSequence.class},
108 Proxy.newProxyInstance(loader, new Class[]{ReturnsObject.class, ReturnsCharSequence.class,
110 Proxy.newProxyInstance(loader, new Class[]{ReturnsObject.class, ReturnsCharSequence.class,
117 Proxy.newProxyInstance(loader, new Class[] {ReturnsString.class, ReturnsObject.class}
    [all...]
  /libcore/support/src/test/java/tests/util/
ClassLoaderBuilder.java 29 * Builds a configured class loader. The constructed class loader can load a
31 * loader. It can also refuse to load a class altogether, even if that class
46 * the constructed class loader and the application class loader.
55 * this class loader. Attempts to load such classes will fail at runtime
70 * new class loaders: a bridge class loader and a leaf class loader.
72 * The bridge class loader is a child of the application class loader
    [all...]
  /frameworks/base/core/java/android/content/
Loader.java 32 * any calls on to a Loader from the main thread of their process (that is,
34 * of Loader (such as {@link AsyncTaskLoader}) will often perform their work
52 public class Loader<D> {
65 * it to the Loader to have the loader re-load its data when the observer
87 * Interface that is implemented to discover when a Loader has finished
90 * to find out when a Loader it is managing has completed so that this can
92 * Loader is not being used in conjunction with LoaderManager.
96 * Called on the thread that created the Loader when the load is complete.
98 * @param loader the loader that completed the loa
    [all...]
  /frameworks/support/v4/java/android/support/v4/content/
Loader.java 28 * Static library support version of the framework's {@link android.content.Loader}.
34 public class Loader<D> {
47 * it to the Loader to have the loader re-load its data when the observer
69 * Interface that is implemented to discover when a Loader has finished
72 * to find out when a Loader it is managing has completed so that this can
74 * Loader is not being used in conjunction with LoaderManager.
78 * Called on the thread that created the Loader when the load is complete.
80 * @param loader the loader that completed the loa
    [all...]
  /art/test/068-classloader/src/
Main.java 18 * Class loader test.
25 FancyLoader loader; local
27 loader = new FancyLoader(ClassLoader.getSystemClassLoader());
29 //System.out.println("ALTERN: " + loader);
40 * name in the "fancy" class loader -- but the VM thinks it has a
51 testAccess1(loader);
52 testAccess2(loader);
53 testAccess3(loader);
55 testExtend(loader);
56 testExtendOkay(loader);
    [all...]

Completed in 1958 milliseconds

1 2 34 5 6 7 8 91011>>