Searched refs:imm (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/
H A DInputMethodManager_Delegate.java40 InputMethodManager imm = InputMethodManager.peekInstance();
41 if (imm == null) {
42 imm = new InputMethodManager(
44 InputMethodManager.sInstance = imm;
46 return imm;
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DButtonActivity.java50 InputMethodManager imm = InputMethodManager.getInstance();
53 imm.hideSoftInputFromInputMethod(v.getWindowToken(), 0);
60 imm.showSoftInput(v, 0);
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsImpl.java68 private static InputMethodInfo getMyImi(Context context, InputMethodManager imm) { argument
69 final List<InputMethodInfo> imis = imm.getInputMethodList();
80 Context context, InputMethodManager imm, InputMethodInfo imi) {
81 if (context == null || imm == null || imi == null) return null;
82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true);
79 getEnabledSubtypesLabel( Context context, InputMethodManager imm, InputMethodInfo imi) argument
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LongBranchStub.cpp96 int64_t imm = static_cast<int64_t>((helper_get_page_address(pDest) - local
98 return ((imm <= AArch64GNULDBackend::MAX_ADRP_IMM) &&
99 (imm >= AArch64GNULDBackend::MIN_ADRP_IMM));
H A DAArch64PLT.cpp87 AArch64Relocator::DWord imm = local
90 data[1] = helper_reencode_adr_imm(data[1], imm >> 12);
127 AArch64Relocator::DWord imm = helper_get_page_address(GOTEntryAddress) - local
129 Out[0] = helper_reencode_adr_imm(Out[0], imm >> 12);
/frameworks/base/services/net/java/android/net/apf/
H A DApfGenerator.java121 void setImm(int imm, boolean signed) { argument
123 mImm = imm;
125 mImmSize = calculateImmSize(imm, signed);
128 void setUnsignedImm(int imm) { argument
129 setImm(imm, false);
132 void setSignedImm(int imm) { argument
133 setImm(imm, true);
288 private byte calculateImmSize(int imm, boolean signed) { argument
289 if (imm == 0) {
292 if (signed && (imm >
[all...]
/frameworks/base/services/tests/servicestests/src/android/net/apf/
H A DBpf2Apf.java179 int imm = parseImm(line, arg);
182 gen.addAdd(imm);
185 gen.addAnd(imm);
188 gen.addOr(imm);
191 gen.addAdd(-imm);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPasswordView.java230 * @param imm The input method manager
234 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, argument
236 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList();
245 imm.getEnabledInputMethodSubtypeList(imi, true);
270 // imm.getEnabledInputMethodSubtypeList(null, false) will return the current IME's enabled
272 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java428 final InputMethodManager imm = InputMethodManager.getInstance();
429 imm.hideSoftInputFromWindow(getWindowToken(), 0);
449 final InputMethodManager imm = InputMethodManager.getInstance();
450 if (imm != null) {
457 imm.viewClicked(RemoteEditText.this);
458 imm.showSoftInput(RemoteEditText.this, 0);
/frameworks/base/core/java/android/app/
H A DSearchDialog.java508 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class);
509 if (imm != null) {
510 imm.hideSoftInputFromWindow(
645 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class);
646 if (imm != null && imm.isFullscreenMode() &&
647 imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0)) {
/frameworks/base/core/java/android/view/
H A DWindowManagerGlobal.java184 InputMethodManager imm = InputMethodManager.getInstance();
193 imm.getClient(), imm.getInputContext());
441 InputMethodManager imm = InputMethodManager.getInstance();
442 if (imm != null) {
443 imm.windowDismissed(mViews.get(index).getWindowToken());
H A DViewRootImpl.java2186 InputMethodManager imm = InputMethodManager.peekInstance();
2187 if (imm != null && imTarget) {
2188 imm.onPreWindowFocus(mView, hasWindowFocus);
2189 imm.onPostWindowFocus(mView, mView.findFocus(),
3592 InputMethodManager imm = InputMethodManager.peekInstance();
3593 if (imm != null && mLastWasImTarget && !isInLocalFocusMode()) {
3594 imm.onPreWindowFocus(mView, hasWindowFocus);
3605 if (imm != null && mLastWasImTarget && !isInLocalFocusMode()) {
3606 imm.onPostWindowFocus(mView, mView.findFocus(),
3650 InputMethodManager imm
[all...]
H A DView.java6161 InputMethodManager imm = InputMethodManager.peekInstance();
6166 if (imm != null && mAttachInfo != null
6168 imm.focusOut(this);
6171 } else if (imm != null && mAttachInfo != null
6173 imm.focusIn(this);
10187 InputMethodManager imm = InputMethodManager.peekInstance();
10192 if (imm != null && (mPrivateFlags & PFLAG_FOCUSED) != 0) {
10193 imm.focusOut(this);
10198 } else if (imm != null && (mPrivateFlags & PFLAG_FOCUSED) != 0) {
10199 imm
[all...]
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java1148 InputMethodManager imm = InputMethodManager.peekInstance();
1149 if (imm != null) {
1150 imm.displayCompletions(this, null);
1233 InputMethodManager imm = InputMethodManager.peekInstance();
1234 if (imm != null) {
1255 imm.displayCompletions(this, completions);
H A DTextView.java1603 InputMethodManager imm = InputMethodManager.peekInstance();
1604 if (imm != null && imm.isActive(this)) {
1605 imm.hideSoftInputFromWindow(getWindowToken(), 0);
1613 InputMethodManager imm = InputMethodManager.peekInstance();
1614 if (imm != null) imm.restartInput(this);
1830 InputMethodManager imm = InputMethodManager.peekInstance();
1831 if (imm != null) imm
9868 viewClicked(InputMethodManager imm) argument
[all...]
H A DSearchView.java168 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class);
170 if (imm != null) {
171 imm.showSoftInputUnchecked(0, null);
973 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class);
975 if (imm != null) {
976 imm.hideSoftInputFromWindow(getWindowToken(), 0);
H A DEditor.java1287 final InputMethodManager imm = InputMethodManager.peekInstance();
1573 InputMethodManager imm = InputMethodManager.peekInstance();
1574 if (imm != null) {
1590 imm.updateExtractedText(mTextView, req.token, ims.mExtractedText);
1606 final InputMethodManager imm = InputMethodManager.peekInstance();
1607 if (null != imm) {
1619 imm.updateSelection(mTextView,
1632 InputMethodManager imm = InputMethodManager.peekInstance();
1633 if (imm != null) {
1634 if (imm
[all...]
/frameworks/base/core/java/android/text/style/
H A DSuggestionSpan.java417 InputMethodManager imm = InputMethodManager.peekInstance();
418 if (imm != null) {
419 imm.notifySuggestionPicked(this, original, index);
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java162 @Override protected void viewClicked(InputMethodManager imm) { argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java382 InputMethodManager imm = (InputMethodManager) mContext.getSystemService(
384 if (imm.isActive(focused)) {
385 imm.hideSoftInputFromWindow(getWindowToken(), 0);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java190 InputMethodManager imm = (InputMethodManager)
193 if (imm != null) {
194 HIDDEN_METHOD_INVOKER.showSoftInputUnchecked(imm, SearchView.this, 0);
1011 InputMethodManager imm = (InputMethodManager)
1014 if (imm != null) {
1015 imm.hideSoftInputFromWindow(getWindowToken(), 0);
2074 void showSoftInputUnchecked(InputMethodManager imm, View view, int flags) { argument
2077 showSoftInputUnchecked.invoke(imm, flags, null);
2084 imm.showSoftInput(view, flags);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DAppRestrictionsHelper.java271 InputMethodManager imm = (InputMethodManager)
273 List<InputMethodInfo> imis = imm.getInputMethodList();
/frameworks/base/services/core/java/com/android/server/
H A DTextServicesManagerService.java482 final InputMethodManager imm = mContext.getSystemService(InputMethodManager.class);
483 if (imm != null) {
485 imm.getCurrentInputMethodSubtype();
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicColorMatrix.cpp439 static uint8_t * addVMOV_32(uint8_t *buf, uint32_t dest_q, uint32_t imm) {
440 //vmov.32 Q#1, #imm
441 rsAssert(imm == 0);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java584 InputMethodManager imm = getSystemService(InputMethodManager.class);
585 imm.hideSoftInputFromWindow(mDestinationSpinner.getWindowToken(), 0);
1813 InputMethodManager imm = (InputMethodManager)
1815 imm.showSoftInput(mPageRangeEditText, 0);

Completed in 966 milliseconds

12