bug:5062896 Added features to TileProfiler, updated jni interface to allow querying of arbitrary log data via strings. Depends on the following webkit change: https://android-git.corp.google.com/g/#change,122779 For new logging jni interface, and logging of invalidates. Change-Id: I80ba6702b87e86ec76e5b0eafde45f4ef3a80ad3
67 lines
2.4 KiB
XML
67 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2011 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:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
<LinearLayout
|
|
android:id="@+id/top"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
>
|
|
<Spinner
|
|
android:id="@+id/movement"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:prompt="@string/movement_method"
|
|
/>
|
|
<Spinner
|
|
android:id="@+id/velocity"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:prompt="@string/desired_scroll_velocity"
|
|
/>
|
|
<ToggleButton
|
|
android:id="@+id/capture"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textOn="@string/capture_stop"
|
|
android:textOff="@string/capture_start"
|
|
/>
|
|
<EditText
|
|
android:id="@+id/url"
|
|
android:layout_width="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textUri"
|
|
android:imeOptions="actionGo"
|
|
android:layout_weight="1"
|
|
/>
|
|
<Button
|
|
android:id="@+id/inspect"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/inspect_log"
|
|
/>
|
|
</LinearLayout>
|
|
<com.test.tilebenchmark.ProfiledWebView
|
|
android:id="@+id/web"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
</LinearLayout>
|