Searched refs:after (Results 1 - 25 of 64) sorted by relevance

123

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggestionSpanPickedNotificationReceiver.java36 final String after = intent.getStringExtra(
38 Log.d(TAG, "Received notification picked: " + before + "," + after);
H A DLatinImeLogger.java48 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 DBinaryDictionary.java99 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 DRichInputConnection.java57 * 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 Drpcperftest.cpp80 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 DEntityDiff.java42 * 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 DValuesDeltaTests.java44 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 Dcom_android_inputmethod_latin_BinaryDictionary.cpp231 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 DRawContactDeltaTests.java317 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 DRawContactDeltaListTests.java107 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 DColorButton.java62 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
/packages/experimental/procstatlog/
H A Dprocstatlog.c100 // 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 DStrokedTextView.java74 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 DGroupNameDialogFragment.java78 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsEdit.java185 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 DUtils.java286 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 DRecipientsEditor.java82 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 DBasicSlideEditorView.java68 int after) {
/packages/apps/Email/src/com/android/email/activity/setup/
H A DEditQuickResponseDialog.java115 public void beforeTextChanged(CharSequence s, int start, int count, int after) {} argument
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DAlertDialogs.java146 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
H A DOverlayTitleEditor.java60 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
/packages/apps/Browser/src/com/android/browser/
H A DAutoFillSettingsFragment.java59 // 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 Dcorrection.h112 const int *after, const int afterLength, const int score);
113 static int editDistance(const int *before, const int beforeLength, const int *after,
H A Dcorrection.cpp484 // 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 DValuesDelta.java68 * 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...]

Completed in 1919 milliseconds

123