Searched defs:diff (Results 1 - 7 of 7) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | EntitySet.java | 115 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); 122 delta.buildAssert(diff); 125 final int assertMark = diff.size(); 132 final int firstBatch = diff.size(); 134 delta.buildDiff(diff); 147 diff.add(builder.build()); 158 diff.add(builder.build()); 163 buildSplitContactDiff(diff, backRefs); 167 if (diff.size() == assertMark) { 168 diff 189 buildSplitContactDiff(final ArrayList<ContentProviderOperation> diff, int[] backRefs) argument 204 buildSplitContactDiff(ArrayList<ContentProviderOperation> diff, int index1, int index2, int[] backRefs) argument [all...] |
H A D | EntityDelta.java | 338 private void possibleAdd(ArrayList<ContentProviderOperation> diff, argument 341 diff.add(builder.build());
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | ComposingText.java | 219 int diff = mod_len - org_len; 232 ss.to = (last_to < mod_to)? mod_to : (last_to + diff); 238 ss.from += diff; 239 ss.to += diff; 250 ss.from += diff; 251 ss.to += diff; 383 int diff = to - from + 1; 386 deleteStrSegment0(lv, fromL[lv], toL[lv], diff); 412 deleteStrSegment0(lv, fromL[lv] + 1, toL[lv], diff); 413 boundary_to -= diff; 435 deleteStrSegment0(int layer, int from, int to, int diff) argument 544 moveCursor(int layer, int diff) argument [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | EntitySetTests.java | 49 * Tests for {@link EntitySet} which focus on "diff" operations that should 180 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); 181 delta.buildAssert(diff); 182 delta.buildDiff(diff); 183 assertDiffPattern(diff, pattern); 190 static void assertDiffPattern(ArrayList<ContentProviderOperation> diff, argument 192 assertEquals("Unexpected operations", pattern.length, diff.size()); 195 final ContentProviderOperation found = diff.get(i); 294 static int countExceptionUpdates(ArrayList<ContentProviderOperation> diff) { argument 296 for (ContentProviderOperation oper : diff) { [all...] |
/packages/apps/Contacts/src/com/android/contacts/ui/ |
H A D | ContactsPreferencesActivity.java | 531 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); 533 account.buildDiff(diff); 535 return diff; 636 public void buildDiff(ArrayList<ContentProviderOperation> diff) { argument 639 if (oper != null) diff.add(oper); 643 if (oper != null) diff.add(oper); 1036 final ArrayList<ContentProviderOperation> diff = set.buildDiff(); 1037 resolver.applyBatch(ContactsContract.AUTHORITY, diff);
|
H A D | EditContactActivity.java | 694 final ArrayList<ContentProviderOperation> diff = state.buildDiff(); 696 if (!diff.isEmpty()) { 697 results = resolver.applyBatch(ContactsContract.AUTHORITY, diff); 700 final long rawContactId = getRawContactId(state, diff, results); 709 result = (diff.size() > 0) ? RESULT_SUCCESS : RESULT_UNCHANGED; 730 final ArrayList<ContentProviderOperation> diff, 738 final int diffSize = diff.size(); 740 ContentProviderOperation operation = diff.get(i); 729 getRawContactId(EntitySet state, final ArrayList<ContentProviderOperation> diff, final ContentProviderResult[] results) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | LatinKeyboard.java | 403 private void updateLocaleDrag(int diff) { argument 411 mSlidingLocaleIcon.setDiff(diff); 412 if (Math.abs(diff) == Integer.MAX_VALUE) { 481 int diff = x - mSpaceDragStartX; 482 if (Math.abs(diff - mSpaceDragLastDiff) > 0) { 483 updateLocaleDrag(diff); 485 mSpaceDragLastDiff = diff; 704 void setDiff(int diff) { argument 705 if (diff == Integer.MAX_VALUE) { 710 mDiff = diff; [all...] |
Completed in 89 milliseconds