Home
last modified time | relevance | path

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

123456

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DAccountTest.java100 final Account after = Account.fromJson(before.toJson()); in testSerializeAndDeserializeWithJSON() local
102 assertEquals(before.getDisplayName(), after.getDisplayName()); in testSerializeAndDeserializeWithJSON()
103 assertEquals(before.getEmailAddress(), after.getEmailAddress()); in testSerializeAndDeserializeWithJSON()
104 assertEquals(before.getSyncLookback(), after.getSyncLookback()); in testSerializeAndDeserializeWithJSON()
105 assertEquals(before.getSyncInterval(), after.getSyncInterval()); in testSerializeAndDeserializeWithJSON()
106 assertEquals(before.mHostAuthSend, after.mHostAuthSend); in testSerializeAndDeserializeWithJSON()
107 assertEquals(before.mHostAuthKeySend, after.mHostAuthKeySend); in testSerializeAndDeserializeWithJSON()
108 assertEquals(before.mHostAuthKeyRecv, after.mHostAuthKeyRecv); in testSerializeAndDeserializeWithJSON()
109 assertEquals(before.getFlags(), after.getFlags()); in testSerializeAndDeserializeWithJSON()
110 assertEquals(before.getSenderName(), after.getSenderName()); in testSerializeAndDeserializeWithJSON()
[all …]
DHostAuthTests.java270 final HostAuth after = HostAuth.fromJson(before.toJson()); in testSerializeAndDeserializeWithJSON() local
272 assertEquals(before.mProtocol, after.mProtocol); in testSerializeAndDeserializeWithJSON()
273 assertEquals(before.mAddress, after.mAddress); in testSerializeAndDeserializeWithJSON()
274 assertEquals(before.mPort, after.mPort); in testSerializeAndDeserializeWithJSON()
275 assertEquals(before.mFlags, after.mFlags); in testSerializeAndDeserializeWithJSON()
276 assertTrue(Arrays.equals(before.getLogin(), after.getLogin())); in testSerializeAndDeserializeWithJSON()
277 assertEquals(before.mDomain, after.mDomain); in testSerializeAndDeserializeWithJSON()
278 assertEquals(before.mClientCertAlias, after.mClientCertAlias); in testSerializeAndDeserializeWithJSON()
279 assertEquals(before.mCredential, after.mCredential); in testSerializeAndDeserializeWithJSON()
281 assertNull(after.mServerCert); // server cert is not serialized; field defaults to null in testSerializeAndDeserializeWithJSON()
[all …]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
DAccountTests.java48 final Account after = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); in testSerializeDeserialize() local
49 assertNotNull(after); in testSerializeDeserialize()
51 assertEquals(before.getEmailAddress(), after.getEmailAddress()); in testSerializeDeserialize()
52 assertEquals(before.getDisplayName(), after.getDisplayName()); in testSerializeDeserialize()
53 assertEquals(before.accountFromAddresses, after.accountFromAddresses); in testSerializeDeserialize()
54 assertEquals(before.capabilities, after.capabilities); in testSerializeDeserialize()
55 assertEquals(before.providerVersion, after.providerVersion); in testSerializeDeserialize()
56 assertEquals(before.uri, after.uri); in testSerializeDeserialize()
57 assertEquals(before.folderListUri, after.folderListUri); in testSerializeDeserialize()
58 assertEquals(before.searchUri, after.searchUri); in testSerializeDeserialize()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dautocorrection_threshold_utils.cpp33 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()
Dautocorrection_threshold_utils.h27 const int *after, const int afterLength, const int score);
28 static int editDistance(const int *before, const int beforeLength, const int *after,
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DSendersFormattingTests.java103 final ConversationInfo after = ConversationInfo.fromBlob(serialized); in testSenderNameBadInput() local
104 assertEquals(1, after.participantInfos.size()); in testSenderNameBadInput()
105 assertEquals(before.participantInfos.get(0).name, after.participantInfos.get(0).name); in testSenderNameBadInput()
121 final ConversationInfo after = ConversationInfo.fromBlob(serialized); in testConversationSnippetsBadInput() local
122 assertEquals(before.firstSnippet, after.firstSnippet); in testConversationSnippetsBadInput()
123 assertEquals(before.firstUnreadSnippet, after.firstUnreadSnippet); in testConversationSnippetsBadInput()
124 assertEquals(before.lastSnippet, after.lastSnippet); in testConversationSnippetsBadInput()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactDeltaTests.java324 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()
DValuesDeltaTests.java44 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()
DRawContactDeltaListTests.java102 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/
DRichInputConnection.java713 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/
Dautocorrection_threshold_utils_test.cpp27 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/
DAttachPhotoActivity.java392 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/
DPawAnswerHint.java112 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()
DDotAnswerHint.java106 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/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionaryUtils.cpp60 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/
DDeskClock.java267 .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/apps/DeskClock/src/com/android/deskclock/timer/
DExpiredTimersActivity.java294 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()
DTimerFragment.java757 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/java/src/com/android/inputmethod/latin/utils/
DBinaryDictionaryUtils.java46 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/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java79 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/Settings/
Dwrap_alpha.py13 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/
DTestLifecycleOwner.java50 protected void after() { in after() method in TestLifecycleOwner
52 super.after(); in after()
/packages/services/Car/tests/CarDeveloperOptions/
Dwrap_alpha.py13 after = before.replace(".png", "_alpha.png") variable
14 os.rename(os.path.join(root, before), os.path.join(root, after))
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.java673 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/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto108 // User added the number to contacts from the after call notification
113 // User marked the number as spam on the after call notification flow
224 // The play button after expanding the voicemail call log entry was tapped
547 // Bubble collapse initiated by user, i.e. no hiding after collapse
752 // Spam blocking after call notification promo shown for user.
754 // User enabled spam blocking through after call notification promo.
756 // Failure happened while enabling spam blocking through after call

123456