Home
last modified time | relevance | path

Searched refs:normal (Results 1 - 25 of 44) sorted by relevance

12

/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_target_packing_common.h24 // octahedron-normal vector encoding
25 // https://knarkowicz.wordpress.com/2014/04/16/octahedron-normal-vector-encoding/
30 vec2 NormalOctEncode(in vec3 normal) in NormalOctEncode() argument
32 vec3 n = normal; in NormalOctEncode()
98 vec3 GetPackNormal(in vec3 normal) in GetPackNormal() argument
101 return vec3(NormalOctEncode(normal), 0.0); in GetPackNormal()
103 return vec3(normal * 0.5 + 0.5); in GetPackNormal()
125 vec4 GetPackVelocityAndNormal(in vec2 velocity, in vec3 normal) in GetPackVelocityAndNormal() argument
127 return vec4(velocity, NormalOctEncode(normal)); in GetPackVelocityAndNormal()
149 vec3 GetUnpackNormal(in vec3 normal) in GetUnpackNormal() argument
175 GetUnpackVelocityAndNormal(in vec4 packed, out vec2 velocity, out vec3 normal) GetUnpackVelocityAndNormal() argument
[all...]
/foundation/distributeddatamgr/relational_store/test/native/appdatafwk/unittest/
H A Dserializable_test.cpp69 Normal normal; member
75 SetValue(node[GET_NAME(normal)], normal);
83 GetValue(node, GET_NAME(normal), normal);
123 Normal normal; in HWTEST_F() local
124 normal.name = "normal"; in HWTEST_F()
125 normal.count = -1; in HWTEST_F()
126 normal in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_sub_1_test.cpp28 * @tc.desc: test testInput underlineColor detailed, TextInput is normal or onfocus
59 EXPECT_EQ(pattern_->GetUserUnderlineColor().normal, std::nullopt); in HWTEST_F()
65 * @tc.step: step2. Set userUnderlineColor.normal is GREEN in HWTEST_F()
68 userColor.normal = Color::GREEN; in HWTEST_F()
73 * @tc.expected: UserUnderlineColor.normal is GREEN in HWTEST_F()
76 EXPECT_EQ(userColorRes.normal, Color::GREEN); in HWTEST_F()
108 userColor.normal = std::nullopt; in HWTEST_F()
117 EXPECT_EQ(userColorRes.normal, std::nullopt); in HWTEST_F()
156 EXPECT_EQ(userColorRes.normal, std::nullopt); in HWTEST_F()
192 EXPECT_EQ(userColorRes.normal, st in HWTEST_F()
[all...]
H A Dtext_input_sub_2_test.cpp55 EXPECT_EQ(pattern_->GetUserUnderlineColor().normal, std::nullopt); in HWTEST_F()
61 * @tc.step: step2. Set userUnderlineColor.normal is GREEN in HWTEST_F()
64 userColor.normal = Color::GREEN; in HWTEST_F()
69 * @tc.expected: UserUnderlineColor.normal is GREEN in HWTEST_F()
72 EXPECT_EQ(userColorRes.normal, Color::GREEN); in HWTEST_F()
97 userColor.normal = std::nullopt; in HWTEST_F()
106 EXPECT_EQ(userColorRes.normal, std::nullopt); in HWTEST_F()
135 EXPECT_EQ(userColorRes.normal, std::nullopt); in HWTEST_F()
164 EXPECT_EQ(userColorRes.normal, std::nullopt); in HWTEST_F()
182 * @tc.step: step10. Set userUnderlineColor.normal i in HWTEST_F()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dserializable_test.cpp68 Normal normal; member
74 SetValue(node[GET_NAME(normal)], normal);
82 GetValue(node, GET_NAME(normal), normal);
124 Normal normal; in HWTEST_F() local
125 normal.name = "normal"; in HWTEST_F()
126 normal.count = -1; in HWTEST_F()
127 normal in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_picker_base.cpp239 { DOM_TEXT_COLOR, [](const DOMPickerBase& node, const std::string& val, TextStyle& normal, TextStyle&, in SetOptionStyleOperators()
240 TextStyle&, TextStyle&) { normal.SetTextColor(node.ParseColor(val)); } }, in SetOptionStyleOperators()
256 [](const DOMPickerBase& node, const std::string& val, TextStyle& normal, TextStyle& select, in SetOptionStyleOperators()
258 normal.SetFontFamilies(node.ParseFontFamilies(val)); in SetOptionStyleOperators()
265 TextStyle& normal, TextStyle&, TextStyle&, TextStyle&) { in SetOptionStyleOperators()
266 normal.SetFontSize(node.ParseDimension(val)); in SetOptionStyleOperators()
267 normal.SetAdaptMaxFontSize(node.ParseDimension(val)); in SetOptionStyleOperators()
320 [](const DOMPickerBase& node, const std::string& val, TextStyle& normal, TextStyle& focus, TextStyle&, in SetTextStyleOperators()
322 normal.SetAllowScale(StringToBool(val)); in SetTextStyleOperators()
344 [](const DOMPickerBase& node, const std::string& val, TextStyle& normal, TextStyl in SetTextStyleOperators()
[all...]
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_timed_collect.cpp137 if (timeInfos_[interval].normal) { in ReportEventByTimeInfo()
139 HILOGI("report normal:%{public}d ,persistence:%{public}d", interval, persistence); in ReportEventByTimeInfo()
157 timeInfos_[interval].normal = true; in SaveTimedInfos()
163 timeInfos_[interval].normal, timeInfos_[interval].awake); in SaveTimedInfos()
395 timeInfos_[interval].normal = false; in RemoveTimesInfo()
400 if (!timeInfos_[interval].normal && !timeInfos_[interval].awake) { in RemoveTimesInfo()
404 timeInfos_[interval].normal, timeInfos_[interval].awake); in RemoveTimesInfo()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dcloud_types_util.cpp81 return ITypesUtil::Marshal(data, input.table, input.inserted, input.updated, input.normal); in Marshalling()
87 return ITypesUtil::Unmarshal(data, output.table, output.inserted, output.updated, output.normal); in Unmarshalling()
/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Devent_manager.cpp159 .msg = (event.normal ? CoordinationMessage::DEACTIVATE_SUCCESS : CoordinationMessage::DEACTIVATE_FAIL), in StopCooperateFinish()
180 Utility::Anonymize(event.networkId).c_str(), event.normal); in OnProfileChanged()
181 CoordinationMessage msg = (event.normal ? CoordinationMessage::PREPARE : CoordinationMessage::UNPREPARE); in OnProfileChanged()
H A Ddsoftbus_handler.cpp181 packet << event.targetNetworkId << event.normal; in RelayCooperateFinish()
288 .normal = true, in OnStopCooperate()
321 .normal = true, in OnRelayCooperate()
339 packet >> event.targetNetworkId >> event.normal; in OnRelayCooperateFinish()
H A Dcooperate_out.cpp162 .normal = true, in OnStop()
250 resp.normal = false; in OnRelay()
255 resp.normal = true; in OnRelay()
309 if (!context.IsPeer(notice.networkId) || notice.normal) { in OnSwitchChanged()
H A Dcooperate_in.cpp207 .normal = true, in OnStop()
288 if (!context.IsPeer(notice.networkId) || notice.normal) { in OnSwitchChanged()
491 if (notice.normal || in OnSwitchChanged()
526 if (notice.normal) { in OnResponse()
576 .normal = false, in OnProgress()
H A Dcooperate_free.cpp165 .normal = true, in OnStop()
/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/
H A Dcube_demo.js33 vec3 normal = normalize(vec3(u_NormalMatrix * a_Normal));
38 vec3 diffuse = lightColor * max(dot(normal,lightDirection),0.0);
/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/
H A Dcube2_demo.js33 vec3 normal = normalize(vec3(u_NormalMatrix * a_Normal));
38 vec3 diffuse = lightColor * max(dot(normal,lightDirection),0.0);
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/render/
H A Dintf_render_data_store_default_light.h105 BASE_NS::Math::UVec2 normal { 1024u, 1024u };
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/cloud_data/include/
H A Dcloud_types.h62 int32_t normal = 0; member
/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/
H A Dchip.js242 opacity: { normal: 1, hover: 0.95, pressed: 0.9 },
1089 this.prefixSymbol?.normal ||
1105 this.suffixSymbol?.normal ||
1129 this.prefixSymbol?.normal ||
1145 this.suffixSymbol?.normal ||
1270 return this.prefixSymbol?.normal;
1276 return this.suffixSymbol?.normal;
1362 if (this.prefixSymbol?.normal || this.prefixSymbol?.activated) {
1371 if (this.suffixSymbol?.normal || this.suffixSymbol?.activated) {
1669 if (this.prefixSymbol?.normal || thi
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/
H A Djs_cloud_utils.cpp238 napi_value normal = Convert2JSValue(env, value.normal); in Convert2JSValue() local
242 napi_set_named_property(env, jsValue, "normal", normal); in Convert2JSValue()
/foundation/systemabilitymgr/samgr/services/samgr/native/include/collect/
H A Ddevice_timed_collect.h29 bool normal = false; member
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/
H A Drender_data_store_default_light.cpp64 return resolutions_.normal; in GetShadowQualityResolution()
/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/src/
H A Dcloud_types_util.cpp133 return ITypesUtil::Unmarshal(data, output.table, output.inserted, output.updated, output.normal); in Unmarshalling()
/foundation/arkui/ace_engine/advanced_ui_component/toolbar/interfaces/
H A Dtoolbar.js643 if (this.toolBarList[t4]?.toolBarSymbolOptions?.normal ||
723 (!this.toolBarList[q4]?.toolBarSymbolOptions?.normal)) {
729 return this.toolBarList[q4]?.toolBarSymbolOptions?.normal;
792 if (c4?.icon || c4?.toolBarSymbolOptions?.activated || c4?.toolBarSymbolOptions?.normal) {
1108 if (this.itemDialog.toolBarSymbolOptions?.normal ||
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Ddevice_timed_collect_test.cpp275 info.normal = true; in HWTEST_F()
294 info.normal = true; in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/
H A Dconnect.rs963 let normal = AssetStatus::Normal; in ut_operation_type_serialize()
971 msg_parcel.write(&normal).unwrap(); in ut_operation_type_serialize()
999 let normal = AssetStatus::Normal; in ut_operation_type_deserialize()
1007 msg_parcel.write(&normal).unwrap(); in ut_operation_type_deserialize()
1014 assert_eq!(msg_parcel.read::<AssetStatus>().unwrap(), normal); in ut_operation_type_deserialize()

Completed in 15 milliseconds

12