Home | History | Annotate | Download | only in quicksearchbox

Lines Matching defs:shortcut

49  * A shortcut repository implementation that uses a log of every click.
162 // Order by sum of hit times (seconds since cutoff) for the clicks for each shortcut.
172 if (DBG) Log.d(TAG, "Empty shortcut query:\n" + mEmptyQueryShortcutQuery);
179 if (DBG) Log.d(TAG, "Empty shortcut:\n" + mShortcutQuery);
349 final ContentValues shortcut;
351 shortcut = null;
354 shortcut = makeShortcutRow(refreshed);
360 if (shortcut == null) {
361 if (DBG) Log.d(TAG, "Deleting shortcut: " + shortcutId);
364 if (DBG) Log.d(TAG, "Updating shortcut: " + shortcut);
365 db.updateWithOnConflict(Shortcuts.TABLE_NAME, shortcut,
390 throw new NullPointerException("Missing source for shortcut.");
423 if (DBG) Log.d(TAG, "shortcut " + getShortcutId() + " refreshing");
426 if (DBG) Log.d(TAG, "shortcut " + getShortcutId() + " NOT refreshing");
656 // Once the user has clicked on a shortcut, don't bother refreshing
657 // (especially if this is a new shortcut)
664 final ContentValues shortcut = makeShortcutRow(suggestion);
665 String intentKey = shortcut.getAsString(Shortcuts.intent_key.name());
667 // Log click for shortcut
677 if (DBG) Log.d(TAG, "Adding shortcut: " + shortcut);
678 db.replaceOrThrow(Shortcuts.TABLE_NAME, null, shortcut);
908 // trigger for deleting clicks about a shortcut once that shortcut has been
918 // trigger for updating click log entries when a shortcut changes its intent_key