/packages/apps/Mms/src/org/w3c/dom/events/ |
H A D | EventException.java | 16 * Event operations may throw an <code>EventException</code> as specified in 22 public EventException(short code, String message) { argument 24 this.code = code; 26 public short code; field in class:EventException 29 * If the <code>Event</code>'s type was not specified by initializing the 31 * as <code>null</code> o [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | OpenWnnEvent.java | 77 * This event input specified character({@code chars}) into the cursor position. 84 * This event changes a character at cursor position with specified rule({@code toggleMap}). 97 * This event processes a {@code keyEvent}. 104 * This event processes a {@code keyEvent}. 176 * To get words from the list, use {@code GET_WORD} event. 183 * Get a word from top of the list made by {@code LIST_WORDS_IN_USER_DICTIONARY}. 262 /** Event code */ 263 public int code = UNDEFINED; field in class:OpenWnnEvent 278 /** Error code */ 284 * @param code Th 286 OpenWnnEvent(int code) argument 295 OpenWnnEvent(int code, int mode) argument 305 OpenWnnEvent(int code, char c) argument 316 OpenWnnEvent(int code, char c[]) argument 326 OpenWnnEvent(int code, String[] toggleTable) argument 336 OpenWnnEvent(int code, HashMap<?,?> replaceTable) argument 361 OpenWnnEvent(int code, KeyEvent ev) argument 371 OpenWnnEvent(int code, WnnWord word) argument 383 OpenWnnEvent(int code, int dict, WnnWord word) argument [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyboardStateTestsBase.java | 84 private void pressKeyWithoutTimerExpire(final int code, final boolean isSinglePointer, argument 86 mSwitcher.onPressKey(code, isSinglePointer); 93 * @param code the key code to press. 96 public void pressKey(final int code, final int afterPress) { argument 98 pressKeyWithoutTimerExpire(code, true, afterPress); 104 * @param code the key code to release and register 107 public void releaseKey(final int code, final int afterRelease) { argument 108 mSwitcher.onCodeInput(code); 120 pressAndReleaseKey(final int code, final int afterPress, final int afterRelease) argument 131 chordingPressKey(final int code, final int afterPress) argument 142 chordingReleaseKey(final int code, final int afterRelease) argument 155 chordingPressAndReleaseKey(final int code, final int afterPress, final int afterRelease) argument 168 pressAndSlideFromKey(final int code, final int afterPress, final int afterSlide) argument 181 stopSlidingOnKey(final int code, final int afterPress, final int afterSlide) argument 237 secondPressKey(final int code, final int afterPress) argument 248 secondPressAndReleaseKey(final int code, final int afterPress, final int afterRelease) argument [all...] |
H A D | MockKeyboardSwitcher.java | 159 public void onPressKey(final int code, final boolean isSinglePointer) { argument 160 mState.onPressKey(code, isSinglePointer, mAutoCapsState); 163 public void onReleaseKey(final int code, final boolean withSliding) { argument 164 mState.onReleaseKey(code, withSliding); 165 if (mLongPressTimeoutCode == code) { 170 public void onCodeInput(final int code) { argument 172 if (Constants.isLetterCode(code)) { 173 mAutoCapsState = (code == MockConstants.CODE_AUTO_CAPS_TRIGGER) 179 mState.onCodeInput(code, mAutoCapsState);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | StopRequestException.java | 50 public static StopRequestException throwUnhandledHttpError(int code, String message) argument 52 final String error = "Unhandled HTTP response: " + code + " " + message; 53 if (code >= 400 && code < 600) { 54 throw new StopRequestException(code, error); 55 } else if (code >= 300 && code < 400) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | KeyboardListPreferenceJAJP.java | 26 * This class notices to {@code OpenWnnJAJP} that the keyboard image is changed. 46 int code = OpenWnnEvent.CHANGE_INPUT_VIEW; 47 OpenWnnEvent ev = new OpenWnnEvent(code);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | LatinImeLoggerUtils.java | 30 public static void onNonSeparator(final char code, final int x, final int y) { argument 31 UserLogRingCharBuffer.getInstance().push(code, x, y); 35 public static void onSeparator(final int code, final int x, final int y) { argument 36 // Helper method to log a single code point separator 37 // TODO: cache this mapping of a code point to a string in a sparse array in StringUtils 38 onSeparator(new String(new int[]{code}, 0, 1), x, y); 45 // TODO: accept code points 57 // TODO: this fails when the separator is more than 1 code point long, but
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ProfileAwareUriMatcher.java | 58 * @param code the code to match for the root URI 60 public ProfileAwareUriMatcher(int code) { argument 61 super(code); 65 public void addURI(String authority, String path, int code) { argument 66 super.addURI(authority, path, code); 80 PROFILE_URIS.add(code); 87 PROFILE_URI_ID_MAP.put(code, i); 90 PROFILE_URI_LOOKUP_KEY_MAP.put(code, i);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | Keyboard.java | 138 public boolean hasProximityCharsCorrection(final int code) { argument 142 // Note: The native code has the main keyboard layout only at this moment. 147 return canAssumeNativeHasProximityCharsInfoOfAllKeys || Character.isLetter(code); 167 public Key getKey(final int code) { argument 168 if (code == Constants.CODE_UNSPECIFIED) { 172 final int index = mKeyCache.indexOfKey(code); 178 if (key.getCode() == code) { 179 mKeyCache.put(code, key); 183 mKeyCache.put(code, null);
|
H A D | KeyDetector.java | 111 // To take care of hitbox overlaps, we compare key's code here too. 128 for (final int code : codes) { 129 if (code == Constants.NOT_A_CODE) break; 131 sb.append(Constants.printableCode(code));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | AudioAndHapticFeedbackManager.java | 60 public void performHapticAndAudioFeedback(final int code, argument 63 performAudioFeedback(code); 84 public void performAudioFeedback(final int code) { argument 91 switch (code) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyboardState.java | 333 public void onPressKey(final int code, final boolean isSinglePointer, final int autoCaps) { argument 335 Log.d(TAG, "onPressKey: code=" + Constants.printableCode(code) 338 if (code != Constants.CODE_SHIFT) { 343 if (code == Constants.CODE_SHIFT) { 345 } else if (code == Constants.CODE_CAPSLOCK) { 347 } else if (code == Constants.CODE_SWITCH_ALPHA_SYMBOL) { 370 public void onReleaseKey(final int code, final boolean withSliding) { argument 372 Log.d(TAG, "onReleaseKey: code=" + Constants.printableCode(code) 592 onCodeInput(final int code, final int autoCaps) argument [all...] |
H A D | MoreKeySpec.java | 36 final int code = KeySpecParser.toUpperCaseOfCodeForLocale( 38 if (code == Constants.CODE_UNSPECIFIED) { 44 mCode = code;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
H A D | KeyCodeDescriptionMapper.java | 87 * <li>Automatic or manually-defined based on the key code</li> 89 * <li>{code null} for keys with no label or key code defined</li> 100 final int code = key.getCode(); 102 if (code == Constants.CODE_SWITCH_ALPHA_SYMBOL) { 109 if (code == Constants.CODE_SHIFT) { 113 if (code == Constants.CODE_ENTER) { 137 * key or {@code null} if there is not a description provided for the 250 * the specified key is pressed based on its key code. 252 * The order of precedence for key code description [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactListFilter.java | 126 int code = filterType; 128 code = code * 31 + accountType.hashCode(); 129 code = code * 31 + accountName.hashCode(); 132 code = code * 31 + dataSet.hashCode(); 134 return code; 258 * Adds the account query parameters to the given {@code uriBuilder}.
|
/packages/providers/ContactsProvider/ |
H A D | Android.mk | 15 # The Emma tool analyzes code coverage when running unit tests on the 17 # leaving out code which is tested by other means (e.g. static libraries) that 22 # The Emma tool analyzes code coverage when running unit tests on the 24 # leaving out code which is tested by other means (e.g. static libraries) that
|
/packages/inputmethods/PinyinIME/jni/share/ |
H A D | ngram.cpp | 37 inline double distance(double freq, double code) { argument 38 // return fabs(freq - code); 39 return freq * fabs(log(freq) - log(code)); 42 // Find the index of the code value which is nearest to the given freq 93 for (size_t code = 0; code < kCodeBookSize; code++) { 94 assert(item_num[code] > 0); 95 code_book[code] = cb_new[code] / item_nu [all...] |
/packages/apps/Email/emailsync/src/com/android/emailsync/ |
H A D | AbstractSyncService.java | 100 * @return a Bundle containing a result code and, depending on the result, a PolicySet or an 130 * @return a Bundle containing a result code and, depending on the result, a PolicySet or an 192 * repetitive code. 194 public void userLog(String string, int code, String string2) { argument 196 userLog(string + code + string2); 200 public void userLog(String string, int code) { argument 202 userLog(string + code); 265 // TODO: Create common code for this test in emailcommon
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
H A D | MoreSuggestionsView.java | 62 public void onCodeInput(final int code, final int x, final int y) { argument 70 final int index = code - MoreSuggestions.SUGGESTION_CODE_BASE;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | Policy.java | 283 int code = mRequireEncryption ? 1 : 0; 284 code += (mRequireEncryptionExternal ? 1 : 0) << 1; 285 code += (mRequireRemoteWipe ? 1 : 0) << 2; 286 code += (mMaxScreenLockTime << 3); 287 code += (mPasswordComplexChars << 6); 288 code += (mPasswordExpirationDays << 12); 289 code += (mPasswordHistory << 15); 290 code += (mPasswordMaxFails << 18); 291 code += (mPasswordMinLength << 22); 292 code 388 appendPolicy(StringBuilder sb, String code, int value) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifData.java | 232 byte[] code = new byte[8]; 233 System.arraycopy(buf, 0, code, 0, 8); 236 if (Arrays.equals(code, USER_COMMENT_ASCII)) { 238 } else if (Arrays.equals(code, USER_COMMENT_JIS)) { 240 } else if (Arrays.equals(code, USER_COMMENT_UNICODE)) {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifData.java | 232 byte[] code = new byte[8]; 233 System.arraycopy(buf, 0, code, 0, 8); 236 if (Arrays.equals(code, USER_COMMENT_ASCII)) { 238 } else if (Arrays.equals(code, USER_COMMENT_JIS)) { 240 } else if (Arrays.equals(code, USER_COMMENT_UNICODE)) {
|
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
H A D | ExifData.java | 232 byte[] code = new byte[8]; 233 System.arraycopy(buf, 0, code, 0, 8); 236 if (Arrays.equals(code, USER_COMMENT_ASCII)) { 238 } else if (Arrays.equals(code, USER_COMMENT_JIS)) { 240 } else if (Arrays.equals(code, USER_COMMENT_UNICODE)) {
|
/packages/apps/Mms/src/com/android/mms/exif/ |
H A D | ExifData.java | 232 byte[] code = new byte[8]; 233 System.arraycopy(buf, 0, code, 0, 8); 236 if (Arrays.equals(code, USER_COMMENT_ASCII)) { 238 } else if (Arrays.equals(code, USER_COMMENT_JIS)) { 240 } else if (Arrays.equals(code, USER_COMMENT_UNICODE)) {
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | NotificationPlayer.java | 49 int code; field in class:NotificationPlayer.Command 59 return "{ code=" + code + " looping=" + looping + " stream=" + stream 172 switch (cmd.code) { 276 cmd.code = PLAY; 299 cmd.code = STOP;
|