Lines Matching refs:snapshot

27 int32_t SnapshotConverter::ConvertToSnapshot(AAFwk::MissionSnapshot& missionSnapshot, Snapshot& snapshot)
29 snapshot.version_ = DMS_VERSION;
30 snapshot.orientation_ = 0;
32 snapshot.rect_ = std::move(contentInsets);
33 snapshot.reducedResolution_ = true;
34 snapshot.scale_ = 0.0;
35 snapshot.isRealSnapshot_ = true;
36 snapshot.windowingMode_ = 0;
37 snapshot.systemUiVisibility_ = 0;
38 snapshot.isTranslucent_ = true;
40 snapshot.windowBounds_ = std::move(windowBounds);
42 snapshot.appLabel_ = appLabel;
44 snapshot.abilityLabel_ = abilityLabel;
46 snapshot.icon_ = icon;
48 snapshot.secAppLabel_ = secAppLabel;
50 snapshot.secAbilityLabel_ = secAbilityLabel;
52 snapshot.secIcon_ = secIcon;
54 snapshot.sourceDeviceTips_ = sourceDeviceTips;
55 snapshot.pixelMap_ = missionSnapshot.snapshot;
60 std::unique_ptr<Snapshot>& snapshot)
62 if (snapshot == nullptr) {
65 snapshot->version_ = DMS_VERSION;
66 snapshot->orientation_ = 0;
68 snapshot->rect_ = std::move(contentInsets);
69 snapshot->reducedResolution_ = true;
70 snapshot->scale_ = 0.0;
71 snapshot->isRealSnapshot_ = true;
72 snapshot->windowingMode_ = 0;
73 snapshot->systemUiVisibility_ = 0;
74 snapshot->isTranslucent_ = true;
76 snapshot->windowBounds_ = std::move(windowBounds);
78 snapshot->appLabel_ = appLabel;
80 snapshot->abilityLabel_ = abilityLabel;
82 snapshot->icon_ = icon;
84 snapshot->secAppLabel_ = secAppLabel;
86 snapshot->secAbilityLabel_ = secAbilityLabel;
88 snapshot->secIcon_ = secIcon;
90 snapshot->sourceDeviceTips_ = sourceDeviceTips;
91 snapshot->pixelMap_ = missionSnapshot.snapshot;
95 int32_t SnapshotConverter::ConvertToMissionSnapshot(Snapshot& snapshot,
99 missionSnapshot->snapshot = snapshot.pixelMap_;