/external/chromium_org/chrome/browser/history/ |
shortcuts_backend_unittest.cc | 111 // creating shortcuts. 143 const ShortcutsBackend::ShortcutMap& shortcuts = backend_->shortcuts_map(); local 144 ASSERT_TRUE(shortcuts.end() != shortcuts.find(shortcut.text)); 145 EXPECT_EQ(shortcut.id, shortcuts.find(shortcut.text)->second.id); 147 shortcuts.find(shortcut.text)->second.match_core.contents); 151 EXPECT_EQ(shortcut.id, shortcuts.find(shortcut.text)->second.id); 153 shortcuts.find(shortcut.text)->second.match_core.contents); 178 const ShortcutsBackend::ShortcutMap& shortcuts = backend_->shortcuts_map(); local 180 ASSERT_EQ(4U, shortcuts.size()) [all...] |
shortcuts_database_unittest.cc | 163 ShortcutsDatabase::GuidToShortcutMap shortcuts; local 164 db_->LoadShortcuts(&shortcuts); 166 shortcuts.find(shortcut.id)); 167 EXPECT_TRUE(it != shortcuts.end()); 179 ShortcutsDatabase::GuidToShortcutMap shortcuts; local 180 db_->LoadShortcuts(&shortcuts); 183 shortcuts.find(shortcut_test_db[0].guid); 184 EXPECT_TRUE(it == shortcuts.end()); 186 it = shortcuts.find(shortcut_test_db[1].guid); 187 EXPECT_TRUE(it != shortcuts.end()) 199 ShortcutsDatabase::GuidToShortcutMap shortcuts; local 215 ShortcutsDatabase::GuidToShortcutMap shortcuts; local 251 ShortcutsDatabase::GuidToShortcutMap shortcuts; local [all...] |
shortcuts_database.cc | 59 db_.set_histogram_tag("Shortcuts"); 125 void ShortcutsDatabase::LoadShortcuts(GuidToShortcutMap* shortcuts) { 126 DCHECK(shortcuts); 133 shortcuts->clear(); 135 shortcuts->insert(std::make_pair( 174 // The first version of the shortcuts table lacked the fill_into_edit,
|
shortcuts_database.h | 29 // search_text Text that shortcuts was searched with. 54 // Deletes the ShortcutsProvider::Shortcuts with the id. 57 // Deletes the ShortcutsProvider::Shortcuts with the url. 60 // Deletes all of the ShortcutsProvider::Shortcuts. 63 // Loads all of the shortcuts. 64 void LoadShortcuts(GuidToShortcutMap* shortcuts);
|
shortcuts_backend.cc | 47 // Normally shortcuts have the same match type as the original match they were 226 // When an extension is unloaded, we want to remove any Shortcuts associated 254 ShortcutsDatabase::GuidToShortcutMap shortcuts; local 255 db_->LoadShortcuts(&shortcuts); 259 shortcuts.begin()); it != shortcuts.end(); ++it) {
|
/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/java/src/com/android/inputmethod/latin/makedict/ |
DictUpdater.java | 45 * @param shortcuts shortcut list, or null if none. 52 final ArrayList<WeightedString> shortcuts, final boolean isNotAWord,
|
Ver3DictUpdater.java | 74 final ArrayList<WeightedString> shortcuts, 79 shortcuts, isNotAWord, isBlackListEntry);
|
Ver3DictEncoder.java | 184 * @param shortcuts the shortcut attributes list. 186 private void writeShortcuts(final ArrayList<WeightedString> shortcuts) { 187 if (null == shortcuts || shortcuts.isEmpty()) return; 191 final Iterator<WeightedString> shortcutIterator = shortcuts.iterator();
|
Ver4DictUpdater.java | 54 final ArrayList<WeightedString> bigramStrings, final ArrayList<WeightedString> shortcuts,
|
DynamicBinaryDictIOUtils.java | 247 * @param shortcuts shortcut list, or null if none. 258 final ArrayList<WeightedString> shortcuts, final boolean isNotAWord, 267 final boolean hasShortcuts = shortcuts != null && !shortcuts.isEmpty(); 311 frequency, nodeParentAddress, shortcuts, bigrams, destination, 387 FormatSpec.NO_CHILDREN_ADDRESS, shortcuts, bigrams); 408 nodeParentAddress, currentInfo.mChildrenAddress, shortcuts, 439 shortcuts, bigrams); 483 FormatSpec.NO_CHILDREN_ADDRESS, shortcuts, bigrams);
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
CombinedInputOutput.java | 128 ArrayList<WeightedString> shortcuts = new ArrayList<WeightedString>(); local 134 dict.add(word, freq, shortcuts.isEmpty() ? null : shortcuts, isNotAWord); 139 if (!shortcuts.isEmpty()) shortcuts = new ArrayList<WeightedString>(); 168 shortcuts.add(new WeightedString(shortcut, shortcutFreq)); 192 dict.add(word, freq, shortcuts.isEmpty() ? null : shortcuts, isNotAWord);
|
XmlDictInputOutput.java | 81 * @param shortcuts the shortcuts as a map. This may be empty, but may not be null. 83 public UnigramHandler(final HashMap<String, ArrayList<WeightedString>> shortcuts) { 85 mShortcutsMap = shortcuts; 301 * @param shortcuts the file to read the shortcuts & whitelist from, or null. 306 final InputStream shortcuts, final InputStream bigrams) 316 if (null != shortcuts) parser.parse(shortcuts, shortcutAndWhitelistHandler); 339 * which has no support for bigrams or shortcuts/whitelist [all...] |
DictionaryMaker.java | 99 + " with XML input (other formats include bigrams and shortcuts already)"); 316 final FileInputStream shortcuts = null == shortcutXmlFilename ? null : local 320 return XmlDictInputOutput.readDictionaryXml(unigrams, shortcuts, bigrams);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
Panel.js | 182 function handleSearchShortcuts(shortcuts, handler) 184 for (var i = 0; i < shortcuts.length; ++i) { 185 if (shortcuts[i].key !== shortcutKey)
|
SearchableView.js | 184 * @param {!Array.<!WebInspector.KeyboardShortcut.Descriptor>} shortcuts 188 function register(shortcuts, handler) 190 for (var i = 0; i < shortcuts.length; ++i) 191 this._shortcuts[shortcuts[i].key] = handler;
|
SourcesPanel.js | [all...] |
/external/chromium_org/chrome/browser/profiles/ |
profile_shortcut_manager_win.cc | 62 // The maximum number of characters allowed in profile shortcuts' file names. 64 // existing shortcuts might no longer be found if the name is generated 242 // Gets the user and system directories for desktop shortcuts. Parameters may 295 // Populates |paths| with the file paths of Chrome desktop shortcuts that have 297 // Chrome desktop shortcuts with empty command lines will also be included. 404 // Updates all desktop shortcuts for the given profile to have the specified 406 // is created if no existing ones were found. Whether non-profile shortcuts 430 // Ensure that the distribution supports creating shortcuts. If it doesn't, 471 std::vector<base::FilePath> shortcuts; local 474 &shortcuts); 527 std::vector<base::FilePath> shortcuts; local 578 std::vector<base::FilePath> shortcuts; local [all...] |
/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/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictDecoderEncoderTests.java | 153 final ArrayList<WeightedString> shortcuts = CollectionUtils.newArrayList(); local 156 shortcuts.add(new WeightedString(shortcut, UNIGRAM_FREQ)); 159 dict.add(word, UNIGRAM_FREQ, (shortcutMap == null) ? null : shortcuts, 307 final SparseArray<List<Integer>> bigrams, final HashMap<String, List<String>> shortcuts, 317 addUnigrams(words.size(), dict, words, shortcuts); local 319 checkDictionary(dict, words, bigrams, shortcuts); 322 final long read = timeReadingAndCheckDict(file, words, bigrams, shortcuts, bufferType, 331 results.add(runReadAndWrite(sWords, sEmptyBigrams, null /* shortcuts */, bufferType, 333 results.add(runReadAndWrite(sWords, sChainBigrams, null /* shortcuts */, bufferType, 335 results.add(runReadAndWrite(sWords, sStarBigrams, null /* shortcuts */, bufferType [all...] |
BinaryDictIOUtilsTests.java | 102 Log.d(TAG, " shortcuts = " + ws.mWord); 189 final ArrayList<WeightedString> shortcuts, final int formatVersion) { 204 dictUpdater.insertWord(word, frequency, bigrams, shortcuts, false, false);
|
/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/tools/grit/grit/tool/ |
build.py | 19 from grit import shortcuts namespace 296 # Print warnings if there are any duplicate shortcuts. 297 warnings = shortcuts.GenerateDuplicateShortcutsWarnings(
|
/external/libvpx/libvpx/examples/includes/PHP-SmartyPants-1.5.1e/ |
smartypants.php | 87 # 2 : set all, using old school en- and em- dash shortcuts 88 # 3 : set all, using inverted old school en and em- dash shortcuts 333 # use old smart dash shortcuts, "--" for en, "---" for em
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
folder_shortcuts_data_model.js | 6 * Model for the folder shortcuts. This object is cr.ui.ArrayDataModel-like 84 FolderShortcutsDataModel.NAME = 'folder-shortcuts-list';
|