/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...] |
/external/chromium_org/chrome/browser/history/ |
shortcuts_database.cc | 24 const history::ShortcutsBackend::Shortcut& shortcut, 26 DCHECK(base::IsValidGUID(shortcut.id)); 27 s->BindString(0, shortcut.id); 28 s->BindString16(1, shortcut.text); 29 s->BindString(2, shortcut.url.spec()); 30 s->BindString16(3, shortcut.contents); 32 AutocompleteMatch::ClassificationsToString(shortcut.contents_class)); 33 s->BindString16(5, shortcut.description); 35 AutocompleteMatch::ClassificationsToString(shortcut.description_class)) [all...] |
shortcuts_backend_unittest.cc | 90 ShortcutsBackend::Shortcut shortcut("BD85DBA2-8C29-49F9-84AE-48E1E90880DF", 97 EXPECT_TRUE(backend_->AddShortcut(shortcut)); 102 ASSERT_TRUE(shortcuts.end() != shortcuts.find(shortcut.text)); 103 EXPECT_EQ(shortcut.id, shortcuts.find(shortcut.text)->second.id); 104 EXPECT_EQ(shortcut.contents, shortcuts.find(shortcut.text)->second.contents); 105 shortcut.contents = ASCIIToUTF16("Google Web Search"); 106 EXPECT_TRUE(backend_->UpdateShortcut(shortcut)); [all...] |
shortcuts_database.h | 24 // This class manages the shortcut provider table within the SQLite database 32 // url The url of the shortcut. 44 typedef std::map<std::string, ShortcutsBackend::Shortcut> GuidToShortcutMap; 50 // Adds the ShortcutsProvider::Shortcut to the database. 51 bool AddShortcut(const ShortcutsBackend::Shortcut& shortcut); 53 // Updates timing and selection count for the ShortcutsProvider::Shortcut. 54 bool UpdateShortcut(const ShortcutsBackend::Shortcut& shortcut);
|
shortcuts_backend.cc | 49 // ShortcutsBackend::Shortcut ------------------------------------------------- 51 ShortcutsBackend::Shortcut::Shortcut( 74 ShortcutsBackend::Shortcut::Shortcut() 79 ShortcutsBackend::Shortcut::~Shortcut() { 113 bool ShortcutsBackend::AddShortcut(const Shortcut& shortcut) { 116 DCHECK(guid_map_.find(shortcut.id) == guid_map_.end()) [all...] |
/external/chromium_org/ui/base/accelerators/ |
accelerator.cc | 162 base::string16 shortcut; local 176 shortcut += key; 180 shortcut += 194 shortcut += 197 shortcut += UTF8ToUTF16(name); 201 shortcut = l10n_util::GetStringUTF16(string_id); 210 if (base::i18n::IsRTL() && shortcut.length() == 1 && 211 !IsAsciiAlpha(shortcut[0]) && !IsAsciiDigit(shortcut[0])) { 213 shortcut_rtl.assign(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...] |
ShortcutPreference.java | 29 * Preference type for a shortcut in {@link QuickLaunchSettings}. 49 public ShortcutPreference(Context context, char shortcut) { 65 mShortcut = shortcut; 74 public void setShortcut(char shortcut) { 75 if (shortcut != mShortcut) { 76 mShortcut = shortcut; 106 TextView shortcutView = (TextView) view.findViewById(R.id.shortcut);
|
/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_org/win8/delegate_execute/ |
delegate_execute_operation.cc | 23 base::FilePath shortcut( 25 if (shortcut.empty()) { 29 relaunch_shortcut_ = shortcut;
|
delegate_execute_operation.h | 29 // --relaunch-shortcut=<PathToShortcut> 32 // shortcut that has the appId and other 'metro ready' parameters. 63 const base::FilePath& shortcut() const { function in class:delegate_execute::DelegateExecuteOperation
|
/external/chromium_org/chrome/common/extensions/ |
command.cc | 179 // platforms leave the shortcut untouched. 248 std::string shortcut; local 252 shortcut += values::kKeyCtrl; 254 shortcut += values::kKeyAlt; 255 if (!shortcut.empty()) 256 shortcut += values::kKeySeparator; 259 shortcut += values::kKeyCommand; 260 shortcut += values::kKeySeparator; 264 shortcut += values::kKeyShift; 265 shortcut += values::kKeySeparator [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Stats.java | 110 public void recordLaunch(Intent intent, ShortcutInfo shortcut) { 117 if (shortcut != null) { 118 broadcastIntent.putExtra(EXTRA_CONTAINER, shortcut.container) 119 .putExtra(EXTRA_SCREEN, shortcut.screenId) 120 .putExtra(EXTRA_CELLX, shortcut.cellX) 121 .putExtra(EXTRA_CELLY, shortcut.cellY); 135 if (shortcut == null) { 141 mLog.writeShort((short) shortcut.container); 142 mLog.writeShort((short) shortcut.screenId); 143 mLog.writeShort((short) shortcut.cellX) [all...] |
/external/chromium_org/win8/metro_driver/ |
winrt_utils.cc | 170 bool GetArgumentsFromShortcut(const base::FilePath& shortcut, 189 result = persist->Load(shortcut.value().c_str(), STGM_READ); 206 base::FilePath shortcut(path_buffer); 207 shortcut = shortcut.Append( 212 shortcut = shortcut.Append(L"Google Chrome.lnk"); 214 shortcut = shortcut.Append(L"Chromium.lnk"); 218 if (GetArgumentsFromShortcut(shortcut, &arguments)) [all...] |
/external/chromium_org/chrome/utility/importer/ |
bookmark_html_reader_unittest.cc | 54 // Unicode characters in title and shortcut. 57 base::string16 shortcut; local 63 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); 67 EXPECT_EQ(L"\x4E2D", UTF16ToWide(shortcut)); 71 // No shortcut, and url contains %22 ('"' character). 74 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); 78 EXPECT_EQ(base::string16(), shortcut); local 84 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); 88 EXPECT_EQ(base::string16(), shortcut); local 95 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data) 99 EXPECT_EQ(base::string16(), shortcut); local 124 EXPECT_EQ(base::string16(), shortcut); local [all...] |
/external/chromium_org/chrome/browser/resources/extensions/ |
extension_commands_overlay.css | 27 .command-shortcut-container { 33 .command-shortcut { 43 .command-shortcut-text {
|
/external/chromium_org/chrome/browser/autocomplete/ |
shortcuts_provider.cc | 203 const history::ShortcutsBackend::Shortcut& shortcut) { 207 match.destination_url = shortcut.url; 209 match.fill_into_edit = UTF8ToUTF16(shortcut.url.spec()); 210 match.contents = shortcut.contents; 211 match.contents_class = shortcut.contents_class; 212 match.description = shortcut.description; 213 match.description_class = shortcut.description_class; 214 match.RecordAdditionalInfo("number of hits", shortcut.number_of_hits); 215 match.RecordAdditionalInfo("last access time", shortcut.last_access_time) [all...] |
shortcuts_provider.h | 57 const history::ShortcutsBackend::Shortcut& shortcut); 99 const history::ShortcutsBackend::Shortcut& shortcut,
|
/external/chromium_org/base/win/ |
shortcut.h | 18 // Create a new shortcut (overwriting if necessary). 20 // Overwrite an existing shortcut (fails if the shortcut doesn't exist). 21 // If the arguments are not specified on the new shortcut, keep the old 22 // shortcut's arguments. 24 // Update specified properties only on an existing shortcut. 28 // Properties for shortcuts. Properties set will be applied to the shortcut on 85 // The target to launch from this shortcut. This is mandatory when creating 86 // a shortcut. 88 // The name of the working directory when launching the shortcut [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
UserDictionaryCompatUtils.java | 33 final String shortcut, final Locale locale) { 35 CompatUtils.invoke(Words.class, null, METHOD_addWord, context, word, freq, shortcut,
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
keyboard_overlay.css | 73 .keyboard-overlay-key.is-shortcut { 80 .keyboard-overlay-key.is-shortcut.modifier-shift { 84 .keyboard-overlay-key.is-shortcut.modifier-ctrl { 88 .keyboard-overlay-key.is-shortcut.modifier-alt { 92 .keyboard-overlay-key.is-shortcut.modifier-search { 96 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl { 100 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-alt { 104 .keyboard-overlay-key.is-shortcut.modifier-ctrl.modifier-alt { 108 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl.modifier-alt { 172 .keyboard-overlay-shortcut-text [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 74 Words.SHORTCUT 169 String shortcut = cursor.getString(COLUMN_SHORTCUT); local 170 if (TextUtils.isEmpty(shortcut)) shortcut = ""; 173 + SEPARATOR + shortcut; 228 String shortcut = null; local 232 if (st.hasMoreTokens()) shortcut = st.nextToken(); 233 if (TextUtils.isEmpty(shortcut)) shortcut = null; 243 cv.put(Words.SHORTCUT, shortcut) [all...] |
/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...] |
/external/chromium_org/chrome/browser/ |
shell_integration_win.cc | 24 #include "base/win/shortcut.h" 383 // run-time Chrome icon is merged with the taskbar shortcut), but this is not 410 for (base::FilePath shortcut = shortcuts_enum.Next(); !shortcut.empty(); 411 shortcut = shortcuts_enum.Next()) { 414 if (!base::win::ResolveShortcut(shortcut, &target_path, &arguments) || 421 // Get the expected AppId for this Chrome shortcut. 427 // Load the shortcut. 433 FAILED(persist_file->Load(shortcut.value().c_str(), STGM_READ))) { 434 DLOG(WARNING) << "Failed loading shortcut at " << shortcut.value() 519 base::FilePath shortcut; local [all...] |