Home
last modified time | relevance | path

Searched refs:hold (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-runninglock.md276 ### hold<sup>9+</sup>
278 hold(timeout: number): void
308 recordLock.hold(500);
309 console.info('hold running lock success');
316 lock.hold(500);
317 console.info('hold running lock success');
319 console.error('hold running lock failed, err: ' + err);
427 > **说明:**<br>从API version 9开始不再维护,建议使用[RunningLock.hold](#hold9)替代。
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/common/
H A Dnapi_async_work.cpp131 ctxt->hold = ctxt; // save crossing-thread ctxt. in Enqueue()
168 ctxt->hold->execute = nullptr; in CommonCallbackRoutine()
169 ctxt->hold->complete = nullptr; in CommonCallbackRoutine()
170 ctxt->hold.reset(); // release ctxt. in CommonCallbackRoutine()
H A Dnapi_async_work.h60 std::shared_ptr<ContextBase> hold; /* cross thread data */ member
/ohos5.0/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Dnapi_async_work.cpp122 ctxt->hold = ctxt; // save crossing-thread ctxt. in Enqueue()
159 ctxt->hold->execute = nullptr; in CommonCallbackRoutine()
160 ctxt->hold->complete = nullptr; in CommonCallbackRoutine()
161 ctxt->hold.reset(); // release ctxt. in CommonCallbackRoutine()
/ohos5.0/base/startup/init/interfaces/innerkits/fd_holder/
H A Dfd_holder.c47 STATIC int BuildSendData(char *buffer, size_t size, const char *serviceName, bool hold, bool poll) in BuildSendData() argument
53 if (!hold && poll) { in BuildSendData()
59 if (!hold) { in BuildSendData()
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-runninglock.md276 ### hold<sup>9+</sup>
278 hold(timeout: number): void
308 recordLock.hold(500);
309 console.info('hold running lock success');
316 lock.hold(500);
317 console.info('hold running lock success');
319 console.error('hold running lock failed, err: ' + err);
378 Checks the hold status of the **Runninglock** object.
427 > **NOTE**<br>This API is deprecated since API version 9. You are advised to use [RunningLock.hold]…
485 Checks the hold status of the **Runninglock** object.
/ohos5.0/docs/en/application-dev/reference/apis-accessibility-kit/
H A Djs-apis-application-accessibilityExtensionAbility.md167 …ubleTapAndHold<sup>11+</sup> | string | Two-finger double-tap and press-and-hold gesture.|
169 …ipleTapAndHold<sup>11+</sup> | string | Two-finger triple-tap and press-and-hold gesture.|
172 …leTapAndHold<sup>11+</sup> | string | Three-finger double-tap and press-and-hold gesture.|
174 …leTapAndHold<sup>11+</sup> | string | Three-finger triple-tap and press-and-hold gesture.|
177 …bleTapAndHold<sup>11+</sup> | string | Four-finger double-tap and press-and-hold gesture.|
179 …pleTapAndHold<sup>11+</sup> | string | Four-finger triple-tap and press-and-hold gesture.|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-gestures-longpressgesture.md3 …gger a long press gesture, which requires one or more fingers with a minimum 500 ms hold-down time.
28 | duration | number | No| Minimum hold-down time, in ms.<br>Default value: **500**<br>**NOTE**<br>I…
61 // Touch and hold the text with one finger to trigger the gesture event.
/ohos5.0/docs/en/application-dev/ui/
H A Dui-js-components-images.md129 In this example you touch and hold an image to gradually hide it. After the image is completely hid…
138 …37px;font-weight:bold;color:orange;text-align: center;width: 100%;">Touch and hold the image</text>
189 message: 'Touch and hold the image.'
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-basic-trans-mutex.md6 …the ownership of the mutex. When a task holds a mutex, other tasks cannot hold the mutex. In an en…
26 …Common mutex, which does not check for deadlocks. If a task repeatedly attempts to hold a mutex, t…
30hold the mutex for multiple times. Another task can hold this mutex only when the number of lock h…
34 …his type, an error code will be returned if a task attempts to repeatedly hold the mutex, attempts…
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_async_work.cpp127 ctxt->hold = ctxt; // save crossing-thread ctxt. in Enqueue()
169 ctxt->hold.reset(); // release ctxt. in GenerateOutput()
/ohos5.0/foundation/graphic/graphic_surface/surface/src/
H A Dbuffer_queue_consumer.cpp241 void BufferQueueConsumer::SetBufferHold(bool hold) in SetBufferHold() argument
246 bufferQueue_->SetBufferHold(hold); in SetBufferHold()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-components-images.md138 …37px;font-weight:bold;color:orange;text-align: center;width: 100%;">Touch and hold the image</text>
189 message: 'Touch and hold the image.'
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_async_work.h55 std::shared_ptr<ContextBase> hold; /* cross thread data */ member
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/
H A Dnapi_queue.h62 std::shared_ptr<ContextBase> hold; /* cross thread data */ member
/ohos5.0/foundation/graphic/graphic_surface/surface/include/
H A Dbuffer_queue_consumer.h73 void SetBufferHold(bool hold);
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/
H A Dchangelogs-power.md37 - hold(timeout: number): void
/ohos5.0/foundation/multimedia/drm_framework/services/utils/include/
H A Dnapi_async_work.h56 std::shared_ptr<ContextBase> hold; /* cross thread data */ member
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-ndk.md292 ## What should I do to permanently hold a JS object created by napi_create_object or passed in as a…
296 What should I do if I need to permanently hold a JS object created by **napi_create_object** or pas…
300 To hold an object persistently, use **napi_create_reference** to create a strong reference and then…
/ohos5.0/docs/en/device-dev/guide/
H A Ddevice-camera-visual-run.md27 …Touch and hold the application icon on the home screen, and touch the uninstall button in the disp…
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-power-vibrator-customization.md57 Press and hold the power button. The power-off dialog is displayed, and the device vibrates.
/ohos5.0/foundation/graphic/graphic_surface/surface/test/fuzztest/surface_fuzzer/
H A Dsurface_fuzzer.cpp155 bool hold = GetData<bool>(); in SurfaceFuzzTest3() local
156 cSurface->SetBufferHold(hold); in SurfaceFuzzTest3()
/ohos5.0/docs/zh-cn/application-dev/dfx/
H A Duinput.md54 -l <key> [long press time] --long_press <key> [long press time] -press and hold the key
55 -r <key> [repeat output time] --repeat output <key> [repeat output time] -press and hold the key
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/jskits/common/
H A Dnapi_queue.h62 std::shared_ptr<ContextBase> hold; /* cross thread data */ member
/ohos5.0/docs/en/application-dev/security/UniversalKeystoreKit/
H A Dhuks-export-key-ndk.md18 …ference/apis-universal-keystore-kit/_o_h___huks___blob.md) object used to hold the key exported. E…

12345678910>>...15