Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: remoting/android/java/src/org/chromium/chromoting/DesktopView.java

Issue 600983002: [Checkstyle] Fix misc style issues in Java files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/android/java/src/org/chromium/chromoting/DesktopView.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
index 94f19a87e5d3bf4751addd1f663964125b4edb14..8d509a6a5b3b6bb4274f59023607168d6fc5a222 100644
--- a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
@@ -98,7 +98,7 @@ public class DesktopView extends SurfaceView implements DesktopViewInterface,
// seamless fading-out effect. The animation needs to have more than one color so it's
// visible over any background color.
float radius = size * progress;
- int alpha = (int)((1 - progress) * 0xff);
+ int alpha = (int) ((1 - progress) * 0xff);
int transparentBlack = Color.argb(0, 0, 0, 0);
int white = Color.argb(alpha, 0xff, 0xff, 0xff);
@@ -370,7 +370,7 @@ public class DesktopView extends SurfaceView implements DesktopViewInterface,
@Override
public void showKeyboard() {
InputMethodManager inputManager =
- (InputMethodManager)getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
+ (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
inputManager.showSoftInput(this, 0);
}

Powered by Google App Engine
This is Rietveld 408576698