/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 1850 left = window->GetRect().posX_; 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 | 596 RSScalar left = offset.GetX() + NormalizeToPx(DEFAULT_FOCUS_BORDER_WIDTH) * HALF; local 600 auto rect = RSRect(left, top, width + left, height + top); 1009 // If need move canvas for caret, the left side must be overflow. 1666 // place to the left boundary of paragraph when direction is RTL.
|
/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 236 padding.left = CalcLength(left); 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 | 149 int left = std::clamp<int>(localClipRect.GetLeft(), 0, properties.GetBoundsWidth()); in UpdateSrcRect() local 152 std::ceil(properties.GetBoundsWidth() - left)); 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 | 1846 float left = 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 | 1468 if (!GetMetadataValueInt32(fragmentMetadata, FRAGMENT_METADATA_KEY_X, outData.left) ||
in CheckFragmentMetadata() 1475 if (!ImageUtils::IsInRange(outData.left, 0, mainW) || !ImageUtils::IsInRange(outData.top, 0, mainH) ||
in CheckFragmentMetadata() 1477 !ImageUtils::IsInRange(outData.left + outData.width, 0, mainW) ||
in CheckFragmentMetadata()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_batch_crud_test.cpp | 1922 uint8_t left = 'a'; in HWTEST_F() local 1931 entries1[i].key.insert(entries1[i].key.begin() + 1, left); in HWTEST_F() 1933 allKeys1[i].insert(allKeys1[i].begin() + 1, left); in HWTEST_F()
|
/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() 643 double left = 0.0; in OnDrawRect() local 644 GET_DOUBLE_PARAM(ARGC_ZERO, left); 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, to in OnDrawImageRectWithSrc() [all...] |
/kernel/linux/linux-5.10/drivers/dma/ti/ |
H A D | edma.c | 199 * - residue: The amount of bytes we have left to transfer for this desc 781 int i, j, left, nslots; in edma_execute() local 794 /* Find out how many left */ in edma_execute() 795 left = edesc->pset_nr - edesc->processed; in edma_execute() 796 nslots = min(MAX_NR_SG, left); in edma_execute()
|
/kernel/linux/linux-6.6/drivers/dma/ti/ |
H A D | edma.c | 190 * - residue: The amount of bytes we have left to transfer for this desc 724 int i, j, left, nslots; in edma_execute() local 737 /* Find out how many left */ in edma_execute() 738 left = edesc->pset_nr - edesc->processed; in edma_execute() 739 nslots = min(MAX_NR_SG, left); in edma_execute()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | ov8865.c | 2827 r->left = (OV8865_NATIVE_WIDTH - mode->output_size_x) / 2; in __ov8865_get_pad_crop() 2847 sel->r.left = 0; in ov8865_get_selection() 2854 sel->r.left = OV8865_ACTIVE_START_LEFT; in ov8865_get_selection()
|
/third_party/ffmpeg/libavcodec/ |
H A D | vaapi_encode.c | 553 roi->top, roi->left, roi->bottom, roi->right, v); in vaapi_encode_issue() 557 .x = roi->left, in vaapi_encode_issue() 559 .width = roi->right - roi->left, in vaapi_encode_issue() 869 // picture left, since there will be nothing to reference it. in vaapi_encode_set_b_pictures()
|
/third_party/glfw/src/ |
H A D | x11_window.c | 1380 // We subtract 4 to fill the gap left by scroll input above in processEvent() 1418 // We subtract 4 to fill the gap left by scroll input above in processEvent() 2246 int* left, int* top, in _glfwGetWindowFrameSizeX11() 2292 if (left) in _glfwGetWindowFrameSizeX11() 2293 *left = extents[0]; in _glfwGetWindowFrameSizeX11() 2245 _glfwGetWindowFrameSizeX11(_GLFWwindow* window, int* left, int* top, int* right, int* bottom) _glfwGetWindowFrameSizeX11() argument
|
/third_party/skia/src/core/ |
H A D | SkCanvas.cpp | 898 // input's top left has been baked into srcSubset so we use that as the image origin. in internalDrawDeviceWithFilter() 931 requiredInput.left(), requiredInput.top()); in internalDrawDeviceWithFilter() 934 offsetLocalToDevice.preTranslate(srcSubset.left(), srcSubset.top()); in internalDrawDeviceWithFilter() 1113 layerBounds.left(), layerBounds.top())) { in internalSaveLayer()
|
/third_party/skia/src/ports/ |
H A D | SkFontHost_win.cpp | 537 xform.eDx = (float)-glyph.left(); in draw() 720 // fPost2x2 is column-major, left handed (y down). in SkScalerContext_GDI() 721 // XFORM 2x2 is row-major, left handed (y down). in SkScalerContext_GDI() 773 // fPost2x2 is column-major, left handed (y down). in SkScalerContext_GDI() 961 metrics->fXMin = SkIntToScalar(otm.otmrcFontBox.left); in generateFontMetrics() 1704 SkIRect::MakeLTRB(otm.otmrcFontBox.left, otm.otmrcFontBox.top, in onGetAdvancedMetrics()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fIntegerStateQueryTests.cpp | 936 GLint left = rnd.getInt(-64000, 64000); in test() local 941 glScissor(left, bottom, width, height); in test() 942 m_verifier->verifyInteger4(m_testCtx, GL_SCISSOR_BOX, left, bottom, width, height); in test()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.cpp | 861 double left = param.x - param.radius; in Arc() local 875 RSPoint point1(left, top); in Arc() 925 // Init the oval Rect(left, top, right, bottom). in Ellipse() 926 double left = param.x - param.radiusX; 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 181 padding.left = CalcLength(left); in CreatePadding() 1429 noPadding.left = CalcLength(ZERO); in HWTEST_F()
|
/kernel/linux/linux-5.10/block/ |
H A D | blk-mq.c | 2447 size_t rq_size, left; in blk_mq_alloc_rqs() local 2462 left = rq_size * depth; in blk_mq_alloc_rqs() 2470 while (this_order && left < order_to_size(this_order - 1)) in blk_mq_alloc_rqs() 2499 left -= to_do * rq_size; in blk_mq_alloc_rqs()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | mad.c | 801 int left, seg_size, pad; in alloc_send_rmpp_list() local 809 for (left = send_buf->data_len + pad; left > 0; left -= seg_size) { in alloc_send_rmpp_list() 1477 /* Any management classes left ? */ in remove_mad_reg_req() 1518 /* Any OUIs left ? */ in remove_mad_reg_req() 1523 /* Any other vendor classes left ? */ in remove_mad_reg_req()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | libiscsi.c | 138 unsigned int left = r2t->data_length - r2t->sent; in iscsi_prep_data_out_pdu() local 151 if (left > conn->max_xmit_dlength) { in iscsi_prep_data_out_pdu() 156 hton24(hdr->dlength, left); in iscsi_prep_data_out_pdu() 157 r2t->data_count = left; in iscsi_prep_data_out_pdu() 2817 * If there are any sessions left, this will initiate the removal and wait
|
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_dtree.c | 60 * (right most key of left page and left most key of right page 934 dtpage_t *lp; /* left child page */ in dtSplitUp() 1116 * two children, left parent and right parent (when the parent splits). in dtSplitUp() 1150 * the new entry and the entry on the page to its left. in dtSplitUp() 1163 * subtree and miss x in the left subtree.) in dtSplitUp() 1173 * between last entry of left page and first entry in dtSplitUp() 1214 /* unpin left child page */ in dtSplitUp() 1337 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local 1436 * reverse sorted data, that is, split the tree left, in dtSplitPage() [all...] |
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | file.c | 658 int left; in fuse_aio_complete() local 666 left = --io->reqs; in fuse_aio_complete() 667 if (!left && io->blocking) in fuse_aio_complete() 671 if (!left && !io->blocking) { in fuse_aio_complete()
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_dtree.c | 60 * (right most key of left page and left most key of right page 934 dtpage_t *lp; /* left child page */ in dtSplitUp() 1116 * two children, left parent and right parent (when the parent splits). in dtSplitUp() 1150 * the new entry and the entry on the page to its left. in dtSplitUp() 1163 * subtree and miss x in the left subtree.) in dtSplitUp() 1173 * between last entry of left page and first entry in dtSplitUp() 1214 /* unpin left child page */ in dtSplitUp() 1337 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local 1436 * reverse sorted data, that is, split the tree left, in dtSplitPage() [all...] |