Searched defs:code (Results 1 - 17 of 17) sorted by relevance

/packages/apps/Mms/src/org/w3c/dom/events/
H A DEventException.java16 * 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/apps/Nfc/src/com/android/nfc/
H A DErrorCodes.java26 public static boolean isError(int code) { argument
27 if (code < 0) {
/packages/apps/Settings/src/com/android/settings/
H A DAppWidgetPickActivity.java231 * Convenience method for setting the result code and intent. This method
235 void setResultData(int code, Intent intent) { argument
238 setResult(code, result);
/packages/providers/DownloadProvider/tests/src/tests/http/
H A DMockResponse.java51 public MockResponse setResponseCode(int code) { argument
52 this.status = "HTTP/1.1 " + code + " OK";
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DEditingUtil.java170 private static boolean isWhitespace(int code, String whitespace) { argument
171 return whitespace.contains(String.valueOf((char) code));
H A DExpandableDictionary.java30 * There is difference between what java and native code can handle.
53 char code; field in class:ExpandableDictionary.Node
155 if (childNode.code == c) {
162 childNode.code = c;
259 final char c = node.code;
377 if (childNode.code == c) {
384 childNode.code = c;
453 sb.insert(0, node.code);
475 if (node.code == currentChar) {
H A DLatinKeyboard.java679 final int code = key.codes[0];
680 if (code == KEYCODE_SHIFT ||
681 code == KEYCODE_DELETE) {
683 if (code == KEYCODE_SHIFT) x += key.width / 6;
684 if (code == KEYCODE_DELETE) x -= key.width / 6;
685 } else if (code == LatinIME.KEYCODE_SPACE) {
715 if (mPrefLetter == code && !key.isInsideSuper(x, y)) {
719 return mPrefLetter == code;
726 if (inPrefList(code, pref)) {
728 mPrefLetter = code;
787 inPrefList(int code, int[] pref) argument
811 indexOf(int code) argument
[all...]
H A DLatinIME.java1149 private boolean isAlphabet(int code) { argument
1150 if (Character.isLetter(code)) {
1271 mKeyboardSwitcher.onKey(0); // dummy key code.
2219 public boolean isWordSeparator(int code) { argument
2221 return separators.contains(String.valueOf((char)code));
2224 private boolean isSentenceSeparator(int code) { argument
2225 return mSentenceSeparators.contains(String.valueOf((char)code));
2536 private boolean isSuggestedPunctuation(int code) { argument
2537 return mSuggestPuncs.contains(String.valueOf((char)code));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/
H A DVoiceInputLogger.java157 public void error(int code) { argument
160 i.putExtra(LoggingEvents.VoiceIme.EXTRA_ERROR_CODE, code);
/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}.
171 * To get words from the list, use {@code GET_WORD} event.
178 * Get a word from top of the list made by {@code LIST_WORDS_IN_USER_DICTIONARY}.
227 /** Event code */
228 public int code = UNDEFINED; field in class:OpenWnnEvent
243 /** Error code */
249 * @param code Th
251 OpenWnnEvent(int code) argument
260 OpenWnnEvent(int code, int mode) argument
270 OpenWnnEvent(int code, char c) argument
281 OpenWnnEvent(int code, char c[]) argument
291 OpenWnnEvent(int code, String[] toggleTable) argument
301 OpenWnnEvent(int code, HashMap<?,?> replaceTable) argument
326 OpenWnnEvent(int code, KeyEvent ev) argument
336 OpenWnnEvent(int code, WnnWord word) argument
348 OpenWnnEvent(int code, int dict, WnnWord word) argument
[all...]
/packages/inputmethods/PinyinIME/jni/share/
H A Dngram.cpp37 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/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperPreview.java60 static void showPreview(Activity activity, int code, Intent intent, WallpaperInfo info) { argument
65 activity.startActivityForResult(preview, code);
/packages/apps/Email/src/com/android/exchange/
H A DAbstractSyncService.java204 * repetitive code.
206 public void userLog(String string, int code, String string2) { argument
208 userLog(string + code + string2);
212 public void userLog(String string, int code) { argument
214 userLog(string + code);
H A DEasSyncService.java179 // MSFT's custom HTTP result code indicating the need to provision
342 * Determine whether an HTTP code represents an authentication error
343 * @param code the HTTP code returned by the server
344 * @return whether or not the code represents an authentication error
346 protected boolean isAuthError(int code) { argument
347 return (code == HttpStatus.SC_UNAUTHORIZED) || (code == HttpStatus.SC_FORBIDDEN);
351 * Determine whether an HTTP code represents a provisioning error
352 * @param code th
355 isProvisionError(int code) argument
[all...]
/packages/apps/Nfc/jni/
H A Dcom_android_nfc.cpp375 //Display status code
381 NFCSTATUS code; member in struct:android::status_entry
432 if (sNameTable[i].code == PHNFCSTATUS(status))
/packages/apps/Email/src/com/android/exchange/adapter/
H A DContactsSyncAdapter.java252 String code; field in class:ContactsSyncAdapter.Address
257 return city != null || country != null || code != null || state != null
446 work.code = getValue();
461 home.code = getValue();
476 other.code = getValue();
602 work.state, work.country, work.code);
606 home.state, home.country, home.code);
610 other.state, other.country, other.code);
1313 String country, String code) {
1320 cvCompareString(cv, StructuredPostal.POSTCODE, code)
1312 addPostal(Entity entity, int type, String street, String city, String state, String country, String code) argument
[all...]
/packages/apps/Calculator/
H A Darity-2.1.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/javia/ org/javia/arity/ org/javia/arity/Compiler ...

Completed in 398 milliseconds