Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28c7363e authored by Kevin Neas's avatar Kevin Neas Committed by android-build-merger
Browse files

Merge "DO NOT MERGE. Cherrypick UiBench from Master" into cw-e-dev am: 4dbb5865 am: b6ae3216

am: 32a7d85f

* commit '32a7d85f':
  DO NOT MERGE. Cherrypick UiBench from Master
parents 3ed855b0 32a7d85f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
.gradle
.idea
*.iml
build
local.properties
+31 −0
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := tests

# omit gradle 'build' dir
LOCAL_SRC_FILES := $(call all-java-files-under,src)

# use appcompat/support lib from the tree, so improvements/
# regressions are reflected in test data
LOCAL_RESOURCE_DIR := \
    $(LOCAL_PATH)/res \
    frameworks/support/v7/appcompat/res \
    frameworks/support/v7/cardview/res \
    frameworks/support/v7/recyclerview/res

LOCAL_AAPT_FLAGS := \
    --auto-add-overlay \
    --extra-packages android.support.v7.appcompat \
    --extra-packages android.support.v7.cardview \
    --extra-packages android.support.v7.recyclerview

LOCAL_STATIC_JAVA_LIBRARIES := \
    android-support-v4 \
    android-support-v7-appcompat \
    android-support-v7-cardview \
    android-support-v7-recyclerview

LOCAL_PACKAGE_NAME := UiBench

include $(BUILD_PACKAGE)
+165 −0
Original line number Diff line number Diff line
<!--
  ~ Copyright (C) 2015 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"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.android.test.uibench">

    <application
        android:allowBackup="false"
        android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
        tools:ignore="MissingApplicationIcon">
        <uses-library android:name="android.test.runner" />

        <!-- Root navigation activity -->
        <activity
            android:name=".MainActivity"
            android:label="UiBench">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <!-- General -->
        <activity
            android:name=".DialogListActivity"
            android:label="General/Dialog List" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".GlTextureViewActivity"
            android:label="General/GL TextureView" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".FullscreenOverdrawActivity"
            android:label="General/Fullscreen Overdraw" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".InvalidateActivity"
            android:label="General/Invalidate" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".TrivialAnimationActivity"
            android:label="General/Trivial Animation" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".TrivialListActivity"
            android:label="General/Trivial ListView" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".TrivialRecyclerViewActivity"
            android:label="General/Trivial Recycler ListView" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ActivityTransition"
            android:label="Transitions/Activity Transition" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ActivityTransitionDetails"
            android:label="Transitions/Activity Transition " >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <!-- Part of ActivityTransition test above, so not in TEST category -->
            </intent-filter>
        </activity>

        <!-- Rendering -->
        <activity
            android:name=".BitmapUploadActivity"
            android:label="Rendering/Bitmap Upload" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ShadowGridActivity"
            android:label="Rendering/Shadow Grid" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>

        <!-- Inflation -->
        <activity
            android:name=".InflatingListActivity"
            android:label="Inflation/Inflating ListView" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>

        <!-- Text -->
        <activity
            android:name=".EditTextTypeActivity"
            android:label="Text/EditText Typing" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".TextCacheLowHitrateActivity"
            android:label="Text/Layout Cache Low Hitrate" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
        <activity
            android:name=".TextCacheHighHitrateActivity"
            android:label="Text/Layout Cache High Hitrate" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.test.uibench.TEST" />
            </intent-filter>
        </activity>
    </application>
</manifest>
+39 −0
Original line number Diff line number Diff line
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.0'

    }
}

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "22.0.0"

    defaultConfig {
        minSdkVersion 14
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }

    sourceSets {
        main {
            manifest.srcFile 'AndroidManifest.xml'
            java.srcDirs = ['src']
            res.srcDirs = ['res']
        }
    }
}

dependencies {
    // Dependencies enumerated specifically for platform-independent / reproducible builds.
    compile 'com.android.support:support-v4:23.0.1'
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:cardview-v7:23.0.1'
    compile 'com.android.support:recyclerview-v7:23.0.1'
}
+48.7 KiB

File added.

No diff preview for this file type.

Loading