Searched refs:ImeUtil (Results 1 – 12 of 12) sorted by relevance
25 public class ImeUtil { class32 void registerImeStateObserver(ImeUtil.ImeStateObserver observer); in registerImeStateObserver()33 void unregisterImeStateObserver(ImeUtil.ImeStateObserver observer); in unregisterImeStateObserver()37 private static volatile ImeUtil sInstance;44 public static ImeUtil get() { in get()46 synchronized (ImeUtil.class) { in get()48 sInstance = new ImeUtil(); in get()56 public static void set(final ImeUtil imeUtil) { in set()
86 ImeUtil.hideSoftInput(activity, composeView); in promptToChangeDefaultSmsApp()
31 import com.android.messaging.util.ImeUtil;43 public class BugleActionBarActivity extends ActionBarActivity implements ImeUtil.ImeStateHost {45 private final Set<ImeUtil.ImeStateObserver> mImeStateObservers = new HashSet<>();155 for (final ImeUtil.ImeStateObserver observer : mImeStateObservers) { in onDisplayHeightChanged()162 public void registerImeStateObserver(final ImeUtil.ImeStateObserver observer) { in registerImeStateObserver()167 public void unregisterImeStateObserver(final ImeUtil.ImeStateObserver observer) { in unregisterImeStateObserver()
23 import com.android.messaging.util.ImeUtil;42 if (measuredHeight != getMeasuredHeight() && getContext() instanceof ImeUtil.ImeStateHost) { in onMeasure()43 ((ImeUtil.ImeStateHost) getContext()).onDisplayHeightChanged(heightMeasureSpec); in onMeasure()
28 import com.android.messaging.util.ImeUtil;60 ImeUtil.get().hideImeKeyboard(mContext, view); in createView()
36 import com.android.messaging.util.ImeUtil;37 import com.android.messaging.util.ImeUtil.ImeStateHost;45 @Spy protected ImeUtil spyImeUtil;62 spyImeUtil = Mockito.spy(new ImeUtil()); in setUp()63 ImeUtil.set(spyImeUtil); in setUp()
40 import com.android.messaging.util.ImeUtil;61 private ImeUtil mSpiedImeUtil;73 ImeUtil.clearInstance(); in setUp()74 mSpiedImeUtil = Mockito.spy(new ImeUtil()); in setUp()
40 import com.android.messaging.util.ImeUtil;59 @Mock protected ImeUtil mockImeUtil;
39 import com.android.messaging.util.ImeUtil;40 import com.android.messaging.util.ImeUtil.ImeStateHost;97 private final ImeUtil.ImeStateObserver mImeStateObserver = new ImeUtil.ImeStateObserver() {540 ImeUtil.get().showImeKeyboard(mContext, mSink.getComposeEditText()); in show()546 ImeUtil.get().hideImeKeyboard(mContext, mSink.getComposeEditText()); in hide()
99 import com.android.messaging.util.ImeUtil;120 public interface ConversationFragmentHost extends ImeUtil.ImeStateHost {1217 ImeUtil.hideSoftInput(getActivity(), mComposeMessageView); in promptForSelfPhoneNumber()
61 import com.android.messaging.util.ImeUtil;242 ImeUtil.get().showImeKeyboard(getActivity(), mRecipientTextView); in onMenuItemClick()334 ImeUtil.get().showImeKeyboard(activity, mRecipientTextView); in showImeKeyboard()
57 import com.android.messaging.util.ImeUtil;200 ImeUtil.get().hideImeKeyboard(getActivity(), mRecyclerView); in onCreateView()