diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-07-13 17:48:30 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-07-13 18:36:46 -0700 |
commit | d76b67c340d1564abf8d14d976fdaf83bf2b3320 (patch) | |
tree | 59c0fff396681a622480a84f4f9c74d188970a11 /core/java/com/android | |
parent | fd03582995e0fce963dd0fa0669e3211b74c0dd7 (diff) | |
download | frameworks_base-d76b67c340d1564abf8d14d976fdaf83bf2b3320.zip frameworks_base-d76b67c340d1564abf8d14d976fdaf83bf2b3320.tar.gz frameworks_base-d76b67c340d1564abf8d14d976fdaf83bf2b3320.tar.bz2 |
IME events are now dispatched to native applications.
And also:
- APIs to show and hide the IME, and control its interaction with the app.
- APIs to tell the app when its window resizes and needs to be redrawn.
- API to tell the app the content rectangle of its window (to layout
around the IME or status bar).
There is still a problem with IME interaction -- we need a way for the
app to deliver events to the IME before it handles them, so that for
example the back key will close the IME instead of finishing the app.
Change-Id: I37b75fc2ec533750ef36ca3aedd2f0cc0b5813cd
Diffstat (limited to 'core/java/com/android')
-rw-r--r-- | core/java/com/android/internal/view/RootViewSurfaceTaker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/view/RootViewSurfaceTaker.java b/core/java/com/android/internal/view/RootViewSurfaceTaker.java index 7ff8d4c..9c1b558 100644 --- a/core/java/com/android/internal/view/RootViewSurfaceTaker.java +++ b/core/java/com/android/internal/view/RootViewSurfaceTaker.java @@ -5,7 +5,7 @@ import android.view.SurfaceHolder; /** hahahah */ public interface RootViewSurfaceTaker { - SurfaceHolder.Callback willYouTakeTheSurface(); + SurfaceHolder.Callback2 willYouTakeTheSurface(); void setSurfaceType(int type); void setSurfaceFormat(int format); void setSurfaceKeepScreenOn(boolean keepOn); |