/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | OpenWnnEvent.java | 263 public int code = UNDEFINED; field in OpenWnnEvent 286 public OpenWnnEvent(int code) { in OpenWnnEvent() argument 287 this.code = code; in OpenWnnEvent() 295 public OpenWnnEvent(int code, int mode) { in OpenWnnEvent() argument 296 this.code = code; in OpenWnnEvent() 305 public OpenWnnEvent(int code, char c) { in OpenWnnEvent() argument 306 this.code = code; in OpenWnnEvent() 316 public OpenWnnEvent(int code, char c[]) { in OpenWnnEvent() argument 317 this.code = code; in OpenWnnEvent() 326 public OpenWnnEvent(int code, String[] toggleTable) { in OpenWnnEvent() argument [all …]
|
D | OpenWnnEN.java | 408 switch (ev.code) { in onEvent() 473 if (ev.code == OpenWnnEvent.INPUT_SOFT_KEY && mInputConnection != null) { in onEvent() 481 if (ev.code == OpenWnnEvent.LIST_CANDIDATES_FULL) { in onEvent() 484 } else if (ev.code == OpenWnnEvent.LIST_CANDIDATES_NORMAL) { in onEvent() 490 switch (ev.code) { in onEvent() 500 mPreviousEventCode = ev.code; in onEvent() 530 mPreviousEventCode = ev.code; in onEvent() 538 int code = keyEvent.getKeyCode(); in onEvent() local 539 if (code == KeyEvent.KEYCODE_ENTER || keyCode == KeyEvent.KEYCODE_NUMPAD_ENTER) { in onEvent() 543 mInputConnection.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_UP, code)); in onEvent() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardStateTestsBase.java | 68 private void pressKeyWithoutTimerExpire(int code, boolean isSinglePointer, int afterPress) { in pressKeyWithoutTimerExpire() argument 69 mSwitcher.onPressKey(code, isSinglePointer); in pressKeyWithoutTimerExpire() 73 public void pressKey(int code, int afterPress) { in pressKey() argument 75 pressKeyWithoutTimerExpire(code, true, afterPress); in pressKey() 78 public void releaseKey(int code, int afterRelease) { in releaseKey() argument 79 mSwitcher.onCodeInput(code, SINGLE); in releaseKey() 80 mSwitcher.onReleaseKey(code, NOT_SLIDING); in releaseKey() 84 public void pressAndReleaseKey(int code, int afterPress, int afterRelease) { in pressAndReleaseKey() argument 85 pressKey(code, afterPress); in pressAndReleaseKey() 86 releaseKey(code, afterRelease); in pressAndReleaseKey() [all …]
|
D | MockKeyboardSwitcher.java | 143 public void startLongPressTimer(int code) { in startLongPressTimer() argument 144 mLongPressTimeoutCode = code; in startLongPressTimer() 153 public void hapticAndAudioFeedback(int code) { in hapticAndAudioFeedback() argument 157 public void onLongPressTimeout(int code) { in onLongPressTimeout() argument 159 if (mLongPressTimeoutCode == code) { in onLongPressTimeout() 161 mState.onLongPressTimeout(code); in onLongPressTimeout() 177 public void onPressKey(int code, boolean isSinglePointer) { in onPressKey() argument 178 mState.onPressKey(code, isSinglePointer, mAutoCapsState); in onPressKey() 181 public void onReleaseKey(int code, boolean withSliding) { in onReleaseKey() argument 182 mState.onReleaseKey(code, withSliding); in onReleaseKey() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardState.java | 61 public void startLongPressTimer(int code); in startLongPressTimer() argument 63 public void hapticAndAudioFeedback(int code); in hapticAndAudioFeedback() argument 303 public void onPressKey(int code, boolean isSinglePointer, int autoCaps) { in onPressKey() argument 305 Log.d(TAG, "onPressKey: code=" + Keyboard.printableCode(code) in onPressKey() 309 ResearchLogger.keyboardState_onPressKey(code, this); in onPressKey() 311 if (code == Keyboard.CODE_SHIFT) { in onPressKey() 313 } else if (code == Keyboard.CODE_SWITCH_ALPHA_SYMBOL) { in onPressKey() 339 public void onReleaseKey(int code, boolean withSliding) { in onReleaseKey() argument 341 Log.d(TAG, "onReleaseKey: code=" + Keyboard.printableCode(code) in onReleaseKey() 345 ResearchLogger.keyboardState_onReleaseKey(this, code, withSliding); in onReleaseKey() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ProfileAwareUriMatcher.java | 60 public ProfileAwareUriMatcher(int code) { in ProfileAwareUriMatcher() argument 61 super(code); in ProfileAwareUriMatcher() 65 public void addURI(String authority, String path, int code) { in addURI() argument 66 super.addURI(authority, path, code); in addURI() 80 PROFILE_URIS.add(code); in addURI() 87 PROFILE_URI_ID_MAP.put(code, i); in addURI() 90 PROFILE_URI_LOOKUP_KEY_MAP.put(code, i); in addURI()
|
/packages/apps/Mms/src/org/w3c/dom/events/ |
D | EventException.java | 22 public EventException(short code, String message) { in EventException() argument 24 this.code = code; in EventException() 26 public short code; field in EventException
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | KeyCodeDescriptionMapper.java | 96 final int code = key.mCode; in getDescriptionForKey() local 98 if (code == Keyboard.CODE_SWITCH_ALPHA_SYMBOL) { in getDescriptionForKey() 104 if (code == Keyboard.CODE_SHIFT) { in getDescriptionForKey() 108 if (code == Keyboard.CODE_ACTION_ENTER) { in getDescriptionForKey() 268 final int code = key.mCode; in getDescriptionForKeyCode() local 271 final boolean isDefinedNonCtrl = Character.isDefined(code) && !Character.isISOControl(code); in getDescriptionForKeyCode() 276 if (mKeyCodeMap.containsKey(code)) { in getDescriptionForKeyCode() 277 return context.getString(mKeyCodeMap.get(code)); in getDescriptionForKeyCode() 279 return Character.toString((char) code); in getDescriptionForKeyCode() 283 return context.getString(R.string.spoken_description_unknown, code); in getDescriptionForKeyCode()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | EasResponse.java | 83 public static boolean isAuthError(int code) { in isAuthError() argument 84 return (code == HttpStatus.SC_UNAUTHORIZED) || (code == HttpStatus.SC_FORBIDDEN); in isAuthError() 92 public static boolean isProvisionError(int code) { in isProvisionError() argument 93 return (code == HTTP_NEED_PROVISIONING) || (code == HttpStatus.SC_FORBIDDEN); in isProvisionError()
|
D | patent_disclaimer.txt | 4 Google makes no representation or warranty that the source code made available hereunder is 5 unencumbered by third-party patents. Those intending to use this source code in hardware or 6 software products are advised that implementations of this code, including in open source software
|
D | EasSyncService.java | 448 int code = resp.getStatus(); in validateAccount() local 449 userLog("Validation (OPTIONS) response: " + code); in validateAccount() 450 if (code == HttpStatus.SC_OK) { in validateAccount() 481 code = resp.getStatus(); in validateAccount() 483 if (code == HttpStatus.SC_FORBIDDEN) { in validateAccount() 487 } else if (EasResponse.isProvisionError(code)) { in validateAccount() 490 } else if (code == HttpStatus.SC_NOT_FOUND) { in validateAccount() 493 } else if (code == HttpStatus.SC_UNAUTHORIZED) { in validateAccount() 497 } else if (code != HttpStatus.SC_OK) { in validateAccount() 498 if ((code == EAS_REDIRECT_CODE) && (mRedirectCount++ < MAX_REDIRECTS) && in validateAccount() [all …]
|
D | EasAccountService.java | 258 int code = resp.getStatus(); in sync() local 259 userLog("OPTIONS response: ", code); in sync() 260 if (code == HttpStatus.SC_OK) { in sync() 288 … } else if (code == EAS_REDIRECT_CODE && canHandleAccountMailboxRedirect(resp)) { in sync() 321 int code = resp.getStatus(); in sync() local 322 if (code == HttpStatus.SC_OK) { in sync() 331 } else if (EasResponse.isProvisionError(code)) { in sync() 333 } else if (EasResponse.isAuthError(code)) { in sync() 336 } else if (code == EAS_REDIRECT_CODE && canHandleAccountMailboxRedirect(resp)) { in sync() 340 userLog("FolderSync response error: ", code); in sync() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardSwitcher.java | 202 public void onPressKey(int code) { in onPressKey() argument 204 mLatinIME.hapticAndAudioFeedback(code); in onPressKey() 206 mState.onPressKey(code, isSinglePointer(), mLatinIME.getCurrentAutoCapsState()); in onPressKey() 209 public void onReleaseKey(int code, boolean withSliding) { in onReleaseKey() argument 210 mState.onReleaseKey(code, withSliding); in onReleaseKey() 295 public void startLongPressTimer(int code) { in startLongPressTimer() argument 299 timer.startLongPressTimer(code); in startLongPressTimer() 315 public void hapticAndAudioFeedback(int code) { in hapticAndAudioFeedback() argument 316 mLatinIME.hapticAndAudioFeedback(code); in hapticAndAudioFeedback() 319 public void onLongPressTimeout(int code) { in onLongPressTimeout() argument [all …]
|
D | PointerTracker.java | 78 public void startLongPressTimer(int code); in startLongPressTimer() argument 95 public void startLongPressTimer(int code) {} in startLongPressTimer() argument 269 final int code = altersCode ? key.mAltCode : primaryCode; in callListenerOnCodeInput() local 271 Log.d(TAG, "onCodeInput: " + Keyboard.printableCode(code) + " text=" + key.mOutputText in callListenerOnCodeInput() 278 altersCode, code); in callListenerOnCodeInput() 285 if (code == Keyboard.CODE_OUTPUT_TEXT) { in callListenerOnCodeInput() 287 } else if (code != Keyboard.CODE_UNSPECIFIED) { in callListenerOnCodeInput() 288 mListener.onCodeInput(code, x, y); in callListenerOnCodeInput() 762 int code = key.mCode; in detectAndSendKey() local 763 callListenerOnCodeInput(key, code, x, y); in detectAndSendKey() [all …]
|
D | KeyDetector.java | 111 for (final int code : codes) { in printableCodes() 112 if (code == NOT_A_CODE) break; in printableCodes() 114 sb.append(Keyboard.printableCode(code)); in printableCodes()
|
/packages/inputmethods/PinyinIME/jni/share/ |
D | ngram.cpp | 37 inline double distance(double freq, double code) { in distance() argument 39 return freq * fabs(log(freq) - log(code)); in distance() 93 for (size_t code = 0; code < kCodeBookSize; code++) { in recalculate_kernel() local 94 assert(item_num[code] > 0); in recalculate_kernel() 95 code_book[code] = cb_new[code] / item_num[code]; in recalculate_kernel()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 126 int code = filterType; in hashCode() local 128 code = code * 31 + accountType.hashCode(); in hashCode() 129 code = code * 31 + accountName.hashCode(); in hashCode() 132 code = code * 31 + dataSet.hashCode(); in hashCode() 134 return code; in hashCode()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Policy.java | 280 int code = mRequireEncryption ? 1 : 0; in hashCode() local 281 code += (mRequireEncryptionExternal ? 1 : 0) << 1; in hashCode() 282 code += (mRequireRemoteWipe ? 1 : 0) << 2; in hashCode() 283 code += (mMaxScreenLockTime << 3); in hashCode() 284 code += (mPasswordComplexChars << 6); in hashCode() 285 code += (mPasswordExpirationDays << 12); in hashCode() 286 code += (mPasswordHistory << 15); in hashCode() 287 code += (mPasswordMaxFails << 18); in hashCode() 288 code += (mPasswordMinLength << 22); in hashCode() 289 code += (mPasswordMode << 26); in hashCode() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | patent_disclaimer.txt | 4 Google makes no representation or warranty that the source code made available hereunder is 5 unencumbered by third-party patents. Those intending to use this source code in hardware or 6 software products are advised that implementations of this code, including in open source software
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | patent_disclaimer.txt | 4 Google makes no representation or warranty that the source code made available hereunder is 5 unencumbered by third-party patents. Those intending to use this source code in hardware or 6 software products are advised that implementations of this code, including in open source software
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | SettingsValues.java | 194 public boolean isWordSeparator(int code) { in isWordSeparator() argument 195 return mWordSeparators.contains(String.valueOf((char)code)); in isWordSeparator() 198 public boolean isSymbolExcludedFromWordSeparators(int code) { in isSymbolExcludedFromWordSeparators() argument 199 return mSymbolsExcludedFromWordSeparators.contains(String.valueOf((char)code)); in isSymbolExcludedFromWordSeparators() 202 public boolean isWeakSpaceStripper(int code) { in isWeakSpaceStripper() argument 204 return mWeakSpaceStrippers.contains(String.valueOf((char)code)); in isWeakSpaceStripper() 207 public boolean isWeakSpaceSwapper(int code) { in isWeakSpaceSwapper() argument 209 return mWeakSpaceSwappers.contains(String.valueOf((char)code)); in isWeakSpaceSwapper() 212 public boolean isPhantomSpacePromotingSymbol(int code) { in isPhantomSpacePromotingSymbol() argument 214 return mPhantomSpacePromotingSymbols.contains(String.valueOf((char)code)); in isPhantomSpacePromotingSymbol()
|
D | ResearchLogger.java | 304 public void logKeyEvent(final int code, final int x, final int y) { in logKeyEvent() argument 306 sb.append(Keyboard.printableCode(code)); in logKeyEvent() 447 final int code, final boolean isSinglePointer, final int autoCaps, in keyboardState_onCodeInput() argument 450 final String s = "onCodeInput: code=" + Keyboard.printableCode(code) in keyboardState_onCodeInput() 457 public static void keyboardState_onLongPressTimeout(final int code, in keyboardState_onLongPressTimeout() argument 460 final String s = "onLongPressTimeout: code=" + Keyboard.printableCode(code) + " " in keyboardState_onLongPressTimeout() 466 public static void keyboardState_onPressKey(final int code, in keyboardState_onPressKey() argument 469 final String s = "onPressKey: code=" + Keyboard.printableCode(code) + " " in keyboardState_onPressKey() 475 public static void keyboardState_onReleaseKey(final KeyboardState keyboardState, final int code, in keyboardState_onReleaseKey() argument 478 final String s = "onReleaseKey: code=" + Keyboard.printableCode(code) in keyboardState_onReleaseKey() [all …]
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | NotificationPlayer.java | 50 int code; field in NotificationPlayer.Command 60 return "{ code=" + code + " looping=" + looping + " stream=" + stream in toString() 173 switch (cmd.code) { in run() 277 cmd.code = PLAY; in play() 300 cmd.code = STOP; in stop()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | KeyboardListPreferenceJAJP.java | 46 int code = OpenWnnEvent.CHANGE_INPUT_VIEW; in onDialogClosed() local 47 OpenWnnEvent ev = new OpenWnnEvent(code); in onDialogClosed()
|
/packages/inputmethods/OpenWnn/ |
D | README.txt | 27 . IME native library source code (C) 29 . IME source code (Java) 61 libs/ IME native library source code (C language) 119 src/ IME source code (Java)
|