Home
last modified time | relevance | path

Searched refs:TrackedObject (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/partial_update/
H A Dpu_tracked_object.ts20 Reflect.set(target, `${TrackedObject.___TRACKED_PREFIX}${property}`, true);
21 Reflect.set(target, TrackedObject.___IS_TRACKED_OPTIMISED, true);
25 class TrackedObject {
30 private static readonly ___TRACKED_PREFIX_LEN = TrackedObject.___TRACKED_PREFIX.length;
33 …return !obj || (typeof obj !== 'object') || !Reflect.has(obj, TrackedObject.___IS_TRACKED_OPTIMISE…
37 …return obj && (typeof obj === 'object') && Reflect.has(obj, TrackedObject.___IS_TRACKED_OPTIMISED);
52 TrackedObject.isCompatibilityMode(obj1)) {
65 if (Reflect.has(obj1Raw, `${TrackedObject.___TRACKED_PREFIX}${propName}`) &&
79 …notifyTrackedPropertyChange.call(obSelf, TrackedObject.___TRACKED_OPTI_ASSIGNMENT_FAKE_PROP_PROPER…
87 …notifyTrackedPropertyChange.call(obSelf, TrackedObject.___TRACKED_OPTI_ASSIGNMENT_FAKE_OBJLINK_PRO…
H A Dpu_synced_property_object_nested.ts90TrackedObject.notifyObjectValueAssignment(/* old value */ oldValue, /* new value */ this.obsObject…
116 …const fake = (sourceObject as Object)[TrackedObject.___TRACKED_OPTI_ASSIGNMENT_FAKE_OBJLINK_PROPER…
148 this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(this.obsObject_);
H A Dpu_synced_property_two_way.ts37 …this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(this.source_.getUnmonito…
79 this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(newValue);
145 TrackedObject.notifyObjectValueAssignment(/* old value */ oldValue, /* new value */ newValue,
H A Dpu_observed_property.ts114 this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(newValue);
119 this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(this.wrappedValue_);
153TrackedObject.notifyObjectValueAssignment(/* old value */ oldValue, /* new value */ this.wrappedVa…
H A Dpu_synced_property_one_way.ts209TrackedObject.notifyObjectValueAssignment(/* old value */ oldValue, /* new value */ this.localCopy…
249 …const fake = (sourceObject as Object)[TrackedObject.___TRACKED_OPTI_ASSIGNMENT_FAKE_PROP_PROPERTY];
309 …this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(this.localCopyObservedOb…
314 …this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(this.localCopyObservedOb…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/common/
H A Dobserved_object.ts128 property === TrackedObject.___TRACKED_OPTI_ASSIGNMENT_FAKE_PROP_PROPERTY ||
129 property === TrackedObject.___TRACKED_OPTI_ASSIGNMENT_FAKE_OBJLINK_PROPERTY;
241 …stateMgmtConsole.debug(`SubscribableHandler: setReadingProperty: ${TrackedObject.isCompatibilityMo…
242 …this.readCbFunc_ = TrackedObject.isCompatibilityMode(target) ? undefined : (newValue as (PropertyR…
246 this.obSelf_ = TrackedObject.isCompatibilityMode(target) ? undefined : newValue;
262 if (TrackedObject.isCompatibilityMode(target)) {
H A Dstate_mgmt_dfx.ts32 !TrackedObject.isCompatibilityMode(observedProp.getUnmonitored()) : false, isProfiler),
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DstateMgmt.js2280 property === TrackedObject.___TRACKED_OPTI_ASSIGNMENT_FAKE_PROP_PROPERTY ||
2281 property === TrackedObject.___TRACKED_OPTI_ASSIGNMENT_FAKE_OBJLINK_PROPERTY;
2408 if (TrackedObject.isCompatibilityMode(target)) {
4551 Reflect.set(target, `${TrackedObject.___TRACKED_PREFIX}${property}`, true);
4552 Reflect.set(target, TrackedObject.___IS_TRACKED_OPTIMISED, true);
4555 class TrackedObject { class
4573 TrackedObject.isCompatibilityMode(obj1)) {
4585 if (Reflect.has(obj1Raw, `${TrackedObject.___TRACKED_PREFIX}${propName}`) &&
4611 TrackedObject.___IS_TRACKED_OPTIMISED = `___IS_TRACKED_OPTIMISED`;
4614 TrackedObject.___TRACKED_PREFIX = `___TRACKED_`;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/v2/
H A Dv2_decorated_variables.ts233 …if (BaseClass.prototype && Reflect.has(BaseClass.prototype, TrackedObject.___IS_TRACKED_OPTIMISED)…