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 D | pu_tracked_object.ts | 20 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 D | pu_synced_property_object_nested.ts | 90 …TrackedObject.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 D | pu_synced_property_two_way.ts | 37 …this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(this.source_.getUnmonito… 79 this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(newValue); 145 TrackedObject.notifyObjectValueAssignment(/* old value */ oldValue, /* new value */ newValue,
|
H A D | pu_observed_property.ts | 114 this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(newValue); 119 this.shouldInstallTrackedObjectReadCb = TrackedObject.needsPropertyReadCb(this.wrappedValue_); 153 …TrackedObject.notifyObjectValueAssignment(/* old value */ oldValue, /* new value */ this.wrappedVa…
|
H A D | pu_synced_property_one_way.ts | 209 …TrackedObject.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 D | observed_object.ts | 128 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 D | state_mgmt_dfx.ts | 32 !TrackedObject.isCompatibilityMode(observedProp.getUnmonitored()) : false, isProfiler),
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | stateMgmt.js | 2280 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 D | v2_decorated_variables.ts | 233 …if (BaseClass.prototype && Reflect.has(BaseClass.prototype, TrackedObject.___IS_TRACKED_OPTIMISED)…
|