/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | SuggestionSpanPickedNotificationReceiver.java | 36 final String after = intent.getStringExtra( 38 Log.d(TAG, "Received notification picked: " + before + "," + after);
|
H A D | LatinImeLogger.java | 48 String before, String after, int position, SuggestedWords suggestedWords) { 52 String before, String after, int separatorCode) { 55 public static void logOnAutoCorrectionForGeometric(String before, String after, argument 47 logOnManualSuggestion( String before, String after, int position, SuggestedWords suggestedWords) argument 51 logOnAutoCorrectionForTyping( String before, String after, int separatorCode) argument
|
H A D | BinaryDictionary.java | 99 private static native float calcNormalizedScoreNative(int[] before, int[] after, int score); argument 100 private static native int editDistanceNative(int[] before, int[] after); argument 177 public static float calcNormalizedScore(final String before, final String after, argument 180 StringUtils.toCodePointArray(after), score); 183 public static int editDistance(final String before, final String after) { argument 184 if (before == null || after == null) { 188 StringUtils.toCodePointArray(after));
|
H A D | RichInputConnection.java | 57 * only know after the IPC calls gets through. 192 * Gets the caps modes we should be in after this specific string. 195 * This method also supports faking an additional space after the string passed in argument, 203 * @param hasSpaceBefore if we should consider there should be a space after the string. 221 // information but not enough to determine the caps mode accurately. This may happen after 448 * Characters after selection start, including one trailing word 531 final CharSequence after = mIC.getTextAfterCursor(1000, 533 if (before == null || after == null) { 562 // Find last word separator after the cursor 564 while (++endIndexInAfter < after [all...] |
/packages/experimental/RpcPerformance/ |
H A D | rpcperftest.cpp | 80 struct timespec before, after; local 89 clock_gettime(CLOCK_MONOTONIC, &after); 91 double seconds = (after.tv_sec - before.tv_sec); 92 seconds += (after.tv_nsec - before.tv_nsec) / 1000000000.0;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | EntityDiff.java | 42 * from "before" to "after". Tries its best to keep operations to 46 public static EntityDiff buildDiff(Entity before, Entity after, Uri targetUri, argument 54 // Before doesn't exist, so insert "after" values 56 builder.withValues(after.getEntityValues()); 59 for (NamedContentValues child : after.getSubValues()) { 69 } else if (after == null) { 83 values = after.getEntityValues(); 94 final HashMap<String, NamedContentValues> afterChildren = buildChildrenMap(after); 115 // Remove the now-handled "after" child 119 // Walk through remaining "after" childre [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
H A D | ValuesDeltaTests.java | 44 final ContentValues after = new ContentValues(); 45 after.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); 47 final ValuesDelta values = ValuesDelta.fromAfter(after);
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | com_android_inputmethod_latin_BinaryDictionary.cpp | 231 jintArray before, jintArray after, jint score) { 233 jsize afterLength = env->GetArrayLength(after); 237 env->GetIntArrayRegion(after, 0, afterLength, afterCodePoints); 243 jintArray after) { 245 jsize afterLength = env->GetArrayLength(after); 249 env->GetIntArrayRegion(after, 0, afterLength, afterCodePoints); 230 latinime_BinaryDictionary_calcNormalizedScore(JNIEnv *env, jclass clazz, jintArray before, jintArray after, jint score) argument 242 latinime_BinaryDictionary_editDistance(JNIEnv *env, jclass clazz, jintArray before, jintArray after) argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | RawContactDeltaTests.java | 317 final ContentValues after = new ContentValues(); 318 after.put(RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME); 319 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); 321 final ValuesDelta values = ValuesDelta.fromAfter(after); 338 final ContentValues after = new ContentValues(); 339 after.put(RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME); 340 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); 342 final ValuesDelta values = ValuesDelta.fromAfter(after);
|
H A D | RawContactDeltaListTests.java | 107 final ContentValues after = new ContentValues(); 108 after.put(RawContacts.ACCOUNT_NAME, RawContactDeltaTests.TEST_ACCOUNT_NAME); 109 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); 111 final ValuesDelta values = ValuesDelta.fromAfter(after); 138 final RawContactDelta after = new RawContactDelta(ValuesDelta.fromAfter(contact)); 140 after.addEntry(ValuesDelta.fromAfter(entry)); 142 return after;
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | ColorButton.java | 62 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
|
/packages/experimental/procstatlog/ |
H A D | procstatlog.c | 100 // terminator: if non-NULL, processing stops after this string 389 struct timeval before, after; local 397 gettimeofday(&after, NULL); 398 printf("T - %ld.%06ld\n", after.tv_sec, after.tv_usec); 400 long elapsed_usec = (long) after.tv_usec - before.tv_usec; 401 elapsed_usec += 1000000l * (after.tv_sec - before.tv_sec);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | StrokedTextView.java | 74 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument 75 super.onTextChanged(text, start, before, after);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | GroupNameDialogFragment.java | 78 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | UserDictionaryToolsEdit.java | 185 public void beforeTextChanged(CharSequence s, int start, int count, int after) { 201 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | Utils.java | 286 s.play(grow.setDuration(SLIDE_TIME/2)).after(shrink); 298 s.play(xMove.setDuration(0)).after(FADE_TIME); 299 s.play(yMove.setDuration(0)).after(FADE_TIME); 300 s.play(fadein).after(FADE_TIME); 301 s.play(grow).after(FADE_TIME);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | RecipientsEditor.java | 82 setThreshold(1); // pop-up the list after a single char is typed 98 int count, int after) { 105 int before, int after) { 106 if (before == 0 && after == 1) { // inserting a character
|
H A D | BasicSlideEditorView.java | 68 int after) {
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | EditQuickResponseDialog.java | 115 public void beforeTextChanged(CharSequence s, int start, int count, int after) {} argument
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | AlertDialogs.java | 146 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
|
H A D | OverlayTitleEditor.java | 60 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | AutoFillSettingsFragment.java | 59 // Used to display toast after DB interactions complete. 95 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 107 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | correction.h | 112 const int *after, const int afterLength, const int score); 113 static int editDistance(const int *before, const int beforeLength, const int *after,
|
H A D | correction.cpp | 484 // Start traversing all nodes after the index exceeds the user typed length 912 const int beforeLength, const int *after, const int afterLength) { 914 before, beforeLength, after, afterLength); 934 // (full match up to min(before.length(), after.length()) 938 // - If before.length() == after.length() 940 // So, maximum original score is powf(2, min(before.length(), after.length())) * 255 * 2 * 1.2 947 const int beforeLength, const int *after, const int afterLength, const int score) { 951 const int distance = editDistance(before, beforeLength, after, afterLength); 954 if (after[i] == KEYCODE_SPACE) { 911 editDistance(const int *before, const int beforeLength, const int *after, const int afterLength) argument 946 calcNormalizedScore(const int *before, const int beforeLength, const int *after, const int afterLength, const int score) argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
H A D | ValuesDelta.java | 68 * Create {@link ValuesDelta}, using the given object as the "after" 71 public static ValuesDelta fromAfter(ContentValues after) { argument 74 entry.mAfter = after; 185 * When "after" is present, then visible 192 * When "after" is wiped, action is "delete" 199 * When no "before" or "after", is transient 206 * When "after" has some changes, action is "update" 227 * When "after" has no changes, action is no-op 234 * When no "before" id, and has "after", action is "insert" 305 * Return complete set of "before" and "after" value [all...] |