Home
last modified time | relevance | path

Searched refs:imm (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/layoutlib/bridge/src/android/view/inputmethod/
DInputMethodManager_Delegate.java40 InputMethodManager imm = InputMethodManager.peekInstance(); in getInstance() local
41 if (imm == null) { in getInstance()
42 imm = new InputMethodManager( in getInstance()
44 InputMethodManager.sInstance = imm; in getInstance()
46 return imm; in getInstance()
/frameworks/base/services/net/java/android/net/apf/
DApfGenerator.java121 void setImm(int imm, boolean signed) { in setImm() argument
123 mImm = imm; in setImm()
125 mImmSize = calculateImmSize(imm, signed); in setImm()
128 void setUnsignedImm(int imm) { in setUnsignedImm() argument
129 setImm(imm, false); in setUnsignedImm()
132 void setSignedImm(int imm) { in setSignedImm() argument
133 setImm(imm, true); in setSignedImm()
288 private byte calculateImmSize(int imm, boolean signed) { in calculateImmSize() argument
289 if (imm == 0) { in calculateImmSize()
292 if (signed && (imm >= -128 && imm <= 127) || in calculateImmSize()
[all …]
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java68 private static InputMethodInfo getMyImi(Context context, InputMethodManager imm) { in getMyImi() argument
69 final List<InputMethodInfo> imis = imm.getInputMethodList(); in getMyImi()
80 Context context, InputMethodManager imm, InputMethodInfo imi) { in getEnabledSubtypesLabel() argument
81 if (context == null || imm == null || imi == null) return null; in getEnabledSubtypesLabel()
82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true); in getEnabledSubtypesLabel()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DButtonActivity.java50 InputMethodManager imm = InputMethodManager.getInstance(); in onCreate()
53 imm.hideSoftInputFromInputMethod(v.getWindowToken(), 0); in onCreate()
60 imm.showSoftInput(v, 0); in onCreate()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64PLT.cpp87 AArch64Relocator::DWord imm = in applyPLT0() local
90 data[1] = helper_reencode_adr_imm(data[1], imm >> 12); in applyPLT0()
127 AArch64Relocator::DWord imm = helper_get_page_address(GOTEntryAddress) - in applyPLT1() local
129 Out[0] = helper_reencode_adr_imm(Out[0], imm >> 12); in applyPLT1()
DAArch64LongBranchStub.cpp96 int64_t imm = static_cast<int64_t>((helper_get_page_address(pDest) - in isValidForADRP() local
98 return ((imm <= AArch64GNULDBackend::MAX_ADRP_IMM) && in isValidForADRP()
99 (imm >= AArch64GNULDBackend::MIN_ADRP_IMM)); in isValidForADRP()
/frameworks/base/tests/net/java/android/net/apf/
DBpf2Apf.java179 int imm = parseImm(line, arg); in convertLine() local
182 gen.addAdd(imm); in convertLine()
185 gen.addAnd(imm); in convertLine()
188 gen.addOr(imm); in convertLine()
191 gen.addAdd(-imm); in convertLine()
/frameworks/base/core/java/android/app/
DSearchDialog.java508 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in hide()
509 if (imm != null) { in hide()
510 imm.hideSoftInputFromWindow( in hide()
645 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in onBackPressed() local
646 if (imm != null && imm.isFullscreenMode() && in onBackPressed()
647 imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0)) { in onBackPressed()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordView.java258 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, in hasMultipleEnabledIMEsOrSubtypes() argument
260 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in hasMultipleEnabledIMEsOrSubtypes()
269 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes()
296 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1; in hasMultipleEnabledIMEsOrSubtypes()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java186 InputMethodManager imm = InputMethodManager.getInstance(); in getWindowSession() local
195 imm.getClient(), imm.getInputContext()); in getWindowSession()
453 InputMethodManager imm = InputMethodManager.getInstance(); in removeViewLocked() local
454 if (imm != null) { in removeViewLocked()
455 imm.windowDismissed(mViews.get(index).getWindowToken()); in removeViewLocked()
DViewRootImpl.java2334 InputMethodManager imm = InputMethodManager.peekInstance(); in performTraversals() local
2335 if (imm != null && imTarget) { in performTraversals()
2336 imm.onPreWindowFocus(mView, hasWindowFocus); in performTraversals()
2337 imm.onPostWindowFocus(mView, mView.findFocus(), in performTraversals()
3867 InputMethodManager imm = InputMethodManager.peekInstance(); in handleMessage() local
3868 if (imm != null && mLastWasImTarget && !isInLocalFocusMode()) { in handleMessage()
3869 imm.onPreWindowFocus(mView, hasWindowFocus); in handleMessage()
3884 if (imm != null && mLastWasImTarget && !isInLocalFocusMode()) { in handleMessage()
3885 imm.onPostWindowFocus(mView, mView.findFocus(), in handleMessage()
3933 InputMethodManager imm = InputMethodManager.peekInstance(); in handleMessage() local
[all …]
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java1150 InputMethodManager imm = InputMethodManager.peekInstance(); in dismissDropDown() local
1151 if (imm != null) { in dismissDropDown()
1152 imm.displayCompletions(this, null); in dismissDropDown()
1235 InputMethodManager imm = InputMethodManager.peekInstance(); in buildImeCompletions() local
1236 if (imm != null) { in buildImeCompletions()
1257 imm.displayCompletions(this, completions); in buildImeCompletions()
DTextView.java2194 InputMethodManager imm = InputMethodManager.peekInstance();
2195 if (imm != null && imm.isActive(this)) {
2196 imm.hideSoftInputFromWindow(getWindowToken(), 0);
2204 InputMethodManager imm = InputMethodManager.peekInstance();
2205 if (imm != null) imm.restartInput(this);
2421 InputMethodManager imm = InputMethodManager.peekInstance();
2422 if (imm != null) imm.restartInput(this);
5330 InputMethodManager imm = InputMethodManager.peekInstance();
5331 if (imm != null) imm.restartInput(this);
5673 InputMethodManager imm = InputMethodManager.peekInstance();
[all …]
DSearchView.java2050 final InputMethodManager imm = in showSoftInputIfNecessary() local
2052 imm.showSoftInput(this, 0); in showSoftInputIfNecessary()
2058 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in setImeVisibility() local
2062 imm.hideSoftInputFromWindow(getWindowToken(), 0); in setImeVisibility()
2066 if (imm.isActive(this)) { in setImeVisibility()
2071 imm.showSoftInput(this, 0); in setImeVisibility()
DEditor.java1584 InputMethodManager imm = InputMethodManager.peekInstance(); in reportExtractedText() local
1585 if (imm != null) { in reportExtractedText()
1605 imm.updateExtractedText(mTextView, req.token, ims.mExtractedText); in reportExtractedText()
1621 final InputMethodManager imm = InputMethodManager.peekInstance(); in sendUpdateSelection() local
1622 if (null != imm) { in sendUpdateSelection()
1634 imm.updateSelection(mTextView, in sendUpdateSelection()
1647 InputMethodManager imm = InputMethodManager.peekInstance(); in onDraw() local
1648 if (imm != null) { in onDraw()
1649 if (imm.isActive(mTextView)) { in onDraw()
2108 final InputMethodManager imm = InputMethodManager.peekInstance(); in startSelectionActionModeInternal() local
[all …]
DTimePickerClockDelegate.java271 InputMethodManager imm = InputMethodManager.peekInstance(); in toggleRadialPickerMode() local
272 if (imm != null) { in toggleRadialPickerMode()
273 imm.hideSoftInputFromWindow(mDelegator.getWindowToken(), 0); in toggleRadialPickerMode()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java417 InputMethodManager imm = InputMethodManager.peekInstance(); in notifySelection() local
418 if (imm != null) { in notifySelection()
419 imm.notifySuggestionPicked(this, original, index); in notifySelection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java585 final InputMethodManager imm = InputMethodManager.getInstance(); in onCreateInputConnection() local
586 if (imm != null) { in onCreateInputConnection()
593 imm.viewClicked(RemoteEditText.this); in onCreateInputConnection()
594 imm.showSoftInput(RemoteEditText.this, 0); in onCreateInputConnection()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java382 InputMethodManager imm = (InputMethodManager) mContext.getSystemService( in ensureImeClosedAndInputFocusCleared() local
384 if (imm.isActive(focused)) { in ensureImeClosedAndInputFocusCleared()
385 imm.hideSoftInputFromWindow(getWindowToken(), 0); in ensureImeClosedAndInputFocusCleared()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java220 final InputMethodManager imm = getInputMethodManager(); in getSummaryString() local
221 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true); in getSummaryString()
/frameworks/base/core/java/android/inputmethodservice/
DExtractEditText.java162 @Override protected void viewClicked(InputMethodManager imm) { in viewClicked() argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1987 final InputMethodManager imm = (InputMethodManager) in showSoftInputIfNecessary() local
1989 imm.showSoftInput(this, 0); in showSoftInputIfNecessary()
1995 final InputMethodManager imm = (InputMethodManager) in setImeVisibility() local
2000 imm.hideSoftInputFromWindow(getWindowToken(), 0); in setImeVisibility()
2004 if (imm.isActive(this)) { in setImeVisibility()
2009 imm.showSoftInput(this, 0); in setImeVisibility()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java420 InputMethodManager imm = (InputMethodManager) getContext().getSystemService( in getInputMethodList() local
422 return imm.getInputMethodList(); in getInputMethodList()
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java506 final InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in getCurrentSpellCheckerSubtype() local
507 if (imm != null) { in getCurrentSpellCheckerSubtype()
509 imm.getCurrentInputMethodSubtype(); in getCurrentSpellCheckerSubtype()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp436 static uint8_t * addVMOV_32(uint8_t *buf, uint32_t dest_q, uint32_t imm) { in addVMOV_32() argument
438 rsAssert(imm == 0); in addVMOV_32()

12