Searched refs:DiffResult (Results 1 - 6 of 6) sorted by relevance

/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
H A DDiffUtilActivity.java73 new AsyncTask<List<String>, Void, Pair<List<String>, DiffUtil.DiffResult>>() {
76 protected Pair<List<String>, DiffUtil.DiffResult> doInBackground(
80 DiffUtil.DiffResult diffResult = DiffUtil.calculateDiff(
88 Pair<List<String>, DiffUtil.DiffResult> resultPair) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
H A DDiffUtilActivity.java73 new AsyncTask<List<String>, Void, Pair<List<String>, DiffUtil.DiffResult>>() {
76 protected Pair<List<String>, DiffUtil.DiffResult> doInBackground(
80 DiffUtil.DiffResult diffResult = DiffUtil.calculateDiff(
88 Pair<List<String>, DiffUtil.DiffResult> resultPair) {
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DDiffUtil.java40 * on a background thread, get the {@link DiffResult} then apply it on the RecyclerView on the main
88 * @return A DiffResult that contains the information about the edit sequence to convert the
91 public static DiffResult calculateDiff(Callback cb) {
105 * @return A DiffResult that contains the information about the edit sequence to convert the
108 public static DiffResult calculateDiff(Callback cb, boolean detectMoves) {
184 return new DiffResult(cb, snakes, forward, backward, detectMoves);
409 * You can consume the updates in a DiffResult via
413 public static class DiffResult { class in class:DiffUtil
470 * @param detectMoves True if this DiffResult will try to detect moved items
472 DiffResult(Callbac method in class:DiffUtil.DiffResult
[all...]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
H A DDiffUtilTest.java316 DiffUtil.DiffResult result = DiffUtil.calculateDiff(mCallback);
362 private List<Item> applyUpdates(List<Item> before, DiffUtil.DiffResult result) {
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceGroupAdapter.java163 final DiffUtil.DiffResult result = DiffUtil.calculateDiff(new DiffUtil.Callback() {
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 171 milliseconds