/external/chromium_org/chrome/browser/history/ |
shortcuts_database_unittest.cc | 161 ShortcutsDatabase::GuidToShortcutMap shortcuts; local 162 db_->LoadShortcuts(&shortcuts); 164 shortcuts.find(shortcut.id)); 165 EXPECT_TRUE(it != shortcuts.end()); 177 ShortcutsDatabase::GuidToShortcutMap shortcuts; local 178 db_->LoadShortcuts(&shortcuts); 181 shortcuts.find(shortcut_test_db[0].guid); 182 EXPECT_TRUE(it == shortcuts.end()); 184 it = shortcuts.find(shortcut_test_db[1].guid); 185 EXPECT_TRUE(it != shortcuts.end()) 197 ShortcutsDatabase::GuidToShortcutMap shortcuts; local 214 ShortcutsDatabase::GuidToShortcutMap shortcuts; local [all...] |
shortcuts_database.cc | 123 db_.set_histogram_tag("Shortcuts"); 187 void ShortcutsDatabase::LoadShortcuts(GuidToShortcutMap* shortcuts) { 188 DCHECK(shortcuts); 195 shortcuts->clear(); 197 shortcuts->insert(std::make_pair( 232 // The first version of the shortcuts table lacked the fill_into_edit,
|
shortcuts_database.h | 29 // search_text Text that shortcuts was searched with. 100 // Deletes the ShortcutsProvider::Shortcuts with these IDs. 103 // Deletes the ShortcutsProvider::Shortcuts with the url. 106 // Deletes all of the ShortcutsProvider::Shortcuts. 109 // Loads all of the shortcuts. 110 void LoadShortcuts(GuidToShortcutMap* shortcuts);
|
/external/chromium_org/tools/grit/grit/ |
shortcuts_unittests.py | 6 '''Unit tests for grit.shortcuts 17 from grit import shortcuts namespace 33 warnings = shortcuts.GenerateDuplicateShortcutsWarnings(self.uq, 'PROJECT') 42 warnings = shortcuts.GenerateDuplicateShortcutsWarnings(self.uq, 'PROJECT') 75 warnings = shortcuts.GenerateDuplicateShortcutsWarnings(self.uq, 'PROJECT')
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/ |
unigram_property.h | 57 const int count, const std::vector<ShortcutProperty> *const shortcuts) 60 mTimestamp(timestamp), mLevel(level), mCount(count), mShortcuts(*shortcuts) {}
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
CombinedInputOutput.java | 102 ArrayList<WeightedString> shortcuts = new ArrayList<>(); local 108 dict.add(word, probabilityInfo, shortcuts.isEmpty() ? null : shortcuts, 114 if (!shortcuts.isEmpty()) shortcuts = new ArrayList<>(); 155 shortcuts.add(new WeightedString(shortcut, shortcutFreq)); 192 dict.add(word, probabilityInfo, shortcuts.isEmpty() ? null : shortcuts, isNotAWord);
|
XmlDictInputOutput.java | 78 * @param shortcuts the shortcuts as a map. This may be empty, but may not be null. 80 public UnigramHandler(final HashMap<String, ArrayList<WeightedString>> shortcuts) { 82 mShortcutsMap = shortcuts; 283 * @param shortcuts the file to read the shortcuts & whitelist from, or null. 288 final BufferedInputStream shortcuts, final BufferedInputStream bigrams) 298 if (null != shortcuts) parser.parse(shortcuts, shortcutAndWhitelistHandler); 321 * which has no support for bigrams or shortcuts/whitelist [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
Panel.js | 112 function handleSearchShortcuts(shortcuts, handler) 114 for (var i = 0; i < shortcuts.length; ++i) { 115 if (shortcuts[i].key !== shortcutKey)
|
SearchableView.js | 210 * @param {!Array.<!WebInspector.KeyboardShortcut.Descriptor>} shortcuts 214 function register(shortcuts, handler) 216 for (var i = 0; i < shortcuts.length; ++i) 217 this._shortcuts[shortcuts[i].key] = handler;
|
/external/chromium_org/chrome/browser/profile_resetter/ |
resettable_settings_snapshot.h | 36 SHORTCUTS = 1 << 4, 38 ALL_FIELDS = STARTUP_MODE | HOMEPAGE | DSE_URL | EXTENSIONS | SHORTCUTS, 61 const std::vector<ShortcutCommand>& shortcuts() const { function in class:ResettableSettingsSnapshot 80 // Collects the shortcuts asynchronously and calls |callback|. If the request 88 const std::vector<ShortcutCommand>& shortcuts); 103 // Chrome shortcuts (e.g. icons on the Windows desktop, etc.) with non-empty 110 // The flag to cancel shortcuts retrieving.
|
resettable_settings_snapshot.cc | 41 const char kShortcuts[] = "shortcuts"; 127 bit_mask |= SHORTCUTS; 152 const std::vector<ShortcutCommand>& shortcuts) { 154 shortcuts_ = shortcuts; 200 if (field_mask & ResettableSettingsSnapshot::SHORTCUTS) { 202 const std::vector<ShortcutCommand>& shortcuts = snapshot.shortcuts(); local 203 for (std::vector<ShortcutCommand>::const_iterator i = shortcuts.begin(); 204 i != shortcuts.end(); ++i) { 333 const std::vector<ShortcutCommand>& shortcuts = snapshot.shortcuts() local [all...] |
profile_resetter.cc | 116 {SHORTCUTS, &ProfileResetter::ResetShortcuts}, 309 SHORTCUTS)); 311 MarkAsDone(SHORTCUTS); 339 std::vector<ShortcutCommand> shortcuts; local 351 &shortcuts); local 353 return shortcuts;
|
/external/chromium_org/chrome/installer/util/ |
shell_util_unittest.cc | 444 // Remove shortcuts that target "chrome.exe". 514 // Retarget shortcuts: replace "chrome.exe" with "manganese.exe". Only 515 // shortcuts with non-empty arguments (i.e., shortcut 2) gets updated. 567 // Retarget shortcuts: replace "chrome.exe" with "manganese.exe". 635 // List the shortcuts. 636 std::vector<std::pair<base::FilePath, base::string16> > shortcuts; local 644 &shortcuts)); 645 ASSERT_EQ(2u, shortcuts.size()); 647 shortcuts[0].first == shortcut3_path ? shortcuts[0] : shortcuts[1] [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictDecoderEncoderTests.java | 145 final ArrayList<WeightedString> shortcuts = new ArrayList<>(); local 148 shortcuts.add(new WeightedString(shortcut, UNIGRAM_FREQ)); 152 (shortcutMap == null) ? null : shortcuts, false /* isNotAWord */); 266 final SparseArray<List<Integer>> bigrams, final HashMap<String, List<String>> shortcuts, 277 addUnigrams(words.size(), dict, words, shortcuts); local 279 checkDictionary(dict, words, bigrams, shortcuts); 282 final long read = timeReadingAndCheckDict(file, words, bigrams, shortcuts, bufferType); 290 results.add(runReadAndWrite(sWords, sEmptyBigrams, null /* shortcuts */, bufferType, 292 results.add(runReadAndWrite(sWords, sChainBigrams, null /* shortcuts */, bufferType, 294 results.add(runReadAndWrite(sWords, sStarBigrams, null /* shortcuts */, bufferType [all...] |
Ver2DictEncoder.java | 171 * @param shortcuts the shortcut attributes list. 173 private void writeShortcuts(final ArrayList<WeightedString> shortcuts) { 174 if (null == shortcuts || shortcuts.isEmpty()) return; 178 final Iterator<WeightedString> shortcutIterator = shortcuts.iterator();
|
/external/chromium_org/chrome/browser/profiles/ |
profile_shortcut_manager_win.cc | 61 // The maximum number of characters allowed in profile shortcuts' file names. 63 // existing shortcuts might no longer be found if the name is generated 227 // Gets the user and system directories for desktop shortcuts. Parameters may 280 // Populates |paths| with the file paths of Chrome desktop shortcuts that have 282 // Chrome desktop shortcuts with empty command lines will also be included. 389 // Updates all desktop shortcuts for the given profile to have the specified 391 // is created if no existing ones were found. Whether non-profile shortcuts 415 // Ensure that the distribution supports creating shortcuts. If it doesn't, 456 std::vector<base::FilePath> shortcuts; local 459 &shortcuts); 512 std::vector<base::FilePath> shortcuts; local 563 std::vector<base::FilePath> shortcuts; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
ver4_patricia_trie_policy.cpp | 287 const std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 291 NOT_A_TIMESTAMP /* timestamp */, 0 /* level */, 0 /* count */, &shortcuts); 486 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 499 shortcuts.emplace_back(&target, shortcutProbability); 505 historicalInfo->getCount(), &shortcuts);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
ver4_patricia_trie_policy.cpp | 299 const std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 303 NOT_A_TIMESTAMP /* timestamp */, 0 /* level */, 0 /* count */, &shortcuts); 498 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 511 shortcuts.emplace_back(&target, shortcutProbability); 517 historicalInfo->getCount(), &shortcuts);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SubtypeSwitcher.java | 144 final Map<InputMethodInfo, List<InputMethodSubtype>> shortcuts = local 148 for (final InputMethodInfo imi : shortcuts.keySet()) { 149 final List<InputMethodSubtype> subtypes = shortcuts.get(imi); 150 // TODO: Returns the first found IMI for now. Should handle all shortcuts as
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/ |
patricia_trie_policy.cpp | 310 // for shortcuts). 414 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 430 shortcuts.emplace_back(&shortcutTarget, shortcutProbability); 435 NOT_A_TIMESTAMP /* timestamp */, 0 /* level */, 0 /* count */, &shortcuts);
|
/external/chromium_org/chrome/browser/autocomplete/ |
shortcuts_backend.cc | 52 // Normally shortcuts have the same match type as the original match they were 181 // When an extension is unloaded, we want to remove any Shortcuts associated 211 history::ShortcutsDatabase::GuidToShortcutMap shortcuts; local 212 db_->LoadShortcuts(&shortcuts); 216 shortcuts.begin()); it != shortcuts.end(); ++it) {
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
folder_shortcuts_data_model.js | 12 * Model for the folder shortcuts. This object is cr.ui.ArrayDataModel-like 32 // Load the shortcuts. Runs within the queue. 42 // If the volume info list is changed, then shortcuts have to be reloaded. 46 // If the drive status has changed, then shortcuts have to be re-resolved. 56 FolderShortcutsDataModel.NAME = 'folder-shortcuts-list'; 188 * Initializes the model and loads the shortcuts. 207 * Reloads the model and loads the shortcuts. 491 * This conversion is necessary because the shortcuts are not stored with
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
SourcesPanel.js | 866 var shortcuts = WebInspector.shortcutRegistry.shortcutDescriptorsForAction(actionId); variable [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MenuInflateFromXml.java | 46 R.menu.checkable, R.menu.shortcuts, R.menu.order, R.menu.category_order, 55 "Checkable", "Shortcuts", "Order", "Category and Order",
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
ShortcutRegistry.js | 190 var shortcuts = bindings[i]["shortcut"].split(/\s+/); 191 shortcuts.forEach(this.registerShortcut.bind(this, descriptor["actionId"]));
|