OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ValuesDelta
(Results
1 - 7
of
7
) sorted by null
/packages/apps/Contacts/tests/src/com/android/contacts/
EntityDeltaTests.java
20
import com.android.contacts.model.EntityDelta.
ValuesDelta
;
42
* Tests for {@link EntityDelta} and {@link
ValuesDelta
}. These tests
110
source.addEntry(
ValuesDelta
.fromAfter(phone));
123
final
ValuesDelta
child = source.getEntry(TEST_PHONE_ID);
137
final
ValuesDelta
child = source.getEntry(TEST_PHONE_ID);
146
* Test that {@link
ValuesDelta
#buildDiff(android.net.Uri)} is correctly
155
final
ValuesDelta
values =
ValuesDelta
.fromBefore(before);
166
final
ValuesDelta
values =
ValuesDelta
.fromAfter(after)
[
all
...]
EntityModifierTests.java
30
import com.android.contacts.model.EntityDelta.
ValuesDelta
;
331
final
ValuesDelta
values =
ValuesDelta
.fromAfter(after);
343
final
ValuesDelta
values = EntityModifier.insertChild(state, kindPhone, typeHome);
401
final
ValuesDelta
values = EntityModifier.insertChild(state, kindPhone, typeHome);
426
final
ValuesDelta
values = EntityModifier.insertChild(state, kindPhone, typeHome);
457
state.addEntry(
ValuesDelta
.fromBefore(before));
490
final
ValuesDelta
child = state.getEntry(TEST_ID);
611
final
ValuesDelta
child = state.getEntry(TEST_ID);
676
final
ValuesDelta
child = state.getEntry(TEST_ID)
[
all
...]
EntityDeltaListTests.java
29
import com.android.contacts.model.EntityDelta.
ValuesDelta
;
109
final
ValuesDelta
values =
ValuesDelta
.fromAfter(after);
138
final EntityDelta after = new EntityDelta(
ValuesDelta
.fromAfter(contact));
140
after.addEntry(
ValuesDelta
.fromAfter(entry));
169
match.addEntry(
ValuesDelta
.fromAfter(values));
172
static
ValuesDelta
getPhone(EntityDeltaList set, long rawContactId, long dataId) {
256
static ContentValues buildDataInsert(
ValuesDelta
values, long rawContactId) {
266
static ContentProviderOperation buildOper(Uri uri, int type,
ValuesDelta
values) {
377
final
ValuesDelta
phone = getPhone(first, CONTACT_BOB, PHONE_RED)
[
all
...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
GoogleSource.java
20
import com.android.loaderapp.model.EntityDelta.
ValuesDelta
;
162
final
ValuesDelta
stateValues = state.getValues();
257
state.addEntry(
ValuesDelta
.fromAfter(values));
EntityDelta.java
65
private
ValuesDelta
mValues;
71
private HashMap<String, ArrayList<
ValuesDelta
>> mEntries = Maps.newHashMap();
76
public EntityDelta(
ValuesDelta
values) {
86
entity.mValues =
ValuesDelta
.fromBefore(before.getEntityValues());
89
entity.addEntry(
ValuesDelta
.fromBefore(namedValues.values));
102
final
ValuesDelta
remoteValues = remote.mValues;
117
local.mValues =
ValuesDelta
.mergeAfter(local.mValues, remote.mValues);
120
for (ArrayList<
ValuesDelta
> mimeEntries : remote.mEntries.values()) {
121
for (
ValuesDelta
remoteEntry : mimeEntries) {
125
final
ValuesDelta
localEntry = local.getEntry(childId)
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/model/
EntityDelta.java
67
private
ValuesDelta
mValues;
79
private HashMap<String, ArrayList<
ValuesDelta
>> mEntries = Maps.newHashMap();
84
public EntityDelta(
ValuesDelta
values) {
94
entity.mValues =
ValuesDelta
.fromBefore(before.getEntityValues());
97
entity.addEntry(
ValuesDelta
.fromBefore(namedValues.values));
110
final
ValuesDelta
remoteValues = remote.mValues;
125
local.mValues =
ValuesDelta
.mergeAfter(local.mValues, remote.mValues);
128
for (ArrayList<
ValuesDelta
> mimeEntries : remote.mEntries.values()) {
129
for (
ValuesDelta
remoteEntry : mimeEntries) {
133
final
ValuesDelta
localEntry = local.getEntry(childId)
[
all
...]
EntityModifier.java
26
import com.android.contacts.model.EntityDelta.
ValuesDelta
;
114
final
ValuesDelta
child = insertChild(state, kind);
200
final List<
ValuesDelta
> mimeEntries = state.getMimeEntries(kind.mimeType);
204
for (
ValuesDelta
entry : mimeEntries) {
229
* {@link
ValuesDelta
} row, assuming the given {@link DataKind} dictates
232
public static EditType getCurrentType(
ValuesDelta
entry, DataKind kind) {
336
public static
ValuesDelta
insertChild(EntityDelta state, DataKind kind) {
350
public static
ValuesDelta
insertChild(EntityDelta state, DataKind kind, EditType type) {
368
final
ValuesDelta
child =
ValuesDelta
.fromAfter(after)
[
all
...]
Completed in 74 milliseconds