Home
last modified time | relevance | path

Searched refs:gap (Results 1 – 25 of 48) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/property/
H A Dtemplates_parser_test_ng.cpp60 double gap = 0; variable
224 gap = 100;
240 gap = -10;
285 gap = 1;
301 gap = 1;
317 gap = 2;
343 gap = 2;
359 gap = 2;
365 gap = 100;
388 gap = 100;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dtemplates_parser.cpp244 gap = 0.0; in ParseArgsWithAutoFill()
250 count = (sizeLeft + gap) / (sizeRepeat + countRepeat * gap); in ParseArgsWithAutoFill()
297 gap = 0.0; in ParseAutoFill()
323 pxSum += lens.size() * gap; in ParseAutoFill()
369 double sizeLeft = size > ((strs.size() - 1) * gap) ? size - (strs.size() - 1) * gap : size; in ParseArgsWithoutAutoFill()
370 gap = size > ((strs.size() - 1) * gap) ? gap : 0.0; in ParseArgsWithoutAutoFill()
434 count = (sizeLeft + gap) / (sizeRepeat + countRepeat * gap); in ParseArgsWithAutoFit()
442 double gridWidth = (sizeLeft + gap) / count - gap; in ParseArgsWithAutoFit()
475 float realGap = gap; in ParseArgsWithAutoStretch()
477 if (trackSize + gap > 0) { in ParseArgsWithAutoStretch()
[all …]
H A Dtemplates_parser.h24 const std::string& args, double size, double gap, int32_t childrenCount);
/ohos5.0/base/startup/init/watchdog/
H A Dinit_watchdog.c101 int gap = 0; in main() local
103 gap = atoi(argv[2]); // 2 second parameter. in main()
105 gap = (gap > 0) ? gap : DEFAULT_GAP; in main()
107 INIT_LOGI("Watchdog started (interval %d, margin %d), fd = %d\n", interval, gap, fd); in main()
115 int timeoutSet = interval + gap; in main()
128 interval = (timeoutGet > gap) ? (timeoutGet - gap) : 1; in main()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/
H A DBUILD.gn89 "src/gap/gap.c",
90 "src/gap/gap_br_discover.c",
91 "src/gap/gap_br_sec.c",
92 "src/gap/gap_le_adv.c",
93 "src/gap/gap_le_scan.c",
94 "src/gap/gap_le_conn.c",
95 "src/gap/gap_le_sec.c",
96 "src/gap/gap_btm_receive.c",
98 "src/gap/gap_if.c",
100 "src/gap/gap_le_if.c",
[all …]
H A Dbtstack_blocklist.txt20 src:*/bluetooth/services/bluetooth/stack/src/gap/gap_le_sec.c
21 src:*/bluetooth/services/bluetooth/stack/src/gap/gap_le_adv.c
22 src:*/bluetooth/services/bluetooth/stack/src/gap/gap_le_conn.c
23 src:*/bluetooth/services/bluetooth/stack/src/gap/gap_le_scan.c
24 src:*/bluetooth/services/bluetooth/stack/src/gap/gap_br_sec.c
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dtemplates_parser.cpp220 double sizeNonRepeatGap = GreatNotEqual(countNonRepeat, 0) ? (countNonRepeat - 1) * gap : 0; in ParseArgsWithAutoFill()
224 count = (sizeLeft + gap) / (sizeRepeat + (countRepeat)*gap); in ParseArgsWithAutoFill()
244 const WeakPtr<RenderNode>& node, const std::string& args, double size, double gap) in ParseArgs() argument
252 return ParseArgsWithAutoFill(args, size, gap); in ParseArgs()
254 return ParseArgs(args, size, gap); in ParseArgs()
257 std::vector<double> TemplatesParser::ParseArgs(const std::string& args, double size, double gap) in ParseArgs() argument
271 return ParseAutoFill(strs, size, gap); in ParseArgs()
290 double sizeLeft = size - (static_cast<int32_t>(strs.size()) - 1) * gap; in ParseArgs()
291 double sizeNoGap = size - (static_cast<int32_t>(strs.size()) - 1) * gap; in ParseArgs()
368 pxSum += lens.size() * gap; in ParseAutoFill()
[all …]
H A Dtemplates_parser.h30 …uble> ParseArgs(const WeakPtr<RenderNode>& node, const std::string& args, double size, double gap);
50 static std::vector<double> ParseArgs(const std::string& args, double size, double gap);
51 …c std::vector<double> ParseAutoFill(const std::vector<std::string>& strs, double size, double gap);
55 std::vector<double> ParseArgsWithAutoFill(const std::string& args, double size, double gap);
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_flow_control_service_test.cpp73 int gap = MAX_CREATE_NUM_PERSECOND - MAX_CREATE_NUM_PERSECOND_PERAPP; variable
75 for (int i = 0; i < gap; i++) {
93 gap = MAX_UPDATE_NUM_PERSECOND - MAX_UPDATE_NUM_PERSECOND_PERAPP;
95 for (int i = 0; i < gap; i++) {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dgrid_modifier.cpp76 Dimension gap; in SetGridColumnsGap() local
80 gap = CalcDimension(columnsGap->value, unitEnum); in SetGridColumnsGap()
82 if (LessOrEqual(gap.Value(), 0.0)) { in SetGridColumnsGap()
83 gap = 0.0_px; in SetGridColumnsGap()
85 GridModelNG::SetColumnsGap(frameNode, gap); in SetGridColumnsGap()
100 Dimension gap; in SetGridRowsGap() local
102 gap = CalcDimension(rowsGap->string, DimensionUnit::CALC); in SetGridRowsGap()
104 gap = CalcDimension(rowsGap->value, unitEnum); in SetGridRowsGap()
106 if (LessOrEqual(gap.Value(), 0.0)) { in SetGridRowsGap()
107 gap = 0.0_px; in SetGridRowsGap()
[all …]
/ohos5.0/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_smooth_processor.cpp74 uint64_t gap = UINT64_MAX; in GetNearestEvent() local
81 if (event.timestamp - nanoTimestamp < gap) { in GetNearestEvent()
82 gap = event.timestamp - nanoTimestamp; in GetNearestEvent()
86 if (nanoTimestamp - event.timestamp < gap) { in GetNearestEvent()
87 gap = nanoTimestamp - event.timestamp; in GetNearestEvent()
/ohos5.0/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/
H A Dnetfirewall_client_test.cpp67 const int32_t gap = 10; in GetIpList() local
80 ss << (i * gap); in GetIpList()
83 ss << std::hex << std::setw(hexWidth) << std::setfill('0') << (i * gap); in GetIpList()
91 ss << (i * gap); in GetIpList()
94 ss << std::hex << std::setw(hexWidth) << std::setfill('0') << (i * gap + gap); in GetIpList()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-pixelRound.md41 …ere is a 1 px gap revealed in the parent container.| 1. Use the ceil rounding method for the child…
49 This example shows how to use **pixelRound** to guide layout adjustments when there is a 1 px gap i…
97 …. As you increase the width, you may notice that at certain widths, a 1 px gap appears on the righ…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_content_modifier.cpp314 auto gap = NearEqual(scaleY, 1.0f) ? 0.0f : handleStrokeWidth_->Get() * scaleY; in PaintHandle() local
317 startPoint.SetY(handleRadius + gap); in PaintHandle()
318 endPoint.SetY(handleRadius + handleRect.Height() + gap); in PaintHandle()
321 startPoint.SetY(-handleRadius - gap); in PaintHandle()
322 endPoint.SetY(-handleRadius - handleRect.Height() - gap); in PaintHandle()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-container-div.md35 | grid-[columns\|rows]-gap | &lt;length&gt; | 0 | 否 | 用于设置行与行的间距或者列与列的间距,也可以支持通过…
204 grid-columns-gap: 24px;
205 grid-rows-gap: 24px;
H A Djs-components-grid-col.md45 | grid-[columns\|rows]-gap | &lt;length&gt; | 0 | 否 | 用于设置行与行的间距或者列与列的间距,也可以支持通过gr…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drender_grid_layout.h270 std::vector<double> ParseArgs(const std::string& args, double size, double gap);
272 … std::vector<double> ParseAutoFill(const std::vector<std::string>& strs, double size, double gap);
620 std::vector<double> ParseArgsWithAutoFill(const std::string& args, double size, double gap);
621 std::vector<double> ParseArgsInner(const std::string& args, double size, double gap);
H A Drender_grid_layout.cpp552 …::vector<double> RenderGridLayout::ParseArgsInner(const std::string& args, double size, double gap) in ParseArgsInner() argument
566 return ParseAutoFill(strs, size, gap); in ParseArgsInner()
584 double sizeLeft = size - (strs.size() - 1) * gap; in ParseArgsInner()
586 … double frSizeSum = size * (FULL_PERCENT - peSum) / FULL_PERCENT - (strs.size() - 1) * gap - pxSum; in ParseArgsInner()
659 pxSum += lens.size() * gap; in ParseAutoFill()
667 allocatedSize -= *lenIter + gap; in ParseAutoFill()
3354 return ParseArgsInner(PreParseArgs(args), size, gap); in ParseArgsWithAutoFill()
3383 double sizeNonRepeatGap = GreatNotEqual(countNonRepeat, 0) ? (countNonRepeat - 1) * gap : 0; in ParseArgsWithAutoFill()
3401 std::vector<double> RenderGridLayout::ParseArgs(const std::string& args, double size, double gap) in ParseArgs() argument
3404 return ParseArgsWithAutoFill(args, size, gap); in ParseArgs()
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-container-div.md33 | grid-[columns\|rows]-gap | &lt;length&gt; | 0 | 否 | 用于设置行与行的间距或者列与列的间距,也可以支持通过grid-gap设置相同的行列间距,仅…
/ohos5.0/base/startup/init/ueventd/
H A Dueventd_device_handler.c106 int gap = slash - p; in SetDeviceLable() local
108 if (gap == 0) { in SetDeviceLable()
112 if (gap < 0) { // end with '/' in SetDeviceLable()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-grid-col.md46gap | &lt;length&gt; | 0 | No | Size of the gap between two consecutive rows or co…
H A Djs-components-container-div.md36gap | &lt;length&gt; | 0 | No | Size of the gap between two consecutive rows or …
205 grid-columns-gap: 24px;
206 grid-rows-gap: 24px;
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-container-div.md33gap | &lt;length&gt; | 0 | No| Size of the gap between two consecutive rows or columns in a grid l…
/ohos5.0/docs/zh-cn/device-dev/porting/
H A Dporting-minichip-subsys-communication.md82 | BleGattRegisterCallbacks | 注册gap,GATT事件回调函数。 |
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_auto_connect_service.cpp480 int gap = static_cast<int>(time(nullptr)) - selectDeviceLastTime; in AllowAutoSelectDevice() local
481 if (gap < MIN_SELECT_NETWORK_TIME) { in AllowAutoSelectDevice()
482 WIFI_LOGE("%ds time before we selected the network(30s).\n", gap); in AllowAutoSelectDevice()

12