Home
last modified time | relevance | path

Searched refs:offsetValue (Results 1 - 21 of 21) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/
H A Drosen_render_focus_animation.cpp216 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 Ddom_grid_column.cpp129 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 Dcanvas_gradient.cpp29 void NativeCanvasGradient::AddColorStop(double offsetValue, const Color& colorValue) in AddColorStop() argument
33 color.SetDimension(offsetValue); in AddColorStop()
H A Dcanvas_gradient.h30 void AddColorStop(double offsetValue, const Color& colorValue);
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_refresh_ffi.h26 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 Dcj_refresh_ffi.cpp27 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 Ddialog_layout_property.h95 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 Dtoast_layout_property.h110 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 Dcircle_paint_method.h64 [radiusValue = radius, offsetValue = paintWrapper->GetContentOffset(), shapePaintProperty, paintWrapper](
66 CirclePainter::DrawCircle(canvas, radiusValue, offsetValue, *shapePaintProperty);
/foundation/multimedia/player_framework/test/fuzztest/common/
H A Dtest_player.cpp99 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 Dfill_gradient_lut.h142 * @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 Dcrop_test.cpp80 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 Dplayer_service_proxy_fuzzer.cpp176 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 Djs_action_sheet.cpp275 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 Djs_custom_dialog_controller.cpp149 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 Djs_alert_dialog.cpp317 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 Dutils.h380 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 Djs_datepicker.cpp1064 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 Djs_textpicker.cpp1450 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 Dslider_Extend_test_ng.cpp1578 float offsetValue { 0.0f }; in HWTEST_F()
1590 auto touchOffset = testData.offsetValue; in HWTEST_F()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp9140 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()

Completed in 46 milliseconds