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 83c05532b8983c1bc11bf2b400b7434079bc18f0..26267d40cb83ccace22f185357a110b3318d32ae 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 3cb8dcb46a2d9ea14b616deb70254c5adfdb89aa..81b616680735076baa86a70284f8b6e2332faf4f 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 2727830d621bdc390b8007a0de82ba10926429bb..0d5413798f551436c57895a59495c587553c0f86 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 56af2d706be43170a38cc8212f1a5e611245bd69..d984361274a35597f1d2acee79adb1798aaebfdf 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 4e0f60f1d3a8a7c23bdfd7c6dc138a8ab0e18413..ab625b07b66d5066e6bdb9b3588a50f24104ceb4 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 dd4ffc9cf41ad65d34e6701c557e2b0e205c2bcc..be4891c9a9a1b29aff7d2f9da75a3b979c586cf0 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 70d2e3431c28b98cd6c284e0f368db9e7b76ce14..e1778fee1576ef65c9fc0094576bace90cb2e3a2 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 fb08f2a3f0995bdbdc9858fa53c11bc014328f77..9e68bcf700ae98baeb5eb186a5060276dbe9cb59 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 015474782899722b9e27ef526fa4e4e78e3606ea..36e00fdd4700527a1a2683bfc4f4d076500366b6 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 80ad4f12c516853c25d0be015eae6e4fd5e08610..94b1ce927190db7361ff8ccb8e88e000390654e3 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 0580e6e367015036329d1de1bc36357a331c0e2f..98f9d7f4228d8cdd28e857c48b31fa5174b4d5f4 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 071aeb8c08940392229b54fb7b46f379d75adc2c..70fd1805327a0ca2b8dd8aa7bcf6e6a868924dfa 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 041f29bec00d8435f9c398c3c4f226da8acec28f..493bf00aa64232d686905dc2094f10e2bbbe8ab3 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 bd00c556ffbf880af008c568b19cf77acd1d60db..54d6334d60ef67e4edaebb2c7c8858421292990a 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;