/external/chromium_org/chrome/browser/autocomplete/ |
shortcuts_backend.h | 33 // This class manages the shortcut provider backend - access to database on the 39 const history::ShortcutsDatabase::Shortcut> ShortcutMap; 74 // Looks for an existing shortcut to match.destination_url that starts with 75 // |text|. Updates that shortcut if found, otherwise adds a new shortcut. 96 static history::ShortcutsDatabase::Shortcut::MatchCore MatchToMatchCore( 114 // Adds the Shortcut to the database. 115 bool AddShortcut(const history::ShortcutsDatabase::Shortcut& shortcut); 117 // Updates timing and selection count for the Shortcut [all...] |
shortcuts_provider_unittest.cc | 192 "Trailing1 - Space in Shortcut", "0,1", 193 "Trailing1 - Space in Shortcut", "0,1", content::PAGE_TRANSITION_TYPED, 197 "Trailing2 - Space in Shortcut", "0,1", 198 "Trailing2 - Space in Shortcut", "0,1", content::PAGE_TRANSITION_TYPED, 285 const history::ShortcutsDatabase::Shortcut& shortcut, 329 history::ShortcutsDatabase::Shortcut shortcut( 331 history::ShortcutsDatabase::Shortcut::MatchCore( 338 backend_->AddShortcut(shortcut); [all...] |
/external/chromium_org/chrome/browser/history/ |
shortcuts_database.h | 22 // This class manages the shortcut provider table within the SQLite database 30 // url The url of the shortcut. 42 // The following struct encapsulates one previously selected omnibox shortcut. 43 struct Shortcut { 44 // The fields of an AutocompleteMatch that we preserve in a shortcut. 71 Shortcut(const std::string& id, 77 Shortcut(); 78 ~Shortcut(); 80 std::string id; // Unique guid for the shortcut. 83 base::Time last_access_time; // Last time shortcut was selected [all...] |
shortcuts_database_unittest.cc | 88 ShortcutsDatabase::Shortcut ShortcutFromTestInfo( 122 ShortcutsDatabase::Shortcut ShortcutsDatabaseTest::ShortcutFromTestInfo( 124 return ShortcutsDatabase::Shortcut( 126 ShortcutsDatabase::Shortcut::MatchCore( 158 ShortcutsDatabase::Shortcut shortcut( 160 shortcut.match_core.contents = ASCIIToUTF16("gro.todhsals"); 161 EXPECT_TRUE(db_->UpdateShortcut(shortcut)); 165 shortcuts.find(shortcut.id)); 167 EXPECT_TRUE(it->second.match_core.contents == shortcut.match_core.contents) [all...] |
/frameworks/base/core/java/android/provider/ |
UserDictionary.java | 94 * An optional shortcut for this word. When the shortcut is typed, supporting IMEs should 97 public static final String SHORTCUT = "shortcut"; 153 * @param shortcut optional shortcut spelling for this word. When the shortcut 159 int frequency, String shortcut, Locale locale) { 176 values.put(SHORTCUT, shortcut); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
UserDictionarySettings.java | 49 UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT 52 // The index of the shortcut in the above array. 63 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?"; 65 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " 66 + UserDictionary.Words.SHORTCUT + "=''"; 151 new String[] { UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT }, 158 final String shortcut = getShortcut(position); local 160 showAddOrEditDialog(word, shortcut); 185 * @param editingShortcut the shortcut for this entry, or null if none. 218 mCursor.getColumnIndexOrThrow(UserDictionary.Words.SHORTCUT)); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionarySettings.java | 57 { UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT}; 62 // The index of the shortcut in the above array. 70 UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT 95 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?"; 97 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " 98 + UserDictionary.Words.SHORTCUT + "=''"; 196 final String shortcut = getShortcut(position); local 198 showAddOrEditDialog(word, shortcut); 209 // with the shortcut API. 232 * @param editingShortcut the shortcut for this entry, or null if none [all...] |
UserDictionaryAddWordContents.java | 48 public static final String EXTRA_SHORTCUT = "shortcut"; 85 final String shortcut; local 87 shortcut = args.getString(EXTRA_SHORTCUT); 88 if (null != shortcut && null != mShortcutEditText) { 89 mShortcutEditText.setText(shortcut); 93 shortcut = null; 166 // If there is no shortcut, and the word already exists in the database, then we 167 // should not insert, because either A. the word exists with no shortcut, in which 169 // exists with at least one shortcut, in which case it has priority on our word. 174 // Disallow duplicates. If the same word with no shortcut is defined, remove it; i [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/main/ |
Main.js | 474 var shortcut = WebInspector.KeyboardShortcut; 477 shortcut.makeDescriptor("[", shortcut.Modifiers.CtrlOrMeta), 478 shortcut.makeDescriptor("]", shortcut.Modifiers.CtrlOrMeta) 483 shortcut.makeDescriptor("[", shortcut.Modifiers.CtrlOrMeta | shortcut.Modifiers.Alt), 484 shortcut.makeDescriptor("]", shortcut.Modifiers.CtrlOrMeta | shortcut.Modifiers.Alt [all...] |
/external/chromium_org/chrome/browser/ |
shell_integration_win.cc | 25 #include "base/win/shortcut.h" 429 // run-time Chrome icon is merged with the taskbar shortcut), but this is not 456 for (base::FilePath shortcut = shortcuts_enum.Next(); !shortcut.empty(); 457 shortcut = shortcuts_enum.Next()) { 460 if (!base::win::ResolveShortcut(shortcut, &target_path, &arguments) || 467 // Get the expected AppId for this Chrome shortcut. 473 // Load the shortcut. 479 FAILED(persist_file->Load(shortcut.value().c_str(), STGM_READ))) { 480 DLOG(WARNING) << "Failed loading shortcut at " << shortcut.value() 566 base::FilePath shortcut; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
ver4_patricia_trie_policy.cpp | 211 for (const auto &shortcut : unigramProperty->getShortcuts()) { 212 if (shortcut.getTargetCodePoints()->size() > MAX_WORD_LENGTH) { 213 AKLOGE("One of shortcut targets is too long to insert to the dictionary, length: %d", 214 shortcut.getTargetCodePoints()->size()); 237 // Add shortcut target. 241 AKLOGE("Cannot find terminal PtNode position to add shortcut target."); 244 for (const auto &shortcut : unigramProperty->getShortcuts()) { 246 shortcut.getTargetCodePoints()->data(), 247 shortcut.getTargetCodePoints()->size(), shortcut.getProbability())) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
ver4_patricia_trie_policy.cpp | 201 for (const auto &shortcut : unigramProperty->getShortcuts()) { 202 if (shortcut.getTargetCodePoints()->size() > MAX_WORD_LENGTH) { 203 AKLOGE("One of shortcut targets is too long to insert to the dictionary, length: %d", 204 shortcut.getTargetCodePoints()->size()); 227 // Add shortcut target. 231 AKLOGE("Cannot find terminal PtNode position to add shortcut target."); 234 for (const auto &shortcut : unigramProperty->getShortcuts()) { 236 shortcut.getTargetCodePoints()->data(), 237 shortcut.getTargetCodePoints()->size(), shortcut.getProbability())) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/console/ |
ConsoleView.js | 699 var shortcut = WebInspector.KeyboardShortcut; variable 702 var shortcutL = shortcut.makeDescriptor("l", WebInspector.KeyboardShortcut.Modifiers.Ctrl); 706 var shortcutK = shortcut.makeDescriptor("k", WebInspector.KeyboardShortcut.Modifiers.Meta); 712 section.addKey(shortcut.makeDescriptor(shortcut.Keys.Tab), WebInspector.UIString("Autocomplete common prefix")); 713 section.addKey(shortcut.makeDescriptor(shortcut.Keys.Right), WebInspector.UIString("Accept suggestion")); 715 var shortcutU = shortcut.makeDescriptor("u", WebInspector.KeyboardShortcut.Modifiers.Ctrl); 720 shortcut.makeDescriptor(shortcut.Keys.Down) 753 var shortcut = WebInspector.KeyboardShortcut.makeKeyFromEvent(event); variable [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
DialerPhoneNumberListAdapter.java | 66 final int shortcut = getShortcutTypeFromPosition(position); local 67 if (shortcut >= 0) { 69 return super.getViewTypeCount() + shortcut; 100 * @return The enabled shortcut type matching the given position if the item is a 101 * shortcut, -1 otherwise 115 + " but not a shortcut."); 154 throw new IllegalArgumentException("Invalid shortcut type"); 163 * @return True if the shortcut state (disabled vs enabled) was changed by this operation
|
/cts/tests/tests/provider/src/android/provider/cts/ |
UserDictionary_WordsTest.java | 88 private void assertWord(String word, int frequency, String shortcut, Locale locale, 91 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
EventLogLogger.java | 105 String shortcut = cursor.isSuggestionShortcut() ? "shortcut" : ""; local 106 sb.append(source).append(':').append(type).append(':').append(shortcut);
|
/external/chromium_org/chrome/utility/importer/ |
bookmark_html_reader.h | 59 // <DT><A HREF="url" SHORTCUTURL="shortcut" ADD_DATE="11213014"...>name</A> 77 base::string16* shortcut,
|
bookmark_html_reader.cc | 140 base::string16 shortcut; local 149 &url, &favicon, &shortcut, 309 base::string16* shortcut, 324 shortcut->clear(); 368 base::OnStringConversionError::SKIP, shortcut); 369 *shortcut = net::UnescapeForHTML(*shortcut);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
Constants.java | 259 case CODE_SHORTCUT: return "shortcut";
|
UserBinaryDictionary.java | 50 // Shortcut frequency is 0~15, with 15 = whitelist. We don't want user dictionary entries 56 Words.SHORTCUT, 176 // the SHORTCUT column is not present for some reason. 248 final int indexShortcut = hasShortcutColumn ? cursor.getColumnIndex(Words.SHORTCUT) : 0; 252 final String shortcut = hasShortcutColumn ? cursor.getString(indexShortcut) : null; local 261 if (null != shortcut && shortcut.length() <= MAX_WORD_LENGTH) { 263 addUnigramLocked(shortcut, adjustedFrequency, word,
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
CombinedInputOutput.java | 141 String shortcut = null; local 147 shortcut = params[1]; 154 if (null != shortcut) { 155 shortcuts.add(new WeightedString(shortcut, shortcutFreq));
|
/external/chromium_org/chrome/browser/resources/options/ |
manage_profile_overlay.css | 115 .action-area-shortcut-container { 120 #remove-shortcut-button, 121 #add-shortcut-button {
|
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
screen_app_launch_splash.css | 66 #splash-shortcut-info {
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
ShortcutRegistry.js | 143 * @param {string} shortcut 145 registerShortcut: function(actionId, shortcut) 147 var key = WebInspector.KeyboardShortcut.makeKeyFromBindingShortcut(shortcut); 181 var shortcuts = bindings[i]["shortcut"].split(/\s+/);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DeleteDropTarget.java | 292 ShortcutInfo shortcut = (ShortcutInfo) d.dragInfo; local 294 return !InstallShortcutReceiver.isValidShortcutLaunchIntent(shortcut.intent); 309 ShortcutInfo shortcut = (ShortcutInfo) item; local 310 if (shortcut.intent != null && shortcut.intent.getComponent() != null) { 311 final ComponentName componentName = shortcut.intent.getComponent(); 313 final UserHandleCompat user = shortcut.user; 315 componentName, shortcut.flags, user);
|