From ff9e30f5a386aebb7f6653ece716b0e13c11e2b5 Mon Sep 17 00:00:00 2001 From: Kurt Partridge Date: Tue, 14 Aug 2012 17:04:48 -0700 Subject: [PATCH] [Rlog10] ResearchLogger change visible indicator to just lines on the side (Note: Rlog9 was abandoned). Change-Id: I69de4116e33d3c79216e25efe2ad2bcb2780b0ff --- java/src/com/android/inputmethod/research/ResearchLogger.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/research/ResearchLogger.java b/java/src/com/android/inputmethod/research/ResearchLogger.java index 38c30017d..c8e1b8c32 100644 --- a/java/src/com/android/inputmethod/research/ResearchLogger.java +++ b/java/src/com/android/inputmethod/research/ResearchLogger.java @@ -643,7 +643,8 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang final float savedStrokeWidth = paint.getStrokeWidth(); if (IS_SHOWING_INDICATOR_CLEARLY) { paint.setStrokeWidth(5); - canvas.drawRect(0, 0, width, height, paint); + canvas.drawLine(0, 0, 0, height, paint); + canvas.drawLine(width, 0, width, height, paint); } else { // Put a tiny red dot on the screen so a knowledgeable user can check whether // it is enabled. The dot is actually a zero-width, zero-height rectangle,