Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 51) sorted by relevance

123

/base/sensors/sensor/interfaces/plugin/test/
DExampleJsunit.test_acc.js71 sensor.off(1);
107 sensor.off(1);
193 sensor.off(-1, callback);
213 sensor.off(1, onSensorCallback);
232 sensor.off(1000000, onSensorCallback);
250 sensor.off(1);
267 sensor.off(1, callback);
268 sensor.off(1, callback2);
281 sensor.off(1, 5);
297 sensor.off(1, callback);
[all …]
/base/miscservices/inputmethod/interfaces/kits/js/declaration/api/
D@ohos.inputmethodengine.d.ts67off(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputCl… method
70 off(type: 'keyboardShow', callback: () => void): void; method
73 off(type: 'keyboardHide', callback: () => void): void; method
98 off(type: 'keyDown', callback?: (event: KeyEvent) => boolean): void; method
101 off(type: 'keyUp', callback?: (event: KeyEvent) => boolean): void; method
104off(type: 'cursorContextChange', callback?: (x: number, y: number, height: number) => void): void; method
107off(type: 'selectionChange', callback?: (oldBegine: number, oldEnd: number, newBegine: number, new… method
110 off(type: 'textChange', callback?: (text: string) => void): void; method
/base/telephony/state_registry/interfaces/kits/js/
D@ohos.telephony.observer.d.ts55 function off(type: 'networkStateChange', callback?: Callback<NetworkState>): void; function
69 function off(type: 'signalInfoChange', callback?: Callback<Array<SignalInformation>>): void; function
93 function off(type: 'cellInfoChange', callback?: Callback<Array<CellInformation>>): void; function
110 function off(type: 'cellularDataConnectionStateChange', function
126 function off(type: 'cellularDataFlowChange', callback?: Callback<DataFlowType>): void; function
143 …function off(type: 'callStateChange', callback?: Callback<{ state: CallState, number: string }>): … function
159 function off(type: 'simStateChange', callback?: Callback<SimStateData>): void; function
/base/miscservices/screenlock/
DREADME_ZH.md55 | off(type: 'beginWakeUp' , callback: Callback<void>): void; | 锁屏应用取消开始唤醒监听事件 |
56 | off(type: 'endWakeUp' , callback: Callback<void>): void; | 锁屏应用取消结束唤醒监听事件 |
57 | off(type: 'beginScreenOn' , callback: Callback<void>): void; | 锁屏应用取消开始亮屏监听事件 |
58 | off(type: 'endScreenOn' , callback: Callback<void>): void; | 锁屏应用取消结束亮屏监听事件 |
59 | off(type: 'beginScreenOff' , callback: Callback<void>): void; | 锁屏应用取消开始灭屏监听事件 |
60 | off(type: 'endScreenOff' , callback: Callback<void>): void; | 锁屏应用取消结束灭屏监听事件 |
61 | off(type: 'unlockScreen' , callback: Callback<void>): void; | 锁屏应用取消请求解锁监听事件 |
62 | off(type: 'beginExitAnimation' , callback: Callback<void>): void; | 锁屏应用取消开始退场监听事件 |
63 | off(type: 'systemReady', callback: Callback<void>): void; | 锁屏应用取消锁屏管理服务系统准备完成监听事件 |
64 | off(type: 'beginSleep' , callback: Callback<number>): void;<boolean>): void; | 锁屏应用取消开始休眠监听事件 |
[all …]
/base/miscservices/request/upload/interfaces/kits/js/
D@ohos.request.d.ts305 off(type: 'progress', callback?: (receivedSize: number, totalSize: number) => void): void; method
335 off(type: 'complete' | 'pause' | 'remove', callback?: () => void): void; method
361 off(type: 'fail', callback?: (err: number) => void): void; method
516 off(type: 'progress', callback?: (uploadedSize: number, totalSize: number) => void): void; method
542 off(type: 'headerReceive', callback?: (header: object) => void): void; method
568 off(type: 'fail', callback?: (err: number) => void): void; method
/base/global/i18n_lite/frameworks/i18n/src/
Dnumber_format_impl.cpp26 int off = 0; in ConvertSignAndNum() local
30 off = ReplaceAndCountOff(strContent, i + off, data->decimal, off); in ConvertSignAndNum()
33 off = ReplaceAndCountOff(strContent, i + off, data->group, off); in ConvertSignAndNum()
36 off = ReplaceAndCountOff(strContent, i + off, data->percent, off); in ConvertSignAndNum()
42 off = ConvertNum(strContent, content[i], data, i, off); in ConvertSignAndNum()
49 const NumberData *data, int index, int off) const in ConvertNum()
54 ReplaceAndCountOff(strContent, index + off, data->nativeNums[charPos].c_str(), off) : off; in ConvertNum()
Dstr_util.cpp25 int ReplaceAndCountOff(std::string &content, const int index, const char *sign, const int off) in ReplaceAndCountOff() argument
28 return off; in ReplaceAndCountOff()
32 return off + signLen - 1; in ReplaceAndCountOff()
/base/accessibility/interfaces/kits/js/
D@ohos.accessibility.d.ts167 function off(type: 'accessibilityStateChange', callback?: Callback<boolean>): void;
176 function off(type: 'touchGuideStateChange', callback?: Callback<boolean>): void;
212 off(type: 'enableChange', callback?: Callback<boolean>): void;
216 off(type: 'styleChange', callback?: Callback<CaptionsStyle>): void;
/base/msdp/device_status/interfaces/kits/js/
D@ohos.devicestatus.d.ts40 function off(type: DevicestatusType.TYPE_HIGH_STILL, callback: AsyncCallback<void>): void;
44 function off(type: DevicestatusType.TYPE_FINE_STILL, callback: AsyncCallback<void>): void;
48 function off(type: DevicestatusType.TYPE_CAR_BLUETOOTH, callback: AsyncCallback<void>): void;
/base/update/updateservice/interfaces/kits/js/declaration/
D@ohos.update.d.ts402 off(eventType: 'downloadProgress', callback?: UpdateProgressCallback): void; method
403 off(eventType: 'upgradeProgress', callback?: UpdateProgressCallback): void; method
404 off(eventType: 'verifyProgress', callback?: UpdateProgressCallback): void; method
/base/telephony/state_registry/
DREADME_zh.md56 | function off(type: String, callback?: AsyncCallback\<T\>): void; | 关闭订阅 |
84 3. 可以通过off方法取消订阅。取消订阅之后,不会再收到任何回调。
113 observer.off('callStateChange', (err, value) => {
120 console.log(`success off`);
DREADME.md55 | function off(type: String, callback?: AsyncCallback\<T\>): void; | Deregisters an observer. …
82 3. Call the **off** method to deregister the observer. After the observer is deregistered, no ca…
111 observer.off('callStateChange', (err, value) => {
118 console.log(`success off`);
/base/compileruntime/js_sys_module/
DREADME_zh.md43 ├── off() # off方法
76 | off(type: string): boolean | 清除用户存储的事件。 True 表示清算成功。 |
190 15.off()
193 off(){
194 var result = Process.off("add");
DREADME.md43 ├── off() # method of off
76 | off(type: string): boolean | clear the events stored by the user. True means the clearing is succ…
190 15.off()
193 off(){
194 var result = Process.off("add");
/base/location/
DREADME.md79 | off(type:&nbsp;'locationChange',&nbsp;callback?:&nbsp;Callback&lt;Location&gt;)&nbsp;:&nbsp;void …
81 | off(type:&nbsp;'locationServiceState',&nbsp;callback:&nbsp;Callback&lt;boolean&gt;)&nbsp;:&nbsp;v…
83 | off(type:&nbsp;'cachedGnssLocationsReporting',&nbsp;callback?:&nbsp;Callback&lt;Array&lt;Location…
85 | off(type:&nbsp;'gnssStatusChange',&nbsp;callback?:&nbsp;Callback&lt;SatelliteStatusInfo&gt;)&nbsp…
87 | off(type:&nbsp;'nmeaMessageChange',&nbsp;callback?:&nbsp;Callback&lt;string&gt;)&nbsp;:&nbsp;void…
89 | off(type:&nbsp;'fenceStatusChange',&nbsp;request:&nbsp;GeofenceRequest,&nbsp;want:&nbsp;WantAgent…
237 geolocation.off('locationChange', locationChange);
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dscreen_state_collection.cpp75 bool off = receiver->Start(CommonEventSupport::COMMON_EVENT_SCREEN_OFF, handlerOff); in RegisterEvent() local
76 if (!off) { in RegisterEvent()
/base/powermgr/battery_manager/
DREADME.md13 3. Power off charging
22 ├── charger # Power-off Charging
/base/global/i18n_lite/frameworks/i18n/include/
Dstr_util.h25 int ReplaceAndCountOff(std::string &content, const int index, const char *sign, const int off);
/base/startup/syspara_lite/interfaces/kits/js/
D@ohos.systemparameter.d.ts153 off(eventType: 'valueChange', callback?: ParameterChangeCallback): void; method
/base/miscservices/screenlock/interfaces/kits/jskits/
D@ohos.screenlock.d.ts87 …function off(type: 'beginWakeUp' | 'endWakeUp' | 'beginScreenOn' | 'endScreenOn' | 'beginScreenOff…
/base/sensors/miscdevice_lite/
DREADME.md8 …can call APIs to control the vibration of vibrators and lighting-on and lighting-off of LED lights.
/base/hiviewdfx/hilog/
DREADME_zh.md116 … | --privacy | <on/off> …
118 … | | off
119 … | | <on/off> …
121 … | | off
/base/telephony/call_manager/interfaces/kits/js/
D@ohos.telephony.call.d.ts217 function off(type: 'callDetailsChange', callback?: Callback<CallAttributeOptions>): void;
223 function off(type: 'callEventChange', callback?: Callback<CallEventOptions>): void;
230 function off(type: 'callDisconnectedCause', callback?: Callback<DisconnectedDetails>): void;
/base/miscservices/wallpaper/interfaces/kits/jskits/
D@ohos.wallpaper.d.ts123 …function off(type: 'colorChange', callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperTy…
/base/update/app/entry/src/main/js/default/pages/index/
Dindex.js113 page.data.updater.off("downloadProgress");
123 page.data.updater.off("downloadProgress");
217 page.data.updater.off("upgradeProgress");

123