Home
last modified time | relevance | path

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

123

/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java119 private static native float calcNormalizedScoreNative(char[] before, char[] after, int score); in calcNormalizedScoreNative() argument
120 private static native int editDistanceNative(char[] before, char[] after); in editDistanceNative() argument
185 public static float calcNormalizedScore(String before, String after, int score) { in calcNormalizedScore() argument
186 return calcNormalizedScoreNative(before.toCharArray(), after.toCharArray(), score); in calcNormalizedScore()
189 public static int editDistance(String before, String after) { in editDistance() argument
190 if (before == null || after == null) { in editDistance()
193 return editDistanceNative(before.toCharArray(), after.toCharArray()); in editDistance()
DLatinImeLogger.java44 String before, String after, int position, SuggestedWords suggestedWords) { in logOnManualSuggestion() argument
48 String before, String after, int separatorCode) { in logOnAutoCorrectionForTyping() argument
51 public static void logOnAutoCorrectionForGeometric(String before, String after, in logOnAutoCorrectionForGeometric() argument
DRichInputConnection.java539 CharSequence after = mIC.getTextAfterCursor(1000, 0); in getWordRangeAtCursor() local
540 if (before == null || after == null) { in getWordRangeAtCursor()
570 while (++end < after.length()) { in getWordRangeAtCursor()
571 final int codePoint = Character.codePointAt(after, end); in getWordRangeAtCursor()
581 if (start >= 0 && cursor + end <= after.length() + before.length()) { in getWordRangeAtCursor()
583 + after.toString().substring(0, end); in getWordRangeAtCursor()
592 CharSequence after = getTextAfterCursor(1, 0); in isCursorTouchingWord() local
597 if (!TextUtils.isEmpty(after) && !settingsValues.isWordSeparator(after.charAt(0)) in isCursorTouchingWord()
598 && !settingsValues.isSymbolExcludedFromWordSeparators(after.charAt(0))) { in isCursorTouchingWord()
DSuggestionSpanPickedNotificationReceiver.java37 final String after = intent.getStringExtra( in onReceive() local
39 Log.d(TAG, "Received notification picked: " + before + "," + after); in onReceive()
/packages/apps/Contacts/tests/src/com/android/contacts/
DRawContactDeltaTests.java164 final ContentValues after = new ContentValues(); in testValuesDiffInsert() local
165 after.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testValuesDiffInsert()
167 final ValuesDelta values = ValuesDelta.fromAfter(after); in testValuesDiffInsert()
360 final ContentValues after = new ContentValues(); in testEntityDiffInsert() local
361 after.put(RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME); in testEntityDiffInsert()
362 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); in testEntityDiffInsert()
364 final ValuesDelta values = ValuesDelta.fromAfter(after); in testEntityDiffInsert()
381 final ContentValues after = new ContentValues(); in testEntityDiffInsertInsert() local
382 after.put(RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME); in testEntityDiffInsertInsert()
383 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); in testEntityDiffInsertInsert()
[all …]
DRawContactDeltaListTests.java106 final ContentValues after = new ContentValues(); in getInsert() local
107 after.put(RawContacts.ACCOUNT_NAME, RawContactDeltaTests.TEST_ACCOUNT_NAME); in getInsert()
108 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); in getInsert()
110 final ValuesDelta values = ValuesDelta.fromAfter(after); in getInsert()
139 final RawContactDelta after = new RawContactDelta(ValuesDelta.fromAfter(contact)); in buildAfterEntity() local
141 after.addEntry(ValuesDelta.fromAfter(entry)); in buildAfterEntity()
143 return after; in buildAfterEntity()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp225 jcharArray before, jcharArray after, jint score) { in latinime_BinaryDictionary_calcNormalizedScore() argument
227 jsize afterLength = env->GetArrayLength(after); in latinime_BinaryDictionary_calcNormalizedScore()
231 env->GetCharArrayRegion(after, 0, afterLength, afterChars); in latinime_BinaryDictionary_calcNormalizedScore()
238 jcharArray before, jcharArray after) { in latinime_BinaryDictionary_editDistance() argument
240 jsize afterLength = env->GetArrayLength(after); in latinime_BinaryDictionary_editDistance()
244 env->GetCharArrayRegion(after, 0, afterLength, afterChars); in latinime_BinaryDictionary_editDistance()
/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/DeskClock/src/com/android/deskclock/
DUtils.java284 s.play(grow.setDuration(SLIDE_TIME/2)).after(shrink); in run()
296 s.play(xMove.setDuration(0)).after(FADE_TIME); in run()
297 s.play(yMove.setDuration(0)).after(FADE_TIME); in run()
298 s.play(fadein).after(FADE_TIME); in run()
299 s.play(grow).after(FADE_TIME); in run()
/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.cpp1045 const int beforeLength, const unsigned short *after, const int afterLength) { in editDistanceInternal() argument
1060 const uint32_t co = toBaseLowerCase(after[j]); in editDistanceInternal()
1064 if (i > 0 && j > 0 && ci == toBaseLowerCase(after[j - 1]) in editDistanceInternal()
1084 const int beforeLength, const unsigned short *after, const int afterLength) { in editDistance() argument
1086 return editDistanceInternal(table, before, beforeLength, after, afterLength); in editDistance()
1113 const int beforeLength, const unsigned short *after, const int afterLength, in calcNormalizedScore() argument
1118 const int distance = editDistance(before, beforeLength, after, afterLength); in calcNormalizedScore()
1121 if (after[i] == CODE_SPACE) { in calcNormalizedScore()
Dcorrection.h115 const unsigned short *after, const int afterLength, const int score);
117 const int beforeLength, const unsigned short *after, const int afterLength);
/packages/apps/Calculator/src/com/android/calculator2/
DColorButton.java62 protected void onTextChanged(CharSequence text, int start, int before, int after) { in onTextChanged() argument
/packages/apps/Mms/src/com/android/mms/ui/
DRecipientsEditor.java98 int count, int after) { in RecipientsEditor()
105 int before, int after) { in RecipientsEditor()
106 if (before == 0 && after == 1) { // inserting a character in RecipientsEditor()
DBasicSlideEditorView.java68 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/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()
DOverlayTitleEditor.java60 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
/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