OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EntityDeltaList
(Results
1 - 8
of
8
) sorted by null
/packages/apps/Contacts/src/com/android/contacts/model/
EntityDeltaList.java
43
* and applying another {@link
EntityDeltaList
} over it.
45
public class
EntityDeltaList
extends ArrayList<EntityDelta> implements Parcelable {
49
private
EntityDeltaList
() {
53
* Create an {@link
EntityDeltaList
} that contains the given {@link EntityDelta},
56
public static
EntityDeltaList
fromSingle(EntityDelta delta) {
57
final
EntityDeltaList
state = new
EntityDeltaList
();
63
* Create an {@link
EntityDeltaList
} based on {@link Contacts} specified by the
67
public static
EntityDeltaList
fromQuery(Uri entityUri, ContentResolver resolver,
80
* Create an {@link
EntityDeltaList
} that contains the entities of the Iterator as befor
[
all
...]
EntityModifier.java
375
* from the given {@link
EntityDeltaList
}, assuming the given {@link AccountTypeManager}
379
public static void trimEmpty(
EntityDeltaList
set, AccountTypeManager accountTypes) {
389
public static boolean hasChanges(
EntityDeltaList
set, AccountTypeManager accountTypes) {
[
all
...]
/packages/apps/Contacts/tests/src/com/android/contacts/
EntityDeltaListTests.java
28
import com.android.contacts.model.
EntityDeltaList
;
49
* Tests for {@link
EntityDeltaList
} which focus on "diff" operations that should
113
static
EntityDeltaList
buildSet(EntityDelta... deltas) {
114
final
EntityDeltaList
set =
EntityDeltaList
.fromSingle(deltas[0]);
167
static void insertPhone(
EntityDeltaList
set, long rawContactId, ContentValues values) {
172
static ValuesDelta getPhone(
EntityDeltaList
set, long rawContactId, long dataId) {
184
static void assertDiffPattern(
EntityDeltaList
set, ContentProviderOperation... pattern) {
284
static Long getVersion(
EntityDeltaList
set, Long rawContactId) {
305
final
EntityDeltaList
set = buildSet(insert)
[
all
...]
EntityModifierTests.java
31
import com.android.contacts.model.
EntityDeltaList
;
531
final
EntityDeltaList
set =
EntityDeltaList
.fromSingle(state);
559
final
EntityDeltaList
set =
EntityDeltaList
.fromSingle(state);
603
final
EntityDeltaList
set =
EntityDeltaList
.fromSingle(state);
668
final
EntityDeltaList
set =
EntityDeltaList
.fromSingle(state);
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/activities/
ConfirmAddDetailActivity.java
27
import com.android.contacts.model.
EntityDeltaList
;
112
private
EntityDeltaList
mEntityDeltaList;
342
private static class QueryEntitiesTask extends AsyncTask<Intent, Void,
EntityDeltaList
> {
352
protected
EntityDeltaList
doInBackground(Intent... params) {
385
return
EntityDeltaList
.fromQuery(RawContactsEntity.CONTENT_URI,
410
protected void onPostExecute(
EntityDeltaList
entityList) {
550
public void setEntityDeltaList(
EntityDeltaList
entityList) {
684
public static class PersistTask extends AsyncTask<
EntityDeltaList
, Void, Integer> {
714
protected Integer doInBackground(
EntityDeltaList
... params) {
718
EntityDeltaList
state = params[0]
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java
22
import com.android.contacts.model.
EntityDeltaList
;
273
public static Intent createSaveContactIntent(Context context,
EntityDeltaList
state,
293
EntityDeltaList
state = intent.getParcelableExtra(EXTRA_CONTACT_STATE);
382
final
EntityDeltaList
newState =
EntityDeltaList
.fromQuery(
387
state =
EntityDeltaList
.mergeAfter(newState, state);
403
private long getRawContactId(
EntityDeltaList
state,
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorFragment.java
33
import com.android.contacts.model.
EntityDeltaList
;
227
private
EntityDeltaList
mState;
424
mState = savedState.<
EntityDeltaList
> getParcelable(KEY_EDIT_STATE);
483
mState =
EntityDeltaList
.fromIterator(data.getEntities().iterator());
672
mState =
EntityDeltaList
.fromSingle(insert);
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java
37
import com.android.contacts.model.
EntityDeltaList
;
[
all
...]
Completed in 218 milliseconds