Lines Matching defs:value

248 void OnAnimationScaleChanged(const char* key, const char* value, void* context)
256 if (value == nullptr) {
257 LOGW("AnimationScale changes with null value, use default. key: %{public}s", key);
261 auto animationScale = std::atof(value);
263 LOGE("AnimationScale changes with invalid value: %{public}s. ignore", value);
606 // Default value of font weight scale is 1.0.
612 // Default value of font size scale is 1.0.
776 void SystemProperties::EnableSystemParameterTraceLayoutCallback(const char* key, const char* value, void* context)
778 if (strcmp(value, "true") == 0 || strcmp(value, "false") == 0) {
779 SetLayoutTraceEnabled(strcmp(value, "true") == 0);
783 void SystemProperties::EnableSystemParameterTraceInputEventCallback(const char* key, const char* value, void* context)
785 if (strcmp(value, "true") == 0 || strcmp(value, "false") == 0) {
786 SetInputEventTraceEnabled(strcmp(value, "true") == 0);
791 const char* key, const char* value, void* context)
793 if (strcmp(value, "true") == 0 || strcmp(value, "false") == 0) {
794 SetSecurityDevelopermodeLayoutTraceEnabled(strcmp(value, "true") == 0);
798 void SystemProperties::EnableSystemParameterDebugStatemgrCallback(const char* key, const char* value, void* context)
800 if (strcmp(value, "true") == 0 || strcmp(value, "false") == 0) {
801 SetStateManagerEnabled(strcmp(value, "true") == 0);
805 void SystemProperties::EnableSystemParameterDebugBoundaryCallback(const char* key, const char* value, void* context)
807 bool isDebugBoundary = strcmp(value, "true") == 0;
814 void SystemProperties::EnableSystemParameterPerformanceMonitorCallback(const char* key, const char* value,
817 if (strcmp(value, "true") == 0 || strcmp(value, "false") == 0) {
818 SetPerformanceMonitorEnabled(strcmp(value, "true") == 0);