Searched defs:before (Results 1 - 25 of 39) sorted by relevance

12

/packages/inputmethods/LatinIME/native/jni/tests/utils/
H A Dautocorrection_threshold_utils_test.cpp26 int CalcEditDistance(const std::vector<int> &before, argument
29 &before[0], before.size(), &after[0], after.size());
/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
53 if (before == null) {
70 // After doesn't exist, so delete "before" values
71 for (NamedContentValues child : before.getSubValues()) {
78 builder.withSelection(getSelectIdClause(before.getEntityValues()), null);
84 if (!before.getEntityValues().equals(values)) {
93 final HashMap<String, NamedContentValues> beforeChildren = buildChildrenMap(before);
96 // Walk through "before" children looking for deletes and updates
102 // After child doesn't exist, so delete "before" chil
[all...]
/packages/experimental/RpcPerformance/
H A Drpcperftest.cpp80 struct timespec before, after; local
81 clock_gettime(CLOCK_MONOTONIC, &before);
91 double seconds = (after.tv_sec - before.tv_sec);
92 seconds += (after.tv_nsec - before.tv_nsec) / 1000000000.0;
/packages/inputmethods/LatinIME/native/jni/src/utils/
H A Dautocorrection_threshold_utils.cpp32 /* static */ int AutocorrectionThresholdUtils::editDistance(const int *before, argument
35 before, beforeLength, after, afterLength);
58 // (full match up to min(before.length(), after.length())
62 // - If before.length() == after.length()
64 // So, maximum original score is powf(2, min(before.length(), after.length())) * 255 * 2 * 1.2
70 /* static */ float AutocorrectionThresholdUtils::calcNormalizedScore(const int *before, argument
75 const int distance = editDistance(before, beforeLength, after, afterLength);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothNameDialogFragment.java134 mDeviceNameView.setText(deviceName); // set initial value before adding listener
211 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DBluetoothPairingDialog.java448 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DEditTextFragment.java136 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
138 mTextWatcher.onTextChanged(s, start, before, count);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DBinaryDictionaryUtils.java46 private static native float calcNormalizedScoreNative(int[] before, int[] after, int score); argument
109 public static float calcNormalizedScore(final String before, final String after, argument
111 return calcNormalizedScoreNative(StringUtils.toCodePointArray(before),
/packages/inputmethods/LatinIME/native/jni/
H A Dcom_android_inputmethod_latin_BinaryDictionaryUtils.cpp60 jintArray before, jintArray after, jint score) {
61 jsize beforeLength = env->GetArrayLength(before);
65 env->GetIntArrayRegion(before, 0, beforeLength, beforeCodePoints);
59 latinime_BinaryDictionaryUtils_calcNormalizedScore(JNIEnv *env, jclass clazz, jintArray before, jintArray after, jint score) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapActivity.java275 public void beforeTextChanged(CharSequence s, int start, int before, int after) { argument
278 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Browser/src/com/android/browser/
H A DNavigationBarBase.java269 public void onTextChanged(CharSequence s, int start, int before, int count) { } argument
/packages/apps/Calendar/src/com/android/calendar/event/
H A DCreateEventDialogFragment.java231 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DRawContactDelta.java87 * starting point; the "before" snapshot.
89 public static RawContactDelta fromBefore(RawContact before) { argument
91 rawContactDelta.mValues = ValuesDelta.fromBefore(before.getValues());
93 for (final ContentValues values : before.getContentValues()) {
101 * "before" state represented by this {@link RawContactDelta}, discarding any
134 // No local entry before, so insert
299 // Requesting an "insert" entry, which has no "before"
400 * "before" state hasn't changed. This is maintained separately so that all
401 * asserts can take place before any updates occur.
421 * current "before" {
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAuthenticationView.java104 public void onTextChanged(CharSequence s, int start, int before, int count) { } argument
H A DAccountSetupCredentialsFragment.java164 public void onTextChanged(CharSequence s, int start, int before, int count) { } argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DExportDialog.java83 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DDefaultAppSearchController.java150 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DContactRecipientAutoCompleteView.java67 * Tracks the old chips count before text changes. Note that we currently don't compare
68 * the entire chip sets but just the cheaper-to-do before and after counts, because
74 public void onTextChanged(final CharSequence s, final int start, final int before, argument
/packages/apps/Settings/src/com/android/settings/
H A DCredentialStorage.java79 * if unlock, ensure key guard before install.
121 * attempts remaining before the KeyStore will reset itself.
490 * On successful unlock, ensure migration to key guard before continuing.
541 @Override public void onTextChanged(CharSequence s,int start, int before, int count) { argument
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiApDialog.java235 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DWriteWifiConfigToNfcDialog.java235 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/experimental/procstatlog/
H A Dprocstatlog.c389 struct timeval before, after; local
390 gettimeofday(&before, NULL);
391 printf("T + %ld.%06ld\n", before.tv_sec, before.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/Settings/src/com/android/settings/vpn2/
H A DConfigDialog.java223 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Stk/src/com/android/stk/
H A DStkInputActivity.java202 CatLog.d(LOG_TAG, "onDestroy - before Send End Session mIsResponseSent[" +
321 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/services/Telephony/src/com/android/phone/
H A DEmergencyDialer.java142 public void onTextChanged(CharSequence input, int start, int before, int changeCount) { argument
644 * Remove the digit just before the current position. Used by various long pressed callbacks

Completed in 953 milliseconds

12