Loading tests/GamePerformance/AndroidManifest.xml +5 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,9 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="android.gameperformance"> package="android.gameperformance" android:versionCode="3" android:versionName="3.0" > <uses-sdk android:minSdkVersion="25"/> <uses-feature android:glEsVersion="0x00020000" android:required="true" /> Loading @@ -24,7 +26,8 @@ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <application android:theme="@style/noeffects"> <uses-library android:name="android.test.runner" /> <activity android:name="android.gameperformance.GamePerformanceActivity" > <activity android:name="android.gameperformance.GamePerformanceActivity" android:screenOrientation="landscape" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> Loading tests/GamePerformance/res/drawable/animation.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <!-- * Copyright (C) 2019 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. --> <animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/animation" android:oneshot="false"> <item android:drawable="@drawable/digit_0" android:duration="15" /> <item android:drawable="@drawable/digit_1" android:duration="15" /> <item android:drawable="@drawable/digit_2" android:duration="15" /> <item android:drawable="@drawable/digit_3" android:duration="15" /> <item android:drawable="@drawable/digit_4" android:duration="15" /> <item android:drawable="@drawable/digit_5" android:duration="15" /> <item android:drawable="@drawable/digit_6" android:duration="15" /> <item android:drawable="@drawable/digit_7" android:duration="15" /> <item android:drawable="@drawable/digit_8" android:duration="15" /> <item android:drawable="@drawable/digit_9" android:duration="15" /> </animation-list> No newline at end of file tests/GamePerformance/res/drawable/digit_0.png 0 → 100644 +1.3 KiB Loading image diff... tests/GamePerformance/res/drawable/digit_1.png 0 → 100644 +428 B Loading image diff... tests/GamePerformance/res/drawable/digit_2.png 0 → 100644 +1.02 KiB Loading image diff... Loading
tests/GamePerformance/AndroidManifest.xml +5 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,9 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="android.gameperformance"> package="android.gameperformance" android:versionCode="3" android:versionName="3.0" > <uses-sdk android:minSdkVersion="25"/> <uses-feature android:glEsVersion="0x00020000" android:required="true" /> Loading @@ -24,7 +26,8 @@ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <application android:theme="@style/noeffects"> <uses-library android:name="android.test.runner" /> <activity android:name="android.gameperformance.GamePerformanceActivity" > <activity android:name="android.gameperformance.GamePerformanceActivity" android:screenOrientation="landscape" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> Loading
tests/GamePerformance/res/drawable/animation.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <!-- * Copyright (C) 2019 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. --> <animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/animation" android:oneshot="false"> <item android:drawable="@drawable/digit_0" android:duration="15" /> <item android:drawable="@drawable/digit_1" android:duration="15" /> <item android:drawable="@drawable/digit_2" android:duration="15" /> <item android:drawable="@drawable/digit_3" android:duration="15" /> <item android:drawable="@drawable/digit_4" android:duration="15" /> <item android:drawable="@drawable/digit_5" android:duration="15" /> <item android:drawable="@drawable/digit_6" android:duration="15" /> <item android:drawable="@drawable/digit_7" android:duration="15" /> <item android:drawable="@drawable/digit_8" android:duration="15" /> <item android:drawable="@drawable/digit_9" android:duration="15" /> </animation-list> No newline at end of file