/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/ |
H A D | rosen_render_focus_animation.cpp | 216 double offsetValue = NormalizeToPx(Dimension(FOCUS_ANIMATION_OFFSET, DimensionUnit::VP)) * MULTIPLE_FACTOR; in PaintTVFocus() local 221 width_ = rrect_.Width() + offsetValue; in PaintTVFocus() 222 height_ = rrect_.Height() + offsetValue; in PaintTVFocus() 227 PaintClipRect(skCanvas, offsetValue); in PaintTVFocus() 232 skCanvas->translate(offset_.GetX() - offsetValue / MULTIPLE_FACTOR, offset_.GetY() - offsetValue / MULTIPLE_FACTOR); in PaintTVFocus() 254 PaintClipRect(canvas, offsetValue); in PaintTVFocus() 259 canvas->Translate(offset_.GetX() - offsetValue / MULTIPLE_FACTOR, offset_.GetY() - offsetValue / MULTIPLE_FACTOR); in PaintTVFocus() 304 double offsetValue in PaintPhoneFocus() local 314 double offsetValue = NormalizeToPx(Dimension(PHONE_INDENTED_FOCUS_OFFSET, DimensionUnit::VP)) * MULTIPLE_FACTOR; PaintPhoneFocus() local 345 double offsetValue = NormalizeToPx(Dimension(PHONE_FOCUS_OFFSET, DimensionUnit::VP)) * MULTIPLE_FACTOR; PaintPhoneFocus() local 355 double offsetValue = NormalizeToPx(Dimension(PHONE_INDENTED_FOCUS_OFFSET, DimensionUnit::VP)) * MULTIPLE_FACTOR; PaintPhoneFocus() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_grid_column.cpp | 129 std::unique_ptr<JsonValue> offsetValue = jsonValue->GetValue(DOM_GRID_COLUMN_OFFSET); in ParseSpanAndOffset() local 130 if (!offsetValue) { in ParseSpanAndOffset() 133 if (offsetValue->IsNumber()) { in ParseSpanAndOffset() 134 offset.SetValue(offsetValue->GetDouble()); in ParseSpanAndOffset() 135 } else if (offsetValue->IsString()) { in ParseSpanAndOffset() 136 offset = ParseDimension(offsetValue->GetString()); in ParseSpanAndOffset()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | canvas_gradient.cpp | 29 void NativeCanvasGradient::AddColorStop(double offsetValue, const Color& colorValue) in AddColorStop() argument 33 color.SetDimension(offsetValue); in AddColorStop()
|
H A D | canvas_gradient.h | 30 void AddColorStop(double offsetValue, const Color& colorValue);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_refresh_ffi.h | 26 bool refreshing, double offsetValue, int32_t offsetUnit, int32_t friction); 28 bool refreshing, double offsetValue, int32_t offsetUnit, int32_t friction, void (*callback)(bool isRefreshing));
|
H A D | cj_refresh_ffi.cpp | 27 void FfiOHOSAceFrameworkRefreshCreate(bool refreshing, double offsetValue, int32_t offsetUnit, int32_t friction) in FfiOHOSAceFrameworkRefreshCreate() argument 50 Dimension offset(offsetValue, static_cast<DimensionUnit>(offsetUnit)); in FfiOHOSAceFrameworkRefreshCreate() 64 void FfiOHOSAceFrameworkRefreshCreateWithChangeEvent(bool refreshing, double offsetValue, in FfiOHOSAceFrameworkRefreshCreateWithChangeEvent() argument 97 Dimension offset(offsetValue, static_cast<DimensionUnit>(offsetUnit)); in FfiOHOSAceFrameworkRefreshCreateWithChangeEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_layout_property.h | 95 auto offsetValue = JsonUtil::Create(true); variable 96 offsetValue->Put("dX", propDialogOffset_.value_or(DimensionOffset()).GetX().Value()); 97 offsetValue->Put("dY", propDialogOffset_.value_or(DimensionOffset()).GetY().Value()); 98 json->PutExtAttr("offset", offsetValue, filter);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
H A D | toast_layout_property.h | 110 auto offsetValue = JsonUtil::Create(true); variable 111 offsetValue->Put("dX", propToastOffset_.value_or(DimensionOffset()).GetX().ConvertToVp()); 112 offsetValue->Put("dY", propToastOffset_.value_or(DimensionOffset()).GetY().ConvertToVp()); 113 json->PutExtAttr("offset", offsetValue, filter);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | circle_paint_method.h | 64 [radiusValue = radius, offsetValue = paintWrapper->GetContentOffset(), shapePaintProperty, paintWrapper]( 66 CirclePainter::DrawCircle(canvas, radiusValue, offsetValue, *shapePaintProperty);
|
/foundation/multimedia/player_framework/test/fuzztest/common/ |
H A D | test_player.cpp | 99 int32_t offsetValue = 0; in SetFdSource() local 108 int32_t retValue = player_->SetSource(fdValue, offsetValue, lengthValue); in SetFdSource()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/spancolorfill/ |
H A D | fill_gradient_lut.h | 142 * @param offsetValue (0-1) 145 ColorPoint(float offsetValue, const Rgba8T& colorValue) in ColorPoint() 146 : offset(offsetValue), color(colorValue) in ColorPoint()
|
/foundation/ai/neural_network_runtime/test/unittest/ops/ |
H A D | crop_test.cpp | 80 int64_t* offsetValue = new (std::nothrow) int64_t[1] {1};
in SaveOffset() local 81 offsetTensor->SetBuffer(offsetValue, sizeof(int64_t));
in SaveOffset() 218 float* offsetValue = new (std::nothrow) float[1] {1.0f};
in HWTEST_F() local 220 EXPECT_NE(nullptr, offsetValue);
in HWTEST_F() 221 offsetTensor->SetBuffer(offsetValue, sizeof(float) * offsetSize);
in HWTEST_F()
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerstub_fuzzer/ |
H A D | player_service_proxy_fuzzer.cpp | 176 int64_t offsetValue; in SetFdSourceStatic() local 181 offsetValue = *reinterpret_cast<uint32_t *>(inputData) % *reinterpret_cast<int64_t *>(inputData); in SetFdSourceStatic() 183 (void)data.WriteInt64(offsetValue); in SetFdSourceStatic() 189 offsetValue = 0; in SetFdSourceStatic() 204 (void)data.WriteInt64(offsetValue); in SetFdSourceStatic() 248 int64_t offsetValue = *reinterpret_cast<uint32_t *>(inputData) % *reinterpret_cast<int64_t *>(inputData); in AddSubFdSourceStatic() local 250 (void)data.WriteInt64(offsetValue); in AddSubFdSourceStatic()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/action_sheet/ |
H A D | js_action_sheet.cpp | 275 auto offsetValue = obj->GetProperty("offset"); in ParseOffset() local 276 if (offsetValue->IsObject()) { in ParseOffset() 277 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in ParseOffset()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/ |
H A D | js_custom_dialog_controller.cpp | 149 auto offsetValue = constructorArg->GetProperty("offset"); in ConstructorCallback() local 150 if (offsetValue->IsObject()) { in ConstructorCallback() 151 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in ConstructorCallback()
|
H A D | js_alert_dialog.cpp | 317 auto offsetValue = obj->GetProperty("offset"); in ParseAlertOffset() local 318 if (offsetValue->IsObject()) { in ParseAlertOffset() 319 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in ParseAlertOffset()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | utils.h | 380 std::string offsetValue; in ConvertStrToOffset() local 381 while (getline(stream, offsetValue, ' ')) { in ConvertStrToOffset() 382 offsetValues.emplace_back(offsetValue); in ConvertStrToOffset()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_datepicker.cpp | 1064 auto offsetValue = paramObject->GetProperty("offset"); in UpdatePickerDialogPositionInfo() local 1065 if (offsetValue->IsObject()) { in UpdatePickerDialogPositionInfo() 1066 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in UpdatePickerDialogPositionInfo() 1752 auto offsetValue = paramObject->GetProperty("offset"); in Show() local 1753 if (offsetValue->IsObject()) { in Show() 1754 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in Show()
|
H A D | js_textpicker.cpp | 1450 auto offsetValue = paramObject->GetProperty("offset"); in Show() local 1451 if (offsetValue->IsObject()) { in Show() 1452 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in Show()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/ |
H A D | slider_Extend_test_ng.cpp | 1578 float offsetValue { 0.0f }; in HWTEST_F() 1590 auto touchOffset = testData.offsetValue; in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | style_modifier.cpp | 9140 std::array<float, TWO> offsetValue = { xDimension.Value(), yDimension.Value() }; in SetOffset() local 9143 fullImpl->getNodeModifiers()->getCommonModifier()->setOffset(node->uiNodeHandle, &offsetValue[0], &offsetUnit[0]); in SetOffset()
|