/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryAddWordContents.java | 44 public static final String EXTRA_SHORTCUT = "shortcut"; 73 final String shortcut = args.getString(EXTRA_SHORTCUT); local 74 if (null != shortcut && null != mShortcutEditText) { 75 mShortcutEditText.setText(shortcut); 145 // If there is no shortcut, and the word already exists in the database, then we 146 // should not insert, because either A. the word exists with no shortcut, in which 148 // exists with at least one shortcut, in which case it has priority on our word. 153 // Disallow duplicates. If the same word with no shortcut is defined, remove it; if 154 // the same word with the same shortcut is defined, remove it; but we don't mind if 155 // there is the same word with a different, non-empty shortcut [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
FrameWork.py | 515 label, shortcut, callback, kind = menu.items[i] 563 def additem(self, label, shortcut=None, callback=None, kind=None): 565 self.items.append((label, shortcut, callback, kind)) 571 if shortcut and type(shortcut) == type(()): 572 modifiers, char = shortcut[:2] 575 if len(shortcut) > 2: 576 self.menu.SetMenuItemKeyGlyph(item, shortcut[2]) 577 elif shortcut: 578 self.menu.SetItemCmd(item, ord(shortcut)) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
FusionDictionary.java | 69 * PtNode is a group of characters, with probability information, shortcut targets, bigrams, 91 boolean mIsNotAWord; // Only a shortcut 198 * Gets the shortcut target for the given word. Returns null if the word is not in the 199 * shortcut list. 206 WeightedString shortcut = mShortcutTargets.get(i); local 207 if (shortcut.mWord.equals(word)) { 208 return shortcut; 234 * Updates the PtNode with the given properties. Adds the shortcut and bigram lists to 235 * the existing ones if any. Note: unigram, bigram, and shortcut frequencies are only 249 final WeightedString shortcut = shortcutTargets.get(i) local [all...] |
BinaryDictEncoderUtils.java | 91 * Compute the size of a shortcut in bytes. 93 private static int getShortcutSize(final WeightedString shortcut) { 95 final String word = shortcut.mWord; 106 * Compute the size of a shortcut list in bytes. 114 for (final WeightedString shortcut : shortcutList) { 115 size += getShortcutSize(shortcut); 698 * Makes the flag value for a shortcut. [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
navigation_list_model.js | 69 * @param {cr.ui.ArrayDataModel} shortcutListModel The list of folder shortcut. 165 // The shortcut at shortcutList_[oldListIndex] is removed. 177 // We needs to create a new instance for the shortcut entry. 210 // the folder shortcut list nor in the volume info list. 270 // For shortcuts, lets the shortcut model handle this situation.
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
KeyboardShortcut.js | 202 * @param {string} shortcut 205 WebInspector.KeyboardShortcut.makeKeyFromBindingShortcut = function(shortcut) 207 var parts = shortcut.split(/\+(?!$)/); 214 console.assert(i === parts.length - 1, "Modifiers-only shortcuts are not allowed (encountered <" + shortcut + ">)");
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuItemImpl.java | 266 * @return The active shortcut (based on QWERTY-mode of the menu). 273 * @return The label to show for the shortcut. This includes the chording 279 char shortcut = getShortcut(); local 280 if (shortcut == 0) { 285 switch (shortcut) { 300 sb.append(shortcut); 310 * a shortcut defined) 313 // Show shortcuts if the menu is supposed to show shortcuts AND this item has a shortcut
|
ActionMenu.java | 169 final char shortcut = qwerty ? item.getAlphabeticShortcut() : local 171 if (keyCode == shortcut) {
|
IconMenuItemView.java | 142 * shortcut+title being shown. Instead, re-set the shortcut caption 152 void setCaptionMode(boolean shortcut) { 161 mShortcutCaptionMode = shortcut && (mItemData.shouldShowShortcut()); 304 * Shortcut has changed and we're showing it right now, need to
|
IconMenuView.java | 98 * Longpress on MENU (while this is shown) switches to shortcut caption 106 * mode between each's title and its shortcut. This is the last caption mode 585 * Sets the shortcut caption mode for IconMenuView. This mode will 586 * continuously cycle between a child's shortcut and its title. 588 * @param cycleShortcutAndNormal Whether to go into cycling shortcut mode, 596 * to shortcut 635 * Iterates children and sets the desired shortcut mode. Only 639 * @param shortcut Whether to show shortcut or the title. 641 private void setChildrenCaptionMode(boolean shortcut) { [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuItemImpl.java | 282 * @return The active shortcut (based on QWERTY-mode of the menu). 289 * @return The label to show for the shortcut. This includes the chording key (for example 295 char shortcut = getShortcut(); local 296 if (shortcut == 0) { 301 switch (shortcut) { 316 sb.append(shortcut); 326 * a shortcut defined) 329 // Show shortcuts if the menu is supposed to show shortcuts AND this item has a shortcut
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
keyboard_overlay.js | 127 // Cache the shortcut data after it is constructed. 131 * Returns shortcut data. 132 * @return {Object} Keyboard shortcut data. 138 shortcutDataCache = keyboardOverlayData['shortcut']; 249 * Returns an ID of the shortcut text. 252 * @return {string} Key shortcut text ID. 255 return identifier + '-shortcut-text-' + i; 350 * @return {string} Normalized key shortcut data string. 416 // key is pressed here and do not show keyboard shortcut description for 423 classes.push('is-shortcut'); [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
encodemb.c | 301 int shortcut=0; local 342 shortcut = 1; 344 shortcut = 0; 346 if(shortcut) 395 if(shortcut)
|
/external/libvpx/libvpx/vp8/encoder/ |
encodemb.c | 301 int shortcut=0; local 342 shortcut = 1; 344 shortcut = 0; 346 if(shortcut) 395 if(shortcut)
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
encodemb.c | 301 int shortcut=0; local 342 shortcut = 1; 344 shortcut = 0; 346 if(shortcut) 395 if(shortcut)
|
/packages/apps/Music/src/com/android/music/ |
PlaylistBrowserActivity.java | 378 final Intent shortcut = new Intent(); local 379 shortcut.setAction(Intent.ACTION_VIEW); 380 shortcut.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/playlist"); 381 shortcut.putExtra("playlist", String.valueOf(id)); 384 intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcut);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherModel.java | 287 ShortcutInfo shortcut = (ShortcutInfo) item; local 288 if (modelShortcut.title.toString().equals(shortcut.title.toString()) && 289 modelShortcut.intent.filterEquals(shortcut.intent) && 290 modelShortcut.id == shortcut.id && 291 modelShortcut.itemType == shortcut.itemType && 292 modelShortcut.container == shortcut.container && 293 modelShortcut.screen == shortcut.screen && 294 modelShortcut.cellX == shortcut.cellX && 295 modelShortcut.cellY == shortcut.cellY && 296 modelShortcut.spanX == shortcut.spanX & 2263 ShortcutInfo shortcut = (ShortcutInfo) info; local [all...] |
/external/chromium_org/ui/aura/ |
remote_window_tree_host_win.h | 68 void HandleOpenURLOnDesktop(const base::FilePath& shortcut,
|
/external/chromium_org/win8/delegate_execute/ |
delegate_execute.cc | 128 sei.lpFile = operation.shortcut().value().c_str(); 131 AtlTrace(L"Relaunching Chrome via shortcut [%ls]\n", sei.lpFile);
|
/external/chromium_org/win8/viewer/ |
metro_viewer_process_host.h | 76 static void HandleActivateDesktop(const base::FilePath& shortcut,
|
/external/chromium_org/chrome/browser/profile_resetter/ |
profile_resetter_unittest.cc | 46 #include "base/win/shortcut.h" 269 // A helper class to create/delete/check a Chrome desktop shortcut on Windows. 793 ShortcutHandler shortcut; local 794 ShortcutCommand command_line = shortcut.CreateWithArguments( 797 shortcut.CheckShortcutHasArguments(base::ASCIIToUTF16( 802 shortcut.CheckShortcutHasArguments(base::ASCIIToUTF16( 962 ShortcutHandler shortcut; local 1050 ShortcutHandler shortcut; local [all...] |
/external/chromium_org/chrome/browser/ui/webui/extensions/chromeos/ |
kiosk_apps_browsertest.js | 182 var checkbox = $('kiosk-disable-bailout-shortcut'); 212 var checkbox = $('kiosk-disable-bailout-shortcut'); 227 var checkbox = $('kiosk-disable-bailout-shortcut');
|
/external/chromium_org/chrome/utility/importer/ |
ie_importer_win.cc | 266 // Reads an internet shortcut (*.url) |file| and returns a COM object 270 base::win::ScopedComPtr<IUniformResourceLocator>* shortcut) { 280 // Loads the Internet Shortcut from persistent storage. 284 std::swap(url_locator, *shortcut); 288 // Reads the URL stored in the internet shortcut. 296 // Reads the URL of the favicon of the internet shortcut. 349 // Reads the binary image data of favicon of an internet shortcut file |file|. 814 base::FilePath shortcut(*it); 815 if (!LowerCaseEqualsASCII(shortcut.Extension(), ".url")) 840 shortcut.DirName().value().substr(favorites_path_len) [all...] |
/external/chromium_org/chrome/browser/extensions/api/commands/ |
command_service.cc | 62 // shortcut (1-to-1 relationship). That means two or more extensions can 251 // If the shortcut has been assigned to another command, it should be 263 // If the command that is taking a new shortcut already has a shortcut, remove 317 // The extension command might be assigned another shortcut. Remove that 318 // shortcut before proceeding. 359 // Format stored in Preferences is: "Platform:Shortcut[:ExtensionId]". 360 std::string shortcut = it.key(); local 361 if (!IsForCurrentPlatform(shortcut)) 368 base::SplitString(shortcut, ':', &tokens) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_encodemb.c | 153 int shortcut = 0; local 189 shortcut = 1; 191 shortcut = 0; 193 if (shortcut) { 227 if (shortcut) {
|