HomeSort by relevance Sort by last modified time
    Searched defs:refreshed (Results 1 - 3 of 3) sorted by null

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SourceShortcutRefresher.java 117 * @param shortcutId The shortcut to be refreshed.
134 SuggestionCursor refreshed = mSource.refreshShortcut(mShortcutId, mExtraData); local
135 // Close cursor if empty and pass null as the refreshed cursor
136 if (refreshed != null && refreshed.getCount() == 0) {
137 refreshed.close();
138 refreshed = null;
141 mListener.onShortcutRefreshed(mSource, mShortcutId, refreshed);
ShortcutCursor.java 37 // mRefreshed contains all the cursors that have been refreshed, so that
86 // Needed to make refreshed shortcuts be treated as shortcuts
98 final String shortcutId, final SuggestionCursor refreshed) {
99 if (DBG) Log.d(TAG, "Shortcut refreshed: " + shortcutId);
100 mShortcutRepo.updateShortcut(source, shortcutId, refreshed);
103 refresh(source, shortcutId, refreshed);
111 * Updates this SuggestionCursor with a refreshed result from another.
113 * This class assumes responsibility for closing refreshed.
115 private void refresh(Source source, String shortcutId, SuggestionCursor refreshed) {
118 if (refreshed != null)
    [all...]
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
ShortcutRepositoryTest.java 808 SuggestionCursor refreshed = local
810 mRepo.refreshShortcut(source, shortcutId, refreshed);
    [all...]

Completed in 63 milliseconds