From 189774e779964e55c70e51d46fded2e594b0b3c1 Mon Sep 17 00:00:00 2001 From: renpengfei Date: Wed, 21 Apr 2021 10:13:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=89=88=E6=9D=83=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hm_shadowlayout_master/MainAbility.java | 16 ---------------- .../hm_shadowlayout_master/MyApplication.java | 16 ---------------- .../provider/SampleItemProvider.java | 16 ---------------- .../slice/DynamicChangeAbilitySlice.java | 16 ---------------- .../slice/ListAbilitySlice.java | 18 +----------------- .../slice/MainAbilitySlice.java | 16 ---------------- .../slice/ShowAbilitySlice.java | 16 ---------------- .../com/lijiankun24/shadowlayout/AttrUtil.java | 4 ++-- .../lijiankun24/shadowlayout/NumberUtil.java | 2 +- .../lijiankun24/shadowlayout/ShadowLayout.java | 4 ++-- .../shadowlayout/v2/ShadowComponent.java | 16 ---------------- .../shadowlayout/v2/ShadowDrawable.java | 16 ---------------- .../shadowlayout/v2/ShadowLayout.java | 4 ++-- .../shadowlayout/v2/ShadowLayout1.java | 16 ---------------- 14 files changed, 8 insertions(+), 168 deletions(-) diff --git a/entry/src/main/java/com/example/hm_shadowlayout_master/MainAbility.java b/entry/src/main/java/com/example/hm_shadowlayout_master/MainAbility.java index 83c0553..26267d4 100644 --- a/entry/src/main/java/com/example/hm_shadowlayout_master/MainAbility.java +++ b/entry/src/main/java/com/example/hm_shadowlayout_master/MainAbility.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.example.hm_shadowlayout_master; import com.example.hm_shadowlayout_master.slice.MainAbilitySlice; diff --git a/entry/src/main/java/com/example/hm_shadowlayout_master/MyApplication.java b/entry/src/main/java/com/example/hm_shadowlayout_master/MyApplication.java index 3cb8dcb..81b6166 100644 --- a/entry/src/main/java/com/example/hm_shadowlayout_master/MyApplication.java +++ b/entry/src/main/java/com/example/hm_shadowlayout_master/MyApplication.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.example.hm_shadowlayout_master; import ohos.aafwk.ability.AbilityPackage; diff --git a/entry/src/main/java/com/example/hm_shadowlayout_master/provider/SampleItemProvider.java b/entry/src/main/java/com/example/hm_shadowlayout_master/provider/SampleItemProvider.java index 2727830..0d54137 100644 --- a/entry/src/main/java/com/example/hm_shadowlayout_master/provider/SampleItemProvider.java +++ b/entry/src/main/java/com/example/hm_shadowlayout_master/provider/SampleItemProvider.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.example.hm_shadowlayout_master.provider; import com.example.hm_shadowlayout_master.ResourceTable; diff --git a/entry/src/main/java/com/example/hm_shadowlayout_master/slice/DynamicChangeAbilitySlice.java b/entry/src/main/java/com/example/hm_shadowlayout_master/slice/DynamicChangeAbilitySlice.java index 56af2d7..d984361 100644 --- a/entry/src/main/java/com/example/hm_shadowlayout_master/slice/DynamicChangeAbilitySlice.java +++ b/entry/src/main/java/com/example/hm_shadowlayout_master/slice/DynamicChangeAbilitySlice.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.example.hm_shadowlayout_master.slice; import com.example.hm_shadowlayout_master.ResourceTable; diff --git a/entry/src/main/java/com/example/hm_shadowlayout_master/slice/ListAbilitySlice.java b/entry/src/main/java/com/example/hm_shadowlayout_master/slice/ListAbilitySlice.java index 4e0f60f..ab625b0 100644 --- a/entry/src/main/java/com/example/hm_shadowlayout_master/slice/ListAbilitySlice.java +++ b/entry/src/main/java/com/example/hm_shadowlayout_master/slice/ListAbilitySlice.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.example.hm_shadowlayout_master.slice; import com.example.hm_shadowlayout_master.ResourceTable; @@ -33,9 +17,9 @@ import java.util.List; * @since 2021-03-08 */ public class ListAbilitySlice extends AbilitySlice { + private static final int COUNT = 20; private ListContainer listContainer; private List list; - private static final int COUNT = 20; @Override public void onStart(Intent intent) { diff --git a/entry/src/main/java/com/example/hm_shadowlayout_master/slice/MainAbilitySlice.java b/entry/src/main/java/com/example/hm_shadowlayout_master/slice/MainAbilitySlice.java index dd4ffc9..be4891c 100644 --- a/entry/src/main/java/com/example/hm_shadowlayout_master/slice/MainAbilitySlice.java +++ b/entry/src/main/java/com/example/hm_shadowlayout_master/slice/MainAbilitySlice.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.example.hm_shadowlayout_master.slice; import com.example.hm_shadowlayout_master.ResourceTable; diff --git a/entry/src/main/java/com/example/hm_shadowlayout_master/slice/ShowAbilitySlice.java b/entry/src/main/java/com/example/hm_shadowlayout_master/slice/ShowAbilitySlice.java index 70d2e34..e1778fe 100644 --- a/entry/src/main/java/com/example/hm_shadowlayout_master/slice/ShowAbilitySlice.java +++ b/entry/src/main/java/com/example/hm_shadowlayout_master/slice/ShowAbilitySlice.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.example.hm_shadowlayout_master.slice; import com.example.hm_shadowlayout_master.ResourceTable; diff --git a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/AttrUtil.java b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/AttrUtil.java index fb08f2a..9e68bcf 100644 --- a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/AttrUtil.java +++ b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/AttrUtil.java @@ -1,8 +1,8 @@ /* - * Copyright (C) 2021 The Chinese Software International Co., Ltd. + * Copyright (C) 2021 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 copy of the License at + * You may obtain an copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/NumberUtil.java b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/NumberUtil.java index 0154747..36e00fd 100644 --- a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/NumberUtil.java +++ b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/NumberUtil.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 The Chinese Software International Co., Ltd. + * Copyright (C) 2021 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 an copy of the License at diff --git a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/ShadowLayout.java b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/ShadowLayout.java index 80ad4f1..94b1ce9 100644 --- a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/ShadowLayout.java +++ b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/ShadowLayout.java @@ -1,8 +1,8 @@ /* - * Copyright (C) 2021 The Chinese Software International Co., Ltd. + * Copyright (C) 2021 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 copy of the License at + * You may obtain an copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowComponent.java b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowComponent.java index 0580e6e..98f9d7f 100644 --- a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowComponent.java +++ b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowComponent.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.lijiankun24.shadowlayout.v2; import ohos.agp.render.ColorFilter; diff --git a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowDrawable.java b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowDrawable.java index 071aeb8..70fd180 100644 --- a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowDrawable.java +++ b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowDrawable.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.lijiankun24.shadowlayout.v2; import ohos.agp.colors.RgbColor; diff --git a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowLayout.java b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowLayout.java index 041f29b..493bf00 100644 --- a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowLayout.java +++ b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowLayout.java @@ -1,8 +1,8 @@ /* - * Copyright (C) 2021 The Chinese Software International Co., Ltd. + * Copyright (C) 2021 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 copy of the License at + * You may obtain an copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowLayout1.java b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowLayout1.java index bd00c55..54d6334 100644 --- a/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowLayout1.java +++ b/shadowlayout/src/main/java/com/lijiankun24/shadowlayout/v2/ShadowLayout1.java @@ -1,19 +1,3 @@ -/* - * Copyright (C) 2021 The Chinese Software International 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 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. - * - */ - package com.lijiankun24.shadowlayout.v2; import com.lijiankun24.shadowlayout.AttrUtil; -- Gitee