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

Side by Side Diff: remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java

Issue 110963003: Fixing all Java import ordering issues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ReBaSe Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chromoting.jni; 5 package org.chromium.chromoting.jni;
6 6
7 import android.app.Activity; 7 import android.app.Activity;
8 import android.app.AlertDialog; 8 import android.app.AlertDialog;
9 import android.app.ProgressDialog; 9 import android.app.ProgressDialog;
10 import android.content.Context; 10 import android.content.Context;
11 import android.content.DialogInterface; 11 import android.content.DialogInterface;
12 import android.content.SharedPreferences; 12 import android.content.SharedPreferences;
13 import android.graphics.Bitmap; 13 import android.graphics.Bitmap;
14 import android.graphics.Point; 14 import android.graphics.Point;
15 import android.os.Looper; 15 import android.os.Looper;
16 import android.text.InputType;
17 import android.util.Log; 16 import android.util.Log;
18 import android.view.KeyEvent; 17 import android.view.KeyEvent;
19 import android.view.View; 18 import android.view.View;
20 import android.view.inputmethod.EditorInfo;
21 import android.widget.CheckBox; 19 import android.widget.CheckBox;
22 import android.widget.TextView; 20 import android.widget.TextView;
23 import android.widget.Toast; 21 import android.widget.Toast;
24 22
25 import org.chromium.base.CalledByNative; 23 import org.chromium.base.CalledByNative;
26 import org.chromium.base.JNINamespace; 24 import org.chromium.base.JNINamespace;
27 import org.chromium.chromoting.R; 25 import org.chromium.chromoting.R;
28 26
29 import java.nio.ByteBuffer; 27 import java.nio.ByteBuffer;
30 import java.nio.ByteOrder; 28 import java.nio.ByteOrder;
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 buffer.asIntBuffer().get(data, 0, data.length); 392 buffer.asIntBuffer().get(data, 0, data.length);
395 sCursorBitmap = Bitmap.createBitmap(data, width, height, Bitmap.Config.A RGB_8888); 393 sCursorBitmap = Bitmap.createBitmap(data, width, height, Bitmap.Config.A RGB_8888);
396 } 394 }
397 395
398 /** Position of cursor hotspot within cursor image. Called on the graphics t hread. */ 396 /** Position of cursor hotspot within cursor image. Called on the graphics t hread. */
399 public static Point getCursorHotspot() { return sCursorHotspot; } 397 public static Point getCursorHotspot() { return sCursorHotspot; }
400 398
401 /** Returns the current cursor shape. Called on the graphics thread. */ 399 /** Returns the current cursor shape. Called on the graphics thread. */
402 public static Bitmap getCursorBitmap() { return sCursorBitmap; } 400 public static Bitmap getCursorBitmap() { return sCursorBitmap; }
403 } 401 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698