Searched refs:code (Results 1 - 25 of 97) sorted by relevance

1234

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnEvent.java77 * 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/apps/DocumentsUI/src/com/android/documentsui/
H A DActionModeAddons.java25 void finishOnConfirmed(int code); argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardStateTestsBase.java84 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 DMockKeyboardSwitcher.java161 public void onPressKey(final int code, final boolean isSinglePointer) { argument
162 mState.onPressKey(code, isSinglePointer, mAutoCapsState,
166 public void onReleaseKey(final int code, final boolean withSliding) { argument
167 onReleaseKey(code, withSliding, mAutoCapsState, RecapitalizeStatus.NOT_A_RECAPITALIZE_MODE);
170 public void onReleaseKey(final int code, final boolean withSliding, argument
172 mState.onReleaseKey(code, withSliding, currentAutoCapsState, currentRecapitalizeState);
173 if (mLongPressTimeoutCode == code) {
178 public void onCodeInput(final int code) { argument
180 if (Constants.isLetterCode(code)) {
181 mAutoCapsState = (code
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DStopRequestException.java50 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/LatinIME/java/src/com/android/inputmethod/compat/
H A DCharacterCompat.java31 public static boolean isAlphabetic(final int code) { argument
33 return (Boolean)CompatUtils.invoke(null, false, METHOD_isAlphabetic, code);
35 switch (Character.getType(code)) {
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
H A DTestActionModeAddons.java31 public void finishOnConfirmed(int code) { argument
32 finishOnConfirmed.accept(code);
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/error/
H A Derror.h55 //! Error code of parsing.
90 \code
106 ParseResult(ParseErrorCode code, size_t offset) : code_(code), offset_(offset) {} argument
108 //! Get the error code.
119 bool operator==(ParseErrorCode code) const { return code_ == code; }
120 friend bool operator==(ParseErrorCode code, const ParseResult & err) { return code == err.code_; } argument
122 //! Reset error code
125 Set(ParseErrorCode code, size_t offset = 0) argument
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
H A DKeyboardLayoutSetNavigateMoreKeysBase.java79 private void doTestMoreKeysOf(final int code, final InputMethodSubtype subtype, argument
88 final Key actualKey = keyboard.getKey(code);
120 private void doTestNavigationMoreKeysOf(final int code, final InputMethodSubtype subtype, argument
123 doTestMoreKeysOf(code, subtype, elementId, inputType,
127 doTestMoreKeysOf(code, subtype, elementId, inputType,
131 doTestMoreKeysOf(code, subtype, elementId, inputType,
135 doTestMoreKeysOf(code, subtype, elementId, inputType,
139 doTestMoreKeysOf(code, subtype, elementId, inputType,
143 doTestMoreKeysOf(code, subtype, elementId, inputType,
147 doTestMoreKeysOf(code, subtyp
174 doTestNavigationWithEmojiMoreKeysOf(final int code, final InputMethodSubtype subtype, final int elementId, final int inputType) argument
229 doTestNoNavigationMoreKeysOf(final int code, final InputMethodSubtype subtype, final int elementId, final int inputType) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSpacingAndPunctuations.java47 // To be able to binary search the code point. See {@link #isUsuallyPrecededBySpace(int)}.
50 // To be able to binary search the code point. See {@link #isUsuallyFollowedBySpace(int)}.
55 // To be able to binary search the code point. See {@link #isWordConnector(int)}.
95 public boolean isWordSeparator(final int code) { argument
96 return Arrays.binarySearch(mSortedWordSeparators, code) >= 0;
99 public boolean isWordConnector(final int code) { argument
100 return Arrays.binarySearch(mSortedWordConnectors, code) >= 0;
103 public boolean isWordCodePoint(final int code) { argument
104 return Character.isLetter(code) || isWordConnector(code);
107 isUsuallyPrecededBySpace(final int code) argument
111 isUsuallyFollowedBySpace(final int code) argument
115 isClusteringSymbol(final int code) argument
119 isSentenceTerminator(final int code) argument
123 isAbbreviationMarker(final int code) argument
127 isSentenceSeparator(final int code) argument
[all...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestConfirmationCallback.java35 public void accept(int code) { argument
37 mLastValue = code;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DKeyboardListPreferenceJAJP.java26 * 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/apps/DocumentsUI/src/com/android/documentsui/base/
H A DConfirmationCallback.java38 void accept(@Result int code); argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DProfileAwareUriMatcher.java58 * @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);
86 PROFILE_URIS.add(code);
93 PROFILE_URI_ID_MAP.put(code, i);
96 PROFILE_URI_LOOKUP_KEY_MAP.put(code, i);
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DActionService.java43 public void scheduleAction(final Action action, final int code, argument
45 ActionServiceImpl.scheduleAction(action, code, delayMs);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DTypingTimeRecorder.java41 public void onCodeInput(final int code, final long eventTime) { argument
46 if (Character.isLetter(code)) {
H A DKeyboardState.java353 public void onPressKey(final int code, final boolean isSinglePointer, final int autoCapsFlags, argument
356 Log.d(TAG, "onPressKey: code=" + Constants.printableCode(code)
360 if (code != Constants.CODE_SHIFT) {
365 if (code == Constants.CODE_SHIFT) {
367 } else if (code == Constants.CODE_CAPSLOCK) {
369 } else if (code == Constants.CODE_SWITCH_ALPHA_SYMBOL) {
393 public void onReleaseKey(final int code, final boolean withSliding, final int autoCapsFlags, argument
396 Log.d(TAG, "onReleaseKey: code=" + Constants.printableCode(code)
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DAudioAndHapticFeedbackManager.java61 public void performHapticAndAudioFeedback(final int code, argument
64 performAudioFeedback(code);
85 public void performAudioFeedback(final int code) { argument
94 switch (code) {
H A DPunctuationSuggestions.java74 final int code = KeySpecParser.getCode(keySpec);
75 return (code == Constants.CODE_OUTPUT_TEXT)
77 : StringUtils.newSingleCodePointString(code);
/packages/services/Car/libvehiclemonitor/include/
H A DIVehicleMonitorListener.h43 virtual status_t onTransact(uint32_t code,
/packages/services/Car/libvehiclemonitor/native/
H A DIVehicleMonitorListener.cpp58 status_t BnVehicleMonitorListener::onTransact(uint32_t code, const Parcel& data, Parcel* reply, argument
61 switch (code) {
75 return BBinder::onTransact(code, data, reply, flags);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DKeyCodeDescriptionMapper.java94 final int code = key.getCode();
96 if (code == Constants.CODE_SWITCH_ALPHA_SYMBOL) {
103 if (code == Constants.CODE_SHIFT) {
107 if (code == Constants.CODE_ENTER) {
113 if (code == Constants.CODE_OUTPUT_TEXT) {
120 if (code != Constants.CODE_UNSPECIFIED) {
122 final boolean isDefinedNonCtrl = Character.isDefined(code)
123 && !Character.isISOControl(code);
127 final String description = getDescriptionForCodePoint(context, code);
141 * key or {@code nul
292 getSpokenAccentedLetterDescription(final Context context, final int code) argument
307 getSpokenSymbolDescription(final Context context, final int code) argument
321 getSpokenEmojiDescription(final Context context, final int code) argument
334 getSpokenDescriptionId(final Context context, final int code, final String resourceNameFormat) argument
[all...]
/packages/services/Car/service/src/com/android/car/hal/
H A DInputHalService.java117 int code = v.value.int32Values.get(1);
120 Log.i(CarLog.TAG_INPUT, "hal event code:" + code + ", action:" + action +
124 dispatchKeyEvent(listener, action, code, display);
128 private void dispatchKeyEvent(InputListener listener, int action, int code, int display) { argument
132 mKeyDownTimes.put(code, eventTime);
136 ? mKeyDownTimes.get(code, eventTime) : eventTime;
142 code,
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DExpectedKeyOutput.java29 * There are two types of expected output, an integer code point and a string output text.
32 static ExpectedKeyOutput newInstance(final int code) { argument
33 return new Code(code);
37 // If the <code>outputText</code> is one code point string, use {@link CodePoint} object.
52 * This class represents an integer code point.
55 // UNICODE code point or a special negative value defined in {@link Constants}.
58 Code(final int code) { mCode = code; } argument
104 CasePreservedCode(final int code) argument
[all...]
/packages/providers/CallLogProvider/
H A DAndroid.mk9 # The Jacoco tool analyzes code coverage when running unit tests on the
11 # leaving out code which is tested by other means (e.g. static libraries) that

Completed in 819 milliseconds

1234