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

12

/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.cpp31 /* static */ int AutocorrectionThresholdUtils::editDistance(const int *before, argument
34 before, beforeLength, after, afterLength);
57 // (full match up to min(before.length(), after.length())
61 // - If before.length() == after.length()
63 // So, maximum original score is powf(2, min(before.length(), after.length())) * 255 * 2 * 1.2
69 /* static */ float AutocorrectionThresholdUtils::calcNormalizedScore(const int *before, argument
74 const int distance = editDistance(before, beforeLength, after, afterLength);
/packages/apps/Calculator/src/com/android/calculator2/
H A DColorButton.java62 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
/packages/apps/Settings/src/com/android/settings/
H A DConfirmLockPassword.java209 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DCredentialStorage.java74 * if unlock, ensure key guard before install.
110 * attempts remaining before the KeyStore will reset itself.
406 * On successful unlock, ensure migration to key guard before continuing.
457 @Override public void onTextChanged(CharSequence s,int start, int before, int count) { argument
H A DCryptKeeper.java116 /** Number of calls to {@link #notifyUser()} to ignore before notifying. */
162 // so this activity animates to black before the devices starts. Note
660 * radio to whatever it was before it restarted. This also happens when rebooting a
771 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DChooseLockPassword.java495 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothNameDialogFragment.java132 mDeviceNameView.setText(deviceName); // set initial value before adding listener
202 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DBluetoothPairingDialog.java375 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DDeviceProfilesSettings.java86 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiApDialog.java174 public void onTextChanged(CharSequence s, int start, int before, int count) { 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
H A DUrlInputView.java347 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...]
H A DValuesDelta.java37 * or delete operations based on a "before" {@link Entity} snapshot.
48 * we can concretely reference this {@link ValuesDelta} before it has
58 * "before" state, usually from an {@link Entity}.
60 public static ValuesDelta fromBefore(ContentValues before) { argument
62 entry.mBefore = before;
76 // Assign temporary id which is dropped before insert.
199 * When no "before" or "after", is transient
234 * When no "before" id, and has "after", action is "insert"
305 * Return complete set of "before" and "after" values mixed together,
337 // Any "before" recor
[all...]
/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/Settings/src/com/android/settings/vpn2/
H A DVpnDialog.java198 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Stk/src/com/android/stk/
H A DStkInputActivity.java238 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DLatinImeLogger.java48 String before, String after, int position, SuggestedWords suggestedWords) {
52 String before, String after, int separatorCode) {
55 public static void logOnAutoCorrectionForGeometric(String before, String after, argument
47 logOnManualSuggestion( String before, String after, int position, SuggestedWords suggestedWords) argument
51 logOnAutoCorrectionForTyping( String before, String after, int separatorCode) argument
/packages/services/Telephony/src/com/android/phone/
H A DEmergencyDialer.java133 public void onTextChanged(CharSequence input, int start, int before, int changeCount) { argument
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupBasics.java93 // Set to false before shipping, logs PII
384 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
501 // Exit immediately if the user left before we finished

Completed in 831 milliseconds

12