public class InputMethodService extends AbstractInputMethodService
| Modifier and Type | Class and Description |
|---|---|
class |
InputMethodService.InputMethodImpl |
class |
InputMethodService.InputMethodSessionImpl |
static class |
InputMethodService.Insets |
AbstractInputMethodService.AbstractInputMethodImpl, AbstractInputMethodService.AbstractInputMethodSessionImpl| Modifier and Type | Field and Description |
|---|---|
static int |
BACK_DISPOSITION_DEFAULT |
static int |
BACK_DISPOSITION_WILL_DISMISS |
static int |
BACK_DISPOSITION_WILL_NOT_DISMISS |
START_CONTINUATION_MASK, START_FLAG_REDELIVERY, START_FLAG_RETRY, START_NOT_STICKY, START_REDELIVER_INTENT, START_STICKY, START_STICKY_COMPATIBILITYACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_ROUTER_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, STORAGE_SERVICE, TELEPHONY_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, UI_MODE_SERVICE, USB_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICETRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN| Constructor and Description |
|---|
InputMethodService() |
getKeyDispatcherState, onBindgetApplication, onLowMemory, onRebind, onStart, onStartCommand, onTaskRemoved, onTrimMemory, onUnbind, startForeground, stopForeground, stopSelf, stopSelf, stopSelfResultattachBaseContext, bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalFilesDir, getFilesDir, getFileStreamPath, getMainLooper, getObbDir, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getSystemService, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setWallpaper, setWallpaper, startActivities, startActivities, startActivity, startActivity, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceivergetString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, unregisterComponentCallbackspublic static final int BACK_DISPOSITION_DEFAULT
public static final int BACK_DISPOSITION_WILL_NOT_DISMISS
public static final int BACK_DISPOSITION_WILL_DISMISS
public void setTheme(int theme)
setTheme in class ContextWrapperpublic void onInitializeInterface()
public void onConfigurationChanged(Configuration newConfig)
onConfigurationChanged in interface ComponentCallbacksonConfigurationChanged in class Servicepublic AbstractInputMethodService.AbstractInputMethodImpl onCreateInputMethodInterface()
onCreateInputMethodInterface in class AbstractInputMethodServicepublic AbstractInputMethodService.AbstractInputMethodSessionImpl onCreateInputMethodSessionInterface()
onCreateInputMethodSessionInterface in class AbstractInputMethodServicepublic LayoutInflater getLayoutInflater()
public Dialog getWindow()
public void setBackDisposition(int disposition)
public int getBackDisposition()
public int getMaxWidth()
public InputBinding getCurrentInputBinding()
public InputConnection getCurrentInputConnection()
public boolean getCurrentInputStarted()
public EditorInfo getCurrentInputEditorInfo()
public void updateFullscreenMode()
public void onConfigureWindow(Window win, boolean isFullscreen, boolean isCandidatesOnly)
public boolean isFullscreenMode()
public boolean onEvaluateFullscreenMode()
public void setExtractViewShown(boolean shown)
public boolean isExtractViewShown()
public void onComputeInsets(InputMethodService.Insets outInsets)
public void updateInputViewShown()
public boolean isShowInputRequested()
public boolean isInputViewShown()
public boolean onEvaluateInputViewShown()
public void setCandidatesViewShown(boolean shown)
public int getCandidatesHiddenVisibility()
public void showStatusIcon(int iconResId)
public void hideStatusIcon()
public void switchInputMethod(String id)
public void setExtractView(View view)
public void setCandidatesView(View view)
public void setInputView(View view)
public View onCreateExtractTextView()
public View onCreateCandidatesView()
public View onCreateInputView()
public void onStartInputView(EditorInfo info, boolean restarting)
public void onFinishInputView(boolean finishingInput)
public void onStartCandidatesView(EditorInfo info, boolean restarting)
public void onFinishCandidatesView(boolean finishingInput)
public boolean onShowInputRequested(int flags,
boolean configChange)
public void showWindow(boolean showInput)
public void hideWindow()
public void onWindowShown()
public void onWindowHidden()
public void onBindInput()
public void onUnbindInput()
public void onStartInput(EditorInfo attribute, boolean restarting)
public void onFinishInput()
public void onDisplayCompletions(CompletionInfo[] completions)
public void onUpdateExtractedText(int token,
ExtractedText text)
public void onUpdateSelection(int oldSelStart,
int oldSelEnd,
int newSelStart,
int newSelEnd,
int candidatesStart,
int candidatesEnd)
public void onViewClicked(boolean focusChanged)
public void onUpdateCursor(Rect newCursor)
public void requestHideSelf(int flags)
public boolean onKeyDown(int keyCode,
KeyEvent event)
public boolean onKeyLongPress(int keyCode,
KeyEvent event)
public boolean onKeyMultiple(int keyCode,
int count,
KeyEvent event)
public boolean onKeyUp(int keyCode,
KeyEvent event)
public boolean onTrackballEvent(MotionEvent event)
onTrackballEvent in class AbstractInputMethodServicepublic void sendDownUpKeyEvents(int keyEventCode)
public boolean sendDefaultEditorAction(boolean fromEnterKey)
public void sendKeyChar(char charCode)
public void onExtractedSelectionChanged(int start,
int end)
public void onExtractedTextClicked()
public void onExtractedCursorMovement(int dx,
int dy)
public boolean onExtractTextContextMenuItem(int id)
public CharSequence getTextForImeAction(int imeOptions)
public void onUpdateExtractingVisibility(EditorInfo ei)
public void onUpdateExtractingViews(EditorInfo ei)
public void onExtractingInputChanged(EditorInfo ei)
protected void onCurrentInputMethodSubtypeChanged(InputMethodSubtype newSubtype)
protected void dump(FileDescriptor fd, PrintWriter fout, String[] args)
dump in class AbstractInputMethodServiceCopyright © 2008-2013. All Rights Reserved.