Home
last modified time | relevance | path

Searched refs:offsetValue (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/
H A Drosen_render_focus_animation.cpp221 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 /… in PaintTVFocus()
254 PaintClipRect(canvas, offsetValue); in PaintTVFocus()
259 …canvas->Translate(offset_.GetX() - offsetValue / MULTIPLE_FACTOR, offset_.GetY() - offsetValue / M… in PaintTVFocus()
309 width_ = rrect_.Width() + offsetValue; in PaintPhoneFocus()
312 … offset_.GetX() - offsetValue / MULTIPLE_FACTOR, offset_.GetY() - offsetValue / MULTIPLE_FACTOR); in PaintPhoneFocus()
326 … offset_.GetX() + offsetValue / MULTIPLE_FACTOR, offset_.GetY() + offsetValue / MULTIPLE_FACTOR); in PaintPhoneFocus()
353 … offset_.GetX() - offsetValue / MULTIPLE_FACTOR, offset_.GetY() - offsetValue / MULTIPLE_FACTOR); in PaintPhoneFocus()
[all …]
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
H A Dtoast_layout_property.h111 auto offsetValue = JsonUtil::Create(true); in ToJsonValue() local
112 offsetValue->Put("dX", propToastOffset_.value_or(DimensionOffset()).GetX().ConvertToVp()); in ToJsonValue()
113 offsetValue->Put("dY", propToastOffset_.value_or(DimensionOffset()).GetY().ConvertToVp()); in ToJsonValue()
114 json->PutExtAttr("offset", offsetValue, filter); in ToJsonValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_layout_property.h95 auto offsetValue = JsonUtil::Create(true); in ToJsonValue() local
96 offsetValue->Put("dX", propDialogOffset_.value_or(DimensionOffset()).GetX().Value()); in ToJsonValue()
97 offsetValue->Put("dY", propDialogOffset_.value_or(DimensionOffset()).GetY().Value()); in ToJsonValue()
98 json->PutExtAttr("offset", offsetValue, filter); in ToJsonValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_refresh_ffi.cpp31 void FfiOHOSAceFrameworkRefreshCreate(bool refreshing, double offsetValue, int32_t offsetUnit, int3… in FfiOHOSAceFrameworkRefreshCreate() argument
54 Dimension offset(offsetValue, static_cast<DimensionUnit>(offsetUnit)); in FfiOHOSAceFrameworkRefreshCreate()
68 void FfiOHOSAceFrameworkRefreshCreateWithChangeEvent(bool refreshing, double offsetValue, in FfiOHOSAceFrameworkRefreshCreateWithChangeEvent() argument
101 Dimension offset(offsetValue, static_cast<DimensionUnit>(offsetUnit)); in FfiOHOSAceFrameworkRefreshCreateWithChangeEvent()
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 i…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dcanvas_gradient.cpp31 void NativeCanvasGradient::AddColorStop(double offsetValue, const Color& colorValue) in AddColorStop() argument
35 color.SetDimension(offsetValue); in AddColorStop()
H A Dcanvas_gradient.h30 void AddColorStop(double offsetValue, const Color& colorValue);
/ohos5.0/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 __anonfbf230a50202() variable
220 EXPECT_NE(nullptr, offsetValue);
221 offsetTensor->SetBuffer(offsetValue, sizeof(float) * offsetSize);
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/spancolorfill/
H A Dfill_gradient_lut.h145 ColorPoint(float offsetValue, const Rgba8T& colorValue) in ColorPoint()
146 : offset(offsetValue), color(colorValue) in ColorPoint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Dcircle_paint_method.h64 …[radiusValue = radius, offsetValue = paintWrapper->GetContentOffset(), shapePaintProperty, paintWr… in GetContentDrawFunction()
66 … CirclePainter::DrawCircle(canvas, radiusValue, offsetValue, *shapePaintProperty); in GetContentDrawFunction()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerstub_fuzzer/
H A Dplayer_service_proxy_fuzzer.cpp176 int64_t offsetValue; in SetFdSourceStatic() local
181offsetValue = *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 *>(inpu… in AddSubFdSourceStatic() local
250 (void)data.WriteInt64(offsetValue); in AddSubFdSourceStatic()
/ohos5.0/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.cpp335 auto offsetValue = obj->GetProperty("offset"); in ParseAlertOffset() local
336 if (offsetValue->IsObject()) { in ParseAlertOffset()
337 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in ParseAlertOffset()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/util/
H A Dhap_signing_block_utils.cpp179 uint32_t offsetValue; in GetCentralDirectoryOffset() local
181 if (!eocd.GetUInt32(ZIP_CD_OFFSET_IN_EOCD, offsetValue) || in GetCentralDirectoryOffset()
187 centralDirectoryOffset = static_cast<long long>(offsetValue); in GetCentralDirectoryOffset()
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.h369 std::string offsetValue; in ConvertStrToOffset() local
370 while (getline(stream, offsetValue, ' ')) { in ConvertStrToOffset()
371 offsetValues.emplace_back(offsetValue); in ConvertStrToOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_datepicker.cpp1058 auto offsetValue = paramObject->GetProperty("offset"); in UpdatePickerDialogPositionInfo() local
1059 if (offsetValue->IsObject()) { in UpdatePickerDialogPositionInfo()
1060 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in UpdatePickerDialogPositionInfo()
1746 auto offsetValue = paramObject->GetProperty("offset"); in Show() local
1747 if (offsetValue->IsObject()) { in Show()
1748 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in Show()
H A Djs_textpicker.cpp1492 auto offsetValue = paramObject->GetProperty("offset"); in Show() local
1493 if (offsetValue->IsObject()) { in Show()
1494 auto offsetObj = JSRef<JSObject>::Cast(offsetValue); in Show()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_Extend_test_ng.cpp1546 float offsetValue { 0.0f }; member
1558 auto touchOffset = testData.offsetValue;
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_service.cpp954 uint8_t offsetValue = 8; in FillDevStrings() local
959 const std::vector<uint8_t> bcdData {(bcdUsb & 0xff), ((bcdUsb >> offsetValue) & 0xff)}; in FillDevStrings()
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp9181 std::array<float, TWO> offsetValue = { xDimension.Value(), yDimension.Value() }; in SetOffset() local
9184 …fullImpl->getNodeModifiers()->getCommonModifier()->setOffset(node->uiNodeHandle, &offsetValue[0], … in SetOffset()