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

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
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...]
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.
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);
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);
ShortcutRepositoryImplLog.java 281 public void updateShortcut(Source source, String shortcutId, SuggestionCursor refreshed) {
282 refreshShortcut(source, shortcutId, refreshed);
344 SuggestionCursor refreshed) {
350 if (refreshed == null || refreshed.getCount() == 0) {
353 refreshed.moveTo(0);
354 shortcut = makeShortcutRow(refreshed);
    [all...]
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
SourceShortcutRefresherTest.java 65 mRefresher.markShortcutRefreshed(mSource1, "refreshed");
66 assertFalse(mRefresher.shouldRefresh(mSource1, "refreshed"));
107 SuggestionCursor refreshed) {
110 mRefreshedCursor = refreshed;
MockShortcutRepository.java 62 public void updateShortcut(Source source, String shortcutId, SuggestionCursor refreshed) {
ShortcutRepositoryTest.java 808 SuggestionCursor refreshed = local
810 mRepo.refreshShortcut(source, shortcutId, refreshed);
    [all...]
  /external/chromium/chrome/browser/resources/touch_ntp/
newtab.js 89 * app list is refreshed)

Completed in 2341 milliseconds