/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
H A D | autocorrection_threshold_utils_test.cpp | 26 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 D | EntityDiff.java | 42 * 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 D | rpcperftest.cpp | 80 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 D | autocorrection_threshold_utils.cpp | 32 /* 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 D | BluetoothNameDialogFragment.java | 134 mDeviceNameView.setText(deviceName); // set initial value before adding listener 211 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
H A D | BluetoothPairingDialog.java | 448 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 D | EditTextFragment.java | 136 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 D | BinaryDictionaryUtils.java | 46 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 D | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 60 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 D | BluetoothPbapActivity.java | 275 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 D | NavigationBarBase.java | 269 public void onTextChanged(CharSequence s, int start, int before, int count) { } argument
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | CreateEventDialogFragment.java | 231 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
H A D | RawContactDelta.java | 87 * 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 D | AuthenticationView.java | 104 public void onTextChanged(CharSequence s, int start, int before, int count) { } argument
|
H A D | AccountSetupCredentialsFragment.java | 164 public void onTextChanged(CharSequence s, int start, int before, int count) { } argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
H A D | ExportDialog.java | 83 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | DefaultAppSearchController.java | 150 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
H A D | ContactRecipientAutoCompleteView.java | 67 * 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 D | CredentialStorage.java | 79 * 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 D | WifiApDialog.java | 235 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
H A D | WriteWifiConfigToNfcDialog.java | 235 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/packages/experimental/procstatlog/ |
H A D | procstatlog.c | 389 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 D | ConfigDialog.java | 223 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/packages/apps/Stk/src/com/android/stk/ |
H A D | StkInputActivity.java | 202 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 D | EmergencyDialer.java | 142 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
|