Searched defs:refreshed (Results 1 - 6 of 6) sorted by relevance
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | ShortcutRefresher.java | 27 * Called by the ShortcutRefresher when a shortcut has been refreshed. 31 * @param refreshed the updated shortcut, or {@code null} if the shortcut 35 SuggestionCursor refreshed); 41 * @param shortcut The shortcut to be refreshed. 34 onShortcutRefreshed(Source source, String shortcutId, SuggestionCursor refreshed) argument
|
H A D | 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) { argument 118 if (refreshed ! [all...] |
H A D | ShortcutRepository.java | 79 * Updates a shortcut in the repository after it's been refreshed. 81 * @param source The source of the shortcut that's been refreshed 83 * @param refreshed The refreshed shortcut suggestion. 85 void updateShortcut(Source source, String shortcutId, SuggestionCursor refreshed); argument
|
H A D | ShortcutRepositoryImplLog.java | 281 public void updateShortcut(Source source, String shortcutId, SuggestionCursor refreshed) { argument 282 refreshShortcut(source, shortcutId, refreshed); 344 SuggestionCursor refreshed) { 350 if (refreshed == null || refreshed.getCount() == 0) { 353 refreshed.moveTo(0); 354 shortcut = makeShortcutRow(refreshed); 343 refreshShortcut(Source source, final String shortcutId, SuggestionCursor refreshed) argument
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockShortcutRepository.java | 62 public void updateShortcut(Source source, String shortcutId, SuggestionCursor refreshed) { argument
|
H A D | SourceShortcutRefresherTest.java | 65 mRefresher.markShortcutRefreshed(mSource1, "refreshed"); 66 assertFalse(mRefresher.shouldRefresh(mSource1, "refreshed")); 107 SuggestionCursor refreshed) { 110 mRefreshedCursor = refreshed; 106 onShortcutRefreshed(Source source, String shortcutId, SuggestionCursor refreshed) argument
|
Completed in 107 milliseconds