OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ValuesDelta
(Results
1 - 9
of
9
) sorted by null
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
RawContactDeltaTests.java
35
import com.android.contacts.common.model.
ValuesDelta
;
41
* Tests for {@link RawContactDelta} and {@link
ValuesDelta
}. These tests
109
source.addEntry(
ValuesDelta
.fromAfter(phone));
122
final
ValuesDelta
child = source.getEntry(TEST_PHONE_ID);
136
final
ValuesDelta
child = source.getEntry(TEST_PHONE_ID);
149
final
ValuesDelta
values =
ValuesDelta
.fromBefore(before);
185
source.addEntry(
ValuesDelta
.fromAfter(phone));
228
source.addEntry(
ValuesDelta
.fromAfter(phone));
270
final
ValuesDelta
child = source.getEntry(TEST_PHONE_ID)
[
all
...]
RawContactModifierTests.java
42
import com.android.contacts.common.model.
ValuesDelta
;
360
final
ValuesDelta
values =
ValuesDelta
.fromAfter(after);
372
final
ValuesDelta
values = RawContactModifier.insertChild(state, kindPhone, typeHome);
435
final
ValuesDelta
values = RawContactModifier.insertChild(state, kindPhone, typeHome);
461
final
ValuesDelta
values = RawContactModifier.insertChild(state, kindPhone, typeHome);
492
state.addEntry(
ValuesDelta
.fromBefore(before));
525
final
ValuesDelta
child = state.getEntry(TEST_ID);
656
final
ValuesDelta
child = state.getEntry(TEST_ID);
[
all
...]
RawContactDeltaListTests.java
37
import com.android.contacts.common.model.
ValuesDelta
;
115
final
ValuesDelta
values =
ValuesDelta
.fromAfter(after);
142
final RawContactDelta after = new RawContactDelta(
ValuesDelta
.fromAfter(contact));
144
after.addEntry(
ValuesDelta
.fromAfter(entry));
173
match.addEntry(
ValuesDelta
.fromAfter(values));
176
static
ValuesDelta
getPhone(RawContactDeltaList set, long rawContactId, long dataId) {
263
static ContentValues buildDataInsert(
ValuesDelta
values, long rawContactId) {
273
static ContentProviderOperation buildOper(Uri uri, int type,
ValuesDelta
values) {
393
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/ContactsCommon/src/com/android/contacts/common/model/
RawContactDelta.java
36
import com.android.contacts.common.model.
ValuesDelta
;
67
private
ValuesDelta
mValues;
79
private final HashMap<String, ArrayList<
ValuesDelta
>> mEntries = Maps.newHashMap();
84
public RawContactDelta(
ValuesDelta
values) {
94
rawContactDelta.mValues =
ValuesDelta
.fromBefore(before.getValues());
97
rawContactDelta.addEntry(
ValuesDelta
.fromBefore(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)
[
all
...]
ValuesDelta.java
41
public class
ValuesDelta
implements Parcelable {
50
* we can concretely reference this {@link
ValuesDelta
} before it has
55
protected
ValuesDelta
() {
59
* Create {@link
ValuesDelta
}, using the given object as the
62
public static
ValuesDelta
fromBefore(ContentValues before) {
63
final
ValuesDelta
entry = new
ValuesDelta
();
70
* Create {@link
ValuesDelta
}, using the given object as the "after"
73
public static
ValuesDelta
fromAfter(ContentValues after) {
74
final
ValuesDelta
entry = new ValuesDelta()
[
all
...]
RawContactModifier.java
51
import com.android.contacts.common.model.
ValuesDelta
;
113
public static
ValuesDelta
ensureKindExists(
124
final
ValuesDelta
child = insertChild(state, kind);
196
final List<
ValuesDelta
> mimeEntries = state.getMimeEntries(kind.mimeType);
200
for (
ValuesDelta
entry : mimeEntries) {
225
* {@link
ValuesDelta
} row, assuming the given {@link DataKind} dictates
228
public static EditType getCurrentType(
ValuesDelta
entry, DataKind kind) {
332
public static
ValuesDelta
insertChild(RawContactDelta state, DataKind kind) {
348
public static
ValuesDelta
insertChild(RawContactDelta state, DataKind kind, EditType type) {
366
final
ValuesDelta
child = ValuesDelta.fromAfter(after)
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactActivity.java
146
import com.android.contacts.common.model.
ValuesDelta
;
[
all
...]
Completed in 1053 milliseconds