Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 3091) sorted by relevance

12345678910>>...124

/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/counter/source/
H A Dcounter.ets299 this.min = this.max;
309 this.value = this.min;
314 this.value = this.max;
369 this.min = this.max;
380 this.value = this.min;
629 this.day -= this.step % this.getDayNumber();
644 this.day -= this.step % this.getDayNumber();
689 this.day += this.step % this.getDayNumber();
704 this.day += this.step % this.getDayNumber();
798 this.value = this.min;
[all …]
/ohos5.0/foundation/multimedia/av_session/test/resource/
H A Dplayer_index_js.md160 this.playerModel.seek(this.musicValue);
391 this.speedMode = this.speedArr[this.speedIndex];
526 this.speedMode = this.speedArr[this.speedIndex];
544 this.playerModel.seek(this.musicValue);
704 this.assetIdArr.push(this.playerModel.playlist.audioFiles[this.index].assetId);
720 this.title = this.playerModel.playlist.audioFiles[this.index].title;
721 this.artist = this.playerModel.playlist.audioFiles[this.index].artist;
722 this.lyric = this.playerModel.playlist.audioFiles[this.index].lyric;
723 this.duration = this.playerModel.playlist.audioFiles[this.index].duration;
724 this.mediaImage = this.playerModel.playlist.audioFiles[this.index].mediaImage;
[all …]
H A Dcontroller_index_js.md214 this.log('CurrentTime: '+this.CurrentTime);
252 this.SetLoopMode = this.SetLoopIconArray[this.loopModIndex];
254 this.SetSpeed = 'x' + this.SetSpeedArray[this.SpeedIndex];
326 this.log('CurrentTime: '+this.CurrentTime);
330 this.musicValue = Math.floor(this.CurrentTime);
417 this.artist = data.artist?data.artist:this.artist;
418 this.title = data.title?data.title:this.title;
473 this.log('CurrentTime: '+this.CurrentTime);
474 this.musicValue = this.CurrentTime;
924 this.SetLoopMode = this.SetLoopIconArray[this.loopModIndex];
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/gridobjectsortcomponent/source/
H A DGridObjectSortComponent.ets181this.selected = this.dataList && this.deduplicate(this.dataList).filter(val => val.selected).sort(
182this.unSelected = this.dataList && this.deduplicate(this.dataList).filter(val =>!val.selected).sor…
285 this.textItemEditWidth = this.gridComState ? this.blockWidth - 24 : this.blockWidth - 16;
301 if (this.isStartDrag || this.clickAddBtn || this.clickRemoveBtn) {
321 this.onCancel && this.onCancel();
428 this.editGridHeight = this.getGridHeight(this.selected, 'edit');
429 this.addGridHeight = this.getGridHeight(this.unSelected);
552 xNew = index % this.colNum === 0 ? this.blockWidth * (this.colNum - 1) : -this.blockWidth;
603 this.gridComState && !this.imageText ? -this.blockHeight + 8 : -this.blockHeight;
621 y = this.imageText ? this.blockHeight : this.blockHeight - 8;
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/source/
H A Dsegmentbutton.ets191 this.changeStartIndex = this.length
203 this.changeStartIndex = this.length - 1
330 if (this.showText && this.showIcon) {
428 ….scale({ x: this.zoomScaleArray[this.selectedIndexes[0]], y: this.zoomScaleArray[this.selectedInde…
604 .backgroundColor(this.press && this.hover ? this.pressColor : this.colorProperty.hoverColor)
658this.selectedIndexes[0] = this.selectedIndexes[0] - this.optionsArray.deleteCount + this.optionsAr…
696this.focusIndex = this.focusIndex - this.optionsArray.deleteCount + this.optionsArray.addLength
747 …width: this.options.type === 'capsule' && this.buttonItemsSelected[this.focusIndex] ? this.buttonW…
748 …height: this.options.type === 'capsule' && this.buttonItemsSelected[this.focusIndex] ? this.button…
1056 this.shouldMirror = this.isShouldMirror()
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/chip/source/
H A Dchip.ets418 if (this.label?.fontSize !== void (0) && this.toVp(this.label.fontSize) >= 0) {
695 if (this.chipNodeRadius !== void (0) && this.toVp(this.chipNodeRadius) >= 0) {
735 this.toVp(this.chipNodeSize?.height) : this.theme.chipNode.normalHeight
856 this.useDefaultSuffixIcon = !this.suffixIcon?.src && (this.allowClose ?? true)
864 return this.toVp(this.chipNodeSize.width)
910 …if (!this.isChipSizeEnum() && this.chipNodeSize?.height !== void (0) && this.toVp(this.chipNodeSiz…
914 …if (!this.isChipSizeEnum() && this.chipNodeSize?.width !== void (0) && this.toVp(this.chipNodeSize…
917 } else if (this.toVp(this.fontSizeScale) >= this.theme.chipNode.suitAgeScale) {
971 this.callbackId = this.getUIContext()
978 if (this.toVp(this.getChipNodeHeight()) > 0) {
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/composelistitem/source/
H A Dcomposelistitem.ets310 if ((this.button == null && this.image == null && this.icon != null && this.text != null) ||
311 …(this.button == null && this.image == null && this.icon == null && this.arrow != null && this.text…
357 this.parentFrontColor = this.parentIsHover ? this.hoveringColor :
390 this.parentFrontColor = this.parentIsHover ? this.hoveringColor :
450 this.parentFrontColor = this.parentIsHover ? this.hoveringColor :
480 this.parentFrontColor = this.parentIsHover ? this.hoveringColor :
508 this.parentFrontColor = this.parentIsHover ? this.hoveringColor :
540 this.parentFrontColor = this.parentIsHover ? this.hoveringColor :
625 this.parentFrontColor = this.parentIsHover ? this.hoveringColor :
652 this.createIcon({ icon: this.icon })
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/popup/source/
H A Dpopup.ets242 return this.icon?.fillColor ?? this.theme.icon.fillColor
246 return this.icon?.borderRadius ?? this.theme.icon.borderRadius
281 return this.title?.fontWeight ?? this.theme.title.fontWeight
285 return this.title?.fontSize ?? this.theme.title.fontSize
289 return this.title?.fontColor ?? this.theme.title.fontColor
333 return this.message.fontSize ?? this.theme.message.fontSize
366 if (this.showClose || this.showClose === void (0)) {
472 if (this.currentScreenStatus !== this.beforeScreenStatus) {
473 this.applySizeOptions = this.getApplyMaxSize();
474 this.beforeScreenStatus = this.currentScreenStatus
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/Component/
H A DcontentTable.ets71 this.changeIndex = this.currentIndex
75 message = this.apiItem.api!(this.currentClick , this.pairedMac)
80 this.apiItem.result = this.getProfileList[ this.currentClick ].value
84 this.confirm(this.inputValue)
154 this.changeIndex = this.currentIndex
157 let message: string = this.apiItem.api!(this.currentClick , this.duration)
165 this.apiItem.result = this.scanModeList[ this.currentClick ].value
169 this.confirm(this.inputValue)
212 this.inputValue = this.textValue
224 this.confirm(this.inputValue)
[all …]
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-components-canvasrenderingcontext2d.md60 this.el = this.$refs.canvas1;
61 this.ctx = this.el.getContext("2d",{antialias: true});
93 this.el = this.$refs.canvas1;
94 this.ctx = this.el.getContext("2d",{antialias: true});
256 this.el = this.$refs.canvas1;
257 this.ctx = this.el.getContext("2d",{antialias: true});
353 this.el = this.$refs.canvas1;
354 this.ctx = this.el.getContext("2d",{antialias: true});
478 this.el = this.$refs.canvas1;
479 this.ctx = this.el.getContext("2d",{antialias: true});
[all …]
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodlist/source/
H A Dinputmethodlist.ets125 this.inputMethods.unshift(this.defaultInputMethod);
151 this.defaultInputMethod = this.inputMethods[i];
273this.isDefaultInputMethodCurrentSubType(item.id) ? this.selectedFontColor : this.fontColor,
274this.isDefaultInputMethodCurrentSubType(item.id) ? this.selectedColor : this.listBgColor,
275 this.pressedColor, this.inputMethods.length > 1 || index < this.subTypes.length,
284this.currentInputMethod?.name === item.name ? this.selectedFontColor : this.fontColor,
285 this.currentInputMethod?.name === item.name ? this.selectedColor : this.listBgColor,
297 ….constraintSize({ maxHeight: this.maxListNum > 0 ? this.maxListNum * this.listItemHeight : '100%' …
300 if (this.patternOptions && this.showHand) {
344 this.patternOptions.action(this.patternMode);
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/filter/source/
H A Dfilter.ets110 let grad = this.context2D.createLinearGradient(this.x0, this.y0, this.x1, this.y1)
625 this.lastFilterColumnWidth = this.filterColumnWidth
713 this.colorRefresh = !this.colorRefresh
748 if (this.additionFilters && this.additionFilters.name) {
783 if (this.additionFilters && this.additionFilters.options) {
831 this.floatFilterPosition = -this.filterDynamicHeight
864 this.floatFilterPosition = -this.filterDynamicHeight
883this.selectedFilters && (this.selectedFilters[additionRowIndex].value = this.additionFilters ?
894 this.onFilterChanged && this.onFilterChanged(this.selectedFilters)
896 this.colorRefresh = !this.colorRefresh
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/source/
H A Ddialog.ets190 this.isChecked = !this.isChecked;
192 this.checkAction(this.isChecked);
278 this.buttons.push(this.primaryButton);
281 this.buttons.push(this.secondaryButton);
546 if (!this.title && !this.confirm) {
568 this.buttons.push(this.confirm);
714 this.isChecked = !this.isChecked;
767 this.buttons.push(this.primaryButton);
856 this.buttons.push(this.primaryButton);
1151 if ((this.primaryTitle || this.secondaryTitle) && this.buttons && this.buttons.length > 0) {
[all …]
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dturn-the-page-left-and-right.md26 this.content1 = (this.currentPageNum - 1) + "___小说___" + (this.currentPageNum - 1)
27 this.content2 = (this.currentPageNum) + "___小说___" + (this.currentPageNum)
28 this.content3 = (this.currentPageNum + 1) + "___小说___" + (this.currentPageNum + 1)
50 x:-this.screenW + this.offsetX
93 this.offsetX = this.screenW
95 this.offsetX = -this.screenW
183 this.content1 = (this.currentPageNum - 1) + "___小说___" + (this.currentPageNum - 1)
184 this.content2 = (this.currentPageNum) + "___小说___" + (this.currentPageNum)
208 this.offsetX = this.screenW
210 this.offsetX = -this.screenW
[all …]
H A DHow-do-you-add-or-delete-tab-tags-in-the-tab-component.md89 this.tabArray.push(this.tabArray[this.tabArray.length - 1] + 1)
95 this.focusIndex = this.tabArray.length - 1
96 this.controller.changeIndex(this.focusIndex)
105 this.controller.changeIndex(this.focusIndex)
115 this.focusIndex = this.pre
123 this.focusIndex = this.focusIndex - 1
126 this.controller.changeIndex(this.focusIndex)
183 …if (this.focusIndex === this.tabArray.indexOf(tabNumber) && this.focusIndex == this.tabArray.lengt…
186 this.focusIndex = this.pre
249 this.pre = this.focusIndex
[all …]
H A Dlist-pullup-loading-data.md86 if (this.endIndex == this.list.length - 1 || this.endIndex == this.list.length) {
87 this.offsetY = event.touches[0].y - this.downY; // 滑动的偏移量
88 if (Math.abs(this.offsetY) > this.loadMoreHeight) { // 数据加载的阈值
90 this.offsetY = this.loadMoreHeight + this.offsetY * 0.1 // 偏移量缓慢增加
134 this.getData()
246 if (this.endIndex == this.list.length - 1 || this.endIndex == this.list.length) {
247 this.offsetY = event.touches[0].y - this.downY; // 滑动的偏移量
248 if (Math.abs(this.offsetY) > this.loadMoreHeight) { // 数据加载的阈值
250 this.offsetY = this.loadMoreHeight + this.offsetY * 0.1 // 偏移量缓慢增加
281 this.getData()
[all …]
/ohos5.0/foundation/arkui/advanced_ui_component/source/TreeView/
H A DTreeView.ets510 this.imageSource = this.imageEditSource;
1456 if (this.lastIndex == -1 || this.lastIndex >= this.listNode.length) {
1460 this.changeNodeColor(this.lastIndex, this.listNode[this.lastIndex].getNodeStatus().normal);
1462this.notifyDataChange(this.loadedNodeIdAndIndexMap.get(this.listNode[this.lastIndex].getCurrentNod…
1649 if (this.thisIndex < 0 || this.thisIndex >= this.ListNode.length) {
1762 this.notificationNodeInfo(this.modifyNodeIndex, this.currentOperation);
1808 this.notificationNodeInfo(this.modifyNodeIndex, this.currentOperation);
1989 …if (this.lastPassId != this.INITIAL_INVALID_VALUE && this.loadedNodeIdAndIndexMap.has(this.lastPas…
2045 …if (this.lastPassId != this.INITIAL_INVALID_VALUE && this.loadedNodeIdAndIndexMap.has(this.lastPas…
2176 …if (this.lastPassId != this.INITIAL_INVALID_VALUE && this.loadedNodeIdAndIndexMap.has(this.lastPas…
[all …]
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dperformance-quick-switch-short-video.md197 …'AVPlayer state prepared called.' + `this.curIndex:${this.curIndex}` + `this.index:${this.index}`);
204 if (this.firstFlag && this.index === 0 && this.isPageShow) {
216 … 'AVPlayer state playing called.' + `this.curIndex:${this.curIndex}` + `this.index:${this.index}` +
222 … 'AVPlayer state paused called.' + `this.curIndex:${this.curIndex}` + `this.index:${this.index}`);
226 … 'AVPlayer state stopped called.' + `this.curIndex:${this.curIndex}` + `this.index:${this.index}`);
230 …'AVPlayer state released called.' + `this.curIndex:${this.curIndex}` + `this.index:${this.index}`);
301 if (this.curIndex !== this.index) {
302 pauseVideo(this.avPlayer, this.curIndex, this.index);
307 playVideo(this.avPlayer, this.curIndex, this.index);
320 playVideo(this.avPlayer, this.curIndex, this.index);
[all …]
/ohos5.0/foundation/arkui/advanced_ui_component/source/ComposeListItem/
H A DComposeListItem.ets128 if (this.iconSizeMap.get(this.iconStyle) >= this.itemHeight) {
228 if ((this.button == null && this.image == null && this.icon != null && this.text != null) ||
229 …(this.button == null && this.image == null && this.icon == null && this.arrow != null && this.text…
327 this.createImage(this.image)
330 this.createText(this.text)
331 this.createIcon(this.icon)
334 this.createArrow(this.arrow)
337 this.createText(this.text)
338 this.createArrow(this.arrow)
341 this.createText(this.text)
[all …]
/ohos5.0/foundation/arkui/advanced_ui_component/source/Filter/
H A DFilter.ets542 this.colorRefresh = !this.colorRefresh
545 this.onFilterChanged && this.onFilterChanged(this.selectedFilters);
560 if (this.additionFilters && this.additionFilters.name) {
594 if (this.additionFilters && this.additionFilters.options) {
642 this.floatFilterPosition = -this.filterDynamicHeight
673 this.floatFilterPosition = -this.filterDynamicHeight
701 this.onFilterChanged && this.onFilterChanged(this.selectedFilters)
702 this.colorRefresh = !this.colorRefresh
706 …if (this.additionFilters && this.additionFilters.name && this.additionFilters.options && this.addi…
858 …ForEach(this.selectedFilters.slice(0, this.colorRefresh ? this.selectedFilters.length : this.selec…
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/treeview/source/
H A Dtreeview.ets1100 if (this.viewLastIndex === -1 || this.viewLastIndex >= this.nodeList.length) {
1750 this.nodeIdList.push(this.nodeIdList[this.nodeIdList.length - 1] + 1);
1813 this.add(this.initBuild);
2171 if (!this.checkIndex(this.lastIndex)) {
2175 this.changeNodeColor(this.lastIndex, this.listNode[this.lastIndex].getNodeStatus().normal);
2177this.notifyDataChange(this.loadedNodeIdAndIndexMap.get(this.listNode[this.lastIndex].getNodeCurren…
2339 this.initHandler(this.listNode, 0, 1);
2451 if (!this.checkIndex(this.thisIndex)) {
2602 this.notificationNodeInfo(this.modifyNodeIndex, this.currentOperation);
2654 this.notificationNodeInfo(this.modifyNodeIndex, this.currentOperation);
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/views/
H A DmodeSwitchPage.ets144 // Logger.info(this.tag, ` isRecording: ${this.isRecording}`)
190 this.fd = await this.mediaUtil.getFdPath(this.fileAsset)
191 Logger.info(this.tag, `getVideoSurfaceID fd: ${this.fd}`)
193 this.videoConfig.url = `fd://${this.fd}`
220 await this.videoRecorder.prepare(this.videoConfig)
222 this.videoId = await this.videoRecorder.getInputSurface()
303 cameraDemo.startPhotoOrVideo(this.modelBagCol, this.videoId, this.mSurfaceId)
311 cameraDemo.startPhotoOrVideo(this.modelBagCol, this.videoId, this.mSurfaceId)
461 this.cameraDeviceIndex ? this.cameraDeviceIndex = 0 : this.cameraDeviceIndex = 1
558 // this.isRecording = !this.isRecording
[all …]
/ohos5.0/docs/zh-cn/application-dev/graphics/
H A Ddisplaysync-ui.md34 .fontSize(this.drawFirstSize)
39 .fontSize(this.drawSecondSize)
58 if (this.isBigger_30) {
59 this.drawFirstSize += 1;
64 this.drawFirstSize -= 1;
176 if (this.isBigger_30) {
177 this.drawFirstSize += 1;
182 this.drawFirstSize -= 1;
203 if (this.isBigger_60) {
204 this.drawSecondSize += 1;
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/multinavigation/source/
H A Dmultinavigation.ets150 this.onOrientationChange && this.onOrientationChange(this.isPortrait);
180 this.onDrawableWidthChange && this.onDrawableWidthChange(this.isLarge);
185 this.onOrientationChange && this.isPortrait && this.onOrientationChange(this.isPortrait);
194 this.onDrawableWidthChange && this.isLarge && this.onDrawableWidthChange(this.isLarge);
202 this.portraitListener.on('change', this.onPortraitChange);
207 this.portraitListener.off('change', this.onPortraitChange);
246 this.displayMode = this.needRenderDisplayMode.displayMode;
304 if (this.multiStack && this.secondaryStack.size() === 1) {
370 that = this;
972 this.totalStack.push(this.placeHolderPolicyInfo);
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Dui-js-components-canvasrenderingcontext2d.md60 this.el = this.$refs.canvas1;
61 this.ctx = this.el.getContext("2d",{antialias: true});
93 this.el = this.$refs.canvas1;
94 this.ctx = this.el.getContext("2d",{antialias: true});
262 this.el = this.$refs.canvas1;
263 this.ctx = this.el.getContext("2d",{antialias: true});
359 this.el = this.$refs.canvas1;
360 this.ctx = this.el.getContext("2d",{antialias: true});
484 this.el = this.$refs.canvas1;
485 this.ctx = this.el.getContext("2d",{antialias: true});
[all …]

12345678910>>...124