Home
last modified time | relevance | path

Searched refs:prop_change (Results 1 – 3 of 3) sorted by relevance

/external/libchrome-gestures/src/
Dactivity_log.cc94 void ActivityLog::LogPropChange(const PropChangeEntry& prop_change) { in LogPropChange() argument
97 entry->details.prop_change = prop_change; in LogPropChange()
359 Json::Value ActivityLog::EncodePropChange(const PropChangeEntry& prop_change) { in EncodePropChange() argument
362 ret[kKeyPropChangeName] = Json::Value(prop_change.name); in EncodePropChange()
365 switch (prop_change.type) { in EncodePropChange()
367 val = Json::Value(static_cast<bool>(prop_change.value.bool_val)); in EncodePropChange()
371 val = Json::Value(prop_change.value.double_val); in EncodePropChange()
375 val = Json::Value(prop_change.value.int_val); in EncodePropChange()
379 val = Json::Value(prop_change.value.short_val); in EncodePropChange()
423 entries.append(EncodePropChange(entry.details.prop_change)); in EncodeCommonInfo()
Dactivity_replay.cc592 ActivityLog::PropChangeEntry prop_change; in ParsePropChange() local
600 prop_change.type = ActivityLog::PropChangeEntry::kBoolProp; in ParsePropChange()
605 prop_change.value.bool_val = in ParsePropChange()
608 prop_change.type = ActivityLog::PropChangeEntry::kDoubleProp; in ParsePropChange()
613 prop_change.value.double_val = in ParsePropChange()
616 prop_change.type = ActivityLog::PropChangeEntry::kIntProp; in ParsePropChange()
621 prop_change.value.int_val = in ParsePropChange()
624 prop_change.type = ActivityLog::PropChangeEntry::kIntProp; in ParsePropChange()
629 prop_change.value.short_val = in ParsePropChange()
643 prop_change.name = stored_name->c_str(); in ParsePropChange()
[all …]
/external/libchrome-gestures/include/
Dactivity_log.h58 PropChangeEntry prop_change; // kPropChange member
70 void LogPropChange(const PropChangeEntry& prop_change);
211 Json::Value EncodePropChange(const PropChangeEntry& prop_change);