Home
last modified time | relevance | path

Searched refs:after (Results 1 – 25 of 69) sorted by relevance

123

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java96 char[] before, int beforeLength, char[] after, int afterLength, int score); in calcNormalizedScoreNative() argument
98 char[] before, int beforeLength, char[] after, int afterLength); in editDistanceNative() argument
192 public static float calcNormalizedScore(String before, String after, int score) { in calcNormalizedScore() argument
194 after.toCharArray(), after.length(), score); in calcNormalizedScore()
197 public static int editDistance(String before, String after) { in editDistance() argument
199 before.toCharArray(), before.length(), after.toCharArray(), after.length()); in editDistance()
DEditingUtils.java93 CharSequence after = connection.getTextAfterCursor(1000, 0); in getWordRangeAtCursor() local
94 if (before == null || after == null) { in getWordRangeAtCursor()
104 while (++end < after.length() && !isWhitespace(after.charAt(end), sep)) { in getWordRangeAtCursor()
109 if (start >= 0 && cursor + end <= after.length() + before.length()) { in getWordRangeAtCursor()
111 + after.toString().substring(0, end); in getWordRangeAtCursor()
DWhitelistDictionary.java65 final String after = wordlist[i + 2]; in initWordlist() local
66 if (before != null && after != null) { in initWordlist()
68 before.toLowerCase(), new Pair<Integer, String>(score, after)); in initWordlist()
69 addWord(after, null /* shortcut */, score); in initWordlist()
DSuggestionSpanPickedNotificationReceiver.java37 final String after = intent.getStringExtra( in onReceive() local
39 Log.d(TAG, "Received notification picked: " + before + "," + after); in onReceive()
DLatinImeLogger.java44 String before, String after, int position, SuggestedWords suggestedWords) { in logOnManualSuggestion() argument
47 public static void logOnAutoCorrection(String before, String after, int separatorCode) { in logOnAutoCorrection() argument
/packages/experimental/RpcPerformance/
Drpcperftest.cpp80 struct timespec before, after; in main() local
89 clock_gettime(CLOCK_MONOTONIC, &after); in main()
91 double seconds = (after.tv_sec - before.tv_sec); in main()
92 seconds += (after.tv_nsec - before.tv_nsec) / 1000000000.0; in main()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDiff.java46 public static EntityDiff buildDiff(Entity before, Entity after, Uri targetUri, in buildDiff() argument
56 builder.withValues(after.getEntityValues()); in buildDiff()
59 for (NamedContentValues child : after.getSubValues()) { in buildDiff()
69 } else if (after == null) { in buildDiff()
83 values = after.getEntityValues(); in buildDiff()
94 final HashMap<String, NamedContentValues> afterChildren = buildChildrenMap(after); in buildDiff()
/packages/apps/Contacts/tests/src/com/android/contacts/
DEntityDeltaTests.java163 final ContentValues after = new ContentValues(); in testValuesDiffInsert() local
164 after.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testValuesDiffInsert()
166 final ValuesDelta values = ValuesDelta.fromAfter(after); in testValuesDiffInsert()
359 final ContentValues after = new ContentValues(); in testEntityDiffInsert() local
360 after.put(RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME); in testEntityDiffInsert()
361 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); in testEntityDiffInsert()
363 final ValuesDelta values = ValuesDelta.fromAfter(after); in testEntityDiffInsert()
380 final ContentValues after = new ContentValues(); in testEntityDiffInsertInsert() local
381 after.put(RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME); in testEntityDiffInsertInsert()
382 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); in testEntityDiffInsertInsert()
[all …]
DEntityDeltaListTests.java105 final ContentValues after = new ContentValues(); in getInsert() local
106 after.put(RawContacts.ACCOUNT_NAME, EntityDeltaTests.TEST_ACCOUNT_NAME); in getInsert()
107 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); in getInsert()
109 final ValuesDelta values = ValuesDelta.fromAfter(after); in getInsert()
138 final EntityDelta after = new EntityDelta(ValuesDelta.fromAfter(contact)); in buildAfterEntity() local
140 after.addEntry(ValuesDelta.fromAfter(entry)); in buildAfterEntity()
142 return after; in buildAfterEntity()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp201 jcharArray before, jint beforeLength, jcharArray after, jint afterLength, jint score) { in latinime_BinaryDictionary_calcNormalizedScore() argument
203 jchar *afterChars = env->GetCharArrayElements(after, 0); in latinime_BinaryDictionary_calcNormalizedScore()
206 env->ReleaseCharArrayElements(after, afterChars, JNI_ABORT); in latinime_BinaryDictionary_calcNormalizedScore()
212 jcharArray before, jint beforeLength, jcharArray after, jint afterLength) { in latinime_BinaryDictionary_editDistance() argument
214 jchar *afterChars = env->GetCharArrayElements(after, 0); in latinime_BinaryDictionary_editDistance()
217 env->ReleaseCharArrayElements(after, afterChars, JNI_ABORT); in latinime_BinaryDictionary_editDistance()
/packages/apps/DeskClock/src/com/android/deskclock/
DScreensaver.java135 s.play(grow.setDuration(SLIDE_TIME/2)).after(shrink);
147 s.play(xMove.setDuration(0)).after(FADE_TIME);
148 s.play(yMove.setDuration(0)).after(FADE_TIME);
149 s.play(fadein).after(FADE_TIME);
150 s.play(grow).after(FADE_TIME);
/packages/experimental/procstatlog/
Dprocstatlog.c389 struct timeval before, after; in main() local
397 gettimeofday(&after, NULL); in main()
398 printf("T - %ld.%06ld\n", after.tv_sec, after.tv_usec); in main()
400 long elapsed_usec = (long) after.tv_usec - before.tv_usec; in main()
401 elapsed_usec += 1000000l * (after.tv_sec - before.tv_sec); in main()
/packages/apps/Launcher2/src/com/android/launcher2/
DStrokedTextView.java74 protected void onTextChanged(CharSequence text, int start, int before, int after) { in onTextChanged() argument
75 super.onTextChanged(text, start, before, after); in onTextChanged()
/packages/inputmethods/LatinIME/native/jni/src/
Dcorrection.h171 const unsigned short* after, const int afterLength, const int score);
173 const int beforeLength, const unsigned short* after, const int afterLength);
Dcorrection.cpp1053 const int beforeLength, const unsigned short* after, const int afterLength) { in editDistanceInternal() argument
1068 const uint32_t co = toBaseLowerCase(after[j]); in editDistanceInternal()
1072 if (i > 0 && j > 0 && ci == toBaseLowerCase(after[j - 1]) in editDistanceInternal()
1092 const int beforeLength, const unsigned short* after, const int afterLength) { in editDistance() argument
1094 return editDistanceInternal(table, before, beforeLength, after, afterLength); in editDistance()
1121 const int beforeLength, const unsigned short* after, const int afterLength, in calcNormalizedScore() argument
1126 const int distance = editDistance(before, beforeLength, after, afterLength); in calcNormalizedScore()
1129 if (after[i] == CODE_SPACE) { in calcNormalizedScore()
/packages/apps/Mms/src/com/android/mms/ui/
DRecipientsEditor.java100 int count, int after) { in RecipientsEditor()
107 int before, int after) { in RecipientsEditor()
108 if (before == 0 && after == 1) { // inserting a character in RecipientsEditor()
DBasicSlideEditorView.java70 int after) { in onFinishInflate()
/packages/apps/Browser/src/com/android/browser/
DEventLogTags.logtags10 # This event is logged after a page has finished loading. It is sending back the page url,
DAutoFillSettingsFragment.java95 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in beforeTextChanged() argument
107 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in beforeTextChanged() argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DUserDictionaryToolsEdit.java185 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in setAddButtonControl()
201 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in setAddButtonControl()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DGroupNameDialogFragment.java78 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in onCreateDialog()
/packages/apps/Calculator/src/com/android/calculator2/
DColorButton.java81 protected void onTextChanged(CharSequence text, int start, int before, int after) { in onTextChanged() argument
/packages/apps/Email/src/com/android/email/activity/setup/
DEditQuickResponseDialog.java115 public void beforeTextChanged(CharSequence s, int start, int count, int after) {} in beforeTextChanged() argument
/packages/apps/VideoEditor/src/com/android/videoeditor/
DAlertDialogs.java146 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in createEditDialog()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java817 int after = mEndRow - 1 + d; in continueLoading() local
819 if (after >= mRows && before < 0) { in continueLoading()
822 if (after < mRows && scanOne(after)) return; in continueLoading()

123