/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | style_modifier.cpp | 688 imageInfos[i].top = images[i]->top.value_or(0); in ParseImages() 945 struct ArkUISizeType top = { item->value[topIndex].f32, unit }; in SetPadding() local 951 node->uiNodeHandle, &top, &right, &bottom, &left); in SetPadding() 954 node->uiNodeHandle, &top, &right, &bottom, &left); in SetPadding() 957 node->uiNodeHandle, &top, &right, &bottom, &left); in SetPadding() 1046 ArkUISizeType top, right, bottom, left; in SetMargin() local 1050 top.value = NUM_0; in SetMargin() 1054 top.unit = left.unit; in SetMargin() 1056 top in SetMargin() 3432 struct ArkUISizeType top = { item->value[topIndex].f32, UNIT_PERCENT }; SetPaddingPercent() local 3468 struct ArkUISizeType top = { item->value[topIndex].f32, UNIT_PERCENT }; SetMarginPercent() local [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | ability.cpp | 1838 void Ability::GetWindowRect(int32_t &left, int32_t &top, int32_t &width, int32_t &height) in GetWindowRect() argument 1851 top = window->GetRect().posY_; in GetWindowRect() 1854 TAG_LOGI(AAFwkTag::ABILITY, "left:%{public}d, top:%{public}d, width:%{public}d, height:%{public}d", in GetWindowRect() 1855 left, top, width, height); in GetWindowRect()
|
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | rosen_render_text_field.cpp | 46 // pixel for how far the caret to the top of paint rect. Sometimes may leave some space for the floor. 597 RSScalar top = offset.GetY() + NormalizeToPx(DEFAULT_FOCUS_BORDER_WIDTH) * HALF; local 600 auto rect = RSRect(left, top, width + left, height + top);
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.cpp | 722 // Relative and absolute position needs to update the top component props. in GenerateComponentNode() 2059 compositeComponent->SetTop(positionStyle.top); in UpdatePositionProps() 2096 tweenComponent->SetTop(positionStyle.top); in UpdateTweenPosition() 2116 positionComponent_->SetTop(positionStyle.top); in UpdatePositionComponent()
|
/foundation/arkui/ace_engine/advanced_ui_component/gridobjectsortcomponent/interfaces/ |
H A D | gridobjectsortcomponent.js | 1215 Text.margin({ top: 2 }); 1380 Text.margin({ top: 2 }); 1386 top: PADDING_EIGHT,
|
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 860 top: LengthMetrics.vp(6), 867 top: LengthMetrics.vp(4), 1540 top: LengthMetrics.px(Math.floor(this.getUIContext()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/radio/ |
H A D | radio_test_ng.cpp | 331 EXPECT_EQ(frameNode->GetLayoutProperty()->GetMarginProperty()->top.value(), CalcLength(VERTICAL_PADDING)); in HWTEST_F() 732 EXPECT_EQ(layoutProperty->GetMarginProperty()->top.value(), CalcLength(VERTICAL_PADDING)); in HWTEST_F() 742 EXPECT_EQ(layoutProperty->GetMarginProperty()->top.value(), CalcLength(VERTICAL_PADDING)); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/button/ |
H A D | button_test_ng.cpp | 233 PaddingProperty CreatePadding(float left, float top, float right, float bottom) in CreatePadding() argument 238 padding.top = CalcLength(top); in CreatePadding()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_testthree_ng.cpp | 1636 MarginPropertyF margin { .left = 40.f, .right = 40.f, .top = 80.f, .bottom = 80.f }; in HWTEST_F() 1975 MarginPropertyF margin { .left = 40.f, .right = 40.f, .top = 80.f, .bottom = 80.f }; in HWTEST_F() 2127 MarginPropertyF margin { .left = 40.f, .right = 40.f, .top = 80.f, .bottom = 80.f }; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_surface_render_node.cpp | 150 int top = std::clamp<int>(localClipRect.GetTop(), 0, properties.GetBoundsHeight()); in UpdateSrcRect() local 154 std::ceil(properties.GetBoundsHeight() - top)); in UpdateSrcRect() 155 RectI srcRect = {left, top, width, height}; in UpdateSrcRect() 1934 screen rotation state as top/left/bottom/right has changed when screen rotated.
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 1847 float top = 0; in Unmarshalling() local 1850 bool success = parcel.ReadFloat(left) && parcel.ReadFloat(top) && in Unmarshalling() 1862 Drawing::Rect rect(left, top, right, bottom); in Unmarshalling()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_encoder.cpp | 1469 !GetMetadataValueInt32(fragmentMetadata, FRAGMENT_METADATA_KEY_Y, outData.top) ||
in CheckFragmentMetadata() 1475 if (!ImageUtils::IsInRange(outData.left, 0, mainW) || !ImageUtils::IsInRange(outData.top, 0, mainH) ||
in CheckFragmentMetadata() 1478 !ImageUtils::IsInRange(outData.top + outData.height, 0, mainH)) {
in CheckFragmentMetadata()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_store_impl.cpp | 1877 BaseTransaction transaction = connectionPool_->GetTransactionStack().top(); in RollBack() 1880 connectionPool_->GetTransactionStack().top().SetChildFailure(true); in RollBack() 1972 BaseTransaction transaction = connectionPool_->GetTransactionStack().top(); in Commit()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/canvas_napi/ |
H A D | js_canvas.cpp | 600 "Incorrect parameter0 type. The type of left, top, right and bottom must be number."); in OnDrawArc() 638 "Incorrect parameter0 type. The type of left, top, right and bottom must be number."); in OnDrawRect() 645 double top = 0.0; in OnDrawRect() local 646 GET_DOUBLE_PARAM(ARGC_ONE, top); in OnDrawRect() 651 drawingRect = Drawing::Rect(left, top, right, bottom); in OnDrawRect() 864 "Incorrect parameter0 type. The type of left, top, right and bottom must be number."); in OnDrawOval() 1731 "Incorrect parameter0 type. The type of left, top, right and bottom must be number."); in OnSaveLayer() 1832 "Incorrect parameter0 type. The type of left, top, right and bottom must be number."); in OnClipRect() 2082 "Incorrect rect dst parameter type. The type of left, top, right and bottom must be number."); in OnDrawImageRect() 2176 "Incorrect rect src parameter type. The type of left, top, righ in OnDrawImageRectWithSrc() [all...] |
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | btree.c | 1461 make_btree_freeing_key(r[i].b, keylist.top); in btree_gc_coalesce() 1531 make_btree_freeing_key(replace, keys.top); in btree_gc_rewrite_node() 2310 make_btree_freeing_key(b, parent_keys.top); in btree_split()
|
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_static_config.c | 458 sja1105_packing(buf, &entry->top[i], in sja1105et_mac_config_entry_packing() 492 sja1105_packing(buf, &entry->top[i], in sja1105pqrs_mac_config_entry_packing() 526 sja1105_packing(buf, &entry->top[i], in sja1110_mac_config_entry_packing()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | ov8865.c | 1820 /* BLC top zero line */ in ov8865_mode_black_level_configure() 1832 /* BLC top black line */ in ov8865_mode_black_level_configure() 2826 r->top = (OV8865_NATIVE_HEIGHT - mode->output_size_y) / 2; in __ov8865_get_pad_crop() 2846 sel->r.top = 0; in ov8865_get_selection() 2853 sel->r.top = OV8865_ACTIVE_START_TOP; in ov8865_get_selection()
|
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | btree.c | 1482 make_btree_freeing_key(r[i].b, keylist.top); in btree_gc_coalesce() 1552 make_btree_freeing_key(replace, keys.top); in btree_gc_rewrite_node() 2331 make_btree_freeing_key(b, parent_keys.top); in btree_split()
|
/third_party/ffmpeg/libavcodec/ |
H A D | vaapi_encode.c | 195 // Place rounding error at top and bottom of frame. in vaapi_encode_make_row_slice() 553 roi->top, roi->left, roi->bottom, roi->right, v); in vaapi_encode_issue() 558 .y = roi->top, in vaapi_encode_issue() 560 .height = roi->bottom - roi->top, in vaapi_encode_issue() 949 // on the top layer. in vaapi_encode_pick_next() 967 // needs to be in the top layer. in vaapi_encode_pick_next() 971 // this one in the top layer. in vaapi_encode_pick_next() 977 // At the end of the stream the last picture must be in the top layer. in vaapi_encode_pick_next()
|
H A D | aacdec_template.c | 2612 int bottom, top, order, start, end, size, inc; local 2623 top = bottom; 2624 bottom = FFMAX(0, top - tns->length[w][filt]); 2633 end = ics->swb_offset[FFMIN( top, mmm)];
|
/third_party/glfw/src/ |
H A D | x11_window.c | 2246 int* left, int* top, in _glfwGetWindowFrameSizeX11() 2294 if (top) in _glfwGetWindowFrameSizeX11() 2295 *top = extents[2]; in _glfwGetWindowFrameSizeX11() 2245 _glfwGetWindowFrameSizeX11(_GLFWwindow* window, int* left, int* top, int* right, int* bottom) _glfwGetWindowFrameSizeX11() argument
|
/third_party/skia/src/ports/ |
H A D | SkFontHost_win.cpp | 538 xform.eDy = (float)-glyph.top(); in draw() 954 metrics->fTop = SkIntToScalar(-otm.otmrcFontBox.top); in generateFontMetrics() 1704 SkIRect::MakeLTRB(otm.otmrcFontBox.left, otm.otmrcFontBox.top, in onGetAdvancedMetrics()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.cpp | 862 double top = param.y - param.radius; in Arc() local 875 RSPoint point1(left, top); in Arc() 925 // Init the oval Rect(left, top, right, bottom). in Ellipse() 927 double top = param.y - param.radiusY; in Ellipse() local 930 RSPoint point1(left, top); in Ellipse()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/bubble/ |
H A D | bubble_test_ng.cpp | 178 PaddingProperty CreatePadding(float left, float top, float right, float bottom) in CreatePadding() argument 183 padding.top = CalcLength(top); in CreatePadding() 1431 noPadding.top = CalcLength(ZERO); in HWTEST_F() 1932 * @tc.expected: step7. BuildTopLinePath returns the top edge drawing path of the bubble. in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_context.cpp | 767 void PipelineContext::SetClipHole(double left, double top, double width, double height) in SetClipHole() argument 774 transparentHole_.SetTop(top); in SetClipHole() 3222 if (context->pendingImplicitLayout_.top()) { in AddKeyFrame() 3251 if (context->pendingImplicitLayout_.top()) { in AddKeyFrame()
|