diff options
author | Andrew Wilson <anwilson@google.com> | 2014-09-11 11:20:56 -0700 |
---|---|---|
committer | Andrew Wilson <anwilson@google.com> | 2014-09-11 16:38:27 -0700 |
commit | 1f2339bb845c3d94f94ba958024d718848271025 (patch) | |
tree | 05c7c1c36a699194275a186b89921c29b4a5c197 | |
parent | 30736d506c12af7aa9d0266f1ea389cc9abf29b8 (diff) | |
download | android_packages_apps_TvSettings-1f2339bb845c3d94f94ba958024d718848271025.tar.gz android_packages_apps_TvSettings-1f2339bb845c3d94f94ba958024d718848271025.tar.bz2 android_packages_apps_TvSettings-1f2339bb845c3d94f94ba958024d718848271025.zip |
Add copyrights.
Change-Id: If9d26982f37bf1242b45a366b7c5f75fc0c3c239
19 files changed, 274 insertions, 9 deletions
diff --git a/QuickSettings/AndroidManifest.xml b/QuickSettings/AndroidManifest.xml index f8c76f31..4940c241 100644 --- a/QuickSettings/AndroidManifest.xml +++ b/QuickSettings/AndroidManifest.xml @@ -1,3 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.tv.quicksettings" android:sharedUserId="android.uid.system" > diff --git a/QuickSettings/res/color/text_focused_bright.xml b/QuickSettings/res/color/text_focused_bright.xml index 166e95df..354c5f8f 100644 --- a/QuickSettings/res/color/text_focused_bright.xml +++ b/QuickSettings/res/color/text_focused_bright.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <selector xmlns:android="http://schemas.android.com/apk/res/android" > <item android:color="@color/setting_text_title_unfocused_color" android:state_focused="false" /> <item android:color="@color/setting_text_title_color" android:state_focused="true" /> diff --git a/QuickSettings/res/drawable/bg.xml b/QuickSettings/res/drawable/bg.xml index 858a375d..14e60de4 100644 --- a/QuickSettings/res/drawable/bg.xml +++ b/QuickSettings/res/drawable/bg.xml @@ -1,4 +1,20 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@color/panel_bg" /> <corners android:radius="@dimen/panel_corner_radius" /> diff --git a/QuickSettings/res/drawable/setting_background.xml b/QuickSettings/res/drawable/setting_background.xml index d105b83e..3a0e4d3b 100644 --- a/QuickSettings/res/drawable/setting_background.xml +++ b/QuickSettings/res/drawable/setting_background.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focused="false"> diff --git a/QuickSettings/res/layout/dialog_setting.xml b/QuickSettings/res/layout/dialog_setting.xml index 639bd7f9..fcc14b61 100644 --- a/QuickSettings/res/layout/dialog_setting.xml +++ b/QuickSettings/res/layout/dialog_setting.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/setting_title" android:layout_width="@dimen/main_panel_text_width_minus_padding" diff --git a/QuickSettings/res/layout/main_quicksettings.xml b/QuickSettings/res/layout/main_quicksettings.xml index 24325a11..ec2df3e4 100644 --- a/QuickSettings/res/layout/main_quicksettings.xml +++ b/QuickSettings/res/layout/main_quicksettings.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:lb="http://schemas.android.com/apk/res-auto" android:id="@+id/main_panel" diff --git a/QuickSettings/res/layout/setting.xml b/QuickSettings/res/layout/setting.xml index 0aff71f6..cfa95c9c 100644 --- a/QuickSettings/res/layout/setting.xml +++ b/QuickSettings/res/layout/setting.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/QuickSettings/res/layout/side_quicksettings.xml b/QuickSettings/res/layout/side_quicksettings.xml index 6d3ac147..20fc6c07 100644 --- a/QuickSettings/res/layout/side_quicksettings.xml +++ b/QuickSettings/res/layout/side_quicksettings.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:lb="http://schemas.android.com/apk/res-auto" android:id="@+id/main_frame" diff --git a/QuickSettings/res/values/colors.xml b/QuickSettings/res/values/colors.xml index a2215eff..c018fd35 100644 --- a/QuickSettings/res/values/colors.xml +++ b/QuickSettings/res/values/colors.xml @@ -1,4 +1,20 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <resources> <color name="menu_default_text_color">#FFEEEEEE</color> <color name="side_panel_title_background">#00A6F6</color> diff --git a/QuickSettings/res/values/config.xml b/QuickSettings/res/values/config.xml index f2004776..bab5b3f2 100644 --- a/QuickSettings/res/values/config.xml +++ b/QuickSettings/res/values/config.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <resources> <string name="setting_preset_name">Preset mode</string> diff --git a/QuickSettings/res/values/dimens.xml b/QuickSettings/res/values/dimens.xml index 99c0fbb8..ac904a0b 100644 --- a/QuickSettings/res/values/dimens.xml +++ b/QuickSettings/res/values/dimens.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> + <resources> <dimen name="panel_corner_radius">2dp</dimen> <dimen name="panel_width">360dp</dimen> diff --git a/QuickSettings/res/values/strings.xml b/QuickSettings/res/values/strings.xml index 6049fe06..5754c5fc 100644 --- a/QuickSettings/res/values/strings.xml +++ b/QuickSettings/res/values/strings.xml @@ -1,4 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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. +--> <resources> <string name="quicksettings_label">Picture Mode</string> diff --git a/QuickSettings/res/values/themes.xml b/QuickSettings/res/values/themes.xml index 8a0d66ab..7385fbe7 100644 --- a/QuickSettings/res/values/themes.xml +++ b/QuickSettings/res/values/themes.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> - <!-- Copyright (C) 2014 The Android Open Source Project +<!-- + Copyright (C) 2014 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/QuickSettings/src/com/android/tv/quicksettings/DialogAdapter.java b/QuickSettings/src/com/android/tv/quicksettings/DialogAdapter.java index ffc76963..b17b0352 100644 --- a/QuickSettings/src/com/android/tv/quicksettings/DialogAdapter.java +++ b/QuickSettings/src/com/android/tv/quicksettings/DialogAdapter.java @@ -1,4 +1,16 @@ - +/* + * Copyright (C) 2014 The Android Open Source Project + * + * 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. + */ package com.android.tv.quicksettings; import android.content.Intent; diff --git a/QuickSettings/src/com/android/tv/quicksettings/PanelAdapter.java b/QuickSettings/src/com/android/tv/quicksettings/PanelAdapter.java index 96831e98..58694711 100644 --- a/QuickSettings/src/com/android/tv/quicksettings/PanelAdapter.java +++ b/QuickSettings/src/com/android/tv/quicksettings/PanelAdapter.java @@ -1,4 +1,16 @@ - +/* + * Copyright (C) 2014 The Android Open Source Project + * + * 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. + */ package com.android.tv.quicksettings; import android.content.Intent; diff --git a/QuickSettings/src/com/android/tv/quicksettings/QuickSettings.java b/QuickSettings/src/com/android/tv/quicksettings/QuickSettings.java index 5afab8bc..cf63b439 100644 --- a/QuickSettings/src/com/android/tv/quicksettings/QuickSettings.java +++ b/QuickSettings/src/com/android/tv/quicksettings/QuickSettings.java @@ -1,4 +1,16 @@ - +/* + * Copyright (C) 2014 The Android Open Source Project + * + * 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. + */ package com.android.tv.quicksettings; import android.app.Activity; diff --git a/QuickSettings/src/com/android/tv/quicksettings/Setting.java b/QuickSettings/src/com/android/tv/quicksettings/Setting.java index eed45b37..b6dc1582 100644 --- a/QuickSettings/src/com/android/tv/quicksettings/Setting.java +++ b/QuickSettings/src/com/android/tv/quicksettings/Setting.java @@ -1,4 +1,16 @@ - +/* + * Copyright (C) 2014 The Android Open Source Project + * + * 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. + */ package com.android.tv.quicksettings; import android.content.Intent; diff --git a/QuickSettings/src/com/android/tv/quicksettings/SettingClickedListener.java b/QuickSettings/src/com/android/tv/quicksettings/SettingClickedListener.java index 8ee3d6d9..124a8288 100644 --- a/QuickSettings/src/com/android/tv/quicksettings/SettingClickedListener.java +++ b/QuickSettings/src/com/android/tv/quicksettings/SettingClickedListener.java @@ -1,4 +1,16 @@ - +/* + * Copyright (C) 2014 The Android Open Source Project + * + * 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. + */ package com.android.tv.quicksettings; public interface SettingClickedListener { diff --git a/QuickSettings/src/com/android/tv/quicksettings/SettingsDialog.java b/QuickSettings/src/com/android/tv/quicksettings/SettingsDialog.java index 87c6c3ad..a4bfaa17 100644 --- a/QuickSettings/src/com/android/tv/quicksettings/SettingsDialog.java +++ b/QuickSettings/src/com/android/tv/quicksettings/SettingsDialog.java @@ -1,4 +1,16 @@ - +/* + * Copyright (C) 2014 The Android Open Source Project + * + * 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. + */ package com.android.tv.quicksettings; import android.app.Activity; |