From 3993995c7ef847b0268d1de7592ef55e96555d83 Mon Sep 17 00:00:00 2001 From: tianwenzhe Date: Tue, 3 Jan 2023 10:30:14 +0800 Subject: [PATCH] add License Signed-off-by: tian-wenzhe411 --- .../src/main/ets/pages/ArkUI/ArkUI_index.ets | 16 ++++++++++++++-- .../src/main/ets/pages/ArkUI/CanvasFillStyle.ets | 14 ++++++++++++++ .../src/main/ets/pages/ArkUI/CanvasFont.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/CanvasGlobalAlpha.ets | 14 ++++++++++++++ .../ArkUI/CanvasGlobalCompositeOperation.ets | 14 ++++++++++++++ .../pages/ArkUI/CanvasImageSmoothingEnabled.ets | 14 ++++++++++++++ .../src/main/ets/pages/ArkUI/CanvasLineCap.ets | 14 ++++++++++++++ .../ets/pages/ArkUI/CanvasLineDashOffset.ets | 14 ++++++++++++++ .../src/main/ets/pages/ArkUI/CanvasLineJoin.ets | 14 ++++++++++++++ .../src/main/ets/pages/ArkUI/CanvasLineWidth.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/CanvasMiterLimit.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/CanvasShadowBlur.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/CanvasShadowColor.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/CanvasShadowOffsetX.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/CanvasShadowOffsetY.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/CanvasStrokeStyle.ets | 14 ++++++++++++++ .../src/main/ets/pages/ArkUI/CanvasTextAlign.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/CanvasTextBaseline.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/LongPressGesture.ets | 14 ++++++++++++++ .../src/main/ets/pages/ArkUI/PanGesture.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/PinchGestureTest.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/RotationGestureTest.ets | 14 ++++++++++++++ .../src/main/ets/pages/ArkUI/ScrollListTest.ets | 14 ++++++++++++++ .../main/ets/pages/ArkUI/SwipeGestureTest.ets | 14 ++++++++++++++ .../src/main/ets/pages/ArkUI/TapGesture.ets | 14 ++++++++++++++ .../src/main/ets/pages/ArkUI/TouchMoveTest.ets | 14 ++++++++++++++ .../pages/MediaLibrary/MediaLibrary_index.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewCallback1.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewCallback2.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewCallback3.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewCallback4.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewCallback5.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewCallback6.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewCallback7.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewPromise1.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewPromise2.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewPromise3.ets | 14 ++++++++++++++ .../MediaLibrary/startImagePreviewPromise4.ets | 14 ++++++++++++++ .../MediaLibrary/startMediaSelectCallback1.ets | 14 ++++++++++++++ .../MediaLibrary/startMediaSelectCallback2.ets | 14 ++++++++++++++ .../MediaLibrary/startMediaSelectCallback3.ets | 14 ++++++++++++++ .../MediaLibrary/startMediaSelectCallback4.ets | 14 ++++++++++++++ .../MediaLibrary/startMediaSelectPromise1.ets | 14 ++++++++++++++ .../MediaLibrary/startMediaSelectPromise2.ets | 14 ++++++++++++++ .../MediaLibrary/startMediaSelectPromise3.ets | 14 ++++++++++++++ .../MediaLibrary/startMediaSelectPromise4.ets | 14 ++++++++++++++ .../MediaLibrary/storeMediaAssetCallback1.ets | 14 ++++++++++++++ .../MediaLibrary/storeMediaAssetCallback2.ets | 14 ++++++++++++++ .../MediaLibrary/storeMediaAssetCallback3.ets | 14 ++++++++++++++ .../MediaLibrary/storeMediaAssetCallback4.ets | 14 ++++++++++++++ .../MediaLibrary/storeMediaAssetPromise1.ets | 14 ++++++++++++++ .../MediaLibrary/storeMediaAssetPromise2.ets | 14 ++++++++++++++ .../MediaLibrary/storeMediaAssetPromise3.ets | 14 ++++++++++++++ .../MediaLibrary/storeMediaAssetPromise4.ets | 14 ++++++++++++++ .../MediaLibrary/storeMediaAssetPromise5.ets | 14 ++++++++++++++ .../ets/pages/common/CanvasCustomContainer1.ets | 14 ++++++++++++++ .../ets/pages/common/CanvasCustomContainer2.ets | 14 ++++++++++++++ .../main/ets/pages/common/CustomContainer.ets | 14 ++++++++++++++ .../main/ets/pages/common/CustomContainer2.ets | 14 ++++++++++++++ .../main/ets/pages/common/CustomContainer3.ets | 14 ++++++++++++++ .../main/ets/pages/common/CustomContainer4.ets | 14 ++++++++++++++ .../main/ets/pages/common/CustomContainer5.ets | 14 ++++++++++++++ .../ets/pages/common/MediaCustomContainer.ets | 14 ++++++++++++++ .../acts_validator/src/main/ets/pages/index.ets | 14 ++++++++++++++ .../src/main/ets/pages/model/FirstDialog.ets | 15 ++++++++++++++- 65 files changed, 910 insertions(+), 3 deletions(-) diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/ArkUI_index.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/ArkUI_index.ets index 005269d91..733d75591 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/ArkUI_index.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/ArkUI_index.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import prompt from '@ohos.prompt'; import router from '@ohos.router'; import fileio from '@ohos.fileio'; @@ -10,8 +24,6 @@ let path = globalThis.dir; let path1; path1 = path + '/report1'; - - @Entry @Component struct IndexPage { diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFillStyle.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFillStyle.ets index ff37599cd..b628b9ad3 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFillStyle.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFillStyle.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFont.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFont.ets index 433523724..18a3b5d8f 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFont.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasFont.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalAlpha.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalAlpha.ets index 03f71b760..682b53ac7 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalAlpha.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalAlpha.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalCompositeOperation.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalCompositeOperation.ets index 0d4facd53..e8bb2417f 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalCompositeOperation.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasGlobalCompositeOperation.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasImageSmoothingEnabled.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasImageSmoothingEnabled.ets index c46133ee9..416873e8b 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasImageSmoothingEnabled.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasImageSmoothingEnabled.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineCap.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineCap.ets index 321373373..b609ca407 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineCap.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineCap.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineDashOffset.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineDashOffset.ets index 6b183f20a..8332b047f 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineDashOffset.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineDashOffset.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineJoin.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineJoin.ets index ced8b2dc3..4686530dc 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineJoin.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineJoin.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineWidth.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineWidth.ets index dd94624f1..41e2da580 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineWidth.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasLineWidth.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasMiterLimit.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasMiterLimit.ets index 71cd1aa89..75991a1db 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasMiterLimit.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasMiterLimit.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowBlur.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowBlur.ets index 5fec75c1e..ca1afb7f2 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowBlur.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowBlur.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowColor.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowColor.ets index 026a4c75b..7659f76d0 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowColor.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowColor.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetX.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetX.ets index 99cae5e1f..d8d505c5b 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetX.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetX.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetY.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetY.ets index 10ce4bad8..0c6b40084 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetY.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasShadowOffsetY.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer2' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasStrokeStyle.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasStrokeStyle.ets index c6940bdb1..558c8e662 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasStrokeStyle.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasStrokeStyle.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextAlign.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextAlign.ets index 0e8d58779..6a1c3bb7a 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextAlign.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextAlign.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextBaseline.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextBaseline.ets index 4b0d3948d..4cb947d91 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextBaseline.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/CanvasTextBaseline.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CanvasCustomContainer1' import FirstDialog from '../model/FirstDialog' @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/LongPressGesture.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/LongPressGesture.ets index a40d82e81..cde9eaddc 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/LongPressGesture.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/LongPressGesture.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CustomContainer2'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/PanGesture.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/PanGesture.ets index 1ec5e6751..9efeb0b37 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/PanGesture.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/PanGesture.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CustomContainer3'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/PinchGestureTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/PinchGestureTest.ets index 398f2ba41..cfb4f0e58 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/PinchGestureTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/PinchGestureTest.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CustomContainer2'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/RotationGestureTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/RotationGestureTest.ets index 98a126186..c05cb7f07 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/RotationGestureTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/RotationGestureTest.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CustomContainer2'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/ScrollListTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/ScrollListTest.ets index 95be7c5c5..17499c401 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/ScrollListTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/ScrollListTest.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CustomContainer'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/SwipeGestureTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/SwipeGestureTest.ets index 5b4b806b0..0745012a6 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/SwipeGestureTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/SwipeGestureTest.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CustomContainer3'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/TapGesture.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/TapGesture.ets index 8306765c2..d819f3df9 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/TapGesture.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/TapGesture.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import {CustomContainer} from '../common/CustomContainer4'; import FirstDialog from '../model/FirstDialog'; @Entry diff --git a/validator/acts_validator/src/main/ets/pages/ArkUI/TouchMoveTest.ets b/validator/acts_validator/src/main/ets/pages/ArkUI/TouchMoveTest.ets index d345096a1..c2ce53fd0 100644 --- a/validator/acts_validator/src/main/ets/pages/ArkUI/TouchMoveTest.ets +++ b/validator/acts_validator/src/main/ets/pages/ArkUI/TouchMoveTest.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import prompt from '@ohos.prompt'; import fileio from '@ohos.fileio'; import router from '@ohos.router'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/MediaLibrary_index.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/MediaLibrary_index.ets index 9abfe4bd4..5c0edf0dd 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/MediaLibrary_index.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/MediaLibrary_index.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import prompt from '@ohos.prompt'; import router from '@ohos.router'; import fileio from '@ohos.fileio'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback1.ets index a3f56cfb4..5fd2cca2e 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback1.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback2.ets index 8cf035fc3..bd45eb0d8 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback2.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback3.ets index 13f56b74a..254d77fb6 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback3.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback4.ets index 918123f8b..f87ea36cd 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback4.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback5.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback5.ets index 983247208..f30d86e1d 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback5.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback5.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback6.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback6.ets index 6656dc44c..4d5302439 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback6.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback6.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback7.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback7.ets index 9de781c18..8a5ab4f3e 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback7.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewCallback7.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise1.ets index 8f647561e..3c9a715ad 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise1.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise2.ets index a637e82da..aad3c4c6b 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise2.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise3.ets index b12c6162b..2e2de1f48 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise3.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise4.ets index fab870c1f..960e0ffa9 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startImagePreviewPromise4.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback1.ets index df7849003..81b556919 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback1.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback2.ets index cfd49b95d..ec7582ccf 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback2.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback3.ets index 0e72a896e..e67220024 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback3.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback4.ets index d2a1a0066..c470af1ae 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectCallback4.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise1.ets index d3c2f5c64..3f3cad21f 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise1.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise2.ets index 4d8028b55..840c862bf 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise2.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise3.ets index b33a37b0b..0c6652a56 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise3.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise4.ets index 0ee116ee9..331347491 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/startMediaSelectPromise4.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import {CustomContainer} from '../common/MediaCustomContainer'; import FirstDialog from '../model/FirstDialog'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback1.ets index cbcb0aa28..3503af7b3 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback1.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; import mediaLibrary from '@ohos.multimedia.mediaLibrary'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback2.ets index 5f051159f..4a92bb0e8 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback2.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; import mediaLibrary from '@ohos.multimedia.mediaLibrary'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback3.ets index ab4b6702e..3ff3a886a 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback3.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; import mediaLibrary from '@ohos.multimedia.mediaLibrary'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback4.ets index f29ff8554..5f50b5a6f 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetCallback4.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; import mediaLibrary from '@ohos.multimedia.mediaLibrary'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise1.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise1.ets index 940664fab..1e6790859 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise1.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise1.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise2.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise2.ets index 2559efee1..35821baca 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise2.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise2.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise3.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise3.ets index ef23b11d3..b9286ae0c 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise3.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise3.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise4.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise4.ets index 5a28628b6..f76e32e8b 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise4.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise4.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise5.ets b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise5.ets index 192175644..fb2537170 100644 --- a/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise5.ets +++ b/validator/acts_validator/src/main/ets/pages/MediaLibrary/storeMediaAssetPromise5.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import mediaLibrary from '@ohos.multimedia.mediaLibrary'; import fileio from '@ohos.fileio'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer1.ets b/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer1.ets index c4ce70458..cb24d7799 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer1.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer1.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; diff --git a/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer2.ets b/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer2.ets index fd31a9183..9b3b05097 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer2.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CanvasCustomContainer2.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer.ets index b6eeec2dc..af903f676 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import prompt from '@ohos.prompt'; import fileio from '@ohos.fileio'; import router from '@ohos.router'; diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer2.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer2.ets index c836f3088..942ec8fd9 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer2.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer2.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer3.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer3.ets index 4ae30c9ad..2b7685207 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer3.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer3.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer4.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer4.ets index fb90ecb5f..b9247d76b 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer4.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer4.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; diff --git a/validator/acts_validator/src/main/ets/pages/common/CustomContainer5.ets b/validator/acts_validator/src/main/ets/pages/common/CustomContainer5.ets index 96eca9ef9..a2ee4db61 100644 --- a/validator/acts_validator/src/main/ets/pages/common/CustomContainer5.ets +++ b/validator/acts_validator/src/main/ets/pages/common/CustomContainer5.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; diff --git a/validator/acts_validator/src/main/ets/pages/common/MediaCustomContainer.ets b/validator/acts_validator/src/main/ets/pages/common/MediaCustomContainer.ets index 836cbf598..b7b3c6f57 100644 --- a/validator/acts_validator/src/main/ets/pages/common/MediaCustomContainer.ets +++ b/validator/acts_validator/src/main/ets/pages/common/MediaCustomContainer.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import fileio from '@ohos.fileio'; import prompt from '@ohos.prompt'; import router from '@ohos.router'; diff --git a/validator/acts_validator/src/main/ets/pages/index.ets b/validator/acts_validator/src/main/ets/pages/index.ets index 3b07ec991..c468558ed 100644 --- a/validator/acts_validator/src/main/ets/pages/index.ets +++ b/validator/acts_validator/src/main/ets/pages/index.ets @@ -1,3 +1,17 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import prompt from '@ohos.prompt'; import router from '@ohos.router'; import fileio from '@ohos.fileio'; diff --git a/validator/acts_validator/src/main/ets/pages/model/FirstDialog.ets b/validator/acts_validator/src/main/ets/pages/model/FirstDialog.ets index 0e4e0e97b..699e37a45 100644 --- a/validator/acts_validator/src/main/ets/pages/model/FirstDialog.ets +++ b/validator/acts_validator/src/main/ets/pages/model/FirstDialog.ets @@ -1,6 +1,19 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import data_preferences from '@ohos.data.preferences'; - export default class FirstDialog{ static ChooseDialog = async (StepTips:string,name: string)=>{ let Test = null; -- GitLab