Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
b3c1a662
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
b3c1a662
编写于
7月 04, 2023
作者:
H
huangdong57
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xts接口补充
Signed-off-by:
N
huangdong57
<
huangdong57@huawei.com
>
上级
0e805406
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
2 deletion
+6
-2
arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/TestAbility/pages/stageMediaquery.ets
...letion/src/main/ets/TestAbility/pages/stageMediaquery.ets
+1
-1
arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/test/gridScrollbarUpdate.test.ets
...Completion/src/main/ets/test/gridScrollbarUpdate.test.ets
+4
-0
arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/test/stageMediaquery.test.ets
...holeCompletion/src/main/ets/test/stageMediaquery.test.ets
+1
-1
未找到文件。
arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/TestAbility/pages/stageMediaquery.ets
浏览文件 @
b3c1a662
...
@@ -18,7 +18,7 @@ import events_emitter from '@ohos.events.emitter';
...
@@ -18,7 +18,7 @@ import events_emitter from '@ohos.events.emitter';
struct stageMediaquery {
struct stageMediaquery {
@State color: string = '#000'
@State color: string = '#000'
@State text: string = 'Test'
@State text: string = 'Test'
listener = globalThis.uiContent.getMedia
q
uery().matchMediaSync('(orientation: landscape)')
listener = globalThis.uiContent.getMedia
Q
uery().matchMediaSync('(orientation: landscape)')
aboutToAppear() {
aboutToAppear() {
this.listener.on('change', (mediaQueryResult) => {
this.listener.on('change', (mediaQueryResult) => {
if (mediaQueryResult.matches) {
if (mediaQueryResult.matches) {
...
...
arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/test/gridScrollbarUpdate.test.ets
浏览文件 @
b3c1a662
...
@@ -56,6 +56,8 @@ export default function gridScrollbarUpdateTest() {
...
@@ -56,6 +56,8 @@ export default function gridScrollbarUpdateTest() {
console.info('Grid_scrollbarUpdate_0801 START');
console.info('Grid_scrollbarUpdate_0801 START');
setTimeout(()=>{
setTimeout(()=>{
try{
try{
let computeda: ComputedBarAttribute = { totalOffset:10, totalLength:10 }
console.info("Grid_scrollbarUpdate_0801 computeda is: " + JSON.stringify(computeda))
let strJson = getInspectorByKey('Grid_scrollbarUpdate_0800');
let strJson = getInspectorByKey('Grid_scrollbarUpdate_0800');
console.info('Grid_scrollbarUpdate_0801 START :'+ JSON.stringify(strJson));
console.info('Grid_scrollbarUpdate_0801 START :'+ JSON.stringify(strJson));
let obj = JSON.parse(strJson);
let obj = JSON.parse(strJson);
...
@@ -77,6 +79,8 @@ export default function gridScrollbarUpdateTest() {
...
@@ -77,6 +79,8 @@ export default function gridScrollbarUpdateTest() {
console.info('Grid_scrollbarUpdate_0802 START');
console.info('Grid_scrollbarUpdate_0802 START');
setTimeout(()=>{
setTimeout(()=>{
try{
try{
let computedb: ComputedBarAttribute = { totalOffset:0, totalLength:0 }
console.info("Grid_scrollbarUpdate_0802 computedb is: " + JSON.stringify(computedb))
let strJson = getInspectorByKey('Grid_scrollbarUpdate_0800');
let strJson = getInspectorByKey('Grid_scrollbarUpdate_0800');
console.info('Grid_scrollbarUpdate_0802 START :'+ JSON.stringify(strJson));
console.info('Grid_scrollbarUpdate_0802 START :'+ JSON.stringify(strJson));
let obj = JSON.parse(strJson);
let obj = JSON.parse(strJson);
...
...
arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/test/stageMediaquery.test.ets
浏览文件 @
b3c1a662
...
@@ -226,7 +226,7 @@ export default function stageMediaquery() {
...
@@ -226,7 +226,7 @@ export default function stageMediaquery() {
});
});
it('testmediaQueryOff0013', 0, async function (done) {
it('testmediaQueryOff0013', 0, async function (done) {
let mediaQuery = globalThis.uiContent.getMedia
q
uery();
let mediaQuery = globalThis.uiContent.getMedia
Q
uery();
console.info('testmediaQueryOff0013 START');
console.info('testmediaQueryOff0013 START');
let result;
let result;
try {
try {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录