HomeSort by relevance Sort by last modified time
    Searched refs:shortcut (Results 1 - 25 of 138) sorted by null

1 2 3 4 5 6

  /frameworks/base/policy/src/com/android/internal/policy/impl/
ShortcutManager.java 34 * <li> Returning a shortcut-matching intent to clients
43 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT
48 /** Map of a shortcut to its intent. */
58 /** Observes the provider of shortcut+intents */
80 int shortcut = c.getInt(COLUMN_SHORTCUT); local
81 if (shortcut == 0) continue;
87 Log.w(TAG, "Intent URI for shortcut invalid.", e);
90 mShortcutIntents.put(shortcut, intent);
95 * Gets the shortcut intent for a given keycode+modifier. Make sure you
97 * if 'Sym+A' should invoke a shortcut on 'A', you should strip th
113 int shortcut = kcm.get(keyCode, metaState); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/quicklaunch/
QuickLaunchSettings.java 51 * and allows choosing a new bookmark for a shortcut.
68 Bookmarks.SHORTCUT, Bookmarks.TITLE, Bookmarks.INTENT
70 private static final String sShortcutSelection = Bookmarks.SHORTCUT + "=?";
82 /** Preference category to hold the shortcut preferences. */
84 /** Mapping of a shortcut to its preference. */
87 /** The bookmark title of the shortcut that is being cleared. */
90 /** The shortcut that is being cleared. */
157 // 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/chrome/browser/history/
shortcuts_database.cc 31 const history::ShortcutsDatabase::Shortcut& shortcut,
33 DCHECK(base::IsValidGUID(shortcut.id));
34 s->BindString(0, shortcut.id);
35 s->BindString16(1, shortcut.text);
36 s->BindString16(2, shortcut.match_core.fill_into_edit);
37 s->BindString(3, shortcut.match_core.destination_url.spec());
38 s->BindString16(4, shortcut.match_core.contents);
39 s->BindString(5, shortcut.match_core.contents_class);
40 s->BindString16(6, shortcut.match_core.description)
    [all...]
  /external/chromium_org/ui/base/accelerators/
accelerator.cc 181 base::string16 shortcut; local
195 shortcut += key;
199 shortcut +=
203 shortcut = l10n_util::GetStringUTF16(string_id);
212 if (base::i18n::IsRTL() && shortcut.length() == 1 &&
213 !IsAsciiAlpha(shortcut[0]) && !IsAsciiDigit(shortcut[0])) {
215 shortcut_rtl.assign(shortcut);
219 shortcut = l10n_util::GetStringFUTF16(IDS_APP_SHIFT_MODIFIER, shortcut);
    [all...]
  /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 31 // --relaunch-shortcut=<PathToShortcut>
34 // shortcut that has the appId and other 'metro ready' parameters.
65 const base::FilePath& shortcut() const { function in class:delegate_execute::DelegateExecuteOperation
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
UserDictionaryCompatUtils.java 33 final int freq, final String shortcut, final Locale locale) {
35 CompatUtils.invoke(Words.class, null, METHOD_addWord, context, word, freq, shortcut,
  /external/chromium_org/chrome/common/extensions/
command.cc 225 // platforms leave the shortcut untouched.
296 std::string shortcut; local
300 shortcut += values::kKeyCtrl;
302 shortcut += values::kKeyAlt;
303 if (!shortcut.empty())
304 shortcut += values::kKeySeparator;
307 shortcut += values::kKeyCommand;
308 shortcut += values::kKeySeparator;
312 shortcut += values::kKeyShift;
313 shortcut += values::kKeySeparator
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
Stats.java 114 public void recordLaunch(Intent intent, ShortcutInfo shortcut) {
121 if (shortcut != null) {
122 broadcastIntent.putExtra(EXTRA_CONTAINER, shortcut.container)
123 .putExtra(EXTRA_SCREEN, shortcut.screenId)
124 .putExtra(EXTRA_CELLX, shortcut.cellX)
125 .putExtra(EXTRA_CELLY, shortcut.cellY);
139 if (shortcut == null) {
145 mLog.writeShort((short) shortcut.container);
146 mLog.writeShort((short) shortcut.screenId);
147 mLog.writeShort((short) shortcut.cellX)
    [all...]
  /external/chromium_org/chrome/browser/autocomplete/
shortcuts_provider.cc 189 const history::ShortcutsDatabase::Shortcut& shortcut,
199 match.fill_into_edit = shortcut.match_core.fill_into_edit;
200 match.destination_url = shortcut.match_core.destination_url;
202 match.contents = shortcut.match_core.contents;
204 shortcut.match_core.contents_class);
205 match.description = shortcut.match_core.description;
207 shortcut.match_core.description_class);
209 static_cast<content::PageTransition>(shortcut.match_core.transition);
210 match.type = static_cast<AutocompleteMatch::Type>(shortcut.match_core.type)
    [all...]
shortcuts_backend_unittest.cc 31 history::ShortcutsDatabase::Shortcut::MatchCore MatchCoreForTesting(
53 bool AddShortcut(const history::ShortcutsDatabase::Shortcut& shortcut);
54 bool UpdateShortcut(const history::ShortcutsDatabase::Shortcut& shortcut);
81 history::ShortcutsDatabase::Shortcut::MatchCore
153 const history::ShortcutsDatabase::Shortcut& shortcut) {
154 return backend_->AddShortcut(shortcut);
158 const history::ShortcutsDatabase::Shortcut& shortcut)
    [all...]
shortcuts_provider.h 51 // Returns an AutocompleteMatch corresponding to |shortcut|. Assigns it
57 const history::ShortcutsDatabase::Shortcut& shortcut,
102 const history::ShortcutsDatabase::Shortcut& shortcut,
shortcuts_backend.cc 51 // created from, but for certain match types, we should modify the shortcut's
52 // type slightly to reflect that the origin of the shortcut is historical.
128 UpdateShortcut(history::ShortcutsDatabase::Shortcut(
134 AddShortcut(history::ShortcutsDatabase::Shortcut(
142 history::ShortcutsDatabase::Shortcut::MatchCore
154 return history::ShortcutsDatabase::Shortcut::MatchCore(
230 const history::ShortcutsDatabase::Shortcut& shortcut) {
233 DCHECK(guid_map_.find(shortcut.id) == guid_map_.end());
234 guid_map_[shortcut.id] = shortcuts_map_.insert
    [all...]
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DictionaryBackupAgent.java 75 Words.SHORTCUT
170 String shortcut = cursor.getString(COLUMN_SHORTCUT); local
171 if (TextUtils.isEmpty(shortcut)) shortcut = "";
174 + SEPARATOR + shortcut;
229 String shortcut = null; local
233 if (st.hasMoreTokens()) shortcut = st.nextToken();
234 if (TextUtils.isEmpty(shortcut)) shortcut = null;
246 && Objects.equals(shortcut, previousShortcut)
    [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/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 {
171 .keyboard-overlay-shortcut-text
    [all...]
keyboard_overlay_accessibility_helper.js 11 // Speaks all the shortcut with the given modifiers.
34 // Speaks given shortcut description.
  /external/chromium_org/win8/metro_driver/
winrt_utils.cc 172 bool GetArgumentsFromShortcut(const base::FilePath& shortcut,
191 result = persist->Load(shortcut.value().c_str(), STGM_READ);
208 base::FilePath shortcut(path_buffer);
209 shortcut = shortcut.Append(
215 shortcut = shortcut.Append(link_name);
218 if (GetArgumentsFromShortcut(shortcut, &arguments)) {
  /external/chromium_org/chrome/utility/importer/
bookmark_html_reader_unittest.cc 57 // Unicode characters in title and shortcut.
60 base::string16 shortcut; local
66 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
70 EXPECT_EQ(L"\x4E2D", UTF16ToWide(shortcut));
74 // No shortcut, and url contains %22 ('"' character).
77 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
81 EXPECT_EQ(base::string16(), shortcut); local
87 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data);
91 EXPECT_EQ(base::string16(), shortcut); local
98 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data)
102 EXPECT_EQ(base::string16(), shortcut); local
127 EXPECT_EQ(base::string16(), shortcut); local
    [all...]
  /external/chromium_org/base/win/
shortcut.cc 5 #include "base/win/shortcut.h"
25 // If |shortcut| is not NULL, loads |shortcut| into |i_persist_file|.
29 const wchar_t* shortcut,
37 (shortcut && FAILED((*i_persist_file)->Load(shortcut, STGM_READWRITE)))) {
59 // Interfaces to the old shortcut when replacing an existing shortcut.
63 // Interfaces to the shortcut being created/updated.
77 // Confirm |shortcut_path| exists and is a shortcut by verifyin
    [all...]
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
93 // The target to launch from this shortcut. This is mandatory when creating
94 // a shortcut.
96 // The name of the working directory when launching the shortcut
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/
word_property.cpp 65 for (const auto &shortcut : mUnigramProperty.getShortcuts()) {
66 const std::vector<int> *const targetCodePoints = shortcut.getTargetCodePoints();
76 shortcut.getProbability());

Completed in 614 milliseconds

1 2 3 4 5 6