Home
last modified time | relevance | path

Searched refs:shortcut (Results 1 – 25 of 68) sorted by relevance

123

/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-bundleManager-shortcutInfo-sys.md9 …model, the shortcut information is configured in the [config.json](../../quick-start/module-struct…
21 | targetBundle | string | Yes | No | Target bundle name of the shortcut.|
22 | targetModule | string | Yes | Yes | Target module name of the shortcut. |
23 | targetAbility | string | Yes | No | Target ability name of the shortcut.|
36 … string | Yes | Yes | Module name of the shortcut. |
38 … | string | Yes | Yes | Icon of the shortcut. |
39 | iconId | number | Yes | Yes | ID of the shortcut icon. …
40 … | string | Yes | Yes | Label of the shortcut. |
41 | labelId | number | Yes | Yes | ID of the shortcut label. …
44 …| Shortcut source type. The value **0** means a custom shortcut, and **1** means a static shortcut
[all …]
H A Djs-apis-bundle-ShortcutInfo.md15 … | Yes | No | ID of the application to which the shortcut belongs. |
16 … | Yes | No | Name of the bundle that contains the shortcut.|
17 …g | Yes | No | Local ability information of the shortcut. |
18 … | string | Yes | No | Icon of the shortcut. |
19 … | number | Yes | No | Icon ID of the shortcut. |
20 … | string | Yes | No | Name of the shortcut. |
21 … | number | Yes | No | Name ID of the shortcut. |
22 … | Yes | No | Message displayed when the shortcut is disabled. …
24 … boolean | Yes | Yes | Whether the shortcut is static. …
25 …oolean | Yes | Yes | Whether the shortcut is a home shortcut.|
[all …]
H A Djs-apis-bundle-ShortcutInfo-sys.md3 The shortcutInfo module defines shortcut information configured in the configuration file. For the …
21 | targetBundle | string | Yes | No | Target bundle of the shortcut.|
22 | targetClass | string | Yes | No | Target class required by the shortcut.|
H A Djs-apis-Bundle-InnerBundleManager-sys.md261 Obtains the shortcut information based on a given bundle name. This API uses an asynchronous callba…
281 …ndle-ShortcutInfo-sys.md)>> | Yes | Callback used to return an array of the shortcut information.|
287 Obtains the shortcut information based on a given bundle name. This API uses a promise to return th…
312 …-apis-bundle-ShortcutInfo-sys.md)>> | Promise used to return an array of the shortcut information.|
H A Djs-apis-launcherBundleManager-sys.md3 …ity information](js-apis-bundleManager-launcherAbilityInfo-sys.md) and [shortcut information](js-a…
297 Obtains the shortcut information of the current user based on the given bundle name. This API uses …
350 Obtains the shortcut information of the current user based on the given bundle name. This API uses …
406 Obtains the shortcut information of the current user based on the given bundle name. This API retur…
458 Obtains the shortcut information of the specified user based on the given bundle name.
/ohos5.0/docs/en/application-dev/quick-start/
H A Dtypical-scenario-configuration.md3shortcut is a link created in the system to quickly access an application or a specific feature. G…
14 The following describes how to configure a static shortcut in a project.
16 1. Configure the configuration file of a static shortcut.
17 …Configure the [shortcut configuration file](module-configuration-file.md#shortcuts) in the **resou…
23 … If an app has multiple shortcuts, this field can be used as the unique identifier of the shortcut.
24 label": "$string:share", // Text displayed on the shortcut.
25 "icon": "$media:share_icon", // Image displayed on the shortcut.
32 "testKey": "testValue" // Custom data of the started shortcut.
41 2. Configure the configuration file in which the **metadata** points to the shortcut in the **modul…
54 …"name": "ohos.ability.shortcuts", // Configure a shortcut. The value is fixed at ohos.ability.sho…
H A Dmodule-configuration-file.md536 The **shortcut** information is identified in **metadata**, where:
538 - **name** indicates the name of the shortcut, identified by **ohos.ability.shortcuts**.
540 - **resource** indicates where the resources of the shortcut are stored.
547 | label | Label of the shortcut, that is, the text description displayed for the shortcut. The valu…
548 | icon | Icon of the shortcut. The value is the index of the icon resource file.| String| Yes (init…
559 "label": "$string:shortcut",
576 …etadata** tag for the UIAbility component to which a shortcut needs to be added so that the shortc…
610 The **wants** tag provides wants information for a shortcut.
616 | bundleName | Target bundle name of the shortcut.| String| No|
617 | moduleName | Target module name of the shortcut.| String| Yes|
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/
H A Derrorcode-inputconsumer.md15 This error code is reported if the shortcut key has been registered by a system application.
19 1. The shortcut key has been registered by a system application.
23 …onsumer.getAllSystemHotkeys** to query all registered shortcut keys and use any available shortcut
33 This error code is generated when the shortcut key is registered by a third-party application.
37 1. The shortcut key has been registered by a third-party application.
41 …un **hidumper -s 3101 -a -s** to query all registered shortcut keys and use any available shortcut
H A Djs-apis-shortKey-sys.md3 …ity using a shortcut key. For example, you can set the delay to 3 seconds so that a screenshot is …
21 Sets the delay for starting an ability using shortcut keys. This API uses an asynchronous callback …
30 … | Delay for starting an ability using shortcut keys, in milliseconds. This field is invalid only…
63 Sets the delay for starting an ability using shortcut keys. This API uses a promise to return the r…
72 … | Delay for starting an ability using shortcut keys, in milliseconds. This field is invalid only…
H A Djs-apis-inputconsumer.md19 Defines shortcut key options.
33 Obtains all system shortcut keys. This API uses a promise to return the result.
41 …yOptions>> | Promise used to return the list of all system shortcut keys.|
H A Dinput.md280 Defines the shortcut key structure.
291 Defines the callback used to return shortcut key events.
963 Subscribes to shortcut key events.
974 | callback | Defines the callback used to return shortcut key events. |
984 …he shortcut key has been occupied by the system (you can use [OH_Input_GetAllSystemHotkeys](#oh_in…
1230 Creates a shortcut key object.
1377 Destroys a shortcut key object.
1472 Obtains all configured shortcut keys.
1483 | count | Number of supported shortcut keys. |
2597 Unsubscribes from shortcut key events.
[all …]
H A Doh__input__manager_8h.md50 …tkey](input.md#input_hotkey) \*hotkey) | Defines the callback used to return shortcut key events. |
56 …put.md#input_hotkey) [Input_Hotkey](input.md#input_hotkey) | Defines the shortcut key structure. |
159 …) \* [OH_Input_CreateHotkey](input.md#oh_input_createhotkey) () | Creates a shortcut key object. |
160 …troyhotkey) ([Input_Hotkey](input.md#input_hotkey) \*\*hotkey) | Destroys a shortcut key object. |
167 …key](input.md#input_hotkey) \*\*hotkey, int32_t \*count) | Obtains all configured shortcut keys. |
170 …ut_HotkeyCallback](input.md#input_hotkeycallback) callback) | Subscribes to shortcut key events. |
171 …otkeyCallback](input.md#input_hotkeycallback) callback) | Unsubscribes from shortcut key events. |
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-events-keyboardshortcut.md7 …keys of a keyboard shortcut are pressed, the custom event is triggered. If no custom event is set,…
17 Sets a keyboard shortcut for the component.
29 | action | () => void | No | Callback for a custom event after the keyboard shortcut is trigg…
82 …d shortcut for multiple components | Only the first component in the com…
84 | Using a single function key to trigger a keyboard shortcut| A keyboard shortcut can consist of a …
120 …a keyboard shortcut. You can press the modifier key and accompanying key at the same time to trigg…
162 ![keyEvent](figures/keyboard-shortcut.gif)
166 This example registers and deregisters a keyboard shortcut through clicks.
189 Button('multi-shortcut').onClick((event: ClickEvent) => {
190 console.log('Trigger keyboard shortcut success.')
[all …]
/ohos5.0/docs/en/application-dev/device/input/
H A Dshortkey-guidelines.md5 …lay for starting an ability using the shortcut key. An example is to take a screenshot 5 seconds a…
19 …: AsyncCallback<void>): void |Sets the delay for starting an ability using the shortcut key.|
23 The following describes how to take a screenshot five seconds after the shortcut key is pressed.
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dshortcut_info.cpp379 void from_json(const nlohmann::json &jsonObject, Shortcut &shortcut) in from_json() argument
386 shortcut.shortcutId, in from_json()
394 shortcut.icon, in from_json()
402 shortcut.iconId, in from_json()
410 shortcut.label, in from_json()
418 shortcut.labelId, in from_json()
426 shortcut.wants, in from_json()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-events-keyboardshortcut.md125 ![keyEvent](figures/keyboard-shortcut.gif)
152 Button('multi-shortcut').onClick((event: ClickEvent) => {
153 console.log('Trigger keyboard shortcut success.')
165 ![keyEvent](figures/keyboard-shortcut-cancel.gif)
/ohos5.0/docs/en/release-notes/api-diff/v3.1-beta/
H A Dnative-apidiff-v3.1-beta.md16 …allback_info info) | Added| Added the API for obtaining the application shortcut information by **…
/ohos5.0/docs/en/device-dev/guide/
H A Ddevice-camera-visual-addpage.md14 1. Right-click **pages** and choose **New** \> **JS Page** from the shortcut menu.
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_parser_test/
H A Dbms_bundle_parser_test.cpp103 "label": "$string:shortcut",
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
H A Djson_serializer_test.cpp518 Shortcut shortcut; in BenchmarkTestForShortcutFromJson() local
521 from_json(jsonObject, shortcut); in BenchmarkTestForShortcutFromJson()
/ohos5.0/docs/en/application-dev/form/
H A Dformkit-overview.md21 1. Touch and hold an application icon on the home screen to display the shortcut menu.
26 …rvices and applications, allowing users to access desired services instantly via shortcut gestures.
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp859 Shortcut shortcut; in MockShortcut() local
861 shortcut.icon = SHORTCUT_ICON; in MockShortcut()
862 shortcut.iconId = ICON_ID; in MockShortcut()
864 shortcut.labelId = LABEL_ID; in MockShortcut()
867 return shortcut; in MockShortcut()
10597 Shortcut shortcut; variable
10613 Shortcut shortcut; variable
12886 Shortcut shortcut; variable
12916 Shortcut shortcut; variable
12944 Shortcut shortcut; variable
[all …]
/ohos5.0/docs/en/design/ux-design/
H A Dunified-interaction-events.md43 Trigger a shortcut operation, for example, to zoom in on an image or give a like, by double-touch.
55 Trigger a shortcut operation, for example, to play a video at a rate that is a multiple of the norm…
69 Perform an operation to display a pop-up menu or shortcut menu.
H A Dtypical-input-modes.md15 …long press a contact in the contacts list.<br>- Long press to display a shortcut menu. For example…
38 …s and user habits. The mouse can be used together with the keyboard to provide shortcut operations.
/ohos5.0/docs/en/application-dev/device/driver/
H A Ddriverdevelopment-overview.md19 …such as customizing handwriting pad shortcut keys, setting the pressure sensing/drawing area, sett…

123