HomeSort by relevance Sort by last modified time
    Searched refs:Loader (Results 76 - 100 of 165) sorted by null

1 2 34 5 6 7

  /development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderThrottle.java 30 import android.content.Loader;
415 // Prepare the loader. Either re-connect with an existing one,
489 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
496 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
507 public void onLoaderReset(Loader<Cursor> loader) {
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderCustomSupport.java 36 import android.support.v4.content.Loader;
65 * Demonstration of the implementation of a custom Loader.
82 //BEGIN_INCLUDE(loader)
84 * This class holds the per-item data in our Loader.
87 public AppEntry(AppListLoader loader, ApplicationInfo info) {
88 mLoader = loader;
183 * so that the loader can be updated.
188 public PackageIntentReceiver(AppListLoader loader) {
189 mLoader = loader;
203 // Tell the loader about the change
    [all...]
LoaderThrottleSupport.java 40 import android.support.v4.content.Loader;
416 // Prepare the loader. Either re-connect with an existing one,
489 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
496 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
507 public void onLoaderReset(Loader<Cursor> loader) {
  /development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactDetailFragment.java 37 import android.support.v4.content.Loader;
221 // Set a placeholder loading image for the image loader
224 // Tell the image loader to set the image directly when it's finished loading
318 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
340 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
349 switch (loader.getId()) {
406 public void onLoaderReset(Loader<Cursor> loader) {
ContactsListFragment.java 36 import android.support.v4.content.Loader;
109 // Whether or not the search query has changed since the last time the loader was refreshed
188 // Set a placeholder loading image for the image loader
191 // Add a cache to the image loader
213 // Pause image loader to ensure smoother scrolling when flinging
233 // initializing the loader as it will be restarted later when the query is populated into
236 // Initialize the loader, and create a loader identified by ContactsQuery.QUERY_ID
262 // In the case onPause() is called during a fling the image loader is
351 // the search filter, and restarts the loader to do a new quer
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
RootsFragment.java 25 import android.content.Loader;
103 public Loader<Collection<RootInfo>> onCreateLoader(int id, Bundle args) {
109 Loader<Collection<RootInfo>> loader, Collection<RootInfo> result) {
121 public void onLoaderReset(Loader<Collection<RootInfo>> loader) {
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactLoaderFragment.java 26 import android.content.Loader;
181 * The listener for the detail loader
186 public Loader<Contact> onCreateLoader(int id, Bundle args) {
194 public void onLoadFinished(Loader<Contact> loader, Contact data) {
205 Log.i(TAG, "No contact found: " + ((ContactLoader)loader).getLookupUri());
223 public void onLoaderReset(Loader<Contact> loader) {}
  /packages/apps/Settings/src/com/android/settings/inputmethod/
KeyboardLayoutDialogFragment.java 31 import android.content.Loader;
167 public Loader<Keyboards> onCreateLoader(int id, Bundle args) {
172 public void onLoadFinished(Loader<Keyboards> loader, Keyboards data) {
184 public void onLoaderReset(Loader<Keyboards> loader) {
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
main.py 7 from unittest2 import loader, runner namespace
77 testLoader=loader.defaultTestLoader, exit=True,
163 def _do_discovery(self, argv, Loader=loader.TestLoader):
213 loader = Loader()
214 self.test = loader.discover(start_dir, pattern, top_level_dir)
  /frameworks/native/opengl/libs/EGL/
egl.cpp 40 #include "Loader.h"
306 // get our driver loader
307 Loader& loader(Loader::getInstance());
316 cnx->dso = loader.open(cnx);
  /frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
PhotoViewActivity.java 37 import android.support.v4.content.Loader;
135 /** When {@code true}, restart the loader when the activity becomes active */
396 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
404 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri) {
416 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
418 final int id = loader.getId();
454 // TODO(pwestbro): This shouldn't be necessary, as the loader manager should
455 // restart the loader
485 public void onLoaderReset(android.support.v4.content.Loader<Cursor> loader)
    [all...]
  /frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
PhotoViewActivity.java 34 import android.support.v4.content.Loader;
134 /** When {@code true}, restart the loader when the activity becomes active */
395 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
403 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri) {
415 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
417 final int id = loader.getId();
453 // TODO(pwestbro): This shouldn't be necessary, as the loader manager should
454 // restart the loader
484 public void onLoaderReset(android.support.v4.content.Loader<Cursor> loader)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PhoneNumberPickerFragment.java 20 import android.content.Loader;
60 /** true if the loader has started at least once. */
223 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
224 super.onLoadFinished(loader, data);
ContactEntryListFragment.java 26 import android.content.Loader;
197 * Overrides a loader manager for use in unit tests.
315 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
317 DirectoryListLoader loader = new DirectoryListLoader(mContext); local
318 loader.setDirectorySearchMode(mAdapter.getDirectorySearchMode());
319 loader.setLocalInvisibleDirectoryEnabled(
321 return loader;
323 CursorLoader loader = createCursorLoader(mContext); local
327 mAdapter.configureLoader(loader, directoryId);
328 return loader;
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SecureConversationViewFragment.java 21 import android.content.Loader;
62 // This method needs to, for example, get at the loader manager, which needs
231 protected void onMessageCursorLoadFinished(Loader<ObjectCursor<ConversationMessage>> loader,
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupEditorFragment.java 33 import android.content.Loader;
163 LOADING, // Loader is fetching the group metadata
743 * The listener for the group metadata (i.e. group name, account type, and account name) loader.
754 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
763 public void onLoaderReset(Loader<Cursor> loader) {}
767 * The loader listener for the list of existing group members.
778 public void onLoadFinished(Loader<Cursor> loader, Cursor data)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactBrowseListFragment.java 21 import android.content.Loader;
348 // Also, launch a loader to pick up a new lookup URI in case it has changed
406 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
407 super.onLoadFinished(loader, data);
415 public void onLoaderReset(Loader<Cursor> loader) {
478 // on a tablet and the loader is returning a stale list. In this case, the contact
  /packages/apps/Dialer/src/com/android/dialer/interactions/
PhoneNumberInteraction.java 29 import android.content.Loader;
30 import android.content.Loader.OnLoadCompleteListener;
382 public void onLoadComplete(Loader<Cursor> loader, Cursor cursor) {
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
MailAppProvider.java 27 import android.content.Loader;
28 import android.content.Loader.OnLoadCompleteListener;
165 for (CursorLoader loader : mCursorLoaderMap.values()) {
166 loader.stopLoading();
260 // If there is a previous loader for the given uri, stop it
412 public void onLoadComplete(Loader<Cursor> loader, Cursor data) {
419 final CursorLoader cursorLoader = (CursorLoader)loader;
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
SelectPrinterFragment.java 32 import android.content.Loader;
505 public Loader<List<PrinterInfo>> onCreateLoader(int id, Bundle args) {
513 public void onLoadFinished(Loader<List<PrinterInfo>> loader,
528 public void onLoaderReset(Loader<List<PrinterInfo>> loader) {
  /packages/apps/Browser/src/com/android/browser/
BrowserHistoryPage.java 31 import android.content.Loader;
114 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
121 CursorLoader loader = new CursorLoader(getActivity(), combinedBuilder.build(), local
123 return loader;
131 CursorLoader loader = new CursorLoader(getActivity(), uri, local
133 return loader;
162 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
163 switch (loader.getId()) {
189 public void onLoaderReset(Loader<Cursor> loader)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthByWeekFragment.java 24 import android.content.Loader;
83 // How long to wait after scroll stops before starting the loader
144 // Start the loader again
151 Log.d(TAG, "Started loader with uri: " + mEventUri);
169 * Updates the uri used by the loader according to the current position of
226 Log.d(TAG, "Stopped loader from loading");
344 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
348 CursorLoader loader; local
356 loader = new CursorLoader(
359 loader.setUpdateThrottle(LOADER_THROTTLE_DELAY)
    [all...]
  /packages/apps/Settings/src/com/android/settings/print/
PrintSettingsFragment.java 26 import android.content.Loader;
346 public Loader<List<PrintJobInfo>> onCreateLoader(int id, Bundle args) {
354 public void onLoadFinished(Loader<List<PrintJobInfo>> loader,
423 public void onLoaderReset(Loader<List<PrintJobInfo>> loader) {
  /external/chromium_org/chrome/browser/resources/image_loader/
image_loader_client.js 40 * Image loader's extension id.
82 * Sends a message to the Image Loader extension.
96 * Handles a message from the remote image loader and calls the registered
124 * @param {Object=} opt_options Loader options, such as: scale, maxHeight,
229 * @param {Object=} opt_options Loader options as a hash array.
345 * @param {Object} options Loader options, such as: orientation, scale,
  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
dashboard_base.js 49 // FIXME: Have results.js fire off the loader and then the calling code passing in a callback
50 // for once everything is loaded and doesn't know about Loader at all. The calling code just

Completed in 775 milliseconds

1 2 34 5 6 7