Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io.flutter.plugin.editing.TextInputPluginTest.TestImm Class Reference
Inheritance diagram for io.flutter.plugin.editing.TextInputPluginTest.TestImm:

Public Member Functions

 TestImm ()
 
InputMethodSubtype getCurrentInputMethodSubtype ()
 
void restartInput (View view)
 
void setCurrentInputMethodSubtype (InputMethodSubtype inputMethodSubtype)
 
int getRestartCount (View view)
 
void setEventHandler (EventHandler eventHandler)
 
void sendAppPrivateCommand (View view, String action, Bundle data)
 
void updateCursorAnchorInfo (View view, CursorAnchorInfo cursorAnchorInfo)
 
void updateSelection (View view, int selStart, int selEnd, int candidatesStart, int candidatesEnd)
 
void setTrackSelection (boolean val)
 
ArrayList< Integer > getSelectionUpdateValues ()
 
CursorAnchorInfo getLastCursorAnchorInfo ()
 

Detailed Description

Definition at line 2384 of file TextInputPluginTest.java.

Constructor & Destructor Documentation

◆ TestImm()

io.flutter.plugin.editing.TextInputPluginTest.TestImm.TestImm ( )
inline

Definition at line 2392 of file TextInputPluginTest.java.

2392 {
2393 selectionUpdateValues = new ArrayList<Integer>();
2394 }

Member Function Documentation

◆ getCurrentInputMethodSubtype()

InputMethodSubtype io.flutter.plugin.editing.TextInputPluginTest.TestImm.getCurrentInputMethodSubtype ( )
inline

Definition at line 2397 of file TextInputPluginTest.java.

2397 {
2398 return currentInputMethodSubtype;
2399 }

◆ getLastCursorAnchorInfo()

CursorAnchorInfo io.flutter.plugin.editing.TextInputPluginTest.TestImm.getLastCursorAnchorInfo ( )
inline

Definition at line 2451 of file TextInputPluginTest.java.

2451 {
2452 return cursorAnchorInfo;
2453 }

◆ getRestartCount()

int io.flutter.plugin.editing.TextInputPluginTest.TestImm.getRestartCount ( View  view)
inline

Definition at line 2411 of file TextInputPluginTest.java.

2411 {
2412 return restartCounter.get(view.hashCode(), /*defaultValue=*/ 0);
2413 }

◆ getSelectionUpdateValues()

ArrayList< Integer > io.flutter.plugin.editing.TextInputPluginTest.TestImm.getSelectionUpdateValues ( )
inline

Definition at line 2447 of file TextInputPluginTest.java.

2447 {
2448 return selectionUpdateValues;
2449 }

◆ restartInput()

void io.flutter.plugin.editing.TextInputPluginTest.TestImm.restartInput ( View  view)
inline

Definition at line 2402 of file TextInputPluginTest.java.

2402 {
2403 int count = restartCounter.get(view.hashCode(), /*defaultValue=*/ 0) + 1;
2404 restartCounter.put(view.hashCode(), count);
2405 }
int count

◆ sendAppPrivateCommand()

void io.flutter.plugin.editing.TextInputPluginTest.TestImm.sendAppPrivateCommand ( View  view,
String  action,
Bundle  data 
)
inline

Definition at line 2420 of file TextInputPluginTest.java.

2420 {
2421 handler.sendAppPrivateCommand(view, action, data);
2422 }
void sendAppPrivateCommand(View view, String action, Bundle data)

◆ setCurrentInputMethodSubtype()

void io.flutter.plugin.editing.TextInputPluginTest.TestImm.setCurrentInputMethodSubtype ( InputMethodSubtype  inputMethodSubtype)
inline

Definition at line 2407 of file TextInputPluginTest.java.

2407 {
2408 this.currentInputMethodSubtype = inputMethodSubtype;
2409 }

◆ setEventHandler()

void io.flutter.plugin.editing.TextInputPluginTest.TestImm.setEventHandler ( EventHandler  eventHandler)
inline

Definition at line 2415 of file TextInputPluginTest.java.

2415 {
2416 handler = eventHandler;
2417 }

◆ setTrackSelection()

void io.flutter.plugin.editing.TextInputPluginTest.TestImm.setTrackSelection ( boolean  val)
inline

Definition at line 2442 of file TextInputPluginTest.java.

2442 {
2443 trackSelection = val;
2444 }

◆ updateCursorAnchorInfo()

void io.flutter.plugin.editing.TextInputPluginTest.TestImm.updateCursorAnchorInfo ( View  view,
CursorAnchorInfo  cursorAnchorInfo 
)
inline

Definition at line 2425 of file TextInputPluginTest.java.

2425 {
2426 this.cursorAnchorInfo = cursorAnchorInfo;
2427 }

◆ updateSelection()

void io.flutter.plugin.editing.TextInputPluginTest.TestImm.updateSelection ( View  view,
int  selStart,
int  selEnd,
int  candidatesStart,
int  candidatesEnd 
)
inline

Definition at line 2431 of file TextInputPluginTest.java.

2432 {
2433 if (trackSelection) {
2434 this.selectionUpdateValues.add(selStart);
2435 this.selectionUpdateValues.add(selEnd);
2436 this.selectionUpdateValues.add(candidatesStart);
2437 this.selectionUpdateValues.add(candidatesEnd);
2438 }
2439 }

The documentation for this class was generated from the following file: