Home
last modified time | relevance | path

Searched refs:ImeUtil (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DImeUtil.java25 public class ImeUtil { class
32 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()
DChangeDefaultSmsAppHelper.java86 ImeUtil.hideSoftInput(activity, composeView); in promptToChangeDefaultSmsApp()
/packages/apps/Messaging/src/com/android/messaging/ui/
DBugleActionBarActivity.java31 import com.android.messaging.util.ImeUtil;
43 public class BugleActionBarActivity extends AppCompatActivity 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()
DImeDetectFrameLayout.java23 import com.android.messaging.util.ImeUtil;
42 if (measuredHeight != getMeasuredHeight() && getContext() instanceof ImeUtil.ImeStateHost) { in onMeasure()
43 ((ImeUtil.ImeStateHost) getContext()).onDisplayHeightChanged(heightMeasureSpec); in onMeasure()
DCustomHeaderPagerListViewHolder.java28 import com.android.messaging.util.ImeUtil;
60 ImeUtil.get().hideImeKeyboard(mContext, view); in createView()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationInputManagerTest.java36 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()
DConversationFragmentTest.java41 import com.android.messaging.util.ImeUtil;
62 private ImeUtil mSpiedImeUtil;
74 ImeUtil.clearInstance(); in setUp()
75 mSpiedImeUtil = Mockito.spy(new ImeUtil()); in setUp()
DComposeMessageViewTest.java43 import com.android.messaging.util.ImeUtil;
62 @Mock protected ImeUtil mockImeUtil;
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInputManager.java39 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()
DConversationFragment.java100 import com.android.messaging.util.ImeUtil;
121 public interface ConversationFragmentHost extends ImeUtil.ImeStateHost {
1227 ImeUtil.hideSoftInput(getActivity(), mComposeMessageView); in promptForSelfPhoneNumber()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactPickerFragment.java61 import com.android.messaging.util.ImeUtil;
242 ImeUtil.get().showImeKeyboard(getActivity(), mRecipientTextView); in onMenuItemClick()
334 ImeUtil.get().showImeKeyboard(activity, mRecipientTextView); in showImeKeyboard()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java57 import com.android.messaging.util.ImeUtil;
200 ImeUtil.get().hideImeKeyboard(getActivity(), mRecyclerView); in onCreateView()