/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | autocorrection_threshold_utils.cpp | 33 const int beforeLength, const int *after, const int afterLength) { in editDistance() argument 35 before, beforeLength, after, afterLength); in editDistance() 71 const int beforeLength, const int *after, const int afterLength, const int score) { in calcNormalizedScore() argument 75 const int distance = editDistance(before, beforeLength, after, afterLength); in calcNormalizedScore() 78 if (after[i] == KEYCODE_SPACE) { in calcNormalizedScore()
|
D | autocorrection_threshold_utils.h | 27 const int *after, const int afterLength, const int score); 28 static int editDistance(const int *before, const int beforeLength, const int *after,
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/actions/ |
D | InputSetupActionUtilsTest.java | 64 Intent after = new Intent("after"); in getExtraActivityAfter_activityAfter() local 65 intent.putExtra("com.android.tv.intent.extra.ACTIVITY_AFTER_COMPLETION", after); in getExtraActivityAfter_activityAfter() 66 assertThat(InputSetupActionUtils.getExtraActivityAfter(intent)).isEqualTo(after); in getExtraActivityAfter_activityAfter() 72 Intent after = new Intent("google_setup"); in getExtraActivityAfter_googleActivityAfter() local 73 intent.putExtra("com.google.android.tv.intent.extra.ACTIVITY_AFTER_COMPLETION", after); in getExtraActivityAfter_googleActivityAfter() 74 assertThat(InputSetupActionUtils.getExtraActivityAfter(intent)).isEqualTo(after); in getExtraActivityAfter_googleActivityAfter()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactDeltaTests.java | 324 final ContentValues after = new ContentValues(); in testEntityDiffInsert() local 325 after.put(RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME); in testEntityDiffInsert() 326 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); in testEntityDiffInsert() 328 final ValuesDelta values = ValuesDelta.fromAfter(after); in testEntityDiffInsert() 346 final ContentValues after = new ContentValues(); in testEntityDiffInsertInsert() local 347 after.put(RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME); in testEntityDiffInsertInsert() 348 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); in testEntityDiffInsertInsert() 350 final ValuesDelta values = ValuesDelta.fromAfter(after); in testEntityDiffInsertInsert()
|
D | ValuesDeltaTests.java | 44 final ContentValues after = new ContentValues(); in testValuesDiffInsert() local 45 after.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testValuesDiffInsert() 47 final ValuesDelta values = ValuesDelta.fromAfter(after); in testValuesDiffInsert()
|
D | RawContactDeltaListTests.java | 102 final ContentValues after = new ContentValues(); in getInsert() local 103 after.put(RawContacts.ACCOUNT_NAME, RawContactDeltaTests.TEST_ACCOUNT_NAME); in getInsert() 104 after.put(RawContacts.SEND_TO_VOICEMAIL, 1); in getInsert() 106 final ValuesDelta values = ValuesDelta.fromAfter(after); in getInsert() 133 final RawContactDelta after = new RawContactDelta(ValuesDelta.fromAfter(contact)); in buildAfterEntity() local 135 after.addEntry(ValuesDelta.fromAfter(entry)); in buildAfterEntity() 137 return after; in buildAfterEntity()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 713 final CharSequence after = getTextAfterCursorAndDetectLaggyConnection( in getWordRangeAtCursor() local 718 if (before == null || after == null) { in getWordRangeAtCursor() 737 while (++endIndexInAfter < after.length()) { in getWordRangeAtCursor() 738 final int codePoint = Character.codePointAt(after, endIndexInAfter); in getWordRangeAtCursor() 749 || SpannableStringUtils.hasUrlSpans(after, 0, endIndexInAfter); in getWordRangeAtCursor() 754 SpannableStringUtils.concatWithNonParagraphSuggestionSpansOnly(before, after), in getWordRangeAtCursor() 782 final CharSequence after = getTextAfterCursor(1, 0); in isCursorFollowedByWordCharacter() local 783 if (TextUtils.isEmpty(after)) { in isCursorFollowedByWordCharacter() 786 final int codePointAfterCursor = Character.codePointAt(after, 0); in isCursorFollowedByWordCharacter()
|
/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
D | autocorrection_threshold_utils_test.cpp | 27 const std::vector<int> &after) { in CalcEditDistance() argument 29 &before[0], before.size(), &after[0], after.size()); in CalcEditDistance()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | AttachPhotoActivity.java | 392 final ContentValues after = new ContentValues(); in createNewRawContact() 393 after.put(RawContacts.ACCOUNT_TYPE, account != null ? account.type : null); in createNewRawContact() 394 after.put(RawContacts.ACCOUNT_NAME, account != null ? account.name : null); in createNewRawContact() 395 after.put(RawContacts.DATA_SET, account != null ? account.dataSet : null); in createNewRawContact() 398 = new RawContactDelta(ValuesDelta.fromAfter(after)); in createNewRawContact()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
D | PawAnswerHint.java | 112 answerGestureHintAnim.play(fadeIn).after(puckUpDelayMillis); in onBounceStart() 113 answerGestureHintAnim.play(swipeUp).after(fadeIn); in onBounceStart() 118 .after(puckUpDelayMillis + puckUpDurationMillis - FADE_OUT_DELAY_ALPHA_MILLIS); in onBounceStart() 225 set.play(scaleX).with(scaleY).after(delay); in createUniformScaleAnimator()
|
D | DotAnswerHint.java | 106 answerGestureHintAnim.play(fadeIn).after(puckUpDelayMillis); in onBounceStart() 107 answerGestureHintAnim.play(swipeUp).after(fadeIn); in onBounceStart() 112 .after(puckUpDelayMillis + puckUpDurationMillis - FADE_OUT_DELAY_ALPHA_MILLIS); in onBounceStart() 273 set.play(scaleX).with(scaleY).after(delay); in createUniformScaleAnimator()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | ExpiredTimersActivity.kt | 275 override fun timerUpdated(before: Timer, after: Timer) { in timerUpdated() 276 if (!before.isExpired && after.isExpired) { in timerUpdated() 277 addTimer(after) in timerUpdated() 278 } else if (before.isExpired && !after.isExpired) { in timerUpdated()
|
D | ExpiredTimersActivity.java | 294 public void timerUpdated(Timer before, Timer after) { in timerUpdated() argument 295 if (!before.isExpired() && after.isExpired()) { in timerUpdated() 296 addTimer(after); in timerUpdated() 297 } else if (before.isExpired() && !after.isExpired()) { in timerUpdated()
|
D | TimerFragment.kt | 652 override fun timerUpdated(before: Timer, after: Timer) { in timerUpdated() 654 if (before.isReset && !after.isReset) { in timerUpdated() 659 val index: Int = DataModel.dataModel.timers.indexOf(after) in timerUpdated() 662 if (!before.isExpired && after.isExpired && index != mViewPager.getCurrentItem()) { in timerUpdated() 666 if (before.state != after.state && in timerUpdated() 667 !(before.isPaused && after.isReset)) { in timerUpdated()
|
D | TimerFragment.java | 757 public void timerUpdated(Timer before, Timer after) { in timerUpdated() argument 759 if (before.isReset() && !after.isReset()) { in timerUpdated() 764 final int index = DataModel.getDataModel().getTimers().indexOf(after); in timerUpdated() 767 if (!before.isExpired() && after.isExpired() && index != mViewPager.getCurrentItem()) { in timerUpdated() 772 if (before.getState() != after.getState() in timerUpdated() 773 && !(before.isPaused() && after.isReset())) { in timerUpdated()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 60 jintArray before, jintArray after, jint score) { in latinime_BinaryDictionaryUtils_calcNormalizedScore() argument 62 jsize afterLength = env->GetArrayLength(after); in latinime_BinaryDictionaryUtils_calcNormalizedScore() 66 env->GetIntArrayRegion(after, 0, afterLength, afterCodePoints); in latinime_BinaryDictionaryUtils_calcNormalizedScore()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClock.java | 267 .after(hideFabAnimation); in onCreate() 274 .after(leftHideAnimation) in onCreate() 275 .after(rightHideAnimation); in onCreate() 604 public void onSilentSettingsChange(SilentSetting before, SilentSetting after) { in onSilentSettingsChange() argument 610 if (after == null) { in onSilentSettingsChange() 613 mShowSilentSettingSnackbarRunnable = new ShowSilentSettingSnackbarRunnable(after); in onSilentSettingsChange()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | BinaryDictionaryUtils.java | 46 private static native float calcNormalizedScoreNative(int[] before, int[] after, int score); in calcNormalizedScoreNative() argument 109 public static float calcNormalizedScore(final String before, final String after, in calcNormalizedScore() argument 112 StringUtils.toCodePointArray(after), score); in calcNormalizedScore()
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | IncomingCallFilterGraph.java | 166 public static void addEdge(CallFilter before, CallFilter after) { in addEdge() argument 167 before.addFollowings(after); in addEdge() 168 after.addDependency(before); in addEdge()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 79 Class<? extends DatabaseHelper> after) throws Exception { in assertDowngrade() argument 99 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertDowngrade() 119 Class<? extends DatabaseHelper> after) throws Exception { in assertUpgrade() argument 187 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertUpgrade() 259 try (DatabaseHelper helper2 = after.getConstructor(Context.class, String.class) in assertUpgrade()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.kt | 737 val hasTimeout = timeoutTime != null && currentTime.after(timeoutTime) in <lambda>() 771 if (currentTime.after(missedTTL)) { in <lambda>() 774 } else if (currentTime.after(alarmTime)) { in <lambda>() 792 } else if (currentTime.after(highNotificationTime)) { in <lambda>() 794 } else if (currentTime.after(lowNotificationTime)) { in <lambda>() 879 if (currentTime.before(priorAlarmTime) || currentTime.after(missedTTLTime)) { in <lambda>()
|
D | AlarmStateManager.java | 673 boolean hasTimeout = timeoutTime != null && currentTime.after(timeoutTime); in registerInstance() 707 if (currentTime.after(missedTTL)) { in registerInstance() 710 } else if (currentTime.after(alarmTime)) { in registerInstance() 728 } else if (currentTime.after(highNotificationTime)) { in registerInstance() 730 } else if (currentTime.after(lowNotificationTime)) { in registerInstance() 817 if (currentTime.before(priorAlarmTime) || currentTime.after(missedTTLTime)) { in fixAlarmInstances()
|
/packages/services/Car/tests/CarDeveloperOptions/ |
D | wrap_alpha.py | 13 after = before.replace(".png", "_alpha.png") variable 14 os.rename(os.path.join(root, before), os.path.join(root, after))
|
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/testing/ |
D | TestLifecycleOwner.java | 50 protected void after() { in after() method in TestLifecycleOwner 52 super.after(); in after()
|
/packages/apps/Settings/ |
D | wrap_alpha.py | 13 after = before.replace(".png", "_alpha.png") variable 14 os.rename(os.path.join(root, before), os.path.join(root, after))
|