/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
H A D | autocorrection_threshold_utils_test.cpp | 27 const std::vector<int> &after) { 29 &before[0], before.size(), &after[0], after.size()); 26 CalcEditDistance(const std::vector<int> &before, const std::vector<int> &after) argument
|
/packages/apps/Settings/ |
H A 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/DeskClock/src/com/android/deskclock/data/ |
H A D | TimerListener.java | 31 * @param after the timer state after the update 33 void timerUpdated(Timer before, Timer after); argument
|
/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 54 // Before doesn't exist, so insert "after" values 56 builder.withValues(after.getEntityValues()); 59 for (NamedContentValues child : after.getSubValues()) { 69 } else if (after == null) { 83 values = after.getEntityValues(); 94 final HashMap<String, NamedContentValues> afterChildren = buildChildrenMap(after); 115 // Remove the now-handled "after" child 119 // Walk through remaining "after" childre [all...] |
/packages/experimental/RpcPerformance/ |
H A D | rpcperftest.cpp | 80 struct timespec before, after; local 89 clock_gettime(CLOCK_MONOTONIC, &after); 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 | 33 const int beforeLength, const int *after, const int afterLength) { 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 71 const int beforeLength, const int *after, const int afterLength, const int score) { 75 const int distance = editDistance(before, beforeLength, after, afterLength); 78 if (after[i] == KEYCODE_SPACE) { 32 editDistance(const int *before, const int beforeLength, const int *after, const int afterLength) argument 70 calcNormalizedScore(const int *before, const int beforeLength, const int *after, const int afterLength, const int score) argument
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | ExpiredTimersActivity.java | 261 public void timerUpdated(Timer before, Timer after) { argument 262 if (!before.isExpired() && after.isExpired()) { 263 addTimer(after); 264 } else if (before.isExpired() && !after.isExpired()) {
|
H A D | TimerPagerAdapter.java | 152 public void timerUpdated(Timer before, Timer after) { argument 153 final TimerItemFragment timerItemFragment = mFragments.get(after.getId());
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothNameDialogFragment.java | 67 // Key to save the edited name and edit status for restoring after rotation 164 mOkButton.setEnabled(mDeviceNameEdited); // Ok button enabled after user edits 207 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
H A D | BluetoothPairingDialog.java | 455 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | EditTextFragment.java | 129 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 131 mTextWatcher.beforeTextChanged(s, start, count, after);
|
/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 112 StringUtils.toCodePointArray(after), score);
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 60 jintArray before, jintArray after, jint score) { 62 jsize afterLength = env->GetArrayLength(after); 66 env->GetIntArrayRegion(after, 0, afterLength, afterCodePoints); 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
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | CreateEventDialogFragment.java | 226 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | LabelDialogFragment.java | 162 public void beforeTextChanged(CharSequence s, int start, int count, int after) {} argument
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AuthenticationView.java | 102 public void beforeTextChanged(CharSequence s, int start, int count, int after) { } argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
H A D | ExportDialog.java | 79 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsSearchBarController.java | 84 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
H A D | ContactRecipientAutoCompleteView.java | 68 * the entire chip sets but just the cheaper-to-do before and after counts, because 80 final int after) { 79 beforeTextChanged(final CharSequence s, final int start, final int count, final int after) argument
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | CredentialStorage.java | 185 * case after unlocking with an old-style password). 191 // will return to onResume after Activity 537 @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiApDialog.java | 238 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
H A D | WriteWifiConfigToNfcDialog.java | 299 public void beforeTextChanged(CharSequence s, int start, int count, int after) {} argument
|
/packages/experimental/procstatlog/ |
H A D | procstatlog.c | 100 // terminator: if non-NULL, processing stops after this string 389 struct timeval before, after; local 397 gettimeofday(&after, NULL); 398 printf("T - %ld.%06ld\n", after.tv_sec, after.tv_usec); 400 long elapsed_usec = (long) after.tv_usec - before.tv_usec; 401 elapsed_usec += 1000000l * (after.tv_sec - before.tv_sec);
|
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
H A D | BlockedNumbersActivity.java | 263 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|