/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TableLayout8.java | 61 TextView shortcut = new TextView(this); local 62 shortcut.setText(R.string.table_layout_8_ctrlq); 63 shortcut.setPadding(3, 3, 3, 3); 64 shortcut.setGravity(Gravity.RIGHT | Gravity.TOP); 67 row.addView(shortcut, new TableRow.LayoutParams());
|
TableLayout7.java | 70 TextView shortcut = new TextView(this); local 71 shortcut.setText(R.string.table_layout_7_ctrlq); 72 shortcut.setPadding(3, 3, 3, 3); 73 shortcut.setGravity(Gravity.RIGHT | Gravity.TOP); 76 row.addView(shortcut, new TableRow.LayoutParams());
|
/external/chromium/chrome/browser/importer/ |
firefox_importer_unittest.cc | 104 // Unicode characters in title and shortcut. 107 string16 shortcut; local 113 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); 117 EXPECT_EQ(L"\x4E2D", UTF16ToWide(shortcut)); 121 // No shortcut, and url contains %22 ('"' character). 124 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); 128 EXPECT_EQ(ASCIIToUTF16(""), shortcut); 134 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); 138 EXPECT_EQ(ASCIIToUTF16(""), shortcut); 145 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data) [all...] |
firefox2_importer.cc | 119 string16 shortcut; local 123 &favicon, &shortcut, &add_date, 139 // Otherwise, we use the shortcut. 187 string16 shortcut; local 195 &url, &favicon, &shortcut, &add_date, 235 // If there is a SHORTCUT attribute for this bookmark, we 237 TemplateURL* t_url = CreateTemplateURL(title, shortcut, url); 470 string16* shortcut, 476 shortcut->clear(); 520 base::OnStringConversionError::SKIP, shortcut); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
ShortcutManager.java | 35 * <li> Returning a shortcut-matching intent to clients 44 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT 49 /** Map of a shortcut to its intent. */ 59 /** Observes the provider of shortcut+intents */ 81 int shortcut = c.getInt(COLUMN_SHORTCUT); local 82 if (shortcut == 0) continue; 88 Log.w(TAG, "Intent URI for shortcut invalid.", e); 91 mShortcutIntents.put(shortcut, intent); 96 * Gets the shortcut intent for a given keycode+modifier. Make sure you 98 * if 'Sym+A' should invoke a shortcut on 'A', you should strip th 114 int shortcut = kcm.get(keyCode, metaState); local [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
RankAwarePromoterTest.java | 67 // (e.g. a shortcut) into the promoted suggestions list, and the current 74 Suggestion shortcut = new SuggestionPosition(corpora2); local 75 promoted.add(shortcut); 80 // The shortcut at the top of the list. 88 // The shortcut at the top of the list.
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenu.java | 169 final char shortcut = qwerty ? item.getAlphabeticShortcut() : local 171 if (keyCode == shortcut) {
|
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
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
EventLogLogger.java | 121 String shortcut = cursor.isSuggestionShortcut() ? "shortcut" : ""; local 122 sb.append(source).append(':').append(type).append(':').append(shortcut);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryAddWordContents.java | 44 public static final String EXTRA_SHORTCUT = "shortcut"; 69 final String shortcut = args.getString(EXTRA_SHORTCUT); local 70 if (null != shortcut && null != mShortcutEditText) { 71 mShortcutEditText.setText(shortcut); 129 // If there is no shortcut, and the word already exists in the database, then we 130 // should not insert, because either A. the word exists with no shortcut, in which 132 // exists with at least one shortcut, in which case it has priority on our word. 135 // Disallow duplicates. If the same word with no shortcut is defined, remove it; if 136 // the same word with the same shortcut is defined, remove it; but we don't mind if 137 // there is the same word with a different, non-empty shortcut [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserBinaryDictionary.java | 46 // TODO: use Words.SHORTCUT when we target JellyBean or above 47 final static String SHORTCUT = "shortcut"; 53 SHORTCUT, 246 final int indexShortcut = hasShortcutColumn ? cursor.getColumnIndex(SHORTCUT) : 0; 250 final String shortcut = hasShortcutColumn ? cursor.getString(indexShortcut) : null; local 257 if (null != shortcut && shortcut.length() < MAX_WORD_LENGTH) { 258 super.addWord(shortcut, word, adjustedFrequency, true /* isNotAWord */);
|
ExpandableDictionary.java | 321 // If node.mShortcutOnly is true, then it exists as a shortcut but not as a word, 324 // a shortcut, but this does not matter), so it's a valid word. 411 final char[] shortcut = node.mShortcutTargets.get(shortcutIndex); local 412 suggestions.add(new SuggestedWordInfo(new String(shortcut, 0, shortcut.length), [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
CombinedInputOutput.java | 47 private static final String SHORTCUT_TAG = "shortcut"; 154 String shortcut = null; local 160 shortcut = params[1]; 167 if (null != shortcut) { 168 shortcuts.add(new WeightedString(shortcut, shortcutFreq));
|
/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);
|
/external/libvpx/libvpx/vp8/encoder/ |
encodemb.c | 301 int shortcut=0; local 342 shortcut = 1; 344 shortcut = 0; 346 if(shortcut) 395 if(shortcut)
|
/packages/apps/Settings/src/com/android/settings/ |
UserDictionarySettings.java | 57 UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT 60 // The index of the shortcut in the above array. 71 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?"; 73 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " 74 + UserDictionary.Words.SHORTCUT + "=''"; 156 new String[] { UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT }, 163 final String shortcut = getShortcut(position); local 165 showAddOrEditDialog(word, shortcut); 190 * @param editingShortcut the shortcut for this entry, or null if none. 224 mCursor.getColumnIndexOrThrow(UserDictionary.Words.SHORTCUT)); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryAddWordContents.java | 48 public static final String EXTRA_SHORTCUT = "shortcut"; 81 final String shortcut; local 83 shortcut = args.getString(EXTRA_SHORTCUT); 84 if (null != shortcut && null != mShortcutEditText) { 85 mShortcutEditText.setText(shortcut); 89 shortcut = null; 150 // If there is no shortcut, and the word already exists in the database, then we 151 // should not insert, because either A. the word exists with no shortcut, in which 153 // exists with at least one shortcut, in which case it has priority on our word. 156 // Disallow duplicates. If the same word with no shortcut is defined, remove it; i [all...] |
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 + "=''"; 189 final String shortcut = getShortcut(position); local 191 showAddOrEditDialog(word, shortcut); 202 // with the shortcut API. 225 * @param editingShortcut the shortcut for this entry, or null if none [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 72 Words.SHORTCUT 166 String shortcut = cursor.getString(COLUMN_SHORTCUT); local 167 if (TextUtils.isEmpty(shortcut)) shortcut = ""; 170 + SEPARATOR + shortcut; 224 String shortcut = null; local 228 if (st.hasMoreTokens()) shortcut = st.nextToken(); 229 if (TextUtils.isEmpty(shortcut)) shortcut = null; 239 cv.put(Words.SHORTCUT, shortcut) [all...] |
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
QuickLaunchSettings.java | 50 * and allows choosing a new bookmark for a shortcut. 67 Bookmarks.SHORTCUT, Bookmarks.TITLE, Bookmarks.INTENT 69 private static final String sShortcutSelection = Bookmarks.SHORTCUT + "=?"; 81 /** Preference category to hold the shortcut preferences. */ 83 /** Mapping of a shortcut to its preference. */ 86 /** The bookmark title of the shortcut that is being cleared. */ 89 /** The shortcut that is being cleared. */ 144 // Create the dialog for clearing a shortcut 182 // Clear the shortcut 189 private void clearShortcut(char shortcut) { 230 char shortcut = data.getCharExtra(BookmarkPicker.EXTRA_SHORTCUT, (char) 0); local 242 Bookmarks.add(getContentResolver(), intent, "", DEFAULT_BOOKMARK_FOLDER, shortcut, 0); local 271 char shortcut = (char) Character.toLowerCase(keyMap.getDisplayLabel(keyCode)); local 302 char shortcut = Character.toLowerCase((char) c.getInt(COLUMN_SHORTCUT)); local 343 char shortcut = (char) noLongerBookmarkedShortcuts.keyAt(i); local [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
ConsoleView.js | 489 var shortcut = WebInspector.KeyboardShortcut; variable 490 var shortcutK = shortcut.makeDescriptor("k", WebInspector.KeyboardShortcut.Modifiers.Meta); 491 // This case requires a separate bound function as its isMacOnly property should not be shared among different shortcut handlers. 496 var shortcutL = shortcut.makeDescriptor("l", WebInspector.KeyboardShortcut.Modifiers.Ctrl); 504 shortcut.shortcutToString(shortcut.Keys.Tab), 505 shortcut.shortcutToString(shortcut.Keys.Tab, shortcut.Modifiers.Shift) 508 section.addKey(shortcut.shortcutToString(shortcut.Keys.Right), WebInspector.UIString("Accept suggestion")) 530 var shortcut = WebInspector.KeyboardShortcut.makeKeyFromEvent(event); variable [all...] |
StylesSidebarPane.js | 534 var shortcut = WebInspector.KeyboardShortcut; variable 536 shortcut.shortcutToString(shortcut.Keys.Tab), 537 shortcut.shortcutToString(shortcut.Keys.Tab, shortcut.Modifiers.Shift) 541 shortcut.shortcutToString(shortcut.Keys.Up), 542 shortcut.shortcutToString(shortcut.Keys.Down [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuItemImpl.java | 288 * @return The active shortcut (based on QWERTY-mode of the menu). 296 * @return The label to show for the shortcut. This includes the chording key (for example 302 char shortcut = getShortcut(); local 303 if (shortcut == 0) { 308 switch (shortcut) { 323 sb.append(shortcut); 332 * should show shortcuts and whether this item has a shortcut defined) 335 // Show shortcuts if the menu is supposed to show shortcuts AND this item has a shortcut
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
FusionDictionary.java | 63 * This represents an "attribute", that is either a bigram or a shortcut. 88 * A group of characters, with a frequency, shortcut targets, bigrams, and children. 106 boolean mIsNotAWord; // Only a shortcut 197 * Gets the shortcut target for the given word. Returns null if the word is not in the 198 * shortcut list. 205 WeightedString shortcut = mShortcutTargets.get(i); local 206 if (shortcut.mWord.equals(word)) { 207 return shortcut; 233 * Updates the CharGroup with the given properties. Adds the shortcut and bigram lists to 234 * the existing ones if any. Note: unigram, bigram, and shortcut frequencies are onl 249 final WeightedString shortcut = shortcutTargets.get(i); local [all...] |
/external/webkit/Source/WebKit/qt/tests/qwebframe/ |
tst_qwebframe.cpp | 70 Q_PROPERTY(QKeySequence shortcut READ shortcut WRITE setShortcut) 195 QKeySequence shortcut() const { function in class:MyQObject [all...] |