Searched refs:before (Results 1 - 25 of 64) sorted by relevance

123

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DWhitelistDictionary.java57 final String before = wordlist[i + 1];
59 if (before != null && after != null) {
61 before.toLowerCase(), new Pair<Integer, String>(score, after));
72 public String getWhitelistedWord(String before) { argument
73 if (before == null) return null;
74 final String lowerCaseBefore = before.toLowerCase();
H A DSuggestionSpanPickedNotificationReceiver.java35 final String before = intent.getStringExtra(
39 Log.d(TAG, "Received notification picked: " + before + "," + after);
H A DEditingUtils.java110 /** Characters before selection start */
136 CharSequence before = connection.getTextBeforeCursor(1000, 0);
138 if (before == null || after == null) {
142 // Find first word separator before the cursor
143 int start = before.length();
144 while (start > 0 && !isWhitespace(before.charAt(start - 1), sep)) start--;
153 if (start >= 0 && cursor + end <= after.length() + before.length()) {
154 String word = before.toString().substring(start, before.length())
156 return new Range(before
[all...]
H A DLatinImeLogger.java46 String before, String after, int position, List<CharSequence> suggestions) {
49 public static void logOnAutoCorrection(String before, String after, int separatorCode) { argument
45 logOnManualSuggestion( String before, String after, int position, List<CharSequence> suggestions) argument
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DEntityDeltaTests.java79 final Entity before = new Entity(contact);
80 before.addSubValue(Data.CONTENT_URI, phone);
81 return before;
88 * "before" {@link Entity}.
91 final Entity before = getEntity(TEST_CONTACT_ID, TEST_PHONE_ID);
92 final EntityDelta source = EntityDelta.fromBefore(before);
93 final EntityDelta dest = EntityDelta.fromBefore(before);
101 final Entity before = getEntity(TEST_CONTACT_ID, TEST_PHONE_ID);
102 final EntityDelta source = EntityDelta.fromBefore(before);
103 final EntityDelta dest = EntityDelta.fromBefore(before);
[all...]
H A DEntityModifierTests.java181 final Entity before = new Entity(contact);
183 before.addSubValue(Data.CONTENT_URI, values);
185 return EntityDelta.fromBefore(before);
444 // Build "before" that has empty row
446 final ContentValues before = new ContentValues();
447 before.put(Data._ID, TEST_ID);
448 before.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
449 state.addEntry(ValuesDelta.fromBefore(before));
468 // Build "before" that has row with some phone number
469 final ContentValues before
[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/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...]
H A DEntitySet.java73 final Entity before = iterator.next();
74 final EntityDelta entity = EntityDelta.fromBefore(before);
100 // No local entry before, so insert
110 * the "before" {@link Entity} states into the modified state which all
H A DEntityDelta.java82 * starting point; the "before" snapshot.
84 public static EntityDelta fromBefore(Entity before) { argument
86 entity.mValues = ValuesDelta.fromBefore(before.getEntityValues());
88 for (NamedContentValues namedValues : before.getSubValues()) {
96 * "before" state represented by this {@link EntityDelta}, discarding any
129 // No local entry before, so insert
247 // Requesting an "insert" entry, which has no "before"
345 * "before" state hasn't changed. This is maintained separately so that all
346 * asserts can take place before any updates occur.
366 * current "before" {
510 fromBefore(ContentValues before) argument
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DConversationListItem.java110 int before = buf.length();
115 before, buf.length(), Spannable.SPAN_INCLUSIVE_EXCLUSIVE);
119 int before = buf.length();
123 buf.setSpan(new TextAppearanceSpan(mContext, size, color), before,
127 before, buf.length(), Spannable.SPAN_INCLUSIVE_EXCLUSIVE);
H A DBasicSlideEditorView.java74 public void onTextChanged(CharSequence s, int start, int before,
/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/Launcher2/src/com/android/launcher2/
H A DStrokedTextView.java74 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
75 super.onTextChanged(text, start, before, after);
/packages/apps/Calculator/src/com/android/calculator2/
H A DColorButton.java81 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupNameDialogFragment.java95 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DSearchEditText.java104 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapActivity.java276 public void beforeTextChanged(CharSequence s, int start, int before, int after) { argument
279 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
H A DVoiceInputLogger.java211 int index, String before, String after) {
219 i.putExtra(VoiceInputLoggerCompatUtils.EXTRA_BEFORE_N_BEST_CHOOSE, before);
210 textModifiedByChooseSuggestion(int suggestionLength, int replacedPhraseLength, int index, String before, String after) argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsEdit.java148 /* save the word's information before this edit */
188 public void onTextChanged(CharSequence s, int start, int before, int count) {
204 public void onTextChanged(CharSequence s, int start, int before, int count) {
/packages/apps/Email/src/com/android/email/activity/setup/
H A DEditQuickResponseDialog.java119 public void onTextChanged(CharSequence s, int start, int before, int count) {} argument
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothNameDialogFragment.java124 mDeviceNameView.setText(deviceName); // set initial value before adding listener
182 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DAlertDialogs.java142 public void onTextChanged(CharSequence s, int start, int before, int count) {
H A DOverlayTitleEditor.java55 public void onTextChanged(CharSequence s, int start, int before, int count) {
/packages/apps/Browser/src/com/android/browser/
H A DAutoFillSettingsFragment.java96 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
108 public void onTextChanged(CharSequence s, int start, int before, int count) { argument

Completed in 351 milliseconds

123