aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/apps/viewer/src/main/res/layout-xlarge-land/activity_main.xml
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-05-07 16:30:01 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-07 21:30:27 +0000
commit4e9e32572529ffc5bb442fe082206df2285261e3 (patch)
treee81897b758b73a6b346945d40abe367b8a125451 /platform_tools/android/apps/viewer/src/main/res/layout-xlarge-land/activity_main.xml
parentd3cee17add2becfa526d6ec7337cdcf72a74e108 (diff)
[viewer] Avoid per-frame json UI updates
The reason we push Json updates for every frame is to support the Android FPS meter - which happens to require the native FPS meter for updates. Instead of supporting two meters: 1) scale up the native FPS widget on Android (1.5x) 2) remove the Android widget 3) stop calling updateUIState() from onPaint() Change-Id: Ica8109869035b2f885743a7e38b50688b69fa5e4 Reviewed-on: https://skia-review.googlesource.com/126621 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'platform_tools/android/apps/viewer/src/main/res/layout-xlarge-land/activity_main.xml')
-rw-r--r--platform_tools/android/apps/viewer/src/main/res/layout-xlarge-land/activity_main.xml13
1 files changed, 0 insertions, 13 deletions
diff --git a/platform_tools/android/apps/viewer/src/main/res/layout-xlarge-land/activity_main.xml b/platform_tools/android/apps/viewer/src/main/res/layout-xlarge-land/activity_main.xml
index b78112dc52..49457c9802 100644
--- a/platform_tools/android/apps/viewer/src/main/res/layout-xlarge-land/activity_main.xml
+++ b/platform_tools/android/apps/viewer/src/main/res/layout-xlarge-land/activity_main.xml
@@ -35,19 +35,6 @@
android:layout_centerVertical="true"
android:layout_centerHorizontal="true" />
</LinearLayout>
-
- <TextView
- android:visibility="invisible"
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:padding="10dp"
- android:background="@android:color/holo_blue_dark"
- android:textColor="@android:color/white"
- android:text=" 100.000ms"
- android:id="@+id/fpsFloatText"
- android:layout_alignParentBottom="true"
- android:layout_alignParentEnd="true" />
</RelativeLayout>
</LinearLayout>