Searched refs:lastListener (Results 1 – 2 of 2) sorted by relevance
233 auto lastListener = GetTextListener(); in Attach() local234 clientInfo_.isNotifyInputStart = lastListener != listener; in Attach()235 if (clientInfo_.isNotifyInputStart && lastListener != nullptr) { in Attach()236 lastListener->OnDetach(); in Attach()238 ClearEditorCache(clientInfo_.isNotifyInputStart, lastListener); in Attach()1021 …InputMethodController::ClearEditorCache(bool isNewEditor, sptr<OnTextChangedListener> lastListener) in ClearEditorCache() argument1024 if (isNewEditor && isBound_.load() && lastListener != nullptr in ClearEditorCache()1027 lastListener->FinishTextPreview(); in ClearEditorCache()
837 void ClearEditorCache(bool isNewEditor, sptr<OnTextChangedListener> lastListener);