| OLD | NEW |
| 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; | 5 package org.chromium.chromoting; |
| 6 | 6 |
| 7 import android.content.Context; | 7 import android.content.Context; |
| 8 import android.graphics.Point; | 8 import android.graphics.Point; |
| 9 import android.text.InputType; | 9 import android.text.InputType; |
| 10 import android.view.MotionEvent; | 10 import android.view.MotionEvent; |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 /** | 145 /** |
| 146 * Informs the view that its transformation matrix (for rendering the remote
desktop bitmap) | 146 * Informs the view that its transformation matrix (for rendering the remote
desktop bitmap) |
| 147 * has been changed by the TouchInputHandler, which requires repainting. | 147 * has been changed by the TouchInputHandler, which requires repainting. |
| 148 */ | 148 */ |
| 149 public abstract void transformationChanged(); | 149 public abstract void transformationChanged(); |
| 150 | 150 |
| 151 /** | 151 /** |
| 152 * Informs the view that the cursor has been moved by the TouchInputHandler,
which requires | 152 * Informs the view that the cursor has been moved by the TouchInputHandler,
which requires |
| 153 * repainting. | 153 * repainting. |
| 154 */ | 154 */ |
| 155 public abstract void cursorMoved(); | 155 public abstract void cursorMoved(boolean followedByViewportMove); |
| 156 | 156 |
| 157 /** | 157 /** |
| 158 * Informs the view that the cursor visibility has been changed (for differe
nt input mode) by | 158 * Informs the view that the cursor visibility has been changed (for differe
nt input mode) by |
| 159 * the TouchInputHandler, which requires repainting. | 159 * the TouchInputHandler, which requires repainting. |
| 160 */ | 160 */ |
| 161 public abstract void cursorVisibilityChanged(); | 161 public abstract void cursorVisibilityChanged(); |
| 162 | 162 |
| 163 /** | 163 /** |
| 164 * Starts or stops an animation. Whilst the animation is running, the Deskto
pView will | 164 * Starts or stops an animation. Whilst the animation is running, the Deskto
pView will |
| 165 * periodically call TouchInputHandler.processAnimation() and repaint itself
. | 165 * periodically call TouchInputHandler.processAnimation() and repaint itself
. |
| 166 */ | 166 */ |
| 167 public abstract void setAnimationEnabled(boolean enabled); | 167 public abstract void setAnimationEnabled(boolean enabled); |
| 168 } | 168 } |
| OLD | NEW |