summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJi-Hwan Lee <jihwan@google.com>2014-04-16 00:18:47 +0900
committerJi-Hwan Lee <jihwan@google.com>2014-04-18 17:29:03 +0900
commit8ce13af5c3c75bf4a16aed5ae190efe7034fc794 (patch)
tree33fb23b83527c4a35b0a4484bd4be0f610837ef2
parentee815bf42879ed189fd6598330793b4fb3992a14 (diff)
downloaddevice_google_atv-8ce13af5c3c75bf4a16aed5ae190efe7034fc794.tar.gz
device_google_atv-8ce13af5c3c75bf4a16aed5ae190efe7034fc794.tar.bz2
device_google_atv-8ce13af5c3c75bf4a16aed5ae190efe7034fc794.zip
Add ATV build including ATV emulator
Change-Id: I8092edfaf2829de897dbadeafcf8f85cb662a4c4
-rw-r--r--overlay/frameworks/base/core/res/res/anim/activity_close_enter.xml24
-rw-r--r--overlay/frameworks/base/core/res/res/anim/activity_close_exit.xml26
-rw-r--r--overlay/frameworks/base/core/res/res/anim/activity_open_enter.xml26
-rw-r--r--overlay/frameworks/base/core/res/res/anim/activity_open_exit.xml26
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_close_enter.xml26
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_close_exit.xml25
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_enter.xml23
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_exit.xml23
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_intra_close_enter.xml27
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_intra_close_exit.xml27
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_intra_open_enter.xml27
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_intra_open_exit.xml27
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_open_enter.xml26
-rw-r--r--overlay/frameworks/base/core/res/res/anim/wallpaper_open_exit.xml26
-rw-r--r--overlay/frameworks/base/core/res/res/values-sw600dp/dimens.xml22
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml48
-rw-r--r--overlay/frameworks/base/core/res/res/values/dimens.xml31
-rw-r--r--overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml34
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/config.xml22
-rw-r--r--products/atv_arm.mk26
-rw-r--r--products/atv_base.mk105
-rw-r--r--products/atv_generic.mk43
-rw-r--r--products/atv_sdk.mk60
-rw-r--r--products/atv_skins.atree18
-rw-r--r--products/atv_x86.mk30
-rw-r--r--sdk_overlay/frameworks/base/core/res/res/values/config.xml22
-rw-r--r--skins/AndroidTV/arrow_down.pngbin0 -> 449 bytes
-rw-r--r--skins/AndroidTV/arrow_left.pngbin0 -> 825 bytes
-rw-r--r--skins/AndroidTV/arrow_right.pngbin0 -> 795 bytes
-rw-r--r--skins/AndroidTV/arrow_up.pngbin0 -> 453 bytes
-rw-r--r--skins/AndroidTV/button.pngbin0 -> 592 bytes
-rw-r--r--skins/AndroidTV/controls.pngbin0 -> 19390 bytes
-rw-r--r--skins/AndroidTV/hardware.ini15
-rw-r--r--skins/AndroidTV/key.pngbin0 -> 154 bytes
-rw-r--r--skins/AndroidTV/keyboard.pngbin0 -> 20001 bytes
-rw-r--r--skins/AndroidTV/layout381
-rw-r--r--skins/AndroidTV/select.pngbin0 -> 384 bytes
-rw-r--r--skins/AndroidTV/spacebar.pngbin0 -> 192 bytes
-rw-r--r--tv_core_hardware.xml34
39 files changed, 1250 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/anim/activity_close_enter.xml b/overlay/frameworks/base/core/res/res/anim/activity_close_enter.xml
new file mode 100644
index 0000000..cdfab3b
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/activity_close_enter.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:zAdjustment="normal">
+
+ <alpha android:fromAlpha="1.0" android:toAlpha="1.0"
+ android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+ android:duration="300" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/activity_close_exit.xml b/overlay/frameworks/base/core/res/res/anim/activity_close_exit.xml
new file mode 100644
index 0000000..c6e5a53
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/activity_close_exit.xml
@@ -0,0 +1,26 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shareInterpolator="false"
+ android:zAdjustment="top">
+
+ <alpha android:fromAlpha="1.0" android:toAlpha="0.0"
+ android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+ android:interpolator="@interpolator/decelerate_cubic"
+ android:duration="300" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/activity_open_enter.xml b/overlay/frameworks/base/core/res/res/anim/activity_open_enter.xml
new file mode 100644
index 0000000..c83dff3
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/activity_open_enter.xml
@@ -0,0 +1,26 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shareInterpolator="false"
+ android:zAdjustment="top">
+
+ <alpha android:fromAlpha="0.0" android:toAlpha="1.0"
+ android:fillEnabled="true" android:fillBefore="false" android:fillAfter="true"
+ android:interpolator="@interpolator/decelerate_cubic"
+ android:duration="300" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/activity_open_exit.xml b/overlay/frameworks/base/core/res/res/anim/activity_open_exit.xml
new file mode 100644
index 0000000..6bc7562
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/activity_open_exit.xml
@@ -0,0 +1,26 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:background="#ff000000"
+ android:zAdjustment="normal">
+
+ <alpha android:fromAlpha="1.0" android:toAlpha="0.0"
+ android:fillEnabled="true" android:fillBefore="false" android:fillAfter="true"
+ android:interpolator="@interpolator/decelerate_quint"
+ android:duration="300" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_close_enter.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_close_enter.xml
new file mode 100644
index 0000000..12e90ff
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_close_enter.xml
@@ -0,0 +1,26 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shareInterpolator="false"
+ android:zAdjustment="top">
+
+ <alpha android:fromAlpha="0.0" android:toAlpha="1.0"
+ android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+ android:interpolator="@interpolator/decelerate_cubic"
+ android:duration="300" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_close_exit.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_close_exit.xml
new file mode 100644
index 0000000..ff15065
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_close_exit.xml
@@ -0,0 +1,25 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:detachWallpaper="true"
+ android:shareInterpolator="false"
+ android:zAdjustment="normal">
+
+ <alpha android:fromAlpha="1.0" android:toAlpha="1.0"
+ android:duration="300" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_enter.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_enter.xml
new file mode 100644
index 0000000..bef1683
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_enter.xml
@@ -0,0 +1,23 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@interpolator/decelerate_quad">
+
+ <alpha android:fromAlpha="0.0" android:toAlpha="1.0"
+ android:duration="@android:integer/config_longAnimTime" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_exit.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_exit.xml
new file mode 100644
index 0000000..bee2f05
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_exit.xml
@@ -0,0 +1,23 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@interpolator/accelerate_quad">
+
+ <alpha android:fromAlpha="1.0" android:toAlpha="0.0"
+ android:duration="@android:integer/config_longAnimTime" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_close_enter.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_close_enter.xml
new file mode 100644
index 0000000..9fd882c
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_close_enter.xml
@@ -0,0 +1,27 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:detachWallpaper="true"
+ android:shareInterpolator="false"
+ android:zAdjustment="normal">
+
+ <alpha android:fromAlpha="0.0" android:toAlpha="1.0"
+ android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+ android:interpolator="@interpolator/accelerate_cubic"
+ android:duration="280" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_close_exit.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_close_exit.xml
new file mode 100644
index 0000000..ffb0ce3
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_close_exit.xml
@@ -0,0 +1,27 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:detachWallpaper="true"
+ android:shareInterpolator="false"
+ android:zAdjustment="top">
+
+ <alpha android:fromAlpha="1.0" android:toAlpha="0.0"
+ android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+ android:interpolator="@interpolator/accelerate_cubic"
+ android:duration="280" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_open_enter.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_open_enter.xml
new file mode 100644
index 0000000..37fe213
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_open_enter.xml
@@ -0,0 +1,27 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:detachWallpaper="true"
+ android:shareInterpolator="false"
+ android:zAdjustment="top">
+
+ <alpha android:fromAlpha="0.0" android:toAlpha="1.0"
+ android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+ android:interpolator="@interpolator/decelerate_cubic"
+ android:duration="280" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_open_exit.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_open_exit.xml
new file mode 100644
index 0000000..60ab6d1
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_intra_open_exit.xml
@@ -0,0 +1,27 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:detachWallpaper="true"
+ android:shareInterpolator="false"
+ android:zAdjustment="normal">
+
+ <alpha android:fromAlpha="1.0" android:toAlpha="0.0"
+ android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+ android:interpolator="@interpolator/decelerate_cubic"
+ android:duration="280" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_open_enter.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_open_enter.xml
new file mode 100644
index 0000000..c9d5a7f
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_open_enter.xml
@@ -0,0 +1,26 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:detachWallpaper="true"
+ android:shareInterpolator="false"
+ android:zAdjustment="normal">
+
+ <alpha android:fromAlpha="1.0" android:toAlpha="1.0"
+ android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+ android:duration="375" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/anim/wallpaper_open_exit.xml b/overlay/frameworks/base/core/res/res/anim/wallpaper_open_exit.xml
new file mode 100644
index 0000000..7e9fbd9
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/anim/wallpaper_open_exit.xml
@@ -0,0 +1,26 @@
+<?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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shareInterpolator="false"
+ android:zAdjustment="top">
+
+ <alpha android:fromAlpha="1.0" android:toAlpha="0.0"
+ android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+ android:interpolator="@interpolator/accelerate_decelerate"
+ android:duration="200" />
+
+</set>
diff --git a/overlay/frameworks/base/core/res/res/values-sw600dp/dimens.xml b/overlay/frameworks/base/core/res/res/values-sw600dp/dimens.xml
new file mode 100644
index 0000000..a1919e5
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values-sw600dp/dimens.xml
@@ -0,0 +1,22 @@
+<?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>
+
+ <!-- Height of the bottom navigation bar -->
+ <dimen name="navigation_bar_height">0dp</dimen>
+
+</resources>
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..0f95c79
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,48 @@
+<?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>
+
+ <!-- Flag indicating that the media framework should allow changing
+ master volume stream and nothing else . -->
+ <bool name="config_useMasterVolume">true</bool>
+
+ <!-- Flag indicating that the media framework should support playing of sounds on volume
+ key usage. This adds noticeable additional overhead to volume key processing, so
+ is disableable for products for which it is irrelevant. -->
+ <bool name="config_useVolumeKeySounds">false</bool>
+
+ <!-- Disable AUDIO_BECOMING_NOISY notifications. -->
+ <bool name="config_sendAudioBecomingNoisy">false</bool>
+
+ <!-- This device is data-only. -->
+ <bool name="config_voice_capable">false</bool>
+
+ <!-- This device does not allow sms service. -->
+ <bool name="config_sms_capable">false</bool>
+
+ <!-- Control the default UI mode type to use when there is no other type override
+ happening. One of the following values (See Configuration.java):
+ 1 UI_MODE_TYPE_NORMAL
+ 4 UI_MODE_TYPE_TELEVISION
+ 5 UI_MODE_TYPE_APPLIANCE
+ Any other values will have surprising consequences. -->
+ <integer name="config_defaultUiModeType">4</integer>
+
+ <!-- Override long press on home: launch assist intent. -->
+ <integer name="config_longPressOnHomeBehavior">2</integer>
+
+</resources>
diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml
new file mode 100644
index 0000000..95a85df
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/dimens.xml
@@ -0,0 +1,31 @@
+<?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>
+
+ <!-- Height of the status bar -->
+ <dimen name="status_bar_height">0dp</dimen>
+
+ <!-- Height of the bottom navigation / system bar -->
+ <dimen name="navigation_bar_height">0dp</dimen>
+
+ <!-- Height of the bottom navigation bar in landscape -->
+ <dimen name="navigation_bar_height_landscape">0dp</dimen>
+
+ <!-- Width of the navigation bar when it is placed vertically on the screen -->
+ <dimen name="navigation_bar_width">42dp</dimen>
+
+</resources>
diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
new file mode 100644
index 0000000..40021f7
--- /dev/null
+++ b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
@@ -0,0 +1,34 @@
+<?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>
+
+ <!-- Do not enable auto rotation switching -->
+ <bool name="def_accelerometer_rotation">false</bool>
+
+ <!-- Disable the lockscreen -->
+ <bool name="def_lockscreen_disabled">true</bool>
+
+ <!-- No setup wizard -->
+ <bool name="def_device_provisioned">true</bool>
+
+ <!-- Keep screen on at all times by default -->
+ <bool name="def_stay_on_while_plugged_in">true</bool>
+
+ <!-- Do not give up on DHCP -->
+ <integer name="def_max_dhcp_retries">0</integer>
+
+</resources>
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
new file mode 100644
index 0000000..b347683
--- /dev/null
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -0,0 +1,22 @@
+<?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>
+
+ <!-- Empty stub status/navigation bar -->
+ <string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.tv.TvStatusBar</string>
+
+</resources>
diff --git a/products/atv_arm.mk b/products/atv_arm.mk
new file mode 100644
index 0000000..02ddfc8
--- /dev/null
+++ b/products/atv_arm.mk
@@ -0,0 +1,26 @@
+#
+# 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.
+#
+
+$(call inherit-product, device/google/atv/products/atv_generic.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/board/generic/device.mk)
+
+include $(SRC_TARGET_DIR)/product/emulator.mk
+
+# Overrides
+PRODUCT_NAME := atv_arm
+PRODUCT_DEVICE := generic
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := AOSP TV on ARM Emulator
diff --git a/products/atv_base.mk b/products/atv_base.mk
new file mode 100644
index 0000000..3333bac
--- /dev/null
+++ b/products/atv_base.mk
@@ -0,0 +1,105 @@
+#
+# 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.
+#
+
+# There packages are still in experimental repository.
+# TODO: Add back when build recovers.
+#PRODUCT_PACKAGES := \
+# AtscTvInput \
+# SampleTvInput \
+# TV \
+# TvProvider
+
+PRODUCT_PACKAGES := \
+ tv_input.default
+
+PRODUCT_COPY_FILES := \
+ device/google/atv/tv_core_hardware.xml:system/etc/permissions/tv_core_hardware.xml
+
+PRODUCT_PACKAGE_OVERLAYS := \
+ device/google/atv/overlay
+
+# From build/target/product/core_base.mk
+PRODUCT_PACKAGES += \
+ ContactsProvider \
+ DefaultContainerService \
+ UserDictionaryProvider \
+ atrace \
+ libaudiopreprocessing \
+ libfilterpack_imageproc \
+ libgabi++ \
+ libkeystore \
+ libportable \
+ libstagefright_soft_aacdec \
+ libstagefright_soft_aacenc \
+ libstagefright_soft_amrdec \
+ libstagefright_soft_amrnbenc \
+ libstagefright_soft_amrwbenc \
+ libstagefright_soft_flacenc \
+ libstagefright_soft_g711dec \
+ libstagefright_soft_gsmdec \
+ libstagefright_soft_h264dec \
+ libstagefright_soft_h264enc \
+ libstagefright_soft_mp3dec \
+ libstagefright_soft_mpeg4dec \
+ libstagefright_soft_mpeg4enc \
+ libstagefright_soft_rawdec \
+ libstagefright_soft_vorbisdec \
+ libstagefright_soft_vpxdec \
+ libstagefright_soft_vpxenc \
+ mdnsd \
+ requestsync \
+ screenrecord
+
+# From build/target/product/core.mk
+PRODUCT_PACKAGES += \
+ BasicDreams \
+ CalendarProvider \
+ CertInstaller \
+ ExternalStorageProvider \
+ FusedLocation \
+ InputDevices \
+ KeyChain \
+ LatinIME \
+ PicoTts \
+ PacProcessor \
+ PrintSpooler \
+ ProxyHandler \
+ SharedStorageBackup
+
+# From build/target/product/generic_no_telephony.mk
+PRODUCT_PACKAGES += \
+ Bluetooth \
+ SystemUI \
+ librs_jni \
+ audio.primary.default \
+ audio_policy.default \
+ local_time.default
+
+PRODUCT_COPY_FILES += \
+ frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
+
+$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
+$(call inherit-product-if-exists, external/svox/pico/lang/all_pico_languages.mk)
+$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
+$(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
+$(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
+$(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
+$(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
+$(call inherit-product-if-exists, external/naver-fonts/fonts.mk)
+$(call inherit-product-if-exists, external/sil-fonts/fonts.mk)
+$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
+$(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk)
diff --git a/products/atv_generic.mk b/products/atv_generic.mk
new file mode 100644
index 0000000..8ba7ea6
--- /dev/null
+++ b/products/atv_generic.mk
@@ -0,0 +1,43 @@
+#
+# 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.
+#
+
+PRODUCT_COPY_FILES := \
+ $(foreach f,$(wildcard device/google/atv/skins/AndroidTV/*),$(f):skin/$(notdir $(f)))
+
+PRODUCT_PACKAGE_OVERLAYS := \
+ device/google/atv/sdk_overlay \
+ development/sdk_overlay
+
+# Put en_US first in the list, so make it default.
+PRODUCT_LOCALES := en_US
+
+# Include drawables for various densities.
+PRODUCT_AAPT_CONFIG := normal large xlarge tvdpi hdpi xhdpi xxhdpi
+
+# From build/target/product/full_base.mk
+PRODUCT_PACKAGES += \
+ Galaxy4 \
+ HoloSpiralWallpaper \
+ LiveWallpapers \
+ LiveWallpapersPicker \
+ MagicSmokeWallpapers \
+ NoiseField \
+ PhaseBeam \
+ PhotoTable \
+ VisualizationWallpapers
+
+$(call inherit-product, $(SRC_TARGET_DIR)/product/locales_full.mk)
+$(call inherit-product, device/google/atv/products/atv_base.mk)
diff --git a/products/atv_sdk.mk b/products/atv_sdk.mk
new file mode 100644
index 0000000..e4991fb
--- /dev/null
+++ b/products/atv_sdk.mk
@@ -0,0 +1,60 @@
+#
+# 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.
+#
+
+PRODUCT_PACKAGES := \
+ audio.primary.goldfish
+
+PRODUCT_PACKAGE_OVERLAYS := \
+ device/google/atv/sdk_overlay \
+ development/sdk_overlay
+
+PRODUCT_COPY_FILES := \
+ device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml \
+ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
+ frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
+ hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf
+
+# Put en_US first in the list, so make it default.
+PRODUCT_LOCALES := en_US
+
+# Include drawables for various densities.
+PRODUCT_AAPT_CONFIG := normal large xlarge tvdpi hdpi xhdpi xxhdpi
+
+# Add TV skins to SDK, in addition to (not replacing) original SDK tree
+PRODUCT_SDK_ATREE_FILES := \
+ development/build/sdk.atree \
+ device/google/atv/products/atv_skins.atree
+
+# Define the host tools and libs that are parts of the SDK.
+-include sdk/build/product_sdk.mk
+-include development/build/product_sdk.mk
+
+include $(SRC_TARGET_DIR)/product/emulator.mk
+
+$(call inherit-product, device/google/atv/products/atv_base.mk)
+
+# include available languages for TTS in the system image
+-include external/svox/pico/lang/PicoLangDeDeInSystem.mk
+-include external/svox/pico/lang/PicoLangEnGBInSystem.mk
+-include external/svox/pico/lang/PicoLangEnUsInSystem.mk
+-include external/svox/pico/lang/PicoLangEsEsInSystem.mk
+-include external/svox/pico/lang/PicoLangFrFrInSystem.mk
+-include external/svox/pico/lang/PicoLangItItInSystem.mk
+
+# Overrides
+PRODUCT_NAME := atv_sdk
+PRODUCT_DEVICE := generic
+PRODUCT_BRAND := generic
diff --git a/products/atv_skins.atree b/products/atv_skins.atree
new file mode 100644
index 0000000..3aa0e21
--- /dev/null
+++ b/products/atv_skins.atree
@@ -0,0 +1,18 @@
+#
+# 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.
+#
+
+# Android TV skins
+device/google/atv/skins/AndroidTV system-images/${PLATFORM_NAME}/armeabi-v7a/skins/AndroidTV
diff --git a/products/atv_x86.mk b/products/atv_x86.mk
new file mode 100644
index 0000000..f6d2ece
--- /dev/null
+++ b/products/atv_x86.mk
@@ -0,0 +1,30 @@
+#
+# 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.
+#
+
+PRODUCT_PACKAGES := \
+ bios.bin \
+ vgabios-cirrus.bin
+
+$(call inherit-product, device/google/atv/products/atv_generic.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk)
+
+include $(SRC_TARGET_DIR)/product/emulator.mk
+
+# Overrides
+PRODUCT_NAME := atv_x86
+PRODUCT_DEVICE := generic_x86
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := AOSP TV on IA Emulator
diff --git a/sdk_overlay/frameworks/base/core/res/res/values/config.xml b/sdk_overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..110752f
--- /dev/null
+++ b/sdk_overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,22 @@
+<?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>
+
+ <!-- development/sdk_overlay enables voice. Reset to data-only. -->
+ <bool name="config_voice_capable">false</bool>
+
+</resources>
diff --git a/skins/AndroidTV/arrow_down.png b/skins/AndroidTV/arrow_down.png
new file mode 100644
index 0000000..b9fde22
--- /dev/null
+++ b/skins/AndroidTV/arrow_down.png
Binary files differ
diff --git a/skins/AndroidTV/arrow_left.png b/skins/AndroidTV/arrow_left.png
new file mode 100644
index 0000000..281b192
--- /dev/null
+++ b/skins/AndroidTV/arrow_left.png
Binary files differ
diff --git a/skins/AndroidTV/arrow_right.png b/skins/AndroidTV/arrow_right.png
new file mode 100644
index 0000000..4cbc65d
--- /dev/null
+++ b/skins/AndroidTV/arrow_right.png
Binary files differ
diff --git a/skins/AndroidTV/arrow_up.png b/skins/AndroidTV/arrow_up.png
new file mode 100644
index 0000000..29c7121
--- /dev/null
+++ b/skins/AndroidTV/arrow_up.png
Binary files differ
diff --git a/skins/AndroidTV/button.png b/skins/AndroidTV/button.png
new file mode 100644
index 0000000..8281d20
--- /dev/null
+++ b/skins/AndroidTV/button.png
Binary files differ
diff --git a/skins/AndroidTV/controls.png b/skins/AndroidTV/controls.png
new file mode 100644
index 0000000..04b85e2
--- /dev/null
+++ b/skins/AndroidTV/controls.png
Binary files differ
diff --git a/skins/AndroidTV/hardware.ini b/skins/AndroidTV/hardware.ini
new file mode 100644
index 0000000..08b3852
--- /dev/null
+++ b/skins/AndroidTV/hardware.ini
@@ -0,0 +1,15 @@
+hw.accelerometer=no
+hw.battery=no
+hw.dPad=yes
+hw.gps=no
+hw.gsmModem=no
+hw.keyboard=yes
+hw.keyboard.lid=no
+hw.lcd.density=320
+hw.ramSize=2048
+hw.screen=no-touch
+hw.sensors.magnetic_field=no
+hw.sensors.orientation=no
+hw.sensors.proximity=no
+hw.sensors.temperature=no
+vm.heapSize=512
diff --git a/skins/AndroidTV/key.png b/skins/AndroidTV/key.png
new file mode 100644
index 0000000..40b03bf
--- /dev/null
+++ b/skins/AndroidTV/key.png
Binary files differ
diff --git a/skins/AndroidTV/keyboard.png b/skins/AndroidTV/keyboard.png
new file mode 100644
index 0000000..ca49dcf
--- /dev/null
+++ b/skins/AndroidTV/keyboard.png
Binary files differ
diff --git a/skins/AndroidTV/layout b/skins/AndroidTV/layout
new file mode 100644
index 0000000..bcbef75
--- /dev/null
+++ b/skins/AndroidTV/layout
@@ -0,0 +1,381 @@
+parts {
+ device {
+ display {
+ width 1920
+ height 1080
+ x 0
+ y 0
+ }
+ }
+
+ controls {
+ background {
+ image controls.png
+ }
+ buttons {
+ camera {
+ image button.png
+ x 0
+ y 0
+ }
+ volume-down {
+ image button.png
+ x 56
+ y 0
+ }
+ volume-up {
+ image button.png
+ x 112
+ y 0
+ }
+ power {
+ image button.png
+ x 168
+ y 0
+ }
+
+ phone-dial {
+ image button.png
+ x 0
+ y 71
+ }
+ dpad-up {
+ image arrow_up.png
+ x 77
+ y 53
+ }
+ dpad-down {
+ image arrow_down.png
+ x 77
+ y 106
+ }
+ dpad-left {
+ image arrow_left.png
+ x 53
+ y 53
+ }
+ dpad-right {
+ image arrow_right.png
+ x 123
+ y 53
+ }
+ dpad-center {
+ image select.png
+ x 77
+ y 81
+ }
+ phone-hangup {
+ image button.png
+ x 168
+ y 71
+ }
+
+ home {
+ image button.png
+ x 0
+ y 142
+ }
+ soft-left {
+ image button.png
+ x 56
+ y 142
+ }
+ back {
+ image button.png
+ x 112
+ y 142
+ }
+ search {
+ image button.png
+ x 168
+ y 142
+ }
+ }
+ }
+
+ keyboard {
+ background {
+ image keyboard.png
+ }
+ buttons {
+ 1 {
+ image key.png
+ x 5
+ y 5
+ }
+ 2 {
+ image key.png
+ x 42
+ y 5
+ }
+ 3 {
+ image key.png
+ x 79
+ y 5
+ }
+ 4 {
+ image key.png
+ x 116
+ y 5
+ }
+ 5 {
+ image key.png
+ x 153
+ y 5
+ }
+ 6 {
+ image key.png
+ x 190
+ y 5
+ }
+ 7 {
+ image key.png
+ x 227
+ y 5
+ }
+ 8 {
+ image key.png
+ x 264
+ y 5
+ }
+ 9 {
+ image key.png
+ x 301
+ y 5
+ }
+ 0 {
+ image key.png
+ x 338
+ y 5
+ }
+
+ q {
+ image key.png
+ x 5
+ y 41
+ }
+ w {
+ image key.png
+ x 42
+ y 41
+ }
+ e {
+ image key.png
+ x 79
+ y 41
+ }
+ r {
+ image key.png
+ x 116
+ y 41
+ }
+ t {
+ image key.png
+ x 153
+ y 41
+ }
+ y {
+ image key.png
+ x 190
+ y 41
+ }
+ u {
+ image key.png
+ x 227
+ y 41
+ }
+ i {
+ image key.png
+ x 264
+ y 41
+ }
+ o {
+ image key.png
+ x 301
+ y 41
+ }
+ p {
+ image key.png
+ x 338
+ y 41
+ }
+
+ a {
+ image key.png
+ x 5
+ y 77
+ }
+ s {
+ image key.png
+ x 42
+ y 77
+ }
+ d {
+ image key.png
+ x 79
+ y 77
+ }
+ f {
+ image key.png
+ x 116
+ y 77
+ }
+ g {
+ image key.png
+ x 153
+ y 77
+ }
+ h {
+ image key.png
+ x 190
+ y 77
+ }
+ j {
+ image key.png
+ x 227
+ y 77
+ }
+ k {
+ image key.png
+ x 264
+ y 77
+ }
+ l {
+ image key.png
+ x 301
+ y 77
+ }
+ DEL {
+ image key.png
+ x 338
+ y 77
+ }
+
+ CAP {
+ image key.png
+ x 5
+ y 113
+ }
+ z {
+ image key.png
+ x 42
+ y 113
+ }
+ x {
+ image key.png
+ x 79
+ y 113
+ }
+ c {
+ image key.png
+ x 116
+ y 113
+ }
+ v {
+ image key.png
+ x 153
+ y 113
+ }
+ b {
+ image key.png
+ x 190
+ y 113
+ }
+ n {
+ image key.png
+ x 227
+ y 113
+ }
+ m {
+ image key.png
+ x 264
+ y 113
+ }
+ PERIOD {
+ image key.png
+ x 301
+ y 113
+ }
+ ENTER {
+ image key.png
+ x 338
+ y 113
+ }
+
+ ALT {
+ image key.png
+ x 5
+ y 149
+ }
+ SYM {
+ image key.png
+ x 42
+ y 149
+ }
+ AT {
+ image key.png
+ x 79
+ y 149
+ }
+ SPACE {
+ image spacebar.png
+ x 116
+ y 149
+ }
+ SLASH {
+ image key.png
+ x 264
+ y 149
+ }
+ COMMA {
+ image key.png
+ x 301
+ y 149
+ }
+ ALT2 {
+ image key.png
+ x 338
+ y 149
+ }
+
+ }
+ }
+}
+
+layouts {
+ landscape {
+ width 2350
+ height 1080
+ color 0x323232
+ event EV_SW:0:0
+
+ part1 {
+ name device
+ x 0
+ y 0
+ }
+
+ # 217 x 191
+ part2 {
+ name controls
+ x 2026
+ y 25
+ }
+
+ # 380 x 191
+ part3 {
+ name keyboard
+ x 1945
+ y 241
+ }
+ }
+}
+
+keyboard {
+ charmap qwerty2
+}
+
+network {
+ speed full
+ delay none
+}
diff --git a/skins/AndroidTV/select.png b/skins/AndroidTV/select.png
new file mode 100644
index 0000000..f4a65d3
--- /dev/null
+++ b/skins/AndroidTV/select.png
Binary files differ
diff --git a/skins/AndroidTV/spacebar.png b/skins/AndroidTV/spacebar.png
new file mode 100644
index 0000000..aa459bd
--- /dev/null
+++ b/skins/AndroidTV/spacebar.png
Binary files differ
diff --git a/tv_core_hardware.xml b/tv_core_hardware.xml
new file mode 100644
index 0000000..e6bdb8a
--- /dev/null
+++ b/tv_core_hardware.xml
@@ -0,0 +1,34 @@
+<?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.
+-->
+
+<permissions>
+
+ <!-- These are the hardware components that all television devices must
+ include. Devices with optional hardware must also include extra hardware
+ files.
+ -->
+ <feature name="android.hardware.location" />
+ <feature name="android.hardware.location.network" />
+ <feature name="android.hardware.screen.landscape" />
+ <feature name="android.hardware.type.television" />
+
+ <feature name="android.software.app_widgets" />
+ <feature name="android.software.backup" />
+ <feature name="android.software.device_admin" />
+ <feature name="android.software.leanback" />
+ <feature name="android.software.print" />
+
+</permissions>